Package Modelica.Blocks.Types
Library of constants, external objects and types with choices, especially to build menus
Information
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).
Package Contents
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 Modelica.Blocks.Types.Smoothness
Enumeration defining the smoothness of table interpolation
Literals
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 Modelica.Blocks.Types.Extrapolation
Enumeration defining the extrapolation of table interpolation
Literals
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 Modelica.Blocks.Types.TimeEvents
Enumeration defining the time event handling of time table interpolation
Literals
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 |
Information
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)
Literals
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 Modelica.Blocks.Types.InitPID
Enumeration defining initialization of PID and LimPID blocks
Information
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
leads to this
initialization definition.
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)
Literals
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 Modelica.Blocks.Types.SimpleController
Enumeration defining P, PI, PD, or PID simple controller type
Literals
Name | Description |
---|
P | P controller |
PI | PI controller |
PD | PD controller |
PID | PID controller |
Enumeration Modelica.Blocks.Types.AnalogFilter
Enumeration defining the method of filtering
Literals
Name | Description |
---|
CriticalDamping | Filter with critical damping |
Bessel | Bessel filter |
Butterworth | Butterworth filter |
ChebyshevI | Chebyshev I filter |
Enumeration Modelica.Blocks.Types.FilterType
Enumeration of analog filter types (low, high, band pass or band stop filter)
Literals
Name | Description |
---|
LowPass | Low pass filter |
HighPass | High pass filter |
BandPass | Band pass filter |
BandStop | Band stop / notch filter |
Enumeration Modelica.Blocks.Types.Regularization
Enumeration defining the regularization around zero
Literals
Name | Description |
---|
Exp | Exponential regularization (smooth) |
Sine | Sinusoidal regularization (smooth 1st derivative) |
Linear | Linear regularization |
Cosine | Cosine regularization |
Enumeration Modelica.Blocks.Types.LimiterHomotopy
Enumeration defining use of homotopy in limiter components
Literals
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 Modelica.Blocks.Types.VariableLimiterHomotopy
Enumeration defining use of homotopy in variable limiter components
Literals
Name | Description |
---|
NoHomotopy | Simplified model = actual model |
Linear | Simplified model: y = u |
Fixed | Simplified model: y = ySimplified |
External Object Modelica.Blocks.Types.ExternalCombiTimeTable
External object of 1-dim. table where first column is time
Arguments
External Object Modelica.Blocks.Types.ExternalCombiTable1D
External object of 1-dim. table defined by matrix
Arguments
External Object Modelica.Blocks.Types.ExternalCombiTable2D
External object of 2-dim. table defined by matrix
Arguments