TCapControlObj

Type-access

Command

Description

Implements the following properties/methods as in TLineObj:

  1. RecalcElementData
  2. CalcYPrim
  3. GetLosses
  4. GetPropertyValue
  5. InitPropertyValues
  6. DumpProperties
  7. SaveWrite
  8. MakePosSequence

Property-private

Get_Capacitor

Returns the pointer to the controlled capacitor.

Property-private

NormalizeToTOD

Normalize time to a floating-point number representing time of day if Hour > 24. Resulting time should be 0:00+ to 24:00 inclusive.

Method-private

Set_PendingChange

Sets the flag for indicating that there is a pending change to be performed.

Property-private

Get_PendingChange

Returns the value of the flag indicating if there is a pending change.

Method-private

GetControlVoltage

Gets the Voltage used for voltage control based on specified options.

Method-private

GetControlCurrent

Gets the current to control on based on type of control specified.

Method-private

GetBusVoltages

Gets the voltages at the bus specified.

Method-public

Sample

Samples control quantities and set action times in Control Queue.

Method-public

DoPendingAction

Do the action that is pending from last sample.

Method-public

Reset

Resets the controller to the initial defined state.

Property-public

This_Capacitor

PA Get_Capacitor.

Property-public

PendingChange

PA Get_PendingChange and Set_PendingChange.