This model is similar to
Modelica.Blocks.Continuous.Integrator
except that it optionally allows to reset the output y
of the integrator.
The output of the integrator can be reset as follows:
reset = TRANSFORM.Types.Reset.Disabled, which is the default,
then the integrator is never reset.
reset = TRANSFORM.Types.Reset.Parameter, then a boolean
input signal trigger is enabled. Whenever the value of
this input changes from false to true,
the integrator is reset by setting y
to the value of the parameter y_reset.
reset = TRANSFORM.Types.Reset.Input, then a boolean
input signal trigger is enabled. Whenever the value of
this input changes from false to true,
the integrator is reset by setting y
to the value of the input signal y_reset_in.
See TRANSFORM.Blocks.Examples.IntegratorWithReset for an example.
To adjust the icon layer, the code of Modelica.Blocks.Continuous.Integrator has been copied into this model rather than extended.
Modified from IBPSA Library