Class TCapacitorObj

Unit

Declaration

type TCapacitorObj = class(TPDElement)

Description

No description available, ancestor TPDElement 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 FC: pDoubleArray;
Public FXL: pDoubleArray;
Public Fkvarrating: pDoubleArray;
Public FR: pDoubleArray;
Public FHarm: pDoubleArray;
Public FStates: pIntegerArray;
Public Ftotalkvar: Double;
Public kvrating: Double;
Public FNumSteps: Integer;
Public FLastStepInService: Integer;
Public Cmatrix: pDoubleArray;
Public DoHarmonicRecalc: Boolean;
Public Bus2Defined: Boolean;
Public SpecType: Integer;
Public NumTerm: Integer;
Public Connection: TCapacitorConnection;

Methods

Public function get_States(Idx: Integer): Integer;
Public procedure set_States(Idx: Integer; const Value: Integer);
Public procedure set_LastStepInService(const Value: Integer);
Public procedure MakeYprimWork(YprimWork: TcMatrix; iStep: Integer);
Public procedure set_NumSteps(const Value: Integer);
Public procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE;
Public constructor Create(ParClass: TDSSClass; const CapacitorName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure RecalcElementData; OVERRIDE;
Public procedure CalcYPrim; OVERRIDE;
Public procedure MakePosSequence(); OVERRIDE;
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
Public function AddStep: Boolean;
Public function SubtractStep: Boolean;
Public function AvailableSteps: Integer;
Public procedure FindLastStepInService;

Properties

Public property NumSteps: Integer READ FNumSteps WRITE set_NumSteps;
Public property States[Idx:Integer]: Integer READ get_States WRITE set_States;
Public property Totalkvar: Double READ FTotalkvar;
Public property NomKV: Double READ kvrating;
Public property LastStepInService: Integer READ FLastStepInService WRITE set_LastStepInService;
Public property NumTerminals: Integer READ NumTerm;

Description

Fields

Public FC: pDoubleArray;
 
Public FXL: pDoubleArray;
 
Public Fkvarrating: pDoubleArray;
 
Public FR: pDoubleArray;
 
Public FHarm: pDoubleArray;
 
Public FStates: pIntegerArray;

single C per phase (line rating) if Cmatrix not specified

Public Ftotalkvar: Double;
 
Public kvrating: Double;
 
Public FNumSteps: Integer;
 
Public FLastStepInService: Integer;
 
Public Cmatrix: pDoubleArray;
 
Public DoHarmonicRecalc: Boolean;

If not nil then overrides C

Public Bus2Defined: Boolean;
 
Public SpecType: Integer;
 
Public NumTerm: Integer;
 
Public Connection: TCapacitorConnection;

procedure Set_Enabled(Value: Boolean); OVERRIDE;

Methods

Public function get_States(Idx: Integer): Integer;

Flag used to indicate The number of terminals

Public procedure set_States(Idx: Integer; const Value: Integer);
 
Public procedure set_LastStepInService(const Value: Integer);
 
Public procedure MakeYprimWork(YprimWork: TcMatrix; iStep: Integer);
 
Public procedure set_NumSteps(const Value: Integer);
 
Public procedure Set_ConductorClosed(Index: Integer; Value: Boolean); OVERRIDE;

1=kvar, 2=Cuf, 3=Cmatrix

Public constructor Create(ParClass: TDSSClass; const CapacitorName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure RecalcElementData; OVERRIDE;
 
Public procedure CalcYPrim; OVERRIDE;
 
Public procedure MakePosSequence(); OVERRIDE;
 
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;

Make a positive Sequence Model

Public function AddStep: Boolean;
 
Public function SubtractStep: Boolean;
 
Public function AvailableSteps: Integer;
 
Public procedure FindLastStepInService;
 

Properties

Public property NumSteps: Integer READ FNumSteps WRITE set_NumSteps;
 
Public property States[Idx:Integer]: Integer READ get_States WRITE set_States;
 
Public property Totalkvar: Double READ FTotalkvar;
 
Public property NomKV: Double READ kvrating;
 
Public property LastStepInService: Integer READ FLastStepInService WRITE set_LastStepInService;
 
Public property NumTerminals: Integer READ NumTerm;
 

Generated by PasDoc 0.16.0.