modelBasicComparisonLL
Comparison of the various discretisation methods (Lead Lag)
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 |
|---|---|---|---|
| Lead Lag | |||
| Real | mu_LL | 2 | Lead Lag process gain |
| Real | y_start_LL | 0 | Lead Lag initial condition |
| Real | T1_LL | 2 | Lead Lag time constant of the zero |
| Real | T2_LL | 3 | Lead Lag time constant of the pole |
| Discretisation | |||
| Real | Ts | 0.5 | Sampling time |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | error_BE | ll.y - ll_dig_BE.y | |
| Real | error_FE | ll.y - ll_dig_FE.y | |
| Real | error_TU | ll.y - ll_dig_TU.y | |
| Continuous.LeadLag | ll | ||
| Discrete.LeadLag | ll_dig_BE | ||
| Modelica.Blocks.Sources.Step | stepSignal | ||
| Discrete.LeadLag | ll_dig_FE | ||
| Discrete.LeadLag | ll_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.