modelBasicComparisonComplex
Comparison of the various discretisation methods (Complex Poles)
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 |
|---|---|---|---|
| Complex poles | |||
| Real | mu_cpx | 2 | Complex poles process gain |
| Real | omegan_cpx | 1 | Complex poles natural frequency |
| Real | xi_cpx | 0.4 | Complex poles damping factor |
| Real | y_start_cpx | 0 | Complex poles initial value |
| Real | dy_start_cpx | 0 | Complex poles initial slope |
| Discretisation | |||
| Real | Ts | 0.5 | Sampling time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | error_BE | cplxP.y - cplxP_dig_BE.y | |
| Real | error_FE | cplxP.y - cplxP_dig_FE.y | |
| Real | error_TU | cplxP.y - cplxP_dig_TU.y | |
| Continuous.ComplexPoles | cplxP | ||
| Discrete.ComplexPoles | cplxP_dig_BE | ||
| Discrete.ComplexPoles | cplxP_dig_FE | ||
| Discrete.ComplexPoles | cplxP_dig_TU | ||
| Modelica.Blocks.Sources.Step | stepSignal |
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.