modelIntegratorWithReset

Test model for integrator with reset

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Information

This model tests with and without reset, and with different start values and reset values.

The integrator intWitRes1 is triggered by a sample trigger which becomes true at t=0, while intWitRes2 is triggered by a boolean pulse with is true at t=0. Hence, intWitRes1 starts with y(0)=y_reset while intWitRes2 starts with y(0)=y_start.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.ConstantconsConstant as source term
TRANSFORM.Blocks.IntegratorWithResetintWitRes1Integrator with reset
TRANSFORM.Blocks.IntegratorWithResetintWitRes2Integrator with reset and y_reset = 2
Modelica.Blocks.Sources.BooleanPulsebooleanPulseBoolean pulse
TRANSFORM.Blocks.IntegratorWithResetintNoResetIntegrator without reset
Modelica.Blocks.Sources.SampleTriggersampleTriggerSample trigger
Modelica.Blocks.Sources.RamprampRamp as a source term
TRANSFORM.Blocks.IntegratorWithResetintDefIntegrator with default values
Utilities.ErrorAnalysis.UnitTestsunitTests

Revisions