modelIdealMotor

Ideal motor model with hysteresis

Extends from Modelica.Blocks.Interfaces.SISO.

Information

Ideal actuator motor model with hysteresis and finite actuation speed. If the current actuator position y is below (or above) the input signal u by an amount bigger than the hysteresis delta, then the position y is increased (decreased) until it reaches u. The output y is bounded between 0 and 1.

Note: This model can introduce state events which increase the computation time. For a more efficient implementation that approximates a motor, set in the valve or damper model the parameter use_strokeTime=true instead of using this motor model. See also AixLib.Fluid.Actuators.UsersGuide.

Parameters

TypeNameDefaultDescription
Realdelta0.05Hysteresis
Modelica.Units.SI.TimetOpe120Opening time
Modelica.Units.SI.TimetClotOpeClosing time
Realy_start0.5Start position

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.HysteresisuppHys
Modelica.Blocks.Logical.HysteresislowHysLower hysteresis
Modelica.Blocks.Logical.SwitchuppSwi
Modelica.Blocks.Continuous.LimIntegratorintIntegrator for valve opening position

Revisions

  • March 24, 2017, by Michael Wetter:
    Renamed filteredInput to use_inputFilter.
    This is for #665.
  • September 8, 2008 by Michael Wetter:
    Added to instance int the attribute y(stateSelect=StateSelect.always). Without this attribute, the model AixLib.Fluid.Examples.TwoWayValves sets y=3 which is consistent with this model.
  • September 8, 2008 by Michael Wetter:
    First implementation.