DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
dss::obj::PVSystem Class Reference
Inheritance diagram for dss::obj::PVSystem:
[legend]
Collaboration diagram for dss::obj::PVSystem:
[legend]

Classes

struct  Properties
 

Public Member Functions

 PVSystem (APIUtil *util=nullptr, void *ptr_=nullptr)
 Create wrapper directly by a given object handle/pointer.
 
 PVSystem (APIUtil *util, int32_t idx)
 Create a wrapper for an element given by the integer index "idx".
 
 PVSystem (APIUtil *util, char *name)
 Create a wrapper for an element given its name.
 
const char * name ()
 Returns the object's name.
 
PVSystembegin_edit ()
 Marks an object for edition. More...
 
PVSystemend_edit (int32_t num_edits=1)
 Finalizes an object edition. More...
 
int32_t phases ()
 Number of Phases, this PVSystem element. More...
 
PVSystemphases (int32_t value)
 
string bus1 ()
 Bus to which the PVSystem element is connected. More...
 
PVSystembus1 (const string &value)
 
PVSystembus1 (const char *value)
 
double kv ()
 Nominal rated (1.0 per unit) voltage, kV, for PVSystem element. More...
 
PVSystemkv (double value)
 
double irradiance ()
 Get/set the present irradiance value in kW/sq-m. More...
 
PVSystemirradiance (double value)
 
double Pmpp ()
 Get/set the rated max power of the PV array for 1.0 kW/sq-m irradiance and a user-selected array temperature. More...
 
PVSystemPmpp (double value)
 
double pctPmpp ()
 Upper limit on active power as a percentage of Pmpp. More...
 
PVSystempctPmpp (double value)
 
double Temperature ()
 Get/set the present Temperature. More...
 
PVSystemTemperature (double value)
 
double pf ()
 Nominally, the power factor for the output power. More...
 
PVSystempf (double value)
 
Connection conn ()
 ={wye|LN|delta|LL}. More...
 
PVSystemconn (int32_t value)
 
PVSystemconn (Connection value)
 
PVSystemconn (const string &value)
 
PVSystemconn (const char *value)
 
string conn_str ()
 ={wye|LN|delta|LL}. More...
 
PVSystemconn_str (const string &value)
 ={wye|LN|delta|LL}. More...
 
double kvar ()
 Get/set the present kvar value. More...
 
PVSystemkvar (double value)
 
double kVA ()
 kVA rating of inverter. More...
 
PVSystemkVA (double value)
 
double pctCutin ()
 % cut-in power – % of kVA rating of inverter. More...
 
PVSystempctCutin (double value)
 
double pctCutout ()
 % cut-out power – % of kVA rating of inverter. More...
 
PVSystempctCutout (double value)
 
string EffCurve ()
 An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter. More...
 
PVSystemEffCurve (const string &value)
 
PVSystemEffCurve (dss::obj::XYcurve &value)
 
dss::obj::XYcurve EffCurve_obj ()
 An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter. More...
 
PVSystemEffCurve_obj (dss::obj::XYcurve &value)
 
string PTCurve ()
 An XYCurve object, previously defined, that describes the PV array PER UNIT Pmpp vs Temperature curve. More...
 
PVSystemPTCurve (const string &value)
 
PVSystemPTCurve (dss::obj::XYcurve &value)
 
dss::obj::XYcurve PTCurve_obj ()
 An XYCurve object, previously defined, that describes the PV array PER UNIT Pmpp vs Temperature curve. More...
 
PVSystemPTCurve_obj (dss::obj::XYcurve &value)
 
double pctR ()
 Equivalent percent internal resistance, ohms. More...
 
PVSystempctR (double value)
 
double pctX ()
 Equivalent percent internal reactance, ohms. More...
 
PVSystempctX (double value)
 
int32_t model ()
 Integer code (default=1) for the model to use for power output variation with voltage. More...
 
PVSystemmodel (int32_t value)
 
double Vminpu ()
 Default = 0.90. More...
 
PVSystemVminpu (double value)
 
double Vmaxpu ()
 Default = 1.10. More...
 
