modelPartialStateDynamic

State graph model with state-depentend maximum values and gradients
Diagram of PartialStateDynamic

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

TypeNameDefaultDescription
SI.Timet_eps10Threshold time for transitions
RealP_star_init0Power at startup (p.u.)
SI.FrequencyP_grad_inf1Numerical value for unlimited gradients during shutdown
SI.TimeT_threshsimCenter.thresTime constant of numerical element between saturation and gradient limiter
RealTdsimCenter.TdTime constant of derivative approximation in slew rate limiter
BooleanuseThreshsimCenter.useThreshUse threshould for suppression of numerical noise
RealthressimCenter.thresIf 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.FrequencyP_grad_operating0.02/60Maximum Gradient during operation
BooleanuseSlewRateLimitertruechoose if slewRateLimiter is activated
BooleanuseHomotopyVarSlewRateLimsimCenter.useHomotopytrue if homotopy shall be used in variableSlewRateLimiter

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputP_grad_star_max_outRelative maximum gradient in operation
Modelica.Blocks.Interfaces.RealOutputP_grad_star_min_outRelative minium gradient in operation
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_set_starConnector of setpoint input signal
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_set_star_limLimited output signal
Basics.Interfaces.Electrical.ElectricPowerInP_actual_starConnector of actual power

Components

TypeNameDefaultDescription
SimCentersimCenter
Modelica.StateGraph.StateGraphRootstateGraphRoot
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Basics.Blocks.VariableSlewRateLimitervariableSlewRateLimiter
Modelica.Blocks.Sources.RealExpressionP_min_of_state
Modelica.Blocks.Sources.RealExpressionP_max_of_state
Modelica.Blocks.Sources.RealExpressionP_grad_min_of_state
Modelica.Blocks.Sources.RealExpressionP_grad_max_of_state
Modelica.Blocks.Logical.SwitchdeactivatePower
BooleanisOperating
Modelica.Blocks.Sources.RealExpressionzeroPower
Modelica.Blocks.Sources.BooleanExpressiondeactivationSignal