Class TPVsystemObj

Unit

Declaration

type TPVsystemObj = 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 PVSystemVars: TPVSystemVars;
Public Connection: Integer;
Public DailyShapeObj: TLoadShapeObj;
Public DutyShapeObj: TLoadShapeObj;
Public DutyStart: Double;
Public YearlyShapeObj: TLoadShapeObj;
Public DailyTShapeObj: TTShapeObj;
Public DutyTShapeObj: TTShapeObj;
Public YearlyTShapeObj: TTShapeObj;
Public InverterCurveObj: TXYCurveObj;
Public Power_TempCurveObj: TXYCurveObj;
Public FClass: Integer;
Public VoltageModel: Integer;
Public PFnominal: Double;
Public Registers: array[1..NumPVSystemRegisters] of Double;
Public Derivatives: array[1..NumPVSystemRegisters] of Double;
Public VarFollowInverter: LongBool;

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 function Get_InverterON: Boolean;
Public procedure Set_InverterON(const Value: Boolean);
Public procedure Set_Maxkvar(const Value: Double);
Public procedure SetNominalPVSystemOuput;
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 PresentIrradiance: Double READ Get_PresentIrradiance WRITE Set_PresentIrradiance;
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 kVARating: Double READ PVSystemVars.FkVARating WRITE Set_kVARating;
Public property Pmpp: Double READ PVSystemVars.FPmpp WRITE Set_pmpp;
Public property puPmpp: Double READ PVSystemVars.FpuPmpp WRITE Set_puPmpp;
Public property Varmode: Integer READ Get_Varmode WRITE Set_Varmode;
Public property VWmode: Boolean READ Get_VWmode WRITE Set_VWmode;
Public property VWYAxis: Integer READ Get_VWYAxis WRITE Set_VWYAxis;
Public property InverterON: Boolean READ Get_InverterON WRITE Set_InverterON;
Public property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar;
Public property MinModelVoltagePU: Double READ VminPu;
Public property IrradianceNow : Double READ ShapeFactor.re;

Description

Fields

Public PVSystemVars: TPVSystemVars;
 
Public Connection: Integer;
 
Public DailyShapeObj: TLoadShapeObj;

0 = line-neutral; 1=Delta

Public DutyShapeObj: TLoadShapeObj;

Daily PVSystem element irradianceShape for this load

Public DutyStart: Double;

irradiance Shape for this PVSystem element

Public YearlyShapeObj: TLoadShapeObj;

starting time offset into the DutyShape [hrs] for this PVsystem

Public DailyTShapeObj: TTShapeObj;

Yearly irradiance Shape for this PVSystem element

Public DutyTShapeObj: TTShapeObj;
 
Public YearlyTShapeObj: TTShapeObj;
 
Public InverterCurveObj: TXYCurveObj;
 
Public Power_TempCurveObj: TXYCurveObj;
 
Public FClass: Integer;
 
Public VoltageModel: Integer;
 
Public PFnominal: Double;

Variation with voltage

Public Registers: array[1..NumPVSystemRegisters] of Double;
 
Public Derivatives: array[1..NumPVSystemRegisters] of Double;
 
Public VarFollowInverter: LongBool;
 

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 function Get_InverterON: Boolean;
 
Public procedure Set_InverterON(const Value: Boolean);
 
Public procedure Set_Maxkvar(const Value: Double);
 
Public procedure SetNominalPVSystemOuput;
 
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 PresentIrradiance: Double READ Get_PresentIrradiance WRITE Set_PresentIrradiance;

Make a positive Sequence Model

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 kVARating: Double READ PVSystemVars.FkVARating WRITE Set_kVARating;
 
Public property Pmpp: Double READ PVSystemVars.FPmpp WRITE Set_pmpp;
 
Public property puPmpp: Double READ PVSystemVars.FpuPmpp WRITE Set_puPmpp;
 
Public property Varmode: Integer READ Get_Varmode WRITE Set_Varmode;
 
Public property VWmode: Boolean READ Get_VWmode WRITE Set_VWmode;

0=constant PF; 1=kvar specified

Public property VWYAxis: Integer READ Get_VWYAxis WRITE Set_VWYAxis;
 
Public property InverterON: Boolean READ Get_InverterON WRITE Set_InverterON;
 
Public property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar;
 
Public property MinModelVoltagePU: Double READ VminPu;
 
Public property IrradianceNow : Double READ ShapeFactor.re;
 

Generated by PasDoc 0.16.0.