blockFirstOrder
First order transfer function block (= 1 pole, allows Tau = 0 and a gain)
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
1. Purpose of model
First order block that allows Tau=0 and has a gain implemented.
2. Level of detail, physical effects considered, and physical insight
The model was copied from ClaRa.Components.Utilities.Blocks.FirstOrderClaRa of ClaRa version 1.3.0 and y_aux was eliminated as a state for the case Tau=0. Also a gain was added, as done in Modelica.Blocks.Continuous.FirstOrder.
3. Limits of validity
(no remarks)
4. Interfaces
u: input
y: output
5. Nomenclature
(no elements)
6. Governing Equations
(no equations)
7. Remarks for Usage
evaluate_y_start = true might help avoiding circular equalities.
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Model created by Carsten Bode (c.bode@tuhh.de), Nov 2018
Model modified by Carsten Bode (c.bode@tuhh.de), Feb 2021 (added parameter evaluate_y_start)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Gain |
| Modelica.Units.SI.Time | Tau | 0 | Time Constant, set Tau=0 for no signal smoothing |
| Integer | initOption | 1 | Initialisation option |
| Real | y_start | 1 | Start value at output |
| Boolean | evaluate_y_start | false | true for Evaluate=true for y_start |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |