This class implements a model for a tap changer/phase-shifter with a MAX type logic. Said logic takes a maximum and stop values, and tries to bring the value back to the stop one when the maximum is reached.
The model is realized as asynchronous state-machine, the machine states are defined using the enumeration type State, defined in the
TapChangerPhaseShifterLogicCommon class.
The transitions are defined using a when - elsewen structure, which allows the asyncronous behavior of the machine, and the relevant conditions are evaluated at the previous integration step.
The input variables are two booleans, which indicate if the monitored variable is under the stop limit or above the Max one.
The output variable tap represents the position of the tap-changer/phase shifter to be used in the next integration step, and it is updated by the transitions of the status-machine.
Generated at 2024-11-23T19:25:52Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos