## Modelica_LinearSystems2.Types

Constants and types with choices, especially to build menus

### Information

In this package types and constants are defined that are used in the Sampled library. 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.Library (Icon for library).

### Package Content

Name | Description
--- | ---
AnalogFilter | Enumeration defining the method of filtering
FilterType | Enumeration of analog filter types (high pass or low pass)
Method | Enumeration of discretization methods
StaircaseMethod | Enumeration of methods for staircase algorithm
TimeResponse | Enumeration of time response type
Window | Enumeration of window type

### Types and constants

      type AnalogFilter = enumeration(
        CriticalDamping "Filter with critical damping",
        Bessel "Bessel filter",
        Butterworth "Butterworth filter",
        Chebyshev "Chebyshev filter")
      "Enumeration defining the method of filtering";

      type FilterType = enumeration(
        LowPass "Low pass filter",
        HighPass "High pass filter")
      "Enumeration of analog filter types (high pass or low pass)";

      type Method = enumeration(
        ExplicitEuler "Discretization with explicit Euler integration",
        ImplicitEuler "Discretization with implicit Euler integration",
        Trapezoidal
          "Discretization with trapezoidal integration (Tustins method, recommended)",

        ImpulseExact "Exact discretization for impulse inputs",
        StepExact
          "Exact discretization for step inputs (zero-order hold equivalent)",
        RampExact
          "Exact discretization for ramp inputs (first-order hold equivalent)")
      "Enumeration of discretization methods";

      type StaircaseMethod = enumeration(
        QR "Apply staircase algorithm based on QR factorization",
        SVD "Apply staircase algorithm based on SVD")
      "Enumeration of methods for staircase algorithm";

      type TimeResponse = enumeration(
        Impulse "Impulse response",
        Step "Step response",
        Ramp "Ramp response",
        Initial "Initial condition response") "Enumeration of time response type";

      type Window = enumeration(
        Rectangle "Rectangle",
        Bartlett "Bartlett",
        Hann "Hann",
        Hamming "Hamming",
        Blackman "Blackman",
        Kaiser "Kaiser") "Enumeration of window type";