modelLimitersHomotopy
Tests the homotopy-based initialization options of the limiter blocks
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
These test models demonstrate the use of the advanced homotopy options homotopyType
of the Limiter and VariableLimiter blocks.
The models represent a basic control system using a PI with anti-windup in three different configurations:
- The loop is initialized in steady-state with the upper saturation active and
homotopyType=UpperLimit - The loop is initialized in steady-state with the lower saturation active and
homotopyType=LowerLimit - The loop is initialized in steady-state with the upper saturation active and
homotopyType=NoHomotopy
The mustUseHomotopyblock forces the tool to use homotopy-based initialization; in order to do so,
a system with two solutions x = 0 and x = 100 is provided. The start value leads to the convergence to x = 0; only
if homotopy is active, the solution accepted by the assert statement (x = 100) is obtained.
Components
Contents
| Name | Description |
|---|---|
| MustUseHomotopy | Only works with homotopy-based initialization |