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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 4 | Number of finite volumes for the superheater model |
| Real | pi | Modelica.Constants.pi | |
| Power | P_nom | 500e6 | Nominal power of the generator |
| Frequency | f_ref | 50 | Reference network frequency |
| SI.Time | T_a | 5 | Characteristic time of the generator |
| SI.PerUnit | alpha | 0.3 | Fraction of turbine power provided by the high-pressure turbine |
| SI.PerUnit | T_source | 1.5 | Normalized temperature of heat source for the superheater |
| SI.PerUnit | NTU | 2 | Number of thermal units in the superheater |
| SI.Time | tau_b | 200 | Characteristic time of energy storage in the boiler |
| SI.Time | tau_t | 8 | Characteristic response time of the low pressure turbine |
| SI.Time | tau_q | 3 | Characteristic time of thermal generation process |
| SI.Time | tau_sh | 100 | Characteristic time of the superheater thermal response |
| SI.Time | tau_y | 0.3 | Characteristic time of turbine governor |
| SI.PerUnit | droop | 0.1 | Primary frequency control droop |
| SI.PerUnit | Kp_p | 10 | Proportional gain of pressure controller |
| SI.Time | Ti_p | 70 | Integral time of pressure controller |
| SI.PerUnit | Kp_t | 2 | Proportional gain of power controller |
| SI.Time | Ti_t | 0.3 | Integral time of power controller |
| AngularVelocity | omega_ref | 2*pi*f_ref | |
| SI.MomentOfInertia | J | P_nom*T_a/(omega_ref^2) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Power | P_a | P_nom | Active electrical power produced by the synchronous generator - replace the default binding |
| Power | P_t_0 | P_nom | Active power set point - replace the default binding |
| Power | P_sfc | 0 | Additional power request for secondary frequency control - replace the default binding |
| Power | P_t | Mechanical power generated by the turbine [W] | |
| SI.Angle | theta | Rotor angle relative to reference rotating at nominal speed | |
| AngularVelocity | omega | Turbine angular speed | |
| Frequency | f | Generator frequency | |
| SI.PerUnit | delta_f | Normalized frequency error | |
| SI.PerUnit | p | Boiler pressure in p.u. | |
| SI.PerUnit | p_0 | 1 | Boiler pressure set point in p.u. |
| SI.PerUnit | w_s | Steam flow rate in p.u. | |
| SI.PerUnit | q_ev | Thermal power to the boiler in p.u. | |
| SI.PerUnit | q_ev_0 | Thermal power set point in p.u. | |
| SI.PerUnit | y_t | Turbine admittance in p.u | |
| SI.PerUnit | y_t_0 | Turbine admittance set point in p.u. | |
| SI.PerUnit | p_t | Turbine power in p.u. | |
| SI.PerUnit | p_t_0 | Turbine power set point in p.u. | |
| SI.PerUnit | p_t_0_fc | Turbine power set point in p.u. with frequency control corrections | |
| SI.PerUnit | p_t_lp | Low-pressure turbine power in p.u. | |
| SI.PerUnit[N] | T_s | Normalized temperature states for the superheater model | |
| SI.PerUnit[N + 1] | T_s_b | Normalized temperature at the boundaries of the superheater volumes | |
| SI.PerUnit | err_p_t | Power controller error in p.u. | |
| SI.PerUnit | err_p_t_int | Integral of power controller error | |
| SI.PerUnit | err_p | Pressure controller error in p.u. | |
| SI.PerUnit | err_p_int | Pressure controller integral error |