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

Overview

Fields

Public Connection: Integer;
Public DailyShapeObj: TLoadShapeObj;
Public DutyShapeObj: TLoadShapeObj;
Public YearlyShapeObj: TLoadShapeObj;
Public StorageClass: Integer;
Public VoltageModel: Integer;
Public PFNominal: Double;
Public StorageVars: TStorageVars;
Public FpctkWout: Double;
Public Fpctkvarout: Double;
Public pctkWin: Double;
Public pctReserve: Double;
Public DispatchMode: Integer;
Public Registers: array[1..NumStorageRegisters] of Double;
Public Derivatives: array[1..NumStorageRegisters] of Double;

Methods

Protected procedure GetTerminalCurrents(Curr: pComplexArray); OVERRIDE;
Public constructor Create(ParClass: TDSSClass; const SourceName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE;
Public procedure RecalcElementData; OVERRIDE;
Public procedure CalcYPrim; OVERRIDE;
Public function InjCurrents: Integer; OVERRIDE;
Public function NumVariables: Integer; OVERRIDE;
Public procedure GetAllVariables(States: pDoubleArray); OVERRIDE;
Public function Get_Variable(i: Integer): Double; OVERRIDE;
Public procedure Set_Variable(i: Integer; Value: Double); OVERRIDE;
Public function VariableName(i: Integer): String; OVERRIDE;
Public procedure SetNominalStorageOuput;
Public procedure Randomize(Opt: Integer);
Public procedure ResetRegisters;
Public procedure TakeSample;
Public procedure InitStateVars; OVERRIDE;
Public procedure IntegrateStates; OVERRIDE;
Public procedure InitHarmonics; OVERRIDE;
Public procedure MakePosSequence(); OVERRIDE;

Properties

Public property PresentkW: Double READ Get_PresentkW WRITE Set_PresentkW;
Public property Presentkvar: Double READ Get_Presentkvar WRITE Set_Presentkvar;
Public property PresentkV: Double READ Get_PresentkV WRITE Set_PresentkV;
Public property PowerFactor: Double READ PFNominal WRITE Set_PowerFactor;
Public property StorageState: Integer READ FState WRITE Set_StorageState;
Public property PctkWOut: Double READ FpctkWOut WRITE Set_pctkWOut;
Public property PctkVarOut: Double READ FpctkvarOut WRITE Set_pctkvarOut;
Public property kWTotalLosses: Double READ Get_kWTotalLosses;
Public property kWIdlingLosses: Double READ Get_kWIdlingLosses;
Public property MinModelVoltagePU: Double READ VminPu;

Description

Fields

Public Connection: Integer;
 
Public DailyShapeObj: TLoadShapeObj;

0 = line-neutral; 1=Delta

Public DutyShapeObj: TLoadShapeObj;

Daily (24 HR) Storage element shape

Public YearlyShapeObj: TLoadShapeObj;

Duty cycle load shape for changes typically less than one hour

Public StorageClass: Integer;

Shape for this Storage element

Public VoltageModel: Integer;
 
Public PFNominal: Double;

Variation with voltage

Public StorageVars: TStorageVars;
 
Public FpctkWout: Double;
 
Public Fpctkvarout: Double;

percent of kW rated output currently dispatched

Public pctkWin: Double;
 
Public pctReserve: Double;
 
Public DispatchMode: Integer;
 
Public Registers: array[1..NumStorageRegisters] of Double;
 
Public Derivatives: array[1..NumStorageRegisters] of Double;
 

Methods

Protected procedure GetTerminalCurrents(Curr: pComplexArray); OVERRIDE;
 
Public constructor Create(ParClass: TDSSClass; const SourceName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE;
 
Public procedure RecalcElementData; OVERRIDE;
 
Public procedure CalcYPrim; OVERRIDE;
 
Public function InjCurrents: Integer; OVERRIDE;
 
Public function NumVariables: Integer; OVERRIDE;
 
Public procedure GetAllVariables(States: pDoubleArray); OVERRIDE;
 
Public function Get_Variable(i: Integer): Double; OVERRIDE;
 
Public procedure Set_Variable(i: Integer; Value: Double); OVERRIDE;
 
Public function VariableName(i: Integer): String; OVERRIDE;
 
Public procedure SetNominalStorageOuput;
 
Public procedure Randomize(Opt: Integer);
 
Public procedure ResetRegisters;

0 = reset to 1.0; 1 = Gaussian around mean and std Dev ; // 2 = uniform

Public procedure TakeSample;
 
Public procedure InitStateVars; OVERRIDE;

Support for Dynamics Mode

Public procedure IntegrateStates; OVERRIDE;
 
Public procedure InitHarmonics; OVERRIDE;

Support for Harmonics Mode

Public procedure MakePosSequence(); OVERRIDE;
 

Properties

Public property PresentkW: Double READ Get_PresentkW WRITE Set_PresentkW;

Make a positive Sequence Model

Public property Presentkvar: Double READ Get_Presentkvar WRITE Set_Presentkvar;
 
Public property PresentkV: Double READ Get_PresentkV WRITE Set_PresentkV;
 
Public property PowerFactor: Double READ PFNominal WRITE Set_PowerFactor;
 
Public property StorageState: Integer READ FState WRITE Set_StorageState;
 
Public property PctkWOut: Double READ FpctkWOut WRITE Set_pctkWOut;
 
Public property PctkVarOut: Double READ FpctkvarOut WRITE Set_pctkvarOut;
 
Public property kWTotalLosses: Double READ Get_kWTotalLosses;
 
Public property kWIdlingLosses: Double READ Get_kWIdlingLosses;
 
Public property MinModelVoltagePU: Double READ VminPu;
 

Generated by PasDoc 0.16.0.