modelIntegratorWithReset

Test model for integrator with reset

Information

This model tests the implementation of AixLib.Controls.OBC.CDL.Reals.IntegratorWithReset 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
AixLib.Controls.OBC.CDL.Reals.IntegratorWithResetintDefIntegrator with default values
AixLib.Controls.OBC.CDL.Reals.IntegratorWithResetintWitRes1Integrator with reset
AixLib.Controls.OBC.CDL.Reals.IntegratorWithResetintWitRes2Integrator with reset and y_reset = 2
AixLib.Controls.OBC.CDL.Reals.Sources.ConstantconsConstant as source term
AixLib.Controls.OBC.CDL.Logical.Sources.PulsebooleanPulseBoolean pulse
AixLib.Controls.OBC.CDL.Logical.Sources.SampleTriggersampleTriggerSample trigger
AixLib.Controls.OBC.CDL.Reals.Sources.RamprampRamp as a source term

Revisions

  • March 23, 2017, by Jianjun Hu:
    First implementation.