modelOpenLoopSimulator
Open loop plant simulator
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model allows to simulate an open loop transient, using start attributes to select the initial values of the state variables. After about 50s, the plant reaches a steady state.
At time t =100 s, the water valve is closed by 10%. At time t = 200 s, the gas flow rate is increased by 10%.
The simulator is provided with external inputs to apply changes to the system input. If the system is simulated alone, these are taken to be zero by default, so the step responses can be computed. If the system is linearized at time t = 99, the A,B,C,D matrices of the linearized model around the initial steady state can be obtained.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | GasFlowRateInput | ||
| Modelica.Blocks.Interfaces.RealInput | ValveOpeningInput | ||
| Modelica.Blocks.Interfaces.RealOutput | TGoutOutput | ||
| Modelica.Blocks.Interfaces.RealOutput | TWoutOutput |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Models.HRBPlant | Plant | ||
| Modelica.Blocks.Sources.Step | ValveOpening | ||
| Modelica.Blocks.Sources.Ramp | GasFlowRate | ||
| Modelica.Blocks.Math.Add | Add1 | ||
| Modelica.Blocks.Math.Add | Add2 |
Revisions
- 20 Sep 2013
by Francesco
Casella:
Updated and improved models and documentation. - 25 Apr 2005
by Francesco
Casella:
First release.