RegControlsI (Int) Interface
This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:
int32_t RegControlsI(int32_t Parameter, int32_t Argument);
This interface returns an integer with the result of the query according to the value of the variable Parameter, which can be one of the following:
Parameter 0: RegControls.First
This parameter sets the first RegControl active. Returns 0 if no more.
Parameter 1: RegControls.Next
This parameter sets the next RegControl active. Returns 0 if no more.
Parameter 2: RegControls.TapWinding read
This parameter gets the tapped winding number.
Parameter 3: RegControls.TapWinding write
This parameter sets the tapped winding number.
Parameter 4: RegControls.Winding read
This parameter gets the winding number for PT and CT connections.
Parameter 5: RegControls.Winding write
This parameter sets the winding number for PT and CT connections.
Parameter 6: RegControls.IsReversible read
This parameter gets the setting in the reverse direction, usually not applicable to substation transformers.
Parameter 7: RegControls.IsReversible read
This parameter sets the different settings for the reverse direction (see Manual for details), usually not applicable to substation transformers.
Parameter 8: RegControls.IsInverseTime read
This parameter gets the inverse time feature. Time delay is inversely adjusted, proportional to the amount of voltage outside the regulator band.
Parameter 9: RegControls.IsInverseTime write
This parameter sets the inverse time feature. Time delay is inversely adjusted, proportional to the amount of voltage outside the regulator band.
Parameter 10: RegControls.MaxTapChange read
This parameter gets the maximum tap change per iteration in STATIC solution mode. 1 is more realistic, 16 is the default for faster solution.
Parameter 11: RegControls.MaxTapChange write
This parameter sets the maximum tap change per iteration in STATIC solution mode. 1 is more realistic, 16 is the default for faster solution.
Parameter 12: RegControls.Count
This parameter gets the number of RegControl objects in Active Circuit.
Parameter 13: RegControls.TapNumber read
This parameter gets the actual tap number of the active RegControl.
Parameter 14: RegControls.TapNumber write
This parameter sets the actual tap number of the active RegControl.