modelStateMachineVoltCtrl

This model represents a simple voltage controller that unplug a load when there is a voltage fluctuation higher that a given threshold.

Information

Function that implements a state machine 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 becones zero for a period equal to tDelay.

A signal y = 0 can be used to turn off a load.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VoltageV_nominalNominal voltage of the node to be controlled
RealvThresh0.1Threshold that activates voltage ctrl (ratio of nominal voltage)
Modelica.Units.SI.TimetDelay300Time to wait before plugging the load back

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputVVoltage of the node to be controlled

Components

TypeNameDefaultDescription
RealyOutput signal that represents whether the load should be connected to the grid or not

Revisions

  • Aug 28, 2014, by Marco Bonvini:
    Added documentation.