modelMixingUnit
Example of system control with inverse model in a controller with two degrees of freedom
Extends from Modelica.Icons.Example (Icon for runnable examples), Templates.TwoDOFinverseModelController (Template for a controller with two structural degrees of freedom and an inverse plant model in forward path).
Information
This example demonstrates the usage of the control structure template Modelica_Controller.Templates.TwoDOFinverseModelController2 to control a system by using of an inverse system model in the forward path. The controlled system is a mixing unit described in [1]. See also model of MixingUnit1 for more details.
Within Dymola simulation tool the "Commands / Simulate and Plot Results" selection yields the following simulation result.
Simulation results
References
- [1] Föllinger O. (1998):
- Nichtlineare Regelungen I.
8th Edition, Oldenbourg Verlag München.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | additionalMeasurableOutputs (from TwoDOFinverseModelController) | true | Enable additional output vector of dimension l |
| Integer | l (from TwoDOFinverseModelController) | 1 | Number of measurable outputs |
| Real | x10 | 0.42 | Initial value of state x1 (related concentration of substance A in tank) |
| Real | x10_inv | 0.6 | Initial value of state x1 of inverted model |
| Real | x20 | 0.01 | Initial value of state x2 (related temperature in tank) |
| Real | u0 | -0.0224 | Initial related temperature of cooling medium [-] |
| SI.Frequency | freq | 1/300 | Critical frequency of filter |
| Real | c0 | 0.848 | Nominal concentration of substance A on intake |
| SI.Temperature | T0 | 308.5 | Nominal temperature of substance A on intake |
| Real | c_start | c0*(1 - x10) | Initial concentration of substance A in tank |
| Real | c_inv_start | c0*(1 - x10_inv) | Initial concentration of substance A in tank |
| SI.Temperature | T_start | T0*(1 + x20) | Initial temperature in tank |
| Real | c_high_start | c0*(1 - 0.72) | Concentration change height |
| SI.Temperature | T_c_start | T0*(1 + u0) | Initial temperature of cooling medium |