PVSystemVmaxpu (double value)
 
bool Balanced ()
 {Yes | No*} Default is No. More...
 
PVSystemBalanced (bool value)
 
bool LimitCurrent ()
 Limits current magnitude to Vminpu value for both 1-phase and 3-phase PVSystems similar to Generator Model 7. More...
 
PVSystemLimitCurrent (bool value)
 
string yearly ()
 Dispatch shape to use for yearly simulations. More...
 
PVSystemyearly (const string &value)
 
PVSystemyearly (dss::obj::LoadShape &value)
 
dss::obj::LoadShape yearly_obj ()
 Dispatch shape to use for yearly simulations. More...
 
PVSystemyearly_obj (dss::obj::LoadShape &value)
 
string daily ()
 Dispatch shape to use for daily simulations. More...
 
PVSystemdaily (const string &value)
 
PVSystemdaily (dss::obj::LoadShape &value)
 
dss::obj::LoadShape daily_obj ()
 Dispatch shape to use for daily simulations. More...
 
PVSystemdaily_obj (dss::obj::LoadShape &value)
 
string duty ()
 Load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies. More...
 
PVSystemduty (const string &value)
 
PVSystemduty (dss::obj::LoadShape &value)
 
dss::obj::LoadShape duty_obj ()
 Load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies. More...
 
PVSystemduty_obj (dss::obj::LoadShape &value)
 
string Tyearly ()
 Temperature shape to use for yearly simulations. More...
 
PVSystemTyearly (const string &value)
 
PVSystemTyearly (dss::obj::TShape &value)
 
dss::obj::TShape Tyearly_obj ()
 Temperature shape to use for yearly simulations. More...
 
PVSystemTyearly_obj (dss::obj::TShape &value)
 
string Tdaily ()
 Temperature shape to use for daily simulations. More...
 
PVSystemTdaily (const string &value)
 
PVSystemTdaily (dss::obj::TShape &value)
 
dss::obj::TShape Tdaily_obj ()
 Temperature shape to use for daily simulations. More...
 
PVSystemTdaily_obj (dss::obj::TShape &value)
 
string Tduty ()
 Temperature shape to use for duty cycle dispatch simulations such as for solar ramp rate studies. More...
 
PVSystemTduty (const string &value)
 
PVSystemTduty (dss::obj::TShape &value)
 
dss::obj::TShape Tduty_obj ()
 Temperature shape to use for duty cycle dispatch simulations such as for solar ramp rate studies. More...
 
PVSystemTduty_obj (dss::obj::TShape &value)
 
int32_t cls ()
 An arbitrary integer number representing the class of PVSystem element so that PVSystem values may be segregated by class. More...
 
PVSystemcls (int32_t value)
 
string UserModel ()
 Name of DLL containing user-written model, which computes the terminal currents for Dynamics studies, overriding the default model. More...
 
PVSystemUserModel (const string &value)
 
PVSystemUserModel (const char *value)
 
string UserData ()
 String (in quotes or parentheses) that gets passed to user-written model for defining the data required for that model. More...
 
PVSystemUserData (const string &value)
 
PVSystemUserData (const char *value)
 
bool debugtrace ()
 {Yes | No } Default is no. More...
 
PVSystemdebugtrace (bool value)
 
bool VarFollowInverter ()
 Boolean variable (Yes|No) or (True|False). More...
 
PVSystemVarFollowInverter (bool value)
 
double DutyStart ()
 Starting time offset [hours] into the duty cycle shape for this PVSystem, defaults to 0. More...
 
PVSystemDutyStart (double value)
 
bool WattPriority ()
 {Yes/No*‍/True/False} Set inverter to watt priority instead of the default var priority More...
 
PVSystemWattPriority (bool value)
 
bool PFPriority ()
 {Yes/No*‍/True/False} Set inverter to operate with PF priority when in constant PF mode. More...
 
PVSystemPFPriority (bool value)
 
double pctPminNoVars ()
 Minimum active power as percentage of Pmpp under which there is no vars production/absorption. More...
 
PVSystempctPminNoVars (double value)
 
