07 - ThermoPower
07 - ThermoPower
Francesco Casella
([email protected])
1985-1993
• LEGO simulation environment (developed by ENEL)
– Modular modelling, solver for index-1 DAE's, models implemented in
FORTRAN
– Wide availability of tested models, very low flexibility and extensibility,
extremely old-fashion development environment (native FORTRAN code)
1993-2003
• ProcSim simulation environment
(Maffezzoni, Leva, Bartolini)
– Modular modelling, specialized implicit Euler solver for thermo-hydraulic
system equations, models implemented using LabVIEW
– Very good run-time user interface, good avaliability of models, efficient, low
flexibility and extensibility
2003-
• ThermoPower library, using Modelica
(Casella, Leva)
– Object-Oriented paradigm, using the Modelica language
– Maximum flexibility and extensibility, growing model base, highly readable
models
2
Scope of the Library
Usage
– Dynamic plant simulation
– Computer-aided design of control strategies and controller architectures
– Validation and tuning of control systems
– Simulation study of large plant maneuvers (e.g. start-up)
– Plant maneuver optimization
Type of plants:
– Traditional fossil-fired Rankine cycle
– Gas Turbine plants
– Combined cycles
– Combined heat&power plants
– Nuclear plants (gen III & IV)
– Organic Rankine Cycle plants
– Solar plants
3
Issues with Object-Oriented Modelling of Power Plants
/
• Other components have a far less obvious structure
(A)
(B)
Gas flow ?
The basic models must allow to describe
complex heat transfer configurations
4
Issues with Object-Oriented Modelling of Power Plants
5
Structure of the Library – I
6
Structure of the Library – II
Type of fluids
– Water / steam for the steam side of the generation processes
(fluids other than water may be used)
– Ideal gases (air, natural gases, flue gases etc.)
7
Old Design of Flange Connectors (ver. 2.x)
A B A B
B A
8
Using Flange Connectors: a Simple Example
model SimpleMixer
parameter Volume V=0 "Inner volume";
FlangeA in;
FlangeB out;
Pressure p;
Density rho; hBA hBA
Mass M;
Energy E;
hAB hAB
SpecificEnthalpy h,hi,ho; in out
equation (FlangeA) (FlangeB)
rho = rho_ph(p, h);
M = V*rho;
E = M*h – p*V;
der(M) = in.w+out.w;
der(E) = in.w*hi+out.w*ho;
hi = if in.w >= 0 then in.hBA else h;
ho = if out.w >= 0 then out.hAB else h;
in.hAB = h;
out.hBA = h;
in.p = p;
out.p = p;
end SimpleMixer;
9
DHT Connectors (Distributed Heat Transfer)
connector DHThtc;
extend DHT;
CoefficientOfHeatTransfer gamma[N];
end DHThtc;
10
Computing the Fluid Properties: Modelica.Media
The fluid properties are computed using the models contained in the standard
Modelica.Media library. The fluid propery models and computational routines are
contained in replaceable packages.
Usage example::
model Mixer
replaceable package Medium = Modelica.Media.Interfaces.PartialMedium;
Medium.BaseProperties fluid;
...
equation
// The fluid properties are determined prescribing two thermodynamic
// variables + the composition (for multiple-component fluids)
// pressione, temperatura e composizione
fluid.p = p;
fluid.T = T;
fluid.Xi = Xi;
12
Features of ThermoPower ver. 3
https://thermopower.svn.sourceforge.net/svnroot/thermopower/trunk
13
Complex Heat Transfer Configurations
(A)
(B) (Fluid B)
(Heat Transfer
Module)
(Wall A)
(Fluid A)
14
Applications of the ThermoPower library
15
CISE
16
CISE
• Available data:
– Dimensional data
– Open-loop transient recordings
17
CISE
• Model diagram
• Complexity (after the symbolic
manipulation phase):
– 50 states
– 300 algebraic variables
18
CISE - Validation
• Pressure: 60 bar
• Step reduction of the power to the evaporators
19
CISE - Validazione
• Pressure: 60 bar
• Step reduction of the power to the evaporators
20
CISE - Validazione
• Pressure: 30 bar
• Step increase in the steam valve opening
21
CISE - Validazione
• Pressure: 60 bar
• Step increase in the steam valve opening
22
IRIS
23
IRIS
24
IRIS
25
IRIS
• NSSS diagram
Replaceable models
26
IRIS
Core diagram:
27
IRIS
• “Library of simulators”
– Interface (empty shell with connectors)
for each unit
– Many implementation for each unit
– Common repository of geometric and
design data
– Replaceable fluid models
• Instantiation of a specific simulator
– A' la carte choice of details
model IRISSimulator_V2
extends IRISSimulatorBase(
redeclare Plants.NSSS_V1 NSSS(
redeclare package PrimaryMedium =
Media.SimpleIncompressibleWater,
Core(N = 7),
redeclare Plants.HelicalCoilFVChen
HelicalCoil(N=15)),
redeclare Controls.CS_V2 CS,
redeclare Controls.SS_V2 SS,
redeclare Plants.TGFWS_V1 TGFWS);
end IRISSimulator_V2;
• The model has been validated in open loop agains results obtained from a RELAP
model (good for accident simulation and safety analysis, but very slow)
29
IRIS – Test of Closed-Loop transients
30
FLUE-GAS PATH
SIMULATOR
31
Flue-Gas Path Simulator
• Study of the pressure control system in the flue gas circuit for a revamped coal-
fired power plant
– SCR unit
– De-NOx unit
– De-SOx unit
– Booster fan
• A CFD study was available for some selected static operating conditions; it was
then necessary to check if the control system can carry out all the foreseen
maneuvers without tripping the plant:
– Load level increase / decrease due to dispatching
– Insertion / Exclusion of the De-SOx unit
– Fan unit trip
• Highlights:
– Ad-hoc con know-how proprietario (operating curves)
– Very detailed modelling of the logic control system
32
Flue-Gas Path Simulator
33
Flue-Gas Path Simulator
34
Flue-Gas Path Simulator
35
CESI - CC
36
CESI - CC
37
CESI - CC
38
CESI - CC
39
CESI - CC
40
CESI - CC
• Low-level controllers
41
CESI – CC: Simulation Results
42
CESI – CC: Simulation Results
43
CESI – CC: Simulation Results
44
CESI – CC: Simulation Results
45
Modelling of Combined-Cycle Power Plants
46
Heat exchanger unit
47
Heat Recovery Steam Generator body
• Two interfaces
defined accordingly
48
Heat Recover Steam Generator body
49
Drum units
50
Complete HRSG unit
• Interfaces defined for two and • Example implementations built with HRSG
three levels of pressure body and drum units
51
Steam turbine unit
52
Complete plant model
• Using the unit models defined before, one can easily assemble a complete
plant model with any specific configuration
53
References
54