Package Modelica.​Clocked.​Examples.​Systems.​Utilities.​ComponentsMixingUnit
Utilities for the mixing unit control example

Information

Standard package icon.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
CriticalDampingOutput the input signal filtered with an n-th order filter with critical damping
FilterOrderBlock to determine the minimum filter order
MixingUnitMixing unit demo from Foellinger, Nichtlineare Regelungen II, p. 280
MixingUnitWithContinuousControlSimple example of a mixing unit where a (continuous) nonlinear inverse plant model is used as feedforward controller

Model Modelica.​Clocked.​Examples.​Systems.​Utilities.​ComponentsMixingUnit.​MixingUnit
Mixing unit demo from Foellinger, Nichtlineare Regelungen II, p. 280

Information

See description in ControlledMixingUnit.

Parameters

TypeNameDefaultDescription
Realc00.848Nominal concentration
TemperatureT0308.5Nominal temperature
Reala10.2674Process parameter (see references in help)
Reala211.815Process parameter (see references in help)
Reala220.4682Process parameter (see references in help)
Realb1.5476Process parameter (see references in help)
Realk01.05e+14Process parameter (see references in help)
Realeps34.2894Process parameter (see references in help)

Connectors

TypeNameDescription
input RealInputT_cCooling temperature
output RealOutputcConcentration
output RealOutputTTemperature in mixing unit

Model Modelica.​Clocked.​Examples.​Systems.​Utilities.​ComponentsMixingUnit.​MixingUnitWithContinuousControl
Simple example of a mixing unit where a (continuous) nonlinear inverse plant model is used as feedforward controller

Information

This icon indicates an example. The play button suggests that the example can be executed.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Frequencyfreq0.003333333333333Critical frequency of filter
Realc00.848Nominal concentration
TemperatureT0308.5Nominal temperature
Reala1_inv0.2674Process parameter of inverse plant model (see references in help)
Reala21_inv1.815Process parameter of inverse plant model (see references in help)
Reala22_inv0.4682Process parameter of inverse plant model (see references in help)
Realb_inv1.5476Process parameter of inverse plant model (see references in help)
Realk0_inv1.05e+14Process parameter of inverse plant model (see references in help)
Realeps34.2894Process parameter (see references in help)
Realx100.42Relative offset between nominal concentration and initial concentration
Realx200.01Relative offset between nominal temperature and initial temperature
Realu0-0.0224Relative offset between initial cooling temperature and nominal temperature
final Realc_startc0 * (1 - x10)Initial concentration
final TemperatureT_startT0 * (1 + x20)Initial temperature
final Realc_high_startc0 * (0.28)Reference concentration
final RealT_c_startT0 * (1 + u0)Initial cooling temperature
Realpro1.1Deviations of plant to inverse plant parameters
final Reala1a1_inv * proProcess parameter of plant model (see references in help)
final Reala21a21_inv * proProcess parameter of plant model (see references in help)
final Reala22a22_inv * proProcess parameter of plant model (see references in help)
final Realbb_inv * proProcess parameter of plant model (see references in help)
final Realk0k0_inv * proProcess parameter of plant model (see references in help)

Model Modelica.​Clocked.​Examples.​Systems.​Utilities.​ComponentsMixingUnit.​FilterOrder
Block to determine the minimum filter order

Information

This icon indicates an example. The play button suggests that the example can be executed.

Extends from Modelica.​Icons.​Example (Icon for runnable examples).

Connectors

TypeNameDescription
input RealInputc_ref 

Block Modelica.​Clocked.​Examples.​Systems.​Utilities.​ComponentsMixingUnit.​CriticalDamping
Output the input signal filtered with an n-th order filter with critical damping

Information

This block defines the transfer function between the input u and the output y as an n-th order filter with critical damping characteristics and cut-off frequency f. It is a slightly simplified version of the Modelica.Blocks.Continuous.CriticalDamping block. It doesn't provide the same initialization capabilities as the continuous block, since the initialization of clocked partitions is currently performed differently to the continuous time partitions.

Extends from Modelica.​Blocks.​Interfaces.​SISO (Single Input Single Output continuous control block).

Parameters

TypeNameDefaultDescription
Integern2Order of filter
Frequencyf Cut-off frequency
Booleannormalizedtrue= true, if amplitude at f_cut is 3 dB, otherwise unmodified filter

Connectors

TypeNameDescription
input RealInputuConnector of Real input signal
output RealOutputyConnector of Real output signal