double pctPminkvarMax ()
 Minimum active power as percentage of Pmpp that allows the inverter to produce/absorb reactive power up to its kvarMax or kvarMaxAbs. More...
 
PVSystempctPminkvarMax (double value)
 
double kvarMax ()
 Indicates the maximum reactive power GENERATION (un-signed numerical variable in kvar) for the inverter (as an un-signed value). More...
 
PVSystemkvarMax (double value)
 
double kvarMaxAbs ()
 Indicates the maximum reactive power ABSORPTION (un-signed numerical variable in kvar) for the inverter (as an un-signed value). More...
 
PVSystemkvarMaxAbs (double value)
 
string spectrum ()
 Name of harmonic voltage or current spectrum for this PVSystem element. More...
 
PVSystemspectrum (const string &value)
 
PVSystemspectrum (dss::obj::Spectrum &value)
 
dss::obj::Spectrum spectrum_obj ()
 Name of harmonic voltage or current spectrum for this PVSystem element. More...
 
PVSystemspectrum_obj (dss::obj::Spectrum &value)
 
double basefreq ()
 Base Frequency for ratings. More...
 
PVSystembasefreq (double value)
 
bool enabled ()
 {Yes|No or True|False} Indicates whether this element is enabled. More...
 
PVSystemenabled (bool value)
 
PVSystemlike (const string &value)
 Make like another object, e.g. More...
 
PVSystemlike (const char *value)
 Make like another object, e.g. More...
 
- Public Member Functions inherited from dss::obj::DSSObj
 DSSObj (APIUtil *util=nullptr, void *ptr_=nullptr)
 

Static Public Attributes

static const char dss_cls_name [] = "PVSystem"
 
static const int32_t dss_cls_idx = 34
 

Additional Inherited Members

- Public Attributes inherited from dss::obj::DSSObj
APIUtilapi_util
 
void * ptr
 
- Protected Member Functions inherited from dss::obj::DSSObj
void check_for_error ()
 
void set_string (int32_t index, const string &value)
 
void set_string (int32_t index, const char *value)
 
string get_prop_string (int32_t index)
 
complex get_complex (int32_t index)
 
void set_complex (int32_t index, complex value)
 
void set_string_array (int32_t index, strings &value)
 
void set_obj (int32_t index, DSSObj &value)
 
template<typename T >
get_obj (int32_t index)
 
template<typename T = VectorXd>
get_array (int32_t index)
 
template<typename T = VectorXd>
void set_array (int32_t index, T value)
 
- Static Protected Member Functions inherited from dss::obj::DSSObj
template<typename T = VectorXd>
static void set_array (void *ptr, int32_t index, T value)
 
- Protected Attributes inherited from dss::obj::DSSObj
friend DSSBatch
 

Member Function Documentation

◆ Balanced()

bool dss::obj::PVSystem::Balanced ( )
inline

{Yes | No*} Default is No.

Force balanced current only for 3-phase PVSystems. Forces zero- and negative-sequence to zero.

DSS property name: Balanced, DSS property index: 21

◆ basefreq()

double dss::obj::PVSystem::basefreq ( )
inline

Base Frequency for ratings.

DSS property name: basefreq, DSS property index: 42

◆ begin_edit()

PVSystem & dss::obj::PVSystem::begin_edit ( )
inline

Marks an object for edition.

Until end_edit is called, some actions are postponed.

◆ bus1()

string dss::obj::PVSystem::bus1 ( )
inline

Bus to which the PVSystem element is connected.

May include specific node specification.

DSS property name: bus1, DSS property index: 2

◆ cls()

int32_t dss::obj::PVSystem::cls ( )
inline

An arbitrary integer number representing the class of PVSystem element so that PVSystem values may be segregated by class.

DSS property name: class, DSS property index: 29

◆ conn()

Connection dss::obj::PVSystem::conn ( )
inline

={wye|LN|delta|LL}.

Default is wye.

DSS property name: conn, DSS property index: 9

◆ conn_str() [1/2]

string dss::obj::PVSystem::conn_str ( )
inline

={wye|LN|delta|LL}.

Default is wye.

DSS property name: conn, DSS property index: 9

◆ conn_str() [2/2]

PVSystem & dss::obj::PVSystem::conn_str ( const string &  value)
inline

={wye|LN|delta|LL}.

Default is wye.

DSS property name: conn, DSS property index: 9

◆ daily()

string dss::obj::PVSystem::daily ( )
inline

Dispatch shape to use for daily simulations.

Must be previously defined as a Loadshape object of 24 hrs, typically. In the default dispatch mode, the PVSystem element uses this loadshape to trigger State changes.

DSS property name: daily, DSS property index: 24

◆ daily_obj()

dss::obj::LoadShape dss::obj::PVSystem::daily_obj ( )
inline

Dispatch shape to use for daily simulations.

Must be previously defined as a Loadshape object of 24 hrs, typically. In the default dispatch mode, the PVSystem element uses this loadshape to trigger State changes.

DSS property name: daily, DSS property index: 24

◆ debugtrace()

bool dss::obj::PVSystem::debugtrace ( )
inline

{Yes | No } Default is no.

Turn this on to capture the progress of the PVSystem model for each iteration. Creates a separate file for each PVSystem element named "PVSystem_name.CSV".

DSS property name: debugtrace, DSS property index: 32

◆ duty()

string dss::obj::PVSystem::duty ( )
inline

Load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies.

Must be previously defined as a Loadshape object. Typically would have time intervals of 1-5 seconds. Designate the number of points to solve using the Set Number=xxxx command. If there are fewer points in the actual shape, the shape is assumed to repeat.

DSS property name: duty, DSS property index: 25

◆ duty_obj()

dss::obj::LoadShape dss::obj::PVSystem::duty_obj ( )
inline

Load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies.

Must be previously defined as a Loadshape object. Typically would have time intervals of 1-5 seconds. Designate the number of points to solve using the Set Number=xxxx command. If there are fewer points in the actual shape, the shape is assumed to repeat.

DSS property name: duty, DSS property index: 25

◆ DutyStart()

double dss::obj::PVSystem::DutyStart ( )
inline

Starting time offset [hours] into the duty cycle shape for this PVSystem, defaults to 0.

DSS property name: DutyStart, DSS property index: 34

◆ EffCurve()

string dss::obj::PVSystem::EffCurve ( )
inline

An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter.

Inverter output power is discounted by the multiplier obtained from this curve.

DSS property name: EffCurve, DSS property index: 14

◆ EffCurve_obj()

dss::obj::XYcurve dss::obj::PVSystem::EffCurve_obj ( )
inline

An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter.

Inverter output power is discounted by the multiplier obtained from this curve.

DSS property name: EffCurve, DSS property index: 14

◆ enabled()

bool dss::obj::PVSystem::enabled ( )
inline

{Yes|No or True|False} Indicates whether this element is enabled.

DSS property name: enabled, DSS property index: 43

◆ end_edit()

PVSystem & dss::obj::PVSystem::end_edit ( int32_t  num_edits = 1)
inline

Finalizes an object edition.

This will result more compelx side-effects like Yprim and other internal data recalculation, for example.

◆ irradiance()

double dss::obj::PVSystem::irradiance ( )
inline

Get/set the present irradiance value in kW/sq-m.

Used as base value for shape multipliers. Generally entered as peak value for the time period of interest and the yearly, daily, and duty load shape objects are defined as per unit multipliers (just like Loads/Generators).

DSS property name: irradiance, DSS property index: 4

◆ kv()

double dss::obj::PVSystem::kv ( )
inline

Nominal rated (1.0 per unit) voltage, kV, for PVSystem element.

For 2- and 3-phase PVSystem elements, specify phase-phase kV. Otherwise, specify actual kV across each branch of the PVSystem element. If 1-phase wye (star or LN), specify phase-neutral kV. If 1-phase delta or phase-phase connected, specify phase-phase kV.

DSS property name: kv, DSS property index: 3

◆ kVA()

double dss::obj::PVSystem::kVA ( )
inline

kVA rating of inverter.

Used as the base for Dynamics mode and Harmonics mode values.

