DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
|
Classes | |
struct | Properties |
Public Types | |
enum class | StorageState : int32_t { Charging = -1 , Idling = 0 , Discharging = 1 } |
Storage: State (DSS enumeration for Storage) More... | |
enum class | StorageDispatchMode : int32_t { Default = 0 , LoadLevel = 1 , Price = 2 , External = 3 , Follow = 4 } |
Storage: Dispatch Mode (DSS enumeration for Storage) More... | |
Public Member Functions | |
Storage (APIUtil *util=nullptr, void *ptr_=nullptr) | |
Create wrapper directly by a given object handle/pointer. | |
Storage (APIUtil *util, int32_t idx) | |
Create a wrapper for an element given by the integer index "idx". | |
Storage (APIUtil *util, char *name) | |
Create a wrapper for an element given its name. | |
const char * | name () |
Returns the object's name. | |
Storage & | begin_edit () |
Marks an object for edition. More... | |
Storage & | end_edit (int32_t num_edits=1) |
Finalizes an object edition. More... | |
int32_t | phases () |
Number of Phases, this Storage element. More... | |
Storage & | phases (int32_t value) |
string | bus1 () |
Bus to which the Storage element is connected. More... | |
Storage & | bus1 (const string &value) |
Storage & | bus1 (const char *value) |
double | kv () |
Nominal rated (1.0 per unit) voltage, kV, for Storage element. More... | |
Storage & | kv (double value) |
Connection | conn () |
={wye|LN|delta|LL}. More... | |
Storage & | conn (int32_t value) |
Storage & | conn (Connection value) |
Storage & | conn (const string &value) |
Storage & | conn (const char *value) |
string | conn_str () |
={wye|LN|delta|LL}. More... | |
Storage & | conn_str (const string &value) |
={wye|LN|delta|LL}. More... | |
double | kW () |
Get/set the requested kW value. More... | |
Storage & | kW (double value) |
double | kvar () |
Get/set the requested kvar value. More... | |
Storage & | kvar (double value) |
double | pf () |
Get/set the requested PF value. More... | |
Storage & | pf (double value) |
double | kVA () |
Indicates the inverter nameplate capability (in kVA). More... | |
Storage & | kVA (double value) |
double | pctCutin () |
Cut-in power as a percentage of inverter kVA rating. More... | |
Storage & | pctCutin (double value) |
double | pctCutout () |
Cut-out power as a percentage of inverter kVA rating. More... | |
Storage & | pctCutout (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... | |
Storage & | EffCurve (const string &value) |
Storage & | EffCurve (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... | |
Storage & | EffCurve_obj (dss::obj::XYcurve &value) |
bool | VarFollowInverter () |
Boolean variable (Yes|No) or (True|False). More... | |
Storage & | VarFollowInverter (bool value) |
double | kvarMax () |
Indicates the maximum reactive power GENERATION (un-signed numerical variable in kvar) for the inverter. More... | |
Storage & | kvarMax (double value) |
double | kvarMaxAbs () |
Indicates the maximum reactive power ABSORPTION (un-signed numerical variable in kvar) for the inverter. More... | |
Storage & | kvarMaxAbs (double value) |
bool | WattPriority () |
{Yes/No*/True/False} Set inverter to watt priority instead of the default var priority. More... | |
Storage & | WattPriority (bool value) |
bool | PFPriority () |
If set to true, priority is given to power factor and WattPriority is neglected. More... | |
Storage & | PFPriority (bool value) |
double | pctPminNoVars () |
Minimum active power as percentage of kWrated under which there is no vars production/absorption. More... | |
Storage & | pctPminNoVars (double value) |
double | pctPminkvarMax () |
Minimum active power as percentage of kWrated that allows the inverter to produce/absorb reactive power up to its maximum reactive power, which can be either kvarMax or kvarMaxAbs, depending on the current operation quadrant. More... | |
Storage & | pctPminkvarMax (double value) |
double | kWrated () |
kW rating of power output. More... | |
Storage & | kWrated (double value) |
double | pctkWrated () |
Upper limit on active power as a percentage of kWrated. More... | |
Storage & | pctkWrated (double value) |
double | kWhrated () |
Rated Storage capacity in kWh. More... | |
Storage & | kWhrated (double value) |
double | kWhstored () |
Present amount of energy stored, kWh. More... | |
Storage & | kWhstored (double value) |
double | pctstored () |
Present amount of energy stored, % of rated kWh. More... | |
Storage & | pctstored (double value) |
double | pctreserve () |
Percentage of rated kWh Storage capacity to be held in reserve for normal operation. More... | |
Storage & | pctreserve (double value) |
StorageState | State () |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state. More... | |
Storage & | State (int32_t value) |
Storage & | State (StorageState value) |
Storage & | State (const string &value) |
Storage & | State (const char *value) |
string | State_str () |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state. More... | |
Storage & | State_str (const string &value) |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state. More... | |
double | pctDischarge () |
Discharge rate (output power) in percentage of rated kW. More... | |
Storage & | pctDischarge (double value) |
double | pctCharge () |
Charging rate (input power) in percentage of rated kW. More... | |
Storage & | pctCharge (double value) |
double | pctEffCharge () |
Percentage efficiency for CHARGING the Storage element. More... | |
Storage & | pctEffCharge (double value) |
double | pctEffDischarge () |
Percentage efficiency for DISCHARGING the Storage element. More... | |
Storage & | pctEffDischarge (double value) |
double | pctIdlingkW () |
Percentage of rated kW consumed by idling losses. More... | |
Storage & | pctIdlingkW (double value) |
double | pctR () |
Equivalent percentage internal resistance, ohms. More... | |
Storage & | pctR (double value) |
double | pctX () |
Equivalent percentage internal reactance, ohms. More... | |
Storage & | pctX (double value) |
int32_t | model () |
Integer code (default=1) for the model to be used for power output variation with voltage. More... | |
Storage & | model (int32_t value) |
double | Vminpu () |
Default = 0.90. More... | |
Storage & | Vminpu (double value) |
double | Vmaxpu () |
Default = 1.10. More... | |
Storage & | Vmaxpu (double value) |
bool | Balanced () |
{Yes | No*} Default is No. More... | |
Storage & | Balanced (bool value) |
bool | LimitCurrent () |
Limits current magnitude to Vminpu value for both 1-phase and 3-phase Storage similar to Generator Model 7. More... | |
Storage & | LimitCurrent (bool value) |
string | yearly () |
Dispatch shape to use for yearly simulations. More... | |
Storage & | yearly (const string &value) |
Storage & | yearly (dss::obj::LoadShape &value) |
dss::obj::LoadShape | yearly_obj () |
Dispatch shape to use for yearly simulations. More... | |
Storage & | yearly_obj (dss::obj::LoadShape &value) |
string | daily () |
Dispatch shape to use for daily simulations. More... | |
Storage & | daily (const string &value) |
Storage & | daily (dss::obj::LoadShape &value) |
dss::obj::LoadShape | daily_obj () |
Dispatch shape to use for daily simulations. More... | |
Storage & | daily_obj (dss::obj::LoadShape &value) |
string | duty () |
Load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies. More... | |
Storage & | duty (const string &value) |
Storage & | duty (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... | |
Storage & | duty_obj (dss::obj::LoadShape &value) |
StorageDispatchMode | DispMode () |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT". More... | |
Storage & | DispMode (int32_t value) |
Storage & | DispMode (StorageDispatchMode value) |
Storage & | DispMode (const string &value) |
Storage & | DispMode (const char *value) |
string | DispMode_str () |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT". More... | |
Storage & | DispMode_str (const string &value) |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT". More... | |
double | DischargeTrigger () |
Dispatch trigger value for discharging the Storage. More... | |
Storage & | DischargeTrigger (double value) |
double | ChargeTrigger () |
Dispatch trigger value for charging the Storage. More... | |
Storage & | ChargeTrigger (double value) |
double | TimeChargeTrig () |
Time of day in fractional hours (0230 = 2.5) at which Storage element will automatically go into charge state. More... | |
Storage & | TimeChargeTrig (double value) |
int32_t | cls () |
An arbitrary integer number representing the class of Storage element so that Storage values may be segregated by class. More... | |
Storage & | cls (int32_t value) |
string | DynaDLL () |
Name of DLL containing user-written dynamics model, which computes the terminal currents for Dynamics-mode simulations, overriding the default model. More... | |
Storage & | DynaDLL (const string &value) |
Storage & | DynaDLL (const char *value) |
string | DynaData () |
String (in quotes or parentheses if necessary) that gets passed to the user-written dynamics model Edit function for defining the data required for that model. More... | |
Storage & | DynaData (const string &value) |
Storage & | DynaData (const char *value) |
string | UserModel () |
Name of DLL containing user-written model, which computes the terminal currents for both power flow and dynamics, overriding the default model. More... | |
Storage & | UserModel (const string &value) |
Storage & | UserModel (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... | |
Storage & | UserData (const string &value) |
Storage & | UserData (const char *value) |
bool | debugtrace () |
{Yes | No } Default is no. More... | |
Storage & | debugtrace (bool value) |
string | spectrum () |
Name of harmonic voltage or current spectrum for this Storage element. More... | |
Storage & | spectrum (const string &value) |
Storage & | spectrum (dss::obj::Spectrum &value) |
dss::obj::Spectrum | spectrum_obj () |
Name of harmonic voltage or current spectrum for this Storage element. More... | |
Storage & | spectrum_obj (dss::obj::Spectrum &value) |
double | basefreq () |
Base Frequency for ratings. More... | |
Storage & | basefreq (double value) |
bool | enabled () |
{Yes|No or True|False} Indicates whether this element is enabled. More... | |
Storage & | enabled (bool value) |
Storage & | like (const string &value) |
Make like another object, e.g. More... | |
Storage & | like (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 [] = "Storage" |
static const int32_t | dss_cls_idx = 28 |
Additional Inherited Members | |
Public Attributes inherited from dss::obj::DSSObj | |
APIUtil * | api_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 > | |
T | get_obj (int32_t index) |
template<typename T = VectorXd> | |
T | 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 |
|
strong |
|
strong |
|
inline |
{Yes | No*} Default is No.
Force balanced current only for 3-phase Storage. Forces zero- and negative-sequence to zero.
DSS property name: Balanced, DSS property index: 36
|
inline |
Base Frequency for ratings.
DSS property name: basefreq, DSS property index: 52
|
inline |
Marks an object for edition.
Until end_edit
is called, some actions are postponed.
|
inline |
Bus to which the Storage element is connected.
May include specific node specification.
DSS property name: bus1, DSS property index: 2
|
inline |
Dispatch trigger value for charging the Storage.
If = 0.0 the Storage element state is changed by the State command or StorageController2 object.
If <> 0 the Storage element state is set to CHARGING when this trigger level is GREATER than either the specified Loadshape curve value or the price signal or global Loadlevel value, depending on dispatch mode. See State property.
DSS property name: ChargeTrigger, DSS property index: 43
|
inline |
|
inline |
={wye|LN|delta|LL}.
Default is wye.
DSS property name: conn, DSS property index: 4
|
inline |
={wye|LN|delta|LL}.
Default is wye.
DSS property name: conn, DSS property index: 4
|
inline |
={wye|LN|delta|LL}.
Default is wye.
DSS property name: conn, DSS property index: 4
|
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 Storage element uses this loadshape to trigger State changes.
DSS property name: daily, DSS property index: 39
|
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 Storage element uses this loadshape to trigger State changes.
DSS property name: daily, DSS property index: 39
|
inline |
|
inline |
Dispatch trigger value for discharging the Storage.
If = 0.0 the Storage element state is changed by the State command or by a StorageController2 object. If <> 0 the Storage element state is set to DISCHARGING when this trigger level is EXCEEDED by either the specified Loadshape curve value or the price signal or global Loadlevel value, depending on dispatch mode. See State property.
DSS property name: DischargeTrigger, DSS property index: 42
|
inline |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT".
Dispatch mode.
In DEFAULT mode, Storage element state is triggered to discharge or charge at the specified rate by the loadshape curve corresponding to the solution mode.
In FOLLOW mode the kW output of the Storage element follows the active loadshape multiplier until Storage is either exhausted or full. The element discharges for positive values and charges for negative values. The loadshape is based on rated kW.
In EXTERNAL mode, Storage element state is controlled by an external Storagecontroller2. This mode is automatically set if this Storage element is included in the element list of a StorageController element.
For the other two dispatch modes, the Storage element state is controlled by either the global default Loadlevel value or the price level.
DSS property name: DispMode, DSS property index: 41
|
inline |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT".
Dispatch mode.
In DEFAULT mode, Storage element state is triggered to discharge or charge at the specified rate by the loadshape curve corresponding to the solution mode.
In FOLLOW mode the kW output of the Storage element follows the active loadshape multiplier until Storage is either exhausted or full. The element discharges for positive values and charges for negative values. The loadshape is based on rated kW.
In EXTERNAL mode, Storage element state is controlled by an external Storagecontroller2. This mode is automatically set if this Storage element is included in the element list of a StorageController element.
For the other two dispatch modes, the Storage element state is controlled by either the global default Loadlevel value or the price level.
DSS property name: DispMode, DSS property index: 41
|
inline |
{DEFAULT | FOLLOW | EXTERNAL | LOADLEVEL | PRICE } Default = "DEFAULT".
Dispatch mode.
In DEFAULT mode, Storage element state is triggered to discharge or charge at the specified rate by the loadshape curve corresponding to the solution mode.
In FOLLOW mode the kW output of the Storage element follows the active loadshape multiplier until Storage is either exhausted or full. The element discharges for positive values and charges for negative values. The loadshape is based on rated kW.
In EXTERNAL mode, Storage element state is controlled by an external Storagecontroller2. This mode is automatically set if this Storage element is included in the element list of a StorageController element.
For the other two dispatch modes, the Storage element state is controlled by either the global default Loadlevel value or the price level.
DSS property name: DispMode, DSS property index: 41
|
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: 40
|
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: 40
|
inline |
String (in quotes or parentheses if necessary) that gets passed to the user-written dynamics model Edit function for defining the data required for that model.
DSS property name: DynaData, DSS property index: 47
|
inline |
Name of DLL containing user-written dynamics model, which computes the terminal currents for Dynamics-mode simulations, overriding the default model.
Set to "none" to negate previous setting. This DLL has a simpler interface than the UserModel DLL and is only used for Dynamics mode.
DSS property name: DynaDLL, DSS property index: 46
|
inline |
An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter.
Power at the AC side of the inverter is discounted by the multiplier obtained from this curve.
DSS property name: EffCurve, DSS property index: 11
|
inline |
An XYCurve object, previously defined, that describes the PER UNIT efficiency vs PER UNIT of rated kVA for the inverter.
Power at the AC side of the inverter is discounted by the multiplier obtained from this curve.
DSS property name: EffCurve, DSS property index: 11
|
inline |
{Yes|No or True|False} Indicates whether this element is enabled.
DSS property name: enabled, DSS property index: 53
|
inline |
Finalizes an object edition.
This will result more compelx side-effects like Yprim and other internal data recalculation, for example.
|
inline |
Nominal rated (1.0 per unit) voltage, kV, for Storage element.
For 2- and 3-phase Storage elements, specify phase-phase kV. Otherwise, specify actual kV across each branch of the Storage element.
If wye (star), specify phase-neutral kV.
If delta or phase-phase connected, specify phase-phase kV.
DSS property name: kv, DSS property index: 3
|
inline |
Indicates the inverter nameplate capability (in kVA).
Used as the base for Dynamics mode and Harmonics mode values.
DSS property name: kVA, DSS property index: 8
|
inline |
Get/set the requested kvar value.
Final kvar is subjected to the inverter ratings. Sets inverter to operate in constant kvar mode.
DSS property name: kvar, DSS property index: 6
|
inline |
Indicates the maximum reactive power GENERATION (un-signed numerical variable in kvar) for the inverter.
Defaults to kVA rating of the inverter.
DSS property name: kvarMax, DSS property index: 13
|
inline |
Indicates the maximum reactive power ABSORPTION (un-signed numerical variable in kvar) for the inverter.
Defaults to kvarMax.
DSS property name: kvarMaxAbs, DSS property index: 14
|
inline |
Get/set the requested kW value.
Final kW is subjected to the inverter ratings. A positive value denotes power coming OUT of the element, which is the opposite of a Load element. A negative value indicates the Storage element is in Charging state. This value is modified internally depending on the dispatch mode.
DSS property name: kW, DSS property index: 5
|
inline |
|
inline |
Present amount of energy stored, kWh.
Default is same as kWhrated.
DSS property name: kWhstored, DSS property index: 22
|
inline |
kW rating of power output.
Base for Loadshapes when DispMode=Follow. Sets kVA property if it has not been specified yet. Defaults to 25.
DSS property name: kWrated, DSS property index: 19
|
inline |
Make like another object, e.g.
:
New Capacitor.C2 like=c1 ...
DSS property name: like, DSS property index: 54
|
inline |
Make like another object, e.g.
:
New Capacitor.C2 like=c1 ...
DSS property name: like, DSS property index: 54
|
inline |
|
inline |
Integer code (default=1) for the model to be used for power output variation with voltage.
Valid values are:
1:Storage element injects/absorbs a CONSTANT power. 2:Storage element is modeled as a CONSTANT IMPEDANCE. 3:Compute load injection from User-written Model.
DSS property name: model, DSS property index: 33
|
inline |
Charging rate (input power) in percentage of rated kW.
Default = 100.
DSS property name: Charge, DSS property index: 27
|
inline |
Cut-in power as a percentage of inverter kVA rating.
It is the minimum DC power necessary to turn the inverter ON when it is OFF. Must be greater than or equal to CutOut. Defaults to 2 for PVSystems and 0 for Storage elements which means that the inverter state will be always ON for this element.
DSS property name: Cutin, DSS property index: 9
|
inline |
Cut-out power as a percentage of inverter kVA rating.
It is the minimum DC power necessary to keep the inverter ON. Must be less than or equal to CutIn. Defaults to 0, which means that, once ON, the inverter state will be always ON for this element.
DSS property name: Cutout, DSS property index: 10
|
inline |
Discharge rate (output power) in percentage of rated kW.
Default = 100.
DSS property name: Discharge, DSS property index: 26
|
inline |
Percentage efficiency for CHARGING the Storage element.
Default = 90.
DSS property name: EffCharge, DSS property index: 28
|
inline |
Percentage efficiency for DISCHARGING the Storage element.
Default = 90.
DSS property name: EffDischarge, DSS property index: 29
|
inline |
Percentage of rated kW consumed by idling losses.
Default = 1.
DSS property name: IdlingkW, DSS property index: 30
|
inline |
Upper limit on active power as a percentage of kWrated.
Defaults to 100 (disabled).
DSS property name: kWrated, DSS property index: 20
|
inline |
Minimum active power as percentage of kWrated that allows the inverter to produce/absorb reactive power up to its maximum reactive power, which can be either kvarMax or kvarMaxAbs, depending on the current operation quadrant.
Defaults to 0 (disabled).
DSS property name: PminkvarMax, DSS property index: 18
|
inline |
Minimum active power as percentage of kWrated under which there is no vars production/absorption.
Defaults to 0 (disabled).
DSS property name: PminNoVars, DSS property index: 17
|
inline |
Equivalent percentage internal resistance, ohms.
Default is 0. Placed in series with internal voltage source for harmonics and dynamics modes. Use a combination of IdlingkW, EffCharge and EffDischarge to account for losses in power flow modes.
DSS property name: R, DSS property index: 31
|
inline |
Percentage of rated kWh Storage capacity to be held in reserve for normal operation.
Default = 20. This is treated as the minimum energy discharge level unless there is an emergency. For emergency operation set this property lower. Cannot be less than zero.
DSS property name: reserve, DSS property index: 24
|
inline |
Present amount of energy stored, % of rated kWh.
Default is 100.
DSS property name: stored, DSS property index: 23
|
inline |
Equivalent percentage internal reactance, ohms.
Default is 50%. Placed in series with internal voltage source for harmonics and dynamics modes. (Limits fault current to 2 pu.
DSS property name: X, DSS property index: 32
|
inline |
Get/set the requested PF value.
Final PF is subjected to the inverter ratings. Sets inverter to operate in constant PF mode. Nominally, the power factor for discharging (acting as a generator). Default is 1.0.
Enter negative for leading power factor (when kW and kvar have opposite signs.)
A positive power factor signifies kw and kvar at the same direction.
DSS property name: pf, DSS property index: 7
|
inline |
If set to true, priority is given to power factor and WattPriority is neglected.
It works only if operating in either constant PF or constant kvar modes. Defaults to False.
DSS property name: PFPriority, DSS property index: 16
|
inline |
Number of Phases, this Storage element.
Power is evenly divided among phases.
DSS property name: phases, DSS property index: 1
|
inline |
Name of harmonic voltage or current spectrum for this Storage element.
Current injection is assumed for inverter. Default value is "default", which is defined when the DSS starts.
DSS property name: spectrum, DSS property index: 51
|
inline |
Name of harmonic voltage or current spectrum for this Storage element.
Current injection is assumed for inverter. Default value is "default", which is defined when the DSS starts.
DSS property name: spectrum, DSS property index: 51
|
inline |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state.
In DISCHARGING mode, the Storage element acts as a generator and the kW property is positive. The element continues discharging at the scheduled output power level until the Storage reaches the reserve value. Then the state reverts to IDLING. In the CHARGING state, the Storage element behaves like a Load and the kW property is negative. The element continues to charge until the max Storage kWh is reached and then switches to IDLING state. In IDLING state, the element draws the idling losses plus the associated inverter losses.
DSS property name: State, DSS property index: 25
|
inline |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state.
In DISCHARGING mode, the Storage element acts as a generator and the kW property is positive. The element continues discharging at the scheduled output power level until the Storage reaches the reserve value. Then the state reverts to IDLING. In the CHARGING state, the Storage element behaves like a Load and the kW property is negative. The element continues to charge until the max Storage kWh is reached and then switches to IDLING state. In IDLING state, the element draws the idling losses plus the associated inverter losses.
DSS property name: State, DSS property index: 25
|
inline |
{IDLING | CHARGING | DISCHARGING} Get/Set present operational state.
In DISCHARGING mode, the Storage element acts as a generator and the kW property is positive. The element continues discharging at the scheduled output power level until the Storage reaches the reserve value. Then the state reverts to IDLING. In the CHARGING state, the Storage element behaves like a Load and the kW property is negative. The element continues to charge until the max Storage kWh is reached and then switches to IDLING state. In IDLING state, the element draws the idling losses plus the associated inverter losses.
DSS property name: State, DSS property index: 25
|
inline |
Time of day in fractional hours (0230 = 2.5) at which Storage element will automatically go into charge state.
Default is 2.0. Enter a negative time value to disable this feature.
DSS property name: TimeChargeTrig, DSS property index: 44
|
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: 49
|
inline |
Name of DLL containing user-written model, which computes the terminal currents for both power flow and dynamics, overriding the default model.
Set to "none" to negate previous setting.
DSS property name: UserModel, DSS property index: 48
|
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 reactive power generation/absorption will cease when the inverter status is off, due to DC kW dropping below CutOut. The reactive power generation/absorption will begin again when the DC kW is above CutIn. When set to False, the Storage will generate/absorb reactive power regardless of the status of the inverter.
DSS property name: VarFollowInverter, DSS property index: 12
|
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: 35
|
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.
DSS property name: Vminpu, DSS property index: 34
|
inline |
{Yes/No*/True/False} Set inverter to watt priority instead of the default var priority.
DSS property name: WattPriority, DSS property index: 15
|
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 Storage element uses this loadshape to trigger State changes.
DSS property name: yearly, DSS property index: 38
|
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 Storage element uses this loadshape to trigger State changes.
DSS property name: yearly, DSS property index: 38