Tutorial
Modeling of Cryogenic
Systems in EcosimPro
Benjamin BRADU
CERN, EN-ICE
10 &11 March 2011
Contents
Introduction
Presentation of the Cryogenic Library
Practical hands-on
March 2011
Warm Compression Station
Cold-Box @ 4.5 K
Dewar with Cold-Compressor
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
2
Tutorial objectives
Simulation of a warm compression station (WCS)
Get familiar with the cryogenic library
Understand how to build a “good” model
Realize the entire modeling using the cryogenic library
Perform different simulations
Simulation of a refrigerator
Connect compression station to an existing cold-box model
Simulate a complete cool-down
Simulate a pulsed load and a turbine stop
Connection with a Dewar and a cold-compressor
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
3
Modeling cryogenic systems : Why ?
Optimization
Control optimization
In term of stability, reliability, robustness
In term of cost
Process Optimization
Virtual commissioning
Test control systems off-line in advance
March 2011
Check PLC Programs, starting/ending sequences
Check Supervision systems
Real-Time simulator for operator training
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
4
THE CERN
CRYOGENIC LIBRARY
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
5
Cryogenic Library for EcosimPro
Library “CRYO_CERN”
March 2011
Made for CERN cryogenic systems
Use only Helium as cryogen (for the moment)
Made for large-scale systems
Made to simulate process behaviors
Ready to be linked with CERN control systems
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
6
CRYO_CERN components
Helium port
P, h, m
Helium
Thermodynamic
properties
(HEPAK tables)
EcosimPro
Library
CRYO_CERN
Material
Properties
Stainless steel 304L
Aluminum 6061 T6
Copper
Hydraulic components
Storage components
- pipes
- Phase separators
Thermal components
- Valves
- Turbines
-Screw compressors
-Hydrodynamic compressors
Calcul : P, hout
-Thermal loads
-Heat Exchangers
Calcul : hout, Pout, min
Calcul : m, hout
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
7
Interconnections between components
Rule 1
Hydraulic component
Between 2 storage components
Rule 2
Thermal component in series or
between a storage component and an
hydraulic component
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
8
Storage components
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
9
Flow components
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
10
Thermal components
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
11
Sources, Sinks and Sensors
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
12
Example in EcosimPro
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
13
TUTORIAL :
WARM COMPRESSION
STATION
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
14
Process description
Warm compression station
Compress warm helium from 1 bar to 13 bar (300 K)
High Pressure (HP) must remain stable around 13 bar
Low Pressure (LP) must remain stable around 1.05 bar
What we model
Helium
1 Compressor
3 Gas Volumes (HP, LP, Buffer)
3 Controlled gas valves
1 Gas Mixer
3 PI controllers
PT199
ORS
PT
HP
CV180
CV100
B
C1
CV189
What we neglect
Oil Removal System
LP
PT
PT100
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
15
New project and library in EcosimPro
Open EcosimPro V4.8
Create a New Workspace
File New Workspace
Open libraries “MATH”, “PORT_LIBS”, “CRYO_CERN” and “PLC”
File Open Library choose .elb file
Create a new library “CRYO_TUTORIAL”
File New Library
Create a new schematic “CS” in your library (Compression Station)
In Schematic View: File New Schematic
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
16
Schematic building
To build a complete model before simulation:
1- Build process itself with sensors but without control. Add also
Source/Sink or Inlet/Outlet ports if necessary
2- Add control components inside the model
For each component:
Drag and Drop component to your schematic
Double click on your component and:
March 2011
Give a name
Fill-in parameters according to the excel specification for the model
Connect it to other components if necessary
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
17
Compression station in Schematic View
1- Process with sensors
Ideal Compressor
Sensors
Discharge/Charge valves
(link to buffer)
Bypass valve
Pipes
Boundary
conditions
Initialization of the model : 3 bar and 300 K
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
18
Control Components
Add special components from the library “PLC” to manage
the control of the model
Add components “analog” to drive analog actuators
Add components “PIDFF” for PID control loops
Add AI/DI/AO/DO if you need exchange signals with an eventual
future external control systems
Add/create any other blocks to perform control tasks
3 Compression Station control loops (PID)
March 2011
LP controlled by valve CV139
HP controlled by valves CV180 (discharge) and CV189 (charge)
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
19
Compression station in Schematic View
2- Process with control components (Lib PLC)
HP Control
+/- 0.15 bar
- Analog actuators (ANALOG)
-PID controllers (PIDFF)
-Extra control blocks (HP Set-points calculation)
LP control
Slide Valve
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
20
Partition Creation
Compile the schematic and check that there is no error
Create a partition from the schematic
In Code View, select the tab “Partitions” and Righ click on the
schematic ‘CS’ New partition
Select default boundaries
Set-points of controllers
Analog actuators not controlled
Source/Sink
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
21
Experiment creation
Create new experiment in your partition
Simulation view right click on the partition New experiment
Define experiment to start the compression station
March 2011
1- Start Compressor at min power (CV120=15%) after 100 s
2- Start LP and HP Regulation after 100 s
3- Start Compressor at full power (CV120=100%) after 500s
4- Apply flows of 50 g/s to the source/sink to disturb the operation after 800s
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
22
Experiment definition
Variable declarations
Slide Valve
Set-Points
Sources/Sinks
Compressor start
PID Controllers
Simulation
March 2011
23
Simulation in Monitor
Compile your experiment and simulate it in monitor !!
Configure time dependent plots in Monitor :
Set-Points & Process Values of PI controllers (.AtSP & .PV.signal)
Valve positions (.s_stem)
All other signals you want (mass-flows, temperatures…)
Save graphical configuration
Run Simulation
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
24
Simulation results : Regulation
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
25
Simulation Results : Actuators
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
26
Simulation Results : Various
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
27
Parametric studies
You can change model parameters of your model
Setup of parametric studies in experiements
March 2011
Study influence of process parameters (Volume, Cv, etc.)
PID tuning
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
28
TUTORIAL :
COLD-BOX
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
29
Connection with a cold box
Copy the schematic “CB.eds” in the following directory and compile it
c:/EcosimPro_4.8.0/USER_LIBS/CRYO_TUTORIAL/Schematics
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
30
Modifications on compression station
Create Input / Output ports and OnOff
valves to connect compression station
to the cold-box
Add a valve to an infinite
source at 7 bars to fill-in the
buffer
Then, save this new schematic on another name and compile it
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
31
Creation of symbols
Create a symbol for the compression station and for the cold-box
In schematic view right click on CS (and CB) Edit
Symbol
March 2011
Draw a graphical symbol representing your compression
station and your cold-box with its different I/O ports
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
32
Refrigerator model
Create a new schematic “refrigerator” in your library
In Schematic View: File New Schematic
Connect your compression station to the cold box with 2 pipes for
the HP and LP
Set sources/sinks for the load
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
33
Cool-down of the refrigerator
Compile the model of the refrigerator
Create a partition and an experiment “cooldown”
Follow the following sequence for the cool-down:
Start compression station at 100s
Connect CS to CB (HP and then LP) at 300s
Start Regulation PC290, TC260 and LC270 just after
Run Compressor at full power at 500s
Start Turbines at 600s
Wait until Lhe in phase separator : around 10h (38 000s)
Fill-in buffer at 45 000s
Save the state of your model in a file when steady state is reached (70 000s)
Simulation should take around 7 min to simulate 20h.
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
34
Cooldown Experiment : Boundaries
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
35
Cooldown Experiment : Body
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
36
Cooldown results : CS
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
37
Cooldown results : CB
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
38
Cooldown results : Turbines
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
39
Cooldown results : Cold-end
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
40
Simulation of a pulsed load
Create new experiment “pulse”
Restore the state saved in previous experiment
Re-init the time at 0
TIME = 0
Apply a heat load of 100W after 500s
RESTORE_STATE("../cooldown/state_70000.rpt")
CB.LOAD.PosR.signal[1] = 100*step(TIME,500)
Simulate 10000s
Launch Monitor to run the simulation
Restore graphical configuration of the “cooldown”
Save the current graphical configuration
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
41
Simulation result of a pulsed load
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
42
Simulation of a Turbine Stop
March 2011
Create a new experiment “T_Stop”
Restore the state reached at the end of cooldown
Pass all turbine controllers to tracking modes
Input valve should go to 0% and brake valve to 100%
Restart all turbine regulations
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
43
Simulation result of a turbine stop
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
44
TUTORIAL :
COLD-COMPRESSOR
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
45
Load schematic
Create new schematic “Load”
Heater to ensure a
minimum massflow to
stay in operation
ranges
Input valve to control
the dewar level
Control box to
compute minimum
massflow in coldcompressor
Cold-compressor
To control the Dewar
pressure
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
46
Cold-Compressor
Cold-Compressor design point :
N_d = 500 Hz
Tin_d = 6 K
Pin_d = 0.4 bar
m_d = 0.01 kg/s
March 2011
Based on CC pressure field : pr = f (mr)
Iso-lines have to cover all operation ranges (from Nr=0 to Nr=1.2)
Cold-Compressor Pressure Field
Need to perform real tests on machines with sensitive sensors to
have a goo pressure field (especially at low speed).
Surge Line
Choked Line
Iso-speed Lines
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
48
48
Cold-Compressor Control
March 2011
Create a file “CC_Control” in your library computing the massflow
in order to to follow a predefined trajectory in the pressure field
Generate symbol for the component
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
49
Simulation of the load alone
March 2011
Create partition
Select LineA.P, LineA.T and LineB.P as boundaries
Create experiment
LineA.P = 1.2 bar
LineA.T = 4.5 K
LineB.P = 1.2 bar
Start regulation on LC840 (60%) after 500s
Start regulation FC840 after 1000s
Start regulation PC840 1 bar 0.8 bar 0.6 bar 0.4 bar
Put a load of 50W after 25000s
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
50
Load Alone experiment
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
51
Simulation results with Load alone
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
52
Simulation results with Load alone
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
53
Simulation results with Load alone
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
54
Pressure Field during simulation
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
55
Load with cold-box
March 2011
Create new schematic with the load :
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
56
Experiment Cold-box + load
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
57
Simulation results load+CB
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
58
Simulation results load+CB
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
59
Simulation results load+CB
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
60
Simulation results load+CB
March 2011
B.Bradu – Tutorial : Modeling of Cryogenic Systems in EcosimPro
61
© Copyright 2026 Paperzz