modelVoltageControl
Voltage controller
Information
Model representing a voltage controller that unplugs a load when
its voltage is outside of the accepted thresholds.
The model contains a finite state machine controller that detects voltage
deviations. If the voltage input V exceeds the
nominal value V_nominal by more than 1+Vtr
then the control signal y becomes zero for
a period t = tDelay. If after this period the voltage is still
higher than the thresholds the output remains equal to zero.
The model has a parameter T that represents the time constant
associated to the electrical switch. This time constant is used to parametrize
a first order filter that represents such a dynamic effect. The presence of the first order
filter avoids that the output of the finite state machine controller
are differentiated (causing runtime errors).
Parameters
| Type | Name | Default | Description |
| Modelica.Units.SI.Voltage | V_nominal | | Nominal voltage of the node to be controlled |
| Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage) |
| Modelica.Units.SI.Time | tDelay | 300 | Time to wait before plugging the load back |
| Modelica.Units.SI.Time | T | 0.01 | Time constant representing the switching time |
| Real | y_start | 1.0 | Initial value of the control output signal |
| Modelica.Units.SI.Voltage | Vmin | V_nominal*(1 - vThresh) | Low threshold |
| Modelica.Units.SI.Voltage | Vmax | V_nominal*(1 + vThresh) | High threshold |
Components
| Type | Name | Default | Description |
| Modelica.Blocks.Interfaces.RealOutput | y | | Control signal |
| AixLib.Electrical.Interfaces.Terminal | terminal | | Generalized terminal |
| AixLib.Electrical.Utilities.Controllers.StateMachineVoltCtrl | ctrl | | Model that implements the state machines voltage controller |
Contents
| Name | Description |
| PhaseSystem | |
Revisions
-
March 10, 2014, by Marco Bonvini:
Added time constant T and first order filer to avoid
differentiation of the outputs of the finite state machine.
-
Oct 14, 2014, by Marco Bonvini:
Revised model and documentation.
-
Aug 28, 2014, by Marco Bonvini:
Added documentation.