DSS property name: kVA, DSS property index: 11

◆ kvar()

double dss::obj::PVSystem::kvar ( )
inline

Get/set the present kvar value.

Setting this property forces the inverter to operate in constant kvar mode.

DSS property name: kvar, DSS property index: 10

◆ kvarMax()

double dss::obj::PVSystem::kvarMax ( )
inline

Indicates the maximum reactive power GENERATION (un-signed numerical variable in kvar) for the inverter (as an un-signed value).

Defaults to kVA rating of the inverter.

DSS property name: kvarMax, DSS property index: 39

◆ kvarMaxAbs()

double dss::obj::PVSystem::kvarMaxAbs ( )
inline

Indicates the maximum reactive power ABSORPTION (un-signed numerical variable in kvar) for the inverter (as an un-signed value).

Defaults to kVA rating of the inverter.

DSS property name: kvarMaxAbs, DSS property index: 40

◆ like() [1/2]

PVSystem & dss::obj::PVSystem::like ( const char *  value)
inline

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 44

◆ like() [2/2]

PVSystem & dss::obj::PVSystem::like ( const string &  value)
inline

Make like another object, e.g.

:

New Capacitor.C2 like=c1 ...

DSS property name: like, DSS property index: 44

◆ LimitCurrent()

bool dss::obj::PVSystem::LimitCurrent ( )
inline

Limits current magnitude to Vminpu value for both 1-phase and 3-phase PVSystems similar to Generator Model 7.

For 3-phase, limits the positive-sequence current but not the negative-sequence.

DSS property name: LimitCurrent, DSS property index: 22

◆ model()

int32_t dss::obj::PVSystem::model ( )
inline

Integer code (default=1) for the model to use for power output variation with voltage.

Valid values are:

1:PVSystem element injects a CONSTANT kW at specified power factor. 2:PVSystem element is modeled as a CONSTANT ADMITTANCE. 3:Compute load injection from User-written Model.

DSS property name: model, DSS property index: 18

◆ pctCutin()

double dss::obj::PVSystem::pctCutin ( )
inline

% cut-in power – % of kVA rating of inverter.

When the inverter is OFF, the power from the array must be greater than this for the inverter to turn on.

DSS property name: Cutin, DSS property index: 12

◆ pctCutout()

double dss::obj::PVSystem::pctCutout ( )
inline

% cut-out power – % of kVA rating of inverter.

When the inverter is ON, the inverter turns OFF when the power from the array drops below this value.

DSS property name: Cutout, DSS property index: 13

◆ pctPminkvarMax()

double dss::obj::PVSystem::pctPminkvarMax ( )
inline

Minimum active power as percentage of Pmpp that allows the inverter to produce/absorb reactive power up to its kvarMax or kvarMaxAbs.

DSS property name: PminkvarMax, DSS property index: 38

◆ pctPminNoVars()

double dss::obj::PVSystem::pctPminNoVars ( )
inline

Minimum active power as percentage of Pmpp under which there is no vars production/absorption.

DSS property name: PminNoVars, DSS property index: 37

◆ pctPmpp()

double dss::obj::PVSystem::pctPmpp ( )
inline

Upper limit on active power as a percentage of Pmpp.

DSS property name: Pmpp, DSS property index: 6

◆ pctR()

double dss::obj::PVSystem::pctR ( )
inline

Equivalent percent internal resistance, ohms.

Default is 50%. Placed in series with internal voltage source for harmonics and dynamics modes. (Limits fault current to about 2 pu if not current limited – see LimitCurrent)

DSS property name: R, DSS property index: 16

◆ pctX()

double dss::obj::PVSystem::pctX ( )
inline

Equivalent percent internal reactance, ohms.

Default is 0%. Placed in series with internal voltage source for harmonics and dynamics modes.

DSS property name: X, DSS property index: 17

◆ pf()

double dss::obj::PVSystem::pf ( )
inline

Nominally, the power factor for the output power.

Default is 1.0. Setting this property will cause the inverter to operate in constant power factor mode.Enter negative when kW and kvar have opposite signs. A positive power factor signifies that the PVSystem element produces vars as is typical for a generator.

