Class TPVsystem2Obj
Unit
Declaration
type TPVsystem2Obj = 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
- TPVsystem2Obj
Overview
Fields
PVSystemVars: TPVSystem2Vars; |
|
VBase: Double; |
|
Vmaxpu: Double; |
|
Vminpu: Double; |
|
CurrentkvarLimit: Double; |
|
CurrentkvarLimitNeg: Double; |
|
FpctCutIn: Double; |
|
FpctCutOut: Double; |
|
AVRMode: Boolean; |
|
Connection: Integer; |
|
DailyShapeObj: TLoadShapeObj; |
|
DutyShapeObj: TLoadShapeObj; |
|
DutyStart: Double; |
|
YearlyShapeObj: TLoadShapeObj; |
|
DailyTShapeObj: TTShapeObj; |
|
DutyTShapeObj: TTShapeObj; |
|
YearlyTShapeObj: TTShapeObj; |
|
InverterCurveObj: TXYCurveObj; |
|
Power_TempCurveObj: TXYCurveObj; |
|
kvarLimitSet: Boolean; |
|
kvarLimitNegSet: Boolean; |
|
FClass: Integer; |
|
VoltageModel: Integer; |
|
PFnominal: Double; |
|
Registers: array[1..NumPVSystem2Registers] of Double; |
|
Derivatives: array[1..NumPVSystem2Registers] of Double; |
|
VarFollowInverter: LongBool; |
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 Set_Maxkvar(const Value: Double); |
|
procedure Set_Maxkvarneg(const Value: Double); |
|
procedure SetNominalPVSystemOuput(); |
|
procedure Randomize(Opt: Integer); |
|
procedure ResetRegisters; |
|
procedure TakeSample(); |
|
procedure InitStateVars(); OVERRIDE; |
|
procedure IntegrateStates(); OVERRIDE; |
|
procedure InitHarmonics(); OVERRIDE; |
|
procedure MakePosSequence(); OVERRIDE; |
|
function UsingCIMDynamics(): Boolean; |
Properties
property PresentIrradiance: Double READ Get_PresentIrradiance WRITE PVSystemVars.FIrradiance; |
|
property PresentkW: Double READ Get_PresentkW WRITE kWRequested; |
|
property Presentkvar: Double READ Get_Presentkvar WRITE kvarRequested; |
|
property PresentkV: Double READ PVSystemVars.kVPVSystemBase; |
|
property PowerFactor: Double READ PFnominal WRITE Set_PowerFactor; |
|
property kVARating: Double READ PVSystemVars.FkVARating WRITE Set_kVARating; |
|
property Pmpp: Double READ PVSystemVars.FPmpp WRITE Set_pmpp; |
|
property puPmpp: Double READ PVSystemVars.FpuPmpp WRITE PVSystemVars.FpuPmpp; |
|
property Varmode: Integer READ FvarMode WRITE FvarMode; |
|
property VWmode: Boolean READ FVWmode WRITE FVWmode; |
|
property VVmode: Boolean READ FVVmode WRITE FVVmode; |
|
property WPmode: Boolean READ FWPmode WRITE FWPmode; |
|
property WVmode: Boolean READ FWVmode WRITE FWVmode; |
|
property DRCmode: Boolean READ FDRCmode WRITE FDRCmode; |
|
property InverterON: Boolean READ FInverterON WRITE FInverterON; |
|
property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar; |
|
property kvarLimitneg: Double READ PVSystemVars.Fkvarlimitneg WRITE Set_Maxkvarneg; |
|
property MinModelVoltagePU: Double READ VminPu; |
|
property pf_wp_nominal: Double WRITE Set_pf_wp_nominal; |
|
property IrradianceNow: Double READ ShapeFactor.re; |
Description
Fields
PVSystemVars: TPVSystem2Vars; |
|
VBase: Double; |
|
Vmaxpu: Double; |
|
Base volts suitable for computing currents |
Vminpu: Double; |
|
CurrentkvarLimit: Double; |
|
CurrentkvarLimitNeg: Double; |
|
FpctCutIn: Double; |
|
FpctCutOut: Double; |
|
AVRMode: Boolean; |
|
Connection: Integer; |
|
boolean indicating whether under AVR mode from ExpControl (or InvControl, but that does not seem to be implemented yet) |
DailyShapeObj: TLoadShapeObj; |
|
0 = line-neutral; 1=Delta |
DutyShapeObj: TLoadShapeObj; |
|
Daily PVSystem element irradianceShape for this load |
DutyStart: Double; |
|
irradiance Shape for this PVSystem element |
YearlyShapeObj: TLoadShapeObj; |
|
starting time offset into the DutyShape [hrs] for this PVsystem |
DailyTShapeObj: TTShapeObj; |
|
Yearly irradiance Shape for this PVSystem element |
DutyTShapeObj: TTShapeObj; |
|
YearlyTShapeObj: TTShapeObj; |
|
InverterCurveObj: TXYCurveObj; |
|
Power_TempCurveObj: TXYCurveObj; |
|
kvarLimitSet: Boolean; |
|
kvarLimitNegSet: Boolean; |
|
FClass: Integer; |
|
VoltageModel: Integer; |
|
PFnominal: Double; |
|
Variation with voltage |
Registers: array[1..NumPVSystem2Registers] of Double; |
|
Derivatives: array[1..NumPVSystem2Registers] of Double; |
|
VarFollowInverter: LongBool; |
|
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 Set_Maxkvar(const Value: Double); |
|
procedure Set_Maxkvarneg(const Value: Double); |
|
procedure SetNominalPVSystemOuput(); |
|
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; |
|
function UsingCIMDynamics(): Boolean; |
|
Make a positive Sequence Model |
Properties
property PresentIrradiance: Double READ Get_PresentIrradiance WRITE PVSystemVars.FIrradiance; |
|
property PresentkW: Double READ Get_PresentkW WRITE kWRequested; |
|
property Presentkvar: Double READ Get_Presentkvar WRITE kvarRequested; |
|
property PresentkV: Double READ PVSystemVars.kVPVSystemBase; |
|
property PowerFactor: Double READ PFnominal WRITE Set_PowerFactor; |
|
property kVARating: Double READ PVSystemVars.FkVARating WRITE Set_kVARating; |
|
property Pmpp: Double READ PVSystemVars.FPmpp WRITE Set_pmpp; |
|
property puPmpp: Double READ PVSystemVars.FpuPmpp WRITE PVSystemVars.FpuPmpp; |
|
property Varmode: Integer READ FvarMode WRITE FvarMode; |
|
property VWmode: Boolean READ FVWmode WRITE FVWmode; |
|
0=constant PF; 1=kvar specified |
property VVmode: Boolean READ FVVmode WRITE FVVmode; |
|
property WPmode: Boolean READ FWPmode WRITE FWPmode; |
|
property WVmode: Boolean READ FWVmode WRITE FWVmode; |
|
property DRCmode: Boolean READ FDRCmode WRITE FDRCmode; |
|
property InverterON: Boolean READ FInverterON WRITE FInverterON; |
|
property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar; |
|
property kvarLimitneg: Double READ PVSystemVars.Fkvarlimitneg WRITE Set_Maxkvarneg; |
|
property MinModelVoltagePU: Double READ VminPu; |
|
property pf_wp_nominal: Double WRITE Set_pf_wp_nominal; |
|
property IrradianceNow: Double READ ShapeFactor.re; |
|
Generated by PasDoc 0.16.0.