modelPartialStateDynamic
Extends from TransiEnt.Basics.Icons.Block.
Information
1. Purpose of model
State graph model with state-depentend maximum values and gradients for turbine dynamics
2. Level of detail, physical effects considered, and physical insight
L1: Models are based on characteristic lines and / or transfer functions
Partial model/Base class for turbine dynamics with power and power rate limitation
3. Limits of validity
(no remarks)
4. Interfaces
P_set_star: input for electric power in W
P_set_star_lim: output for electric power in W
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
slewRateLimiter: set P_grad_operating =-1, if slewRateLimiter is not needed.
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Model created by Pascal Dubucq (dubucq@tuhh.de) on 01.10.2014
Quality check (Code conventions) by Rebekka Denninger on 01.10.2016
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) on April 2019: added option to deactivate slewRateLimiter
Model modified by Robert Flesch (flesch@xrg-simulation.de) in Feb 2021: added input for actual power and switch to apply zero to value of power set
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | t_eps | 10 | Threshold time for transitions |
| Real | P_star_init | 0 | Power at startup (p.u.) |
| SI.Frequency | P_grad_inf | 1 | Numerical value for unlimited gradients during shutdown |
| SI.Time | T_thresh | simCenter.thres | Time constant of numerical element between saturation and gradient limiter |
| Real | Td | simCenter.Td | Time constant of derivative approximation in slew rate limiter |
| Boolean | useThresh | simCenter.useThresh | Use threshould for suppression of numerical noise |
| Real | thres | simCenter.thres | If abs(u-y)< thres, y becomes a simple pass through of u. Increasing thres can improve simulation speed. However to large values can make the simulation unstable. A good starting point is the choice thres = tolerance/1000. |
| SI.Frequency | P_grad_operating | 0.02/60 | Maximum Gradient during operation |
| Boolean | useSlewRateLimiter | true | choose if slewRateLimiter is activated |
| Boolean | useHomotopyVarSlewRateLim | simCenter.useHomotopy | true if homotopy shall be used in variableSlewRateLimiter |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | P_grad_star_max_out | Relative maximum gradient in operation | |
| Modelica.Blocks.Interfaces.RealOutput | P_grad_star_min_out | Relative minium gradient in operation | |
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_set_star | Connector of setpoint input signal | |
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOut | P_set_star_lim | Limited output signal | |
| Basics.Interfaces.Electrical.ElectricPowerIn | P_actual_star | Connector of actual power |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SimCenter | simCenter | ||
| Modelica.StateGraph.StateGraphRoot | stateGraphRoot | ||
| Modelica.Blocks.Nonlinear.VariableLimiter | variableLimiter | ||
| Basics.Blocks.VariableSlewRateLimiter | variableSlewRateLimiter | ||
| Modelica.Blocks.Sources.RealExpression | P_min_of_state | ||
| Modelica.Blocks.Sources.RealExpression | P_max_of_state | ||
| Modelica.Blocks.Sources.RealExpression | P_grad_min_of_state | ||
| Modelica.Blocks.Sources.RealExpression | P_grad_max_of_state | ||
| Modelica.Blocks.Logical.Switch | deactivatePower | ||
| Boolean | isOperating | ||
| Modelica.Blocks.Sources.RealExpression | zeroPower | ||
| Modelica.Blocks.Sources.BooleanExpression | deactivationSignal |