## Modelica_LinearSystems2.WorkInProgress.Tests.Controller

### Package Content

Name | Description
--- | ---
DiscretizationInitialState |
DiscretizationWithInitialOutputs |

## Modelica_LinearSystems2.WorkInProgress.Tests.Controller.DiscretizationInitialState

### Information

Extends from Modelica_LinearSystems2.Controller.Examples.Discretization.

### Modelica definition

    model DiscretizationInitialState
      extends Modelica_LinearSystems2.Controller.Examples.Discretization(
          sampleClock(initType=Modelica_LinearSystems2.Controller.Types.Init.InitialState));
    end DiscretizationInitialState;

## Modelica_LinearSystems2.WorkInProgress.Tests.Controller.DiscretizationWithInitialOutputs

### Information

Extends from Modelica_LinearSystems2.Controller.Examples.Discretization.

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Real | y_start | step.offset |

### Modelica definition

    model DiscretizationWithInitialOutputs
      parameter Real y_start = step.offset;
      extends Modelica_LinearSystems2.Controller.Examples.Discretization(
        sampleClock(initType=Modelica_LinearSystems2.Controller.Types.Init.InitialOutput),
        continuous(y_start=y_start),
        explicitEuler(y_start=y_start),
        implicitEuler(y_start=y_start),
        trapezoid(y_start=y_start),
        impulseExact(y_start=y_start),
        stepExact(y_start=y_start),
        rampExact(y_start=y_start));
    end DiscretizationWithInitialOutputs;