## Modelica_LinearSystems2.WorkInProgress.MPC.Examples

### Package Content

Name | Description
--- | ---
Example1_unconstrained |
Example1_constrained |
Example1_constrained2 |
Example1_constrained3 | Square root ekf
ReferencePrediction |
SystemModel |
Example1_constrained4 | Square root ekf

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.Example1_unconstrained

### Parameters

Name | Description
--- | ---
hp |
hu |
sampleFactor |
sampleFactor_kf |

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.Example1_constrained

### Parameters

Name | Description
--- | ---
hp |
hu |
sampleFactor |
sampleFactor_kf |

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.Example1_constrained2

### Parameters

Name | Description
--- | ---
hp |
hu |
sampleFactor |
sampleFactor_kf |

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.Example1_constrained3

Square root ekf

### Parameters

Name | Description
--- | ---
hp |
hu |
sampleFactor |
sampleFactor_kf |

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.ReferencePrediction

### Parameters

Name | Description
--- | ---
hp | Prediction horizon
sampleTime | Base sample time for discrete blocks [s]

### Connectors

Name | Description
--- | ---
y[hp*3] |

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.SystemModel

### Information

Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).

### Parameters

Name | Description
--- | ---
nin | Number of inputs
nout | Number of outputs
system | Continuous linear time-invariant system
Advanced options
x_start[size(system.A, 1)] | Initial or guess values of states
y_start[size(system.C, 1)] | Initial values of outputs (remaining states are in steady state if possible)

### Connectors

Name | Description
--- | ---
u[nin] | Connector of Real input signals
y[nout] | Connector of Real output signals

## Modelica_LinearSystems2.WorkInProgress.MPC.Examples.Example1_constrained4

Square root ekf

### Parameters

Name | Description
--- | ---
hp |
hu |
sampleFactor |
sampleFactor_kf |