Class TDSSCircuit
Unit
Declaration
type TDSSCircuit = class(TNamedObject)
Description
this is a GUID compliant to RFC 4122, v4
Hierarchy
- TObject
- TNamedObject
- TDSSCircuit
Overview
Fields
Methods
constructor Create(dssContext: TDSSContext; const aName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure AddCktElement(Obj: TDSSCktElement); |
|
procedure ClearBusMarkers; |
|
procedure TotalizeMeters; |
|
function ComputeCapacity: Boolean; |
|
function Save(Dir: String): Boolean; |
|
procedure ProcessBusDefs; |
|
procedure ReProcessBusDefs; |
|
procedure DoResetMeterZones; |
|
function SetElementActive(const FullObjectName: String): Integer; |
|
procedure InvalidateAllPCElements; |
|
procedure DebugDump(var F: TFileStream); |
|
function GetTopology: TCktTree; |
|
procedure FreeTopology; |
|
function GetBusAdjacentPDLists: TAdjArray; |
|
function GetBusAdjacentPCLists: TAdjArray; |
|
function getPCEatBus(BusName: String; useNone: Boolean = TRUE): ArrayOfString; |
|
function getPDEatBus(BusName: String; useNone: Boolean = TRUE): ArrayOfString; |
|
function ReportPCEatBus(BusName: String): String; |
|
function ReportPDEatBus(BusName: String): String; |
Properties
property Name: String READ Get_Name; |
|
property CaseName: String READ FCaseName WRITE Set_CaseName; |
|
property ActiveCktElement: TDSSCktElement READ FActiveCktElement WRITE Set_ActiveCktElement; |
|
property Losses: Complex READ Get_Losses; |
|
property BusNameRedefined: Boolean READ FBusNameRedefined WRITE Set_BusNameRedefined; |
|
property LoadMultiplier: Double READ FLoadMultiplier WRITE Set_LoadMultiplier; |
Description
Fields
DSS: TDSSContext; |
|
ActiveBusIndex: Integer; |
|
Fundamental: Double; |
|
Control_BusNameRedefined: Boolean; |
|
fundamental and default base frequency |
BusList: TBusHashListType; |
|
Flag for use by control elements to detect redefinition of buses |
AutoAddBusList: TBusHashListType; |
|
Flag for use by control elements to detect redefinition of buses |
DeviceList: THashList; |
|
Faults: TDSSPointerList; |
|
lists of pointers to different elements by class |
PDElements: TDSSPointerList; |
|
lists of pointers to different elements by class |
PCElements: TDSSPointerList; |
|
lists of pointers to different elements by class |
DSSControls: TDSSPointerList; |
|
lists of pointers to different elements by class |
Sources: TDSSPointerList; |
|
lists of pointers to different elements by class |
MeterElements: TDSSPointerList; |
|
lists of pointers to different elements by class |
Sensors: TDSSPointerList; |
|
lists of pointers to different elements by class |
Monitors: TDSSPointerList; |
|
lists of pointers to different elements by class |
EnergyMeters: TDSSPointerList; |
|
lists of pointers to different elements by class |
Generators: TDSSPointerList; |
|
lists of pointers to different elements by class |
StorageElements: TDSSPointerList; |
|
lists of pointers to different elements by class |
PVSystems: TDSSPointerList; |
|
lists of pointers to different elements by class |
Substations: TDSSPointerList; |
|
lists of pointers to different elements by class |
Transformers: TDSSPointerList; |
|
lists of pointers to different elements by class |
AutoTransformers: TDSSPointerList; |
|
lists of pointers to different elements by class |
CapControls: TDSSPointerList; |
|
lists of pointers to different elements by class |
RegControls: TDSSPointerList; |
|
lists of pointers to different elements by class |
Lines: TDSSPointerList; |
|
lists of pointers to different elements by class |
Loads: TDSSPointerList; |
|
lists of pointers to different elements by class |
ShuntCapacitors: TDSSPointerList; |
|
lists of pointers to different elements by class |
Reactors: TDSSPointerList; |
|
lists of pointers to different elements by class |
Relays: TDSSPointerList; |
|
added for CIM XML export |
Fuses: TDSSPointerList; |
|
added for CIM XML export |
Reclosers: TDSSPointerList; |
|
added for CIM XML export |
InvControls: TDSSPointerList; |
|
added for CIM XML export |
ExpControls: TDSSPointerList; |
|
added for CIM XML export |
SwtControls: TDSSPointerList; |
|
added for CIM XML export |
CktElements: TDSSPointerList; |
|
IncrCktElements: TDSSPointerList; |
|
LockIc: TCriticalSection; |
|
ControlQueue: TControlQueue; |
|
Solution: TSolutionObj; |
|
AutoAddObj: TAutoAdd; |
|
UEWeight: Double; |
|
For AutoAdd stuff |
LossWeight: Double; |
|
For AutoAdd stuff |
NumUEregs: Integer; |
|
NumLossRegs: Integer; |
|
Ueregs: pIntegerArray; |
|
LossRegs: pIntegerArray; |
|
CapacityStart: Double; |
|
CapacityIncrement: Double; |
|
TrapezoidalIntegration: Boolean; |
|
LogEvents: Boolean; |
|
LoadDurCurve: String; |
|
LoadDurCurveObj: TLoadShapeObj; |
|
PriceCurve: String; |
|
PriceCurveObj: TPriceShapeObj; |
|
NumDevices: Integer; |
|
NumBuses: Integer; |
|
NumNodes: Integer; |
|
MaxDevices: Integer; |
|
MaxBuses: Integer; |
|
MaxNodes: Integer; |
|
IncDevices: Integer; |
|
IncBuses: Integer; |
|
IncNodes: Integer; |
|
Buses: pTBusArray; |
|
Bus and Node stuff |
MapNodeToBus: pTNodeBusArray; |
|
Issolved: Boolean; |
|
Flags |
DuplicatesAllowed: Boolean; |
|
ZonesLocked: Boolean; |
|
MeterZonesComputed: Boolean; |
|
PositiveSequence: Boolean; |
|
NeglectLoadY: Boolean; |
|
Model is to be interpreted as Pos seq |
NormalMinVolts: Double; |
|
Voltage limits |
NormalMaxVolts: Double; |
|
Voltage limits |
EmergMaxVolts: Double; |
|
Voltage limits |
EmergMinVolts: Double; |
|
Voltage limits |
LegalVoltageBases: pDoubleArray; |
|
per unit voltage restraints for this circuit |
GeneratorDispatchReference: Double; |
|
Global circuit multipliers |
DefaultGrowthFactor: Double; |
|
Global circuit multipliers |
DefaultGrowthRate: Double; |
|
Global circuit multipliers |
GenMultiplier: Double; |
|
Global circuit multipliers |
HarmMult: Double; |
|
global multiplier for every generator |
DefaultHourMult: Complex; |
|
PriceSignal: Double; |
|
RegisterTotals: TRegisterArray; |
|
price signal for entire circuit EnergyMeter Totals |
DefaultDailyShapeObj: TLoadShapeObj; |
|
DefaultYearlyShapeObj: TLoadShapeObj; |
|
CurrentDirectory: String; |
|
ReductionStrategy: TReductionStrategy; |
|
ReductionZmag: Double; |
|
ReduceLateralsKeepLoad: Boolean; |
|
ReductionStrategyString: String; |
|
PctNormalFactor: Double; |
|
NodeMarkerCode: Integer; |
|
——Plot Marker Circuit Globals——— |
NodeMarkerWidth: Integer; |
|
SwitchMarkerCode: Integer; |
|
TransMarkerSize: Integer; |
|
CapMarkerSize: Integer; |
|
RegMarkerSize: Integer; |
|
PVMarkerSize: Integer; |
|
StoreMarkerSize: Integer; |
|
FuseMarkerSize: Integer; |
|
RecloserMarkerSize: Integer; |
|
RelayMarkerSize: Integer; |
|
TransMarkerCode: Integer; |
|
CapMarkerCode: Integer; |
|
RegMarkerCode: Integer; |
|
PVMarkerCode: Integer; |
|
StoreMarkerCode: Integer; |
|
FuseMarkerCode: Integer; |
|
RecloserMarkerCode: Integer; |
|
RelayMarkerCode: Integer; |
|
MarkSwitches: Boolean; |
|
MarkTransformers: Boolean; |
|
MarkCapacitors: Boolean; |
|
MarkRegulators: Boolean; |
|
MarkPVSystems: Boolean; |
|
MarkStorage: Boolean; |
|
MarkFuses: Boolean; |
|
MarkReclosers: Boolean; |
|
MarkRelays: Boolean; |
|
BusMarkerList: TList; |
|
ActiveLoadShapeClass: Integer; |
|
list of buses to mark ——————————— |
Methods
constructor Create(dssContext: TDSSContext; const aName: String); |
|
Variables for the tearing Algorithm |
destructor Destroy; OVERRIDE; |
|
procedure AddCktElement(Obj: TDSSCktElement); |
|
procedure ClearBusMarkers; |
|
procedure TotalizeMeters; |
|
function ComputeCapacity: Boolean; |
|
function Save(Dir: String): Boolean; |
|
procedure ProcessBusDefs; |
|
procedure ReProcessBusDefs; |
|
procedure DoResetMeterZones; |
|
function SetElementActive(const FullObjectName: String): Integer; |
|
procedure InvalidateAllPCElements; |
|
procedure DebugDump(var F: TFileStream); |
|
function GetTopology: TCktTree; |
|
Access to topology from the first source |
procedure FreeTopology; |
|
function GetBusAdjacentPDLists: TAdjArray; |
|
function GetBusAdjacentPCLists: TAdjArray; |
|
function getPCEatBus(BusName: String; useNone: Boolean = TRUE): ArrayOfString; |
|
function getPDEatBus(BusName: String; useNone: Boolean = TRUE): ArrayOfString; |
|
function ReportPCEatBus(BusName: String): String; |
|
function ReportPDEatBus(BusName: String): String; |
|
Properties
property Name: String READ Get_Name; |
|
property CaseName: String READ FCaseName WRITE Set_CaseName; |
|
property ActiveCktElement: TDSSCktElement READ FActiveCktElement WRITE Set_ActiveCktElement; |
|
property Losses: Complex READ Get_Losses; |
|
property BusNameRedefined: Boolean READ FBusNameRedefined WRITE Set_BusNameRedefined; |
|
Total Circuit PD Element losses |
property LoadMultiplier: Double READ FLoadMultiplier WRITE Set_LoadMultiplier; |
|
Generated by PasDoc 0.16.0.