Library of constants 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 |
---|---|
Smoothness | Enumeration defining the smoothness of table interpolation |
Extrapolation | Enumeration defining the extrapolation of time table interpolation |
Init | Enumeration defining initialization of a block |
InitPID | Enumeration defining initialization of PID and LimPID blocks |
SimpleController | Enumeration defining P, PI, PD, or PID simple controller type |
AnalogFilter | Enumeration defining the method of filtering |
FilterType | Enumeration of analog filter types (low, high, band pass or band stop filter) |
Regularization | Enumeration defining the regularization around zero |
ExternalCombiTimeTable | External object of 1-dim. table where first column is time |
ExternalCombiTable1D | External object of 1-dim. table defined by matrix |
ExternalCombiTable2D | External object of 2-dim. table defined by matrix |
type Smoothness = enumeration( 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 smoothness of table interpolation";
type Extrapolation = enumeration( 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 extrapolation of time table interpolation";
type Init = enumeration( 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 a block";
type InitPID = enumeration( 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 initialization of PID and LimPID blocks";
type SimpleController = enumeration( P "P controller", PI "PI controller", PD "PD controller", PID "PID controller") "Enumeration defining P, PI, PD, or PID simple controller type";
type AnalogFilter = enumeration( CriticalDamping "Filter with critical damping", Bessel "Bessel filter", Butterworth "Butterworth filter", ChebyshevI "Chebyshev I filter") "Enumeration defining the method of filtering";
type FilterType = enumeration( LowPass "Low pass filter", HighPass "High pass filter", BandPass "Band pass filter", BandStop "Band stop / notch filter") "Enumeration of analog filter types (low, high, band pass or band stop filter)";
type Regularization = enumeration( Exp "Exponential regularization (smooth)", Sine "Sinusoidal regularization (smooth 1st derivative)", Linear "Linear regularization", Cosine "Cosine regularization") "Enumeration defining the regularization around zero";
External object of 1-dim. table where first column is time
Extends from ExternalObject.
External object of 1-dim. table defined by matrix
Extends from ExternalObject.
External object of 2-dim. table defined by matrix
Extends from ExternalObject.