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

NameDescription
AnalogFilterEnumeration defining the method of filtering
ExternalCombiTable1DExternal object of 1-dim. table defined by matrix
ExternalCombiTable2DExternal object of 2-dim. table defined by matrix
ExternalCombiTimeTableExternal object of 1-dim. table where first column is time
ExtrapolationEnumeration defining the extrapolation of table interpolation
FilterTypeEnumeration of analog filter types (low, high, band pass or band stop filter)
InitEnumeration defining initialization of a block
InitPIDEnumeration defining initialization of PID and LimPID blocks
LimiterHomotopyEnumeration defining use of homotopy in limiter components
RegularizationEnumeration defining the regularization around zero
SimpleControllerEnumeration defining P, PI, PD, or PID simple controller type
SmoothnessEnumeration defining the smoothness of table interpolation
TimeEventsEnumeration defining the time event handling of time table interpolation
VariableLimiterHomotopyEnumeration defining use of homotopy in variable limiter components

Enumeration Modelica.​Blocks.​Types.​Smoothness
Enumeration defining the smoothness of table interpolation

Literals

NameDescription
LinearSegmentsTable points are linearly interpolated
ContinuousDerivativeTable points are interpolated (by Akima splines) such that the first derivative is continuous
ConstantSegmentsTable points are not interpolated, but the value from the previous abscissa point is returned
MonotoneContinuousDerivative1Table points are interpolated (by Fritsch-Butland splines) such that the monotonicity is preserved and the first derivative is continuous
MonotoneContinuousDerivative2Table 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

NameDescription
HoldLastPointHold the first/last table point outside of the table scope
LastTwoPointsExtrapolate by using the derivative at the first/last table points outside of the table scope
PeriodicRepeat the table scope periodically
NoExtrapolationExtrapolation triggers an error

Enumeration Modelica.​Blocks.​Types.​TimeEvents
Enumeration defining the time event handling of time table interpolation

Literals

NameDescription
AlwaysAlways generate time events at interval boundaries
AtDiscontinuitiesGenerate time events at discontinuities (defined by duplicated sample points)
NoTimeEventsNo time events at interval boundaries

Enumeration Modelica.​Blocks.​Types.​Init
Enumeration defining initialization of a block

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

NameDescription
NoInitNo initialization (start values are used as guess values with fixed=false)
SteadyStateSteady state initialization (derivatives of states are zero)
InitialStateInitialization with initial states
InitialOutputInitialization 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

NameDescription
NoInitNo initialization (start values are used as guess values with fixed=false)
SteadyStateSteady state initialization (derivatives of states are zero)
InitialStateInitialization with initial states
InitialOutputInitialization with initial outputs (and steady state of the states if possible)
DoNotUse_InitialIntegratorStateDo 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

NameDescription
PP controller
PIPI controller
PDPD controller
PIDPID controller

Enumeration Modelica.​Blocks.​Types.​AnalogFilter
Enumeration defining the method of filtering

Literals

NameDescription
CriticalDampingFilter with critical damping
BesselBessel filter
ButterworthButterworth filter
ChebyshevIChebyshev I filter

Enumeration Modelica.​Blocks.​Types.​FilterType
Enumeration of analog filter types (low, high, band pass or band stop filter)

Literals

NameDescription
LowPassLow pass filter
HighPassHigh pass filter
BandPassBand pass filter
BandStopBand stop / notch filter

Enumeration Modelica.​Blocks.​Types.​Regularization
Enumeration defining the regularization around zero

Literals

NameDescription
ExpExponential regularization (smooth)
SineSinusoidal regularization (smooth 1st derivative)
LinearLinear regularization
CosineCosine regularization

Enumeration Modelica.​Blocks.​Types.​LimiterHomotopy
Enumeration defining use of homotopy in limiter components

Literals

NameDescription
NoHomotopyHomotopy is not used
LinearSimplified model without limits
UpperLimitSimplified model fixed at upper limit
LowerLimitSimplified model fixed at lower limit

Enumeration Modelica.​Blocks.​Types.​VariableLimiterHomotopy
Enumeration defining use of homotopy in variable limiter components

Literals

NameDescription
NoHomotopySimplified model = actual model
LinearSimplified model: y = u
FixedSimplified model: y = ySimplified

External Object Modelica.​Blocks.​Types.​ExternalCombiTimeTable
External object of 1-dim. table where first column is time

Arguments

TypeNameDescription
StringtableNameTable name
StringfileNameFile name
Realtable[:,:] 
Modelica.​SIunits.​TimestartTime 
Integercolumns[:] 
Modelica.​Blocks.​Types.​Smoothnesssmoothness 
Modelica.​Blocks.​Types.​Extrapolationextrapolation 
Modelica.​SIunits.​TimeshiftTime 
Modelica.​Blocks.​Types.​TimeEventstimeEvents 
BooleanverboseRead= true: Print info message; = false: No info message

External Object Modelica.​Blocks.​Types.​ExternalCombiTable1D
External object of 1-dim. table defined by matrix

Arguments

TypeNameDescription
StringtableNameTable name
StringfileNameFile name
Realtable[:,:] 
Integercolumns[:] 
Modelica.​Blocks.​Types.​Smoothnesssmoothness 
Modelica.​Blocks.​Types.​Extrapolationextrapolation 
BooleanverboseRead= true: Print info message; = false: No info message

External Object Modelica.​Blocks.​Types.​ExternalCombiTable2D
External object of 2-dim. table defined by matrix

Arguments

TypeNameDescription
StringtableNameTable name
StringfileNameFile name
Realtable[:,:] 
Modelica.​Blocks.​Types.​Smoothnesssmoothness 
Modelica.​Blocks.​Types.​Extrapolationextrapolation 
BooleanverboseRead= true: Print info message; = false: No info message