modelMixingUnitWithContinuousControl
Simple example of a mixing unit where a (continuous) nonlinear inverse plant model is used as feedforward controller
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Frequency | freq | 1/300 | Critical frequency of filter |
| Real | c0 | 0.848 | Nominal concentration |
| SI.Temperature | T0 | 308.5 | Nominal temperature |
| Real | a1_inv | 0.2674 | Process parameter of inverse plant model (see references in help) |
| Real | a21_inv | 1.815 | Process parameter of inverse plant model (see references in help) |
| Real | a22_inv | 0.4682 | Process parameter of inverse plant model (see references in help) |
| Real | b_inv | 1.5476 | Process parameter of inverse plant model (see references in help) |
| Real | k0_inv | 1.05e14 | Process parameter of inverse plant model (see references in help) |
| Real | eps | 34.2894 | Process parameter (see references in help) |
| Real | x10 | 0.42 | Relative offset between nominal concentration and initial concentration |
| Real | x20 | 0.01 | Relative offset between nominal temperature and initial temperature |
| Real | u0 | -0.0224 | Relative offset between initial cooling temperature and nominal temperature |
| Real | c_start | c0*(1 - x10) | Initial concentration |
| SI.Temperature | T_start | T0*(1 + x20) | Initial temperature |
| Real | c_high_start | c0*(1 - 0.72) | Reference concentration |
| Real | T_c_start | T0*(1 + u0) | Initial cooling temperature |
| Real | pro | 1.1 | Deviations of plant to inverse plant parameters |
| Real | a1 | a1_inv*pro | Process parameter of plant model (see references in help) |
| Real | a21 | a21_inv*pro | Process parameter of plant model (see references in help) |
| Real | a22 | a22_inv*pro | Process parameter of plant model (see references in help) |
| Real | b | b_inv*pro | Process parameter of plant model (see references in help) |
| Real | k0 | k0_inv*pro | Process parameter of plant model (see references in help) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Utilities.ComponentsMixingUnit.MixingUnit | invMixingUnit | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Math.InverseBlockConstraints | inverseBlockConstraints | ||
| Modelica.Blocks.Continuous.CriticalDamping | filter | ||
| Utilities.ComponentsMixingUnit.MixingUnit | mixingUnit | ||
| Modelica.Blocks.Math.Feedback | feedback | ||
| Modelica.Blocks.Sources.Step | step | ||
| Modelica.Blocks.Math.Gain | gain |