modelTransferFunction
Model of a generic rational transfer function
[a(m)*s^m + a(m-1)*s^(m-1) + ... + a(1)*s + a(0) ]/[b(n)*s^n + b(n-1)*s^(n-1) + ... + b(1)*s + b(0) ]
Extends from Interfaces.BaseBlock (Partial continuous time block interfaces).
Information
Description
Continuous time transfer function, defined by its numerator and denumerator.
Y(s) a(m)*s^m + a(m-1)*s^(m-1) + ... + a(1)*s + a(0) ---- = ------------------------------------------------- U(s) b(n)*s^n + b(n-1)*s^(n-1) + ... + b(1)*s + b(0)
The order of the numerator cannot be higher than the denumerator one: m <= n.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Block parameters | |||
| Real[:] | num | {1, 1} | Numerators coefficients (4*s + 2) is {4,2} |
| Real[:] | den | {2, 1, 1} | Denumerators coefficients (4*s + 2) is {4,2} |
| Initial conditions | |||
| Real | y_start | 0 | Output initial value |
| Boolean | initOutput | false | Initialise the output |
| Boolean | initSteadyState | false | Initialise at steady state |
| Boolean | initSteadyOutput | false | Initialise at steady output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u (from BaseBlock) | input | |
| Modelica.Blocks.Interfaces.RealOutput | y (from BaseBlock) | output |
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.