modelBasicComparisonFO
Comparison of the various discretisation methods (First Order)
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description of the example
In this example are shown the step responces of a first order linear systems:
- continuous,
- discretised with BE,
- discretised with FE,
- and discretised with TU
Comparison
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| First Order | |||
| Real | mu_FO | 2 | First order process gain |
| Real | tau_FO | 3 | First order time constant |
| Real | y_start_FO | 0 | initial condition |
| Discretisation | |||
| Real | Ts | 0.5 | Sampling time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | error_BE | fO.y - fO_dig_BE.y | |
| Real | error_FE | fO.y - fO_dig_FE.y | |
| Real | error_TU | fO.y - fO_dig_TU.y | |
| Continuous.FirstOrder | fO | ||
| Discrete.FirstOrder | fO_dig_BE | ||
| Modelica.Blocks.Sources.Step | stepSignal | ||
| Discrete.FirstOrder | fO_dig_FE | ||
| Discrete.FirstOrder | fO_dig_TU |
Revisions
- Industrial Control Systems (v 1.0.0) : April-May 2012
- List of revisions:
- 11 May 2012 (author: Marco Bonvini)
- Main Authors:
- Marco Bonvini; <bonvini@elet.polimi.it>
- Alberto Leva <leva@elet.polimi.it>
- Politecnico di Milano
- Dipartimento di Elettronica e Informazione
- Via Ponzio 34/5
- 20133 Milano - ITALIA -
- Copyright:
- Copyright © 2010-2012, Marco Bonvini and Alberto Leva.
- The IndustrialControlSystems package is free software; it can be redistributed and/or modified under the terms of the Modelica license.