DSS property name: pf, DSS property index: 8

◆ PFPriority()

bool dss::obj::PVSystem::PFPriority ( )
inline

{Yes/No*‍/True/False} Set inverter to operate with PF priority when in constant PF mode.

If "Yes", value assigned to "WattPriority" is neglected. If controlled by an InvControl with either Volt-Var or DRC or both functions activated, PF priority is neglected and "WattPriority" is considered. Default = No.

DSS property name: PFPriority, DSS property index: 36

◆ phases()

int32_t dss::obj::PVSystem::phases ( )
inline

Number of Phases, this PVSystem element.

Power is evenly divided among phases.

DSS property name: phases, DSS property index: 1

◆ Pmpp()

double dss::obj::PVSystem::Pmpp ( )
inline

Get/set the rated max power of the PV array for 1.0 kW/sq-m irradiance and a user-selected array temperature.

The P-TCurve should be defined relative to the selected array temperature.

DSS property name: Pmpp, DSS property index: 5

◆ PTCurve()

string dss::obj::PVSystem::PTCurve ( )
inline

An XYCurve object, previously defined, that describes the PV array PER UNIT Pmpp vs Temperature curve.

Temperature units must agree with the Temperature property and the Temperature shapes used for simulations. The Pmpp values are specified in per unit of the Pmpp value for 1 kW/sq-m irradiance. The value for the temperature at which Pmpp is defined should be 1.0. The net array power is determined by the irradiance * Pmpp * f(Temperature)

DSS property name: P-TCurve, DSS property index: 15

◆ PTCurve_obj()

dss::obj::XYcurve dss::obj::PVSystem::PTCurve_obj ( )
inline

An XYCurve object, previously defined, that describes the PV array PER UNIT Pmpp vs Temperature curve.

Temperature units must agree with the Temperature property and the Temperature shapes used for simulations. The Pmpp values are specified in per unit of the Pmpp value for 1 kW/sq-m irradiance. The value for the temperature at which Pmpp is defined should be 1.0. The net array power is determined by the irradiance * Pmpp * f(Temperature)

DSS property name: P-TCurve, DSS property index: 15

◆ spectrum()

string dss::obj::PVSystem::spectrum ( )
inline

Name of harmonic voltage or current spectrum for this PVSystem element.

A harmonic voltage source is assumed for the inverter. Default value is "default", which is defined when the DSS starts.

DSS property name: spectrum, DSS property index: 41

◆ spectrum_obj()

dss::obj::Spectrum dss::obj::PVSystem::spectrum_obj ( )
inline

Name of harmonic voltage or current spectrum for this PVSystem element.

A harmonic voltage source is assumed for the inverter. Default value is "default", which is defined when the DSS starts.

DSS property name: spectrum, DSS property index: 41

◆ Tdaily()

string dss::obj::PVSystem::Tdaily ( )
inline

Temperature shape to use for daily simulations.

Must be previously defined as a TShape object of 24 hrs, typically. The PVSystem element uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tdaily, DSS property index: 27

◆ Tdaily_obj()

dss::obj::TShape dss::obj::PVSystem::Tdaily_obj ( )
inline

Temperature shape to use for daily simulations.

Must be previously defined as a TShape object of 24 hrs, typically. The PVSystem element uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tdaily, DSS property index: 27

◆ Tduty()

string dss::obj::PVSystem::Tduty ( )
inline

Temperature shape to use for duty cycle dispatch simulations such as for solar ramp rate studies.

Must be previously defined as a TShape object. Typically would have time intervals of 1-5 seconds. Designate the number of points to solve using the Set Number=xxxx command. If there are fewer points in the actual shape, the shape is assumed to repeat. The PVSystem model uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tduty, DSS property index: 28

◆ Tduty_obj()

dss::obj::TShape dss::obj::PVSystem::Tduty_obj ( )
inline

Temperature shape to use for duty cycle dispatch simulations such as for solar ramp rate studies.

