modelGenerator

Information

The Generator model is a conceptual model of a thermal power plant with a synchronous electrical generator. The goal is not to reproduce the dynamics of any real power plant accurately, but rather to replicate the mathematical structure and the type of dynamic behaviour that is to be found in real-life power plant models.

In particular, the goal is to represent the slow thermal dynamics and the fast electro-mechanical dynamics at the same time. This is a particularly interesting benchmark for multi-rate integration algorithms, that can exploit these dynamic feature by only refining the integration grid for the electro-mechanical states.

The thermal part comprises a simplified boiler - turbine model and a thermal model of the superheated steam temperature, assuming uniform thermal source temperature for simplicity. The model is written using normalized variables for simplicity.

The generator model is described by the classical swing equation, assuming ideal voltage control and neglecting reactive power flows. The actual power flows between generators and loads are computed by the PowerSystem

The model is completed by classical boiler-follows control strategy with primary and secondary frequency control. The primary frequency control input is computed locally and is proportional to the frequency deviation, while the secondary control input is determined by the the PowerSystem model and passed via a modifier to the individual generator models. For simplicity, the superheated steam temperature is not controlled and fluctuates depending on the steam flow.

The initial equations initialize the generator at steady-state, assuming that a load with the nominal power of the plant is consuming the entire production locally.

Parameters

TypeNameDefaultDescription
IntegerN4Number of finite volumes for the superheater model
RealpiModelica.Constants.pi
PowerP_nom500e6Nominal power of the generator
Frequencyf_ref50Reference network frequency
SI.TimeT_a5Characteristic time of the generator
SI.PerUnitalpha0.3Fraction of turbine power provided by the high-pressure turbine
SI.PerUnitT_source1.5Normalized temperature of heat source for the superheater
SI.PerUnitNTU2Number of thermal units in the superheater
SI.Timetau_b200Characteristic time of energy storage in the boiler
SI.Timetau_t8Characteristic response time of the low pressure turbine
SI.Timetau_q3Characteristic time of thermal generation process
SI.Timetau_sh100Characteristic time of the superheater thermal response
SI.Timetau_y0.3Characteristic time of turbine governor
SI.PerUnitdroop0.1Primary frequency control droop
SI.PerUnitKp_p10Proportional gain of pressure controller
SI.TimeTi_p70Integral time of pressure controller
SI.PerUnitKp_t2Proportional gain of power controller
SI.TimeTi_t0.3Integral time of power controller
AngularVelocityomega_ref2*pi*f_ref
SI.MomentOfInertiaJP_nom*T_a/(omega_ref^2)

Components

TypeNameDefaultDescription
PowerP_aP_nomActive electrical power produced by the synchronous generator - replace the default binding
PowerP_t_0P_nomActive power set point - replace the default binding
PowerP_sfc0Additional power request for secondary frequency control - replace the default binding
PowerP_tMechanical power generated by the turbine [W]
SI.AnglethetaRotor angle relative to reference rotating at nominal speed
AngularVelocityomegaTurbine angular speed
FrequencyfGenerator frequency
SI.PerUnitdelta_fNormalized frequency error
SI.PerUnitpBoiler pressure in p.u.
SI.PerUnitp_01Boiler pressure set point in p.u.
SI.PerUnitw_sSteam flow rate in p.u.
SI.PerUnitq_evThermal power to the boiler in p.u.
SI.PerUnitq_ev_0Thermal power set point in p.u.
SI.PerUnity_tTurbine admittance in p.u
SI.PerUnity_t_0Turbine admittance set point in p.u.
SI.PerUnitp_tTurbine power in p.u.
SI.PerUnitp_t_0Turbine power set point in p.u.
SI.PerUnitp_t_0_fcTurbine power set point in p.u. with frequency control corrections
SI.PerUnitp_t_lpLow-pressure turbine power in p.u.
SI.PerUnit[N]T_sNormalized temperature states for the superheater model
SI.PerUnit[N + 1]T_s_bNormalized temperature at the boundaries of the superheater volumes
SI.PerUniterr_p_tPower controller error in p.u.
SI.PerUniterr_p_t_intIntegral of power controller error
SI.PerUniterr_pPressure controller error in p.u.
SI.PerUniterr_p_intPressure controller integral error