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

Overview

Fields

Public PVSystemVars: TPVSystem2Vars;
Public VBase: Double;
Public Vmaxpu: Double;
Public Vminpu: Double;
Public CurrentkvarLimit: Double;
Public CurrentkvarLimitNeg: Double;
Public FpctCutIn: Double;
Public FpctCutOut: Double;
Public AVRMode: Boolean;
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 kvarLimitSet: Boolean;
Public kvarLimitNegSet: Boolean;
Public FClass: Integer;
Public VoltageModel: Integer;
Public PFnominal: Double;
Public Registers: array[1..NumPVSystem2Registers] of Double;
Public Derivatives: array[1..NumPVSystem2Registers] 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 procedure Set_Maxkvar(const Value: Double);
Public procedure Set_Maxkvarneg(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;
Public function UsingCIMDynamics(): Boolean;

Properties

Public property PresentIrradiance: Double READ Get_PresentIrradiance WRITE PVSystemVars.FIrradiance;
Public property PresentkW: Double READ Get_PresentkW WRITE kWRequested;
Public property Presentkvar: Double READ Get_Presentkvar WRITE kvarRequested;
Public property PresentkV: Double READ PVSystemVars.kVPVSystemBase;
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 PVSystemVars.FpuPmpp;
Public property Varmode: Integer READ FvarMode WRITE FvarMode;
Public property VWmode: Boolean READ FVWmode WRITE FVWmode;
Public property VVmode: Boolean READ FVVmode WRITE FVVmode;
Public property WPmode: Boolean READ FWPmode WRITE FWPmode;
Public property WVmode: Boolean READ FWVmode WRITE FWVmode;
Public property DRCmode: Boolean READ FDRCmode WRITE FDRCmode;
Public property InverterON: Boolean READ FInverterON WRITE FInverterON;
Public property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar;
Public property kvarLimitneg: Double READ PVSystemVars.Fkvarlimitneg WRITE Set_Maxkvarneg;
Public property MinModelVoltagePU: Double READ VminPu;
Public property pf_wp_nominal: Double WRITE Set_pf_wp_nominal;
Public property IrradianceNow: Double READ ShapeFactor.re;

Description

Fields

Public PVSystemVars: TPVSystem2Vars;
 
Public VBase: Double;
 
Public Vmaxpu: Double;

Base volts suitable for computing currents

Public Vminpu: Double;
 
Public CurrentkvarLimit: Double;
 
Public CurrentkvarLimitNeg: Double;
 
Public FpctCutIn: Double;
 
Public FpctCutOut: Double;
 
Public AVRMode: Boolean;
 
Public Connection: Integer;

boolean indicating whether under AVR mode from ExpControl (or InvControl, but that does not seem to be implemented yet)

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 kvarLimitSet: Boolean;
 
Public kvarLimitNegSet: Boolean;
 
Public FClass: Integer;
 
Public VoltageModel: Integer;
 
Public PFnominal: Double;

Variation with voltage

Public Registers: array[1..NumPVSystem2Registers] of Double;
 
Public Derivatives: array[1..NumPVSystem2Registers] 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 procedure Set_Maxkvar(const Value: Double);
 
Public procedure Set_Maxkvarneg(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;
 
Public function UsingCIMDynamics(): Boolean;

Make a positive Sequence Model

Properties

Public property PresentIrradiance: Double READ Get_PresentIrradiance WRITE PVSystemVars.FIrradiance;
 
Public property PresentkW: Double READ Get_PresentkW WRITE kWRequested;
 
Public property Presentkvar: Double READ Get_Presentkvar WRITE kvarRequested;
 
Public property PresentkV: Double READ PVSystemVars.kVPVSystemBase;
 
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 PVSystemVars.FpuPmpp;
 
Public property Varmode: Integer READ FvarMode WRITE FvarMode;
 
Public property VWmode: Boolean READ FVWmode WRITE FVWmode;

0=constant PF; 1=kvar specified

Public property VVmode: Boolean READ FVVmode WRITE FVVmode;
 
Public property WPmode: Boolean READ FWPmode WRITE FWPmode;
 
Public property WVmode: Boolean READ FWVmode WRITE FWVmode;
 
Public property DRCmode: Boolean READ FDRCmode WRITE FDRCmode;
 
Public property InverterON: Boolean READ FInverterON WRITE FInverterON;
 
Public property kvarLimit: Double READ PVSystemVars.Fkvarlimit WRITE Set_Maxkvar;
 
Public property kvarLimitneg: Double READ PVSystemVars.Fkvarlimitneg WRITE Set_Maxkvarneg;
 
Public property MinModelVoltagePU: Double READ VminPu;
 
Public property pf_wp_nominal: Double WRITE Set_pf_wp_nominal;
 
Public property IrradianceNow: Double READ ShapeFactor.re;
 

Generated by PasDoc 0.16.0.