Must be previously defined as a TShape object. Typically would have time intervals of 1-5 seconds. Designate the number of points to solve using the Set Number=xxxx command. If there are fewer points in the actual shape, the shape is assumed to repeat. The PVSystem model uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tduty, DSS property index: 28

◆ Temperature()

double dss::obj::PVSystem::Temperature ( )
inline

Get/set the present Temperature.

Used as fixed value corresponding to PTCurve property. A multiplier is obtained from the Pmpp-Temp curve and applied to the nominal Pmpp from the irradiance to determine the net array output.

DSS property name: Temperature, DSS property index: 7

◆ Tyearly()

string dss::obj::PVSystem::Tyearly ( )
inline

Temperature shape to use for yearly simulations.

Must be previously defined as a TShape object. If this is not specified, the Daily dispatch shape, if any, is repeated during Yearly solution modes. The PVSystem element uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tyearly, DSS property index: 26

◆ Tyearly_obj()

dss::obj::TShape dss::obj::PVSystem::Tyearly_obj ( )
inline

Temperature shape to use for yearly simulations.

Must be previously defined as a TShape object. If this is not specified, the Daily dispatch shape, if any, is repeated during Yearly solution modes. The PVSystem element uses this TShape to determine the Pmpp from the Pmpp vs T curve. Units must agree with the Pmpp vs T curve.

DSS property name: Tyearly, DSS property index: 26

◆ UserData()

string dss::obj::PVSystem::UserData ( )
inline

String (in quotes or parentheses) that gets passed to user-written model for defining the data required for that model.

DSS property name: UserData, DSS property index: 31

◆ UserModel()

string dss::obj::PVSystem::UserModel ( )
inline

Name of DLL containing user-written model, which computes the terminal currents for Dynamics studies, overriding the default model.

Set to "none" to negate previous setting.

DSS property name: UserModel, DSS property index: 30

◆ VarFollowInverter()

bool dss::obj::PVSystem::VarFollowInverter ( )
inline

Boolean variable (Yes|No) or (True|False).

Defaults to False which indicates that the reactive power generation/absorption does not respect the inverter status.When set to True, the PVSystem reactive power generation/absorption will cease when the inverter status is off, due to panel kW dropping below Cutout. The reactive power generation/absorption will begin again when the panel kW is above Cutin. When set to False, the PVSystem will generate/absorb reactive power regardless of the status of the inverter.

DSS property name: VarFollowInverter, DSS property index: 33

◆ Vmaxpu()

double dss::obj::PVSystem::Vmaxpu ( )
inline

Default = 1.10.

Maximum per unit voltage for which the Model is assumed to apply. Above this value, the load model reverts to a constant impedance model.

DSS property name: Vmaxpu, DSS property index: 20

◆ Vminpu()

double dss::obj::PVSystem::Vminpu ( )
inline

Default = 0.90.

Minimum per unit voltage for which the Model is assumed to apply. Below this value, the load model reverts to a constant impedance model except for Dynamics model. In Dynamics mode, the current magnitude is limited to the value the power flow would compute for this voltage.

DSS property name: Vminpu, DSS property index: 19

◆ WattPriority()

bool dss::obj::PVSystem::WattPriority ( )
inline

{Yes/No*‍/True/False} Set inverter to watt priority instead of the default var priority

DSS property name: WattPriority, DSS property index: 35

◆ yearly()

string dss::obj::PVSystem::yearly ( )
inline

Dispatch shape to use for yearly simulations.

Must be previously defined as a Loadshape object. If this is not specified, the Daily dispatch shape, if any, is repeated during Yearly solution modes. In the default dispatch mode, the PVSystem element uses this loadshape to trigger State changes.

DSS property name: yearly, DSS property index: 23

◆ yearly_obj()

dss::obj::LoadShape dss::obj::PVSystem::yearly_obj ( )
inline

Dispatch shape to use for yearly simulations.

Must be previously defined as a Loadshape object. If this is not specified, the Daily dispatch shape, if any, is repeated during Yearly solution modes. In the default dispatch mode, the PVSystem element uses this loadshape to trigger State changes.

DSS property name: yearly, DSS property index: 23


The documentation for this class was generated from the following file: