Class TStorageObj
Unit
Declaration
type TStorageObj = class(TPCElement)
Description
No description available, ancestor TPCElement description follows
No description available, ancestor TDSSCktElement description follows
No description available, ancestor TDSSObject description follows
No description available, ancestor TNamedObject description follows
this is a GUID compliant to RFC 4122, v4
Hierarchy
- TObject
- TNamedObject
- TDSSObject
- TDSSCktElement
- TPCElement
- TStorageObj
Overview
Fields
Connection: Integer; |
|
DailyShapeObj: TLoadShapeObj; |
|
DutyShapeObj: TLoadShapeObj; |
|
YearlyShapeObj: TLoadShapeObj; |
|
StorageClass: Integer; |
|
VoltageModel: Integer; |
|
PFNominal: Double; |
|
StorageVars: TStorageVars; |
|
FpctkWout: Double; |
|
Fpctkvarout: Double; |
|
pctkWin: Double; |
|
pctReserve: Double; |
|
DispatchMode: Integer; |
|
Registers: array[1..NumStorageRegisters] of Double; |
|
Derivatives: array[1..NumStorageRegisters] of Double; |
Methods
procedure GetTerminalCurrents(Curr: pComplexArray); OVERRIDE; |
|
constructor Create(ParClass: TDSSClass; const SourceName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE; |
|
procedure RecalcElementData; OVERRIDE; |
|
procedure CalcYPrim; OVERRIDE; |
|
function InjCurrents: Integer; OVERRIDE; |
|
function NumVariables: Integer; OVERRIDE; |
|
procedure GetAllVariables(States: pDoubleArray); OVERRIDE; |
|
function Get_Variable(i: Integer): Double; OVERRIDE; |
|
procedure Set_Variable(i: Integer; Value: Double); OVERRIDE; |
|
function VariableName(i: Integer): String; OVERRIDE; |
|
procedure SetNominalStorageOuput; |
|
procedure Randomize(Opt: Integer); |
|
procedure ResetRegisters; |
|
procedure TakeSample; |
|
procedure InitStateVars; OVERRIDE; |
|
procedure IntegrateStates; OVERRIDE; |
|
procedure InitHarmonics; OVERRIDE; |
|
procedure MakePosSequence(); OVERRIDE; |
Properties
property PresentkW: Double READ Get_PresentkW WRITE Set_PresentkW; |
|
property Presentkvar: Double READ Get_Presentkvar WRITE Set_Presentkvar; |
|
property PresentkV: Double READ Get_PresentkV WRITE Set_PresentkV; |
|
property PowerFactor: Double READ PFNominal WRITE Set_PowerFactor; |
|
property StorageState: Integer READ FState WRITE Set_StorageState; |
|
property PctkWOut: Double READ FpctkWOut WRITE Set_pctkWOut; |
|
property PctkVarOut: Double READ FpctkvarOut WRITE Set_pctkvarOut; |
|
property kWTotalLosses: Double READ Get_kWTotalLosses; |
|
property kWIdlingLosses: Double READ Get_kWIdlingLosses; |
|
property MinModelVoltagePU: Double READ VminPu; |
Description
Fields
Connection: Integer; |
|
DailyShapeObj: TLoadShapeObj; |
|
0 = line-neutral; 1=Delta |
DutyShapeObj: TLoadShapeObj; |
|
Daily (24 HR) Storage element shape |
YearlyShapeObj: TLoadShapeObj; |
|
Duty cycle load shape for changes typically less than one hour |
StorageClass: Integer; |
|
Shape for this Storage element |
VoltageModel: Integer; |
|
PFNominal: Double; |
|
Variation with voltage |
StorageVars: TStorageVars; |
|
FpctkWout: Double; |
|
Fpctkvarout: Double; |
|
percent of kW rated output currently dispatched |
pctkWin: Double; |
|
pctReserve: Double; |
|
DispatchMode: Integer; |
|
Registers: array[1..NumStorageRegisters] of Double; |
|
Derivatives: array[1..NumStorageRegisters] of Double; |
|
Methods
procedure GetTerminalCurrents(Curr: pComplexArray); OVERRIDE; |
|
constructor Create(ParClass: TDSSClass; const SourceName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE; |
|
procedure RecalcElementData; OVERRIDE; |
|
procedure CalcYPrim; OVERRIDE; |
|
function InjCurrents: Integer; OVERRIDE; |
|
function NumVariables: Integer; OVERRIDE; |
|
procedure GetAllVariables(States: pDoubleArray); OVERRIDE; |
|
function Get_Variable(i: Integer): Double; OVERRIDE; |
|
procedure Set_Variable(i: Integer; Value: Double); OVERRIDE; |
|
function VariableName(i: Integer): String; OVERRIDE; |
|
procedure SetNominalStorageOuput; |
|
procedure Randomize(Opt: Integer); |
|
procedure ResetRegisters; |
|
0 = reset to 1.0; 1 = Gaussian around mean and std Dev ; // 2 = uniform |
procedure TakeSample; |
|
procedure InitStateVars; OVERRIDE; |
|
Support for Dynamics Mode |
procedure IntegrateStates; OVERRIDE; |
|
procedure InitHarmonics; OVERRIDE; |
|
Support for Harmonics Mode |
procedure MakePosSequence(); OVERRIDE; |
|
Properties
property PresentkW: Double READ Get_PresentkW WRITE Set_PresentkW; |
|
Make a positive Sequence Model |
property Presentkvar: Double READ Get_Presentkvar WRITE Set_Presentkvar; |
|
property PresentkV: Double READ Get_PresentkV WRITE Set_PresentkV; |
|
property PowerFactor: Double READ PFNominal WRITE Set_PowerFactor; |
|
property StorageState: Integer READ FState WRITE Set_StorageState; |
|
property PctkWOut: Double READ FpctkWOut WRITE Set_pctkWOut; |
|
property PctkVarOut: Double READ FpctkvarOut WRITE Set_pctkvarOut; |
|
property kWTotalLosses: Double READ Get_kWTotalLosses; |
|
property kWIdlingLosses: Double READ Get_kWIdlingLosses; |
|
property MinModelVoltagePU: Double READ VminPu; |
|
Generated by PasDoc 0.16.0.