Library of constants, external objects and types with choices, especially to build menus

In this package **types**, **constants** and **external objects** are defined that are used
in library Modelica.Blocks. The types have additional annotation choices
definitions that define the menus to be built up in the graphical
user interface when the type is used as parameter in a declaration.

Extends from `Modelica.Icons.TypesPackage`

(Icon for packages containing type definitions).

Name | Description |
---|---|

`AnalogFilter` | Enumeration defining the method of filtering |

`ExternalCombiTable1D` | External object of 1-dim. table defined by matrix |

`ExternalCombiTable2D` | External object of 2-dim. table defined by matrix |

`ExternalCombiTimeTable` | External object of 1-dim. table where first column is time |

`Extrapolation` | Enumeration defining the extrapolation of table interpolation |

`FilterType` | Enumeration of analog filter types (low, high, band pass or band stop filter) |

`Init` | Enumeration defining initialization of a block |

`InitPID` | Enumeration defining initialization of PID and LimPID blocks |

`LimiterHomotopy` | Enumeration defining use of homotopy in limiter components |

`Regularization` | Enumeration defining the regularization around zero |

`SimpleController` | Enumeration defining P, PI, PD, or PID simple controller type |

`Smoothness` | Enumeration defining the smoothness of table interpolation |

`TimeEvents` | Enumeration defining the time event handling of time table interpolation |

`VariableLimiterHomotopy` | Enumeration defining use of homotopy in variable limiter components |

Enumeration defining the smoothness of table interpolation

Name | Description |
---|---|

`LinearSegments` | Table points are linearly interpolated |

`ContinuousDerivative` | Table points are interpolated (by Akima splines) such that the first derivative is continuous |

`ConstantSegments` | Table points are not interpolated, but the value from the previous abscissa point is returned |

`MonotoneContinuousDerivative1` | Table points are interpolated (by Fritsch-Butland splines) such that the monotonicity is preserved and the first derivative is continuous |

`MonotoneContinuousDerivative2` | Table points are interpolated (by Steffen splines) such that the monotonicity is preserved and the first derivative is continuous |

Enumeration defining the extrapolation of table interpolation

Name | Description |
---|---|

`HoldLastPoint` | Hold the first/last table point outside of the table scope |

`LastTwoPoints` | Extrapolate by using the derivative at the first/last table points outside of the table scope |

`Periodic` | Repeat the table scope periodically |

`NoExtrapolation` | Extrapolation triggers an error |

Enumeration defining the time event handling of time table interpolation

Name | Description |
---|---|

`Always` | Always generate time events at interval boundaries |

`AtDiscontinuities` | Generate time events at discontinuities (defined by duplicated sample points) |

`NoTimeEvents` | No time events at interval boundaries |

Enumeration defining initialization of a block

The following initialization alternatives are available:

**NoInit**- No initialization (start values are used as guess values with
`fixed=false`

) **SteadyState**- Steady state initialization (derivatives of states are zero)
**InitialState**- Initialization with initial states
**InitialOutput**- Initialization with initial outputs (and steady state of the states if possible)

Name | Description |
---|---|

`NoInit` | No initialization (start values are used as guess values with fixed=false) |

`SteadyState` | Steady state initialization (derivatives of states are zero) |

`InitialState` | Initialization with initial states |

`InitialOutput` | Initialization with initial outputs (and steady state of the states if possible) |

Enumeration defining initialization of PID and LimPID blocks

This initialization type is identical to Types.Init and has just one
additional option ** DoNotUse_InitialIntegratorState**. This option
is introduced in order that the default initialization for the

`Continuous.PID`

and `Continuous.LimPID`

blocks are backward
compatible. In Modelica 2.2, the integrators have been initialized
with their given states where as the D-part has not been initialized.
The option `DoNotUse_InitialIntegratorState`

The following initialization alternatives are available:

**NoInit**- No initialization (start values are used as guess values with
`fixed=false`

) **SteadyState**- Steady state initialization (derivatives of states are zero)
**InitialState**- Initialization with initial states
**InitialOutput**- Initialization with initial outputs (and steady state of the states if possible)
**DoNotUse_InitialIntegratorState**- Do not use, only for backward compatibility (initialize only integrator state)

Name | Description |
---|---|

`NoInit` | No initialization (start values are used as guess values with fixed=false) |

`SteadyState` | Steady state initialization (derivatives of states are zero) |

`InitialState` | Initialization with initial states |

`InitialOutput` | Initialization with initial outputs (and steady state of the states if possible) |

`DoNotUse_InitialIntegratorState` | Do not use, only for backward compatibility (initialize only integrator state) |

Enumeration defining P, PI, PD, or PID simple controller type

Name | Description |
---|---|

`P` | P controller |

`PI` | PI controller |

`PD` | PD controller |

`PID` | PID controller |

Enumeration defining the method of filtering

Name | Description |
---|---|

`CriticalDamping` | Filter with critical damping |

`Bessel` | Bessel filter |

`Butterworth` | Butterworth filter |

`ChebyshevI` | Chebyshev I filter |

Enumeration of analog filter types (low, high, band pass or band stop filter)

Name | Description |
---|---|

`LowPass` | Low pass filter |

`HighPass` | High pass filter |

`BandPass` | Band pass filter |

`BandStop` | Band stop / notch filter |

Enumeration defining the regularization around zero

Name | Description |
---|---|

`Exp` | Exponential regularization (smooth) |

`Sine` | Sinusoidal regularization (smooth 1st derivative) |

`Linear` | Linear regularization |

`Cosine` | Cosine regularization |

Enumeration defining use of homotopy in limiter components

Name | Description |
---|---|

`NoHomotopy` | Homotopy is not used |

`Linear` | Simplified model without limits |

`UpperLimit` | Simplified model fixed at upper limit |

`LowerLimit` | Simplified model fixed at lower limit |

Enumeration defining use of homotopy in variable limiter components

Name | Description |
---|---|

`NoHomotopy` | Simplified model = actual model |

`Linear` | Simplified model: y = u |

`Fixed` | Simplified model: y = ySimplified |

External object of 1-dim. table where first column is time

Type | Name | Description |
---|---|---|

`String` | `tableName` | Table name |

`String` | `fileName` | File name |

`Real` | `table[:,:]` | |

`Modelica.SIunits.Time` | `startTime` | |

`Integer` | `columns[:]` | |

`Modelica.Blocks.Types.Smoothness` | `smoothness` | |

`Modelica.Blocks.Types.Extrapolation` | `extrapolation` | |

`Modelica.SIunits.Time` | `shiftTime` | |

`Modelica.Blocks.Types.TimeEvents` | `timeEvents` | |

`Boolean` | `verboseRead` | = true: Print info message; = false: No info message |

External object of 1-dim. table defined by matrix

Type | Name | Description |
---|---|---|

`String` | `tableName` | Table name |

`String` | `fileName` | File name |

`Real` | `table[:,:]` | |

`Integer` | `columns[:]` | |

`Modelica.Blocks.Types.Smoothness` | `smoothness` | |

`Modelica.Blocks.Types.Extrapolation` | `extrapolation` | |

`Boolean` | `verboseRead` | = true: Print info message; = false: No info message |

External object of 2-dim. table defined by matrix

Type | Name | Description |
---|---|---|

`String` | `tableName` | Table name |

`String` | `fileName` | File name |

`Real` | `table[:,:]` | |

`Modelica.Blocks.Types.Smoothness` | `smoothness` | |

`Modelica.Blocks.Types.Extrapolation` | `extrapolation` | |

`Boolean` | `verboseRead` | = true: Print info message; = false: No info message |