Class TDSSBus
Unit
Declaration
type TDSSBus = class(TNamedObject)
Description
this is a GUID compliant to RFC 4122, v4
Hierarchy
- TObject
- TNamedObject
- TDSSBus
Overview
Fields
RefNo: pIntegerArray; |
|
VBus: pComplexArray; |
|
BusCurrent: pComplexArray; |
|
Zsc: TCMatrix; |
|
Ysc: TCMatrix; |
|
Zsc012: TCMatrix; |
|
x: Double; |
|
y: Double; |
|
kVBase: Double; |
|
DistFromMeter: Double; |
|
CoordDefined: Boolean; |
|
BusChecked: Boolean; |
|
Keep: Boolean; |
|
BusFltRate: Double; |
|
Bus_Num_Interrupt: Double; |
|
Bus_Int_Duration: Double; |
|
BusCustInterrupts: Double; |
|
BusCustDurations: Double; |
|
BusTotalNumCustomers: Integer; |
|
BusTotalMiles: Double; |
|
BusSectionID: Integer; |
Methods
constructor Create(dssContext: TDSSContext); |
|
destructor Destroy; OVERRIDE; |
|
procedure AllocateBusQuantities; |
|
procedure AllocateBusState; |
|
function Add(Circuit: TNamedObject; NodeNum: SmallInt): Integer; |
|
function Find(NodeNum: SmallInt): Integer; |
|
function FindIdx(NodeNum: SmallInt): Integer; |
|
function GetRef(NodeIndex: Integer): Integer; |
|
function GetNum(NodeIndex: Integer): SmallInt; |
Properties
property NumNodesThisBus: SmallInt READ FNumNodesThisBus; |
|
property Zsc1: Complex READ Get_Zsc1; |
|
property Zsc0: Complex READ Get_Zsc0; |
Description
Fields
RefNo: pIntegerArray; |
|
VBus: pComplexArray; |
|
BusCurrent: pComplexArray; |
|
Zsc: TCMatrix; |
|
Ysc: TCMatrix; |
|
Zsc012: TCMatrix; |
|
x: Double; |
|
y: Double; |
|
kVBase: Double; |
|
coordinates |
DistFromMeter: Double; |
|
Base kV for each node to ground (0) |
CoordDefined: Boolean; |
|
BusChecked: Boolean; |
|
Keep: Boolean; |
|
BusFltRate: Double; |
|
Flag for general use in bus searches ***** Reliability Variables |
Bus_Num_Interrupt: Double; |
|
Accumulated failure rate downstream from this bus faults per year |
Bus_Int_Duration: Double; |
|
Number of interruptions this bus per year |
BusCustInterrupts: Double; |
|
Avg Annual Interruption duration for this bus |
BusCustDurations: Double; |
|
Accumulated Number of customer interruptions from this bus |
BusTotalNumCustomers: Integer; |
|
Accumulated Customer outage durations |
BusTotalMiles: Double; |
|
Total Number of customers served from this bus |
BusSectionID: Integer; |
|
Total length of lines downstream from this bus for Duke siting algorithm |
Methods
constructor Create(dssContext: TDSSContext); |
|
ID of the feeder section this bus belongs to |
destructor Destroy; OVERRIDE; |
|
procedure AllocateBusQuantities; |
|
procedure AllocateBusState; |
|
function Add(Circuit: TNamedObject; NodeNum: SmallInt): Integer; |
|
function Find(NodeNum: SmallInt): Integer; |
|
function FindIdx(NodeNum: SmallInt): Integer; |
|
Returns reference num for node by node number |
function GetRef(NodeIndex: Integer): Integer; |
|
Returns index of node by node number |
function GetNum(NodeIndex: Integer): SmallInt; |
|
Returns reference Num for node by node index |
Properties
property NumNodesThisBus: SmallInt READ FNumNodesThisBus; |
|
Returns ith node number designation |
property Zsc1: Complex READ Get_Zsc1; |
|
property Zsc0: Complex READ Get_Zsc0; |
|
Generated by PasDoc 0.16.0.