modelPartialIntegratorBase
Base model of integrator with conditional inputs for activation and reset
Information
This partial model is the base model of error integrators.
If the port itgAct_in is enabled, the input will be integrated only when this port's input is set to true.
If the port itgRes_in is enabled, the integrated value will be reset to 0 whenever this port experiences a rising edge (similar to Modelica.Blocks.Continuous.Integrator).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_itgAct_in | false | = true, enable activation connector; = false, disable connector, integrator continuously activated |
| Boolean | use_itgRes_in | false | = true, enable reset connector |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y | Integral error output | |
| Modelica.Blocks.Interfaces.BooleanInput | itgAct_in | Conditional connector to activate integrator | |
| Modelica.Blocks.Interfaces.BooleanInput | itgRes_in | Conditional connector to reset integrator |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.BooleanExpression | booExpItgAct | Output for itgAct_internal |
Revisions
-
December 17, 2024, by Jun Jiang:
First implementation (see issue 1534)