.ModelicaTest.Blocks.LimitersHomotopy

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:

  1. The loop is initialized in steady-state with the upper saturation active and homotopyType=UpperLimit
  2. The loop is initialized in steady-state with the lower saturation active and homotopyType=LowerLimit
  3. 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.

Contents

NameDescription
 MustUseHomotopyOnly works with homotopy-based initialization

Generated at 2024-12-03T19:25:34Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos