TStorageObj
TStorageObj |
||
Type-access |
Command |
Description – (Specific class) otherwise generic |
Implements the following properties/methods as in TLoadObj, TIndMach012Obj, TPVSystemObj and TGeneratorObj:
|
||
Method- private |
ComputePresentkW |
Calculates the present power output considering the model features. |
Method- private |
ComputeDCkW |
Computes actual DC power (kW) to Update Storage State of Charge (SoC). |
Method- private |
CalcStorageModelContribution |
Calculates Storage element current and adds it properly into the injcurrent array routines may also compute ITerminal (ITerminalUpdated flag). |
Method- private |
DoConstantPQStorageObj |
Compute total terminal current for Constant PQ model. |
Method- private |
DoConstantZStorageObj |
Compute total terminal current for constant Z model. |
Method- private |
DoDynaModel |
Implements the routine for doing the user written dynamics model. |
Method- private |
CheckStateTriggerLevel |
This is where we set the state of the Storage element. |
Method- private |
UpdateStorage |
Updates Storage elements based on present kW and IntervalHrs variable. |
Property- private |
NormalizeToTOD |
Normalizes time to a floating-point number representing time of day If Hour > 24, time should be 0 to 24. |
Property- private |
InterpretState |
Interprets the present state of the storage device (charging, discharging, idle). |
Property- private |
DecodeState |
Returns the name of the storage state (charging, discharging, idle) as string. |
Property- private |
Get_kvarRequested |
Returns the present kvar requested. |
Property- private |
Get_kWRequested |
Returns the present kW requested. |
Method- private |
Set_kW |
Sets the present kW rating. |
Property- private |
Get_kW |
Returns the present kW rating. |
Method- private |
Set_kWRequested |
Sets the present kW requested. |
Method- private |
Set_kvarRequested |
Sets the present kvar requested. |
Method- private |
Set_StorageState |
Sets the storage state using the given integer. |
Method- private |
Set_pctkWOut |
Sets the discharging efficiency for the storage. |
Method- private |
Set_pctkWIn |
Sets the charging efficiency for the storage. |
Property- private |
Get_DCkW |
Returns the DC power rating for the storage. |
Property- private |
Get_kWTotalLosses |
Returns total losses: Idling + inverter + interface losses. |
Property- private |
Get_InverterLosses |
Returns the inverter losses. |
Property- private |
Get_kWIdlingLosses |
Returns Idling losses. |
Property- private |
Get_kWChDchLosses |
Returns the DC/AC interface losses. |
Method- private |
Update_EfficiencyFactor |
Updates the efficiency factor in time. |
Method- private |
Set_StateDesired |
Sets the state for the storage device using the given integer. |
Property- private |
Get_kWDesired |
Returns the kW desired, normally set by a controller. |
Method- private |
Set_pctkWrated |
Sets the kW rating as percentage of the nominal kW. |
Property- private |
Get_CutOutkWAC |
Gets the cutout limit for the inverter generation threshold. |
Property- private |
Get_CutInkWAC |
Gets the cut in limit for the inverter charging threshold. |
Method-public |
SetNominalStorageOutput |
Sets the power output for the storage according to its present features. |