blockPIFreeze
Proportional-integrator controller with freezing of the state
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This blocks computes y as integral of the input u multiplied by Gain and divided by tIntegral plus input u multiplied by Gain. If the integration is halted by the freeze boolean, only the proportional contribution is considered.
The integrator is initialized with the value Y0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Gain | Control gain | |
| Types.Time | tIntegral | Time integration constant | |
| Initialization | |||
| Types.PerUnit | Y0 | 0 | Initial value of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Input signal connector | |
| Modelica.Blocks.Interfaces.RealOutput | y | Output signal connector | |
| Modelica.Blocks.Interfaces.BooleanInput | freeze |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Sources.Constant | const |