Beruflich Dokumente
Kultur Dokumente
PIPELIQ LIBRARY
INTRODUCTION EcosimPro 6.0
• PIPELIQ is an EcosimPro solution for engineers, used to calculate pressure drop and
flow distribution in liquid pipe networks.
• The PIPELIQ toolkit provides a set of components to build 0D/1D simulation models of
liquid flow networks like cooling and heating loops including the control system
• PIPELIQ library is based on the FORTRAN code called SBAL that was developed by
EAI in the 90s.
SBAL PIPELIQ
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-2- in liquid piping systems Pág. 2
FEATURES EcosimPro 6.0
Type of Calculation:
– Off-design calculation of the steady state conditions of a non-compressible fluid system.
– Dynamic calculation due to variation of the boundary conditions or thermal transients.
Working fluids:
– The working fluid is a non-compressible fluid (liquid)
– A extensive database of refrigerant and thermal fluid is included in the library.
Fluid Properties:
– The temperature dependence is taken into account in the calculation of fluid properties
Component Features:
– The pressure losses in pipes and fittings are calculated using stationary correlations of
pressure drop. The transition between laminar and turbulent flow is taken into account.
– Reverse flow
– Thermal accumulation of the fluid and the walls of the components.
– Thermal delay by convective transport can be simulated by means of the node discretization
of pipes in several control volumes.
– Natural circulation and hydrostatic pressure difference are considered.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-3- in liquid piping systems Pág. 3
LIMITATIONS EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-4- in liquid piping systems Pág. 4
UNITS EcosimPro 6.0
The library only Works in the International System of Units with temperatures in Celsius
centigrade and pressures in bar
Exception:
Nominal Diameter (DN) in pipes are in inches.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-5- in liquid piping systems Pág. 5
PALETTE OF COMPONENTS EcosimPro 6.0
Boundary Conditions:
Bound, Bound_M, Bound_Ps, Bound_Ps_M,
Bound_Pt, Bound_Pt_M, FixedMflow,
FixedQflow
Headers:
Col2, Col3, Col4, Col5, Col6, Col7, Col8,
Col9, Col10
Tanks:
Tank1, Tank2, Tank3, Tank4, Tank5
Pipes:
Pipe, PieBends, ZeroLossPipe
Joints:
ZeroLossJun, ZeroLosJunDz
Fittings:
ReducerSA, ReducerSudden, PressLoss
Sensors:
FlowMeter, Psensor, Tsensor
Heat Exchangers:
HexCounterFlow, HerxParallelFlow
Pump:
Pump
Valves:
Valve, CheckValve
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-6- in liquid piping systems Pág. 6
APPLICATIONS EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-7- in liquid piping systems Pág. 7
EXAMPLE: Essential service water system of a Nuclear Power Plant EcosimPro 6.0
Objectives:
– Calculation of the hydraulic balancing of
the essential service water system to
fulfil the required refrigeration of every
equipment/system
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-8- in liquid piping systems Pág. 8
EXAMPLE: Optimization of the heat sink of a combined cycle power plant EcosimPro 6.0
Objectives:
– Predicting the operating points of the heat sink and the LP turbine under different
environmental conditions and the activation of auxiliary equipment (circulating water pumps
and fans of the cooling towers).
– Optimization of the operation of the system to maximize the net power output.
– Connection of the model to an App to support the operators and engineers to operate the
system optimizing the net power output of the plant using the information of the weather
forecast and the expected power production.
PIPELIQ
library THERMAL_BALANCE
library
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
-9- in liquid piping systems Pág. 9
EXAMPLE: Auxiliary feed water System of a Nuclear Power Plant EcosimPro 6.0
Objectives:
– Study of the operation of the turbo-pump of the Auxiliary Feed Water System (AFWS)
Model called from MS Excel Spreadsheet EcosimPro Model
Librería
THERMAL_BALANCE
Librería
PIPELIQ
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 10 - in liquid piping systems Pág. 10
Steps for simulating a Model in EcosimPro EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 11 - in liquid piping systems Pág. 11
Exercise 1: Description EcosimPro 6.0
System:
Pipe network where the inlet pressure and the outlet mass flow rate are set. There are two branches
and a control valve in one of them.
Objective:
Calculation of the position of the valve so that the only 10% of the total flow pass across that branch.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 12 - in liquid piping systems Pág. 12
Drawing of the model schematic EcosimPro 6.0
Steps:
1. Create a new schematic
2. Select the library PIPELIQ in the library tree and click on the tab of symbol palette.
3. Drag and drop every symbol in the working area of the schematics. You can copy and paste
components within the schematics.
4. Connect the components using either the following shortcut: pressing the Shift key and moving the
mouse over a port till an anchor is displayed, or using the Draw connector button.
Connection Rules:
Connection Pipe – No Pipe – Pipe – No Pipe….
The only components that are exceptions to this rule are the WorkingFluid and sensors components
that have to be placed between a Pipe component and a No Pipe or vice versa
Every fluid loop needs a WorkingFluid component
Use Boundary Condition components in order not to leave any port unconnected.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 13 - in liquid piping systems Pág. 13
Connecting components EcosimPro 6.0
Connect the components using the shortcut pressing Shift key and moving the mouse over the port till
an anchor appears or using the Draw Connector button.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 14 - in liquid piping systems Pág. 14
Port fluid EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 15 - in liquid piping systems Pág. 15
Component Pipe EcosimPro 6.0
• Stationary flow
• Discretization in several control volume using the
parameter “nodes” to take into account thermal delay
• Option for calculating thermal accumulation (TempConst)
in the fluid and in the walls (two temperatures). If
TempConst = TRUE, the temperature of the fluid and the
wall is constant and equal to To
• Specification of the elevation and the cross area of the
components of type “no pipe” connected to it.
• The diameter and thickness of the pipe can be specified in
two ways:
– Data D_out and e when DN = DN_NONE and schedule =
SCH_NONE
– Data DN and Schedule when their values are different to
DN_NONE y SCH_NONE respectively.
• Pressure drop due to fittings (valves, elbows, branches,
etc.).
• Pressure losses at given operating conditions.
• Heat transfer between the pipe walls and the environment
if the parameter TempConst = FALSE and the value of the
input datum h_outside > 0.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 16 - in liquid piping systems Pág. 16
Component WorkingFluid EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 17 - in liquid piping systems Pág. 17
Components Bound EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 18 - in liquid piping systems Pág. 18
Components Valve EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 19 - in liquid piping systems Pág. 19
Components Header (ColX) EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 20 - in liquid piping systems Pág. 20
Data Input EcosimPro 6.0
The attribute editor of the components is opened when doublé clicking on the
symbol
It is possible to edit the input data of several components at the same time:
Select the symbols of several components in the schematic using the Cntrl key
Double click in the symbol of one of the selected components
You can also select all the components of the same type by the context menu of the
schematic (right mouse button) and selecting the option "Select by Type
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 21 - in liquid piping systems Pág. 21
Generation of the mathematical model (partition) EcosimPro 6.0
1. Compilation of the model to check that the format of the input data and the connections between
components are correct.
2. Generation of the mathematical model of the new topological component (simulation model). The same
model can have several mathematical models.
These two steps can be carried out in one using the button “Generate Model”. Using this option, The default
mathematical model will be generated, which in most cases is the desired one. Besides, it will always be
possible to edit it once it has been generated. Select the model, Button for
Button of compilation right click button of compiling the model
of the schematic the mouse and New and generating the
Default Partition default partition
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 22 - in liquid piping systems Pág. 22
Partition Wizard EcosimPro 6.0
• If the user generates a “New Custom Partition”, it is necessary to go through the different
mathematical wizards to close the mathematical model:
– Boundary Wizard: The number of model variables is usually greater than the number and equations,
so it is required to select a set of variables whose values are to be additionally specified in the
experiment in order to calculate the simulation model.
– Algebraic Wizard: Selection of the set of variables to solve the non-linear boxes (implicit). It is
necessary to specify a initial value of those variables in the experiment as initial guess of the iterative
resolution process of the algebraic boxes.
Buttons for
Buttons for For other boundary selecting some
selecting some conditions, select the algebraic variables
variables or all option “Able to be or all
selected”
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 23 - in liquid piping systems Pág. 23
Generation of simulation scenarios (Experiments) EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 24 - in liquid piping systems Pág. 24
Parts of the Experiment EcosimPro 6.0
DECLS BLOCK
• Declaration of the auxiliary variables used in
the experiment
INIT BLOCK
• Initial guess of the algebraic variables
BOUNDS BLOCK
• Value o time law of the boundary conditions
BODY BLOCK
• Sequential sentences
• Creation of result reports
• Calculation options of the mathematical solver
• Redefining data values
• Definition of the calculation types (steady,
transient, parametric)
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 25 - in liquid piping systems Pág. 25
Simulation of the Model EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 26 - in liquid piping systems Pág. 26
Calculation and Results EcosimPro 6.0
Calculate the position of the valve [0, 1] in order to the flow across that branch be 10% of the
total mass flow rate (5 kg/s)
Add the variable valve.s_pos.signal[1] in the Inputs tab (Watch variables->Inputs)
Create a table with the mass flow rate across the pipes of the system. Use the filter p*.m y v*.m
Run the simulation and modify the position of the valve in the Watch window depending on the
value of the mass flow rate across the valve.
Calculate a new steady state with the new valve position
Calculate a
Steady State
Watch
Variables
New Table
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 27 - in liquid piping systems Pág. 27
Results: Name of the variables EcosimPro 6.0
To filter in the Monitor the name of the most meaningful variable of the model, we suggest the following
filters. The format of the names of the variables is ComponentNameInSchematics.VariableName.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 28 - in liquid piping systems Pág. 28
Advanced options: Customized Partition EcosimPro 6.0
Create a new partition specifying the mass flow rate across the valve as a boundary condition
instead of the valve position.
Edit the partition of the previous case (double click on the partition) and rename it.
Unselect the variable valve.s_pos.signal[1] as boundary condition
Select in Categories the option Able to be selected, filter and select the variable valve.m or its
equivalent variable (p2b.f1.m). Generate the partition.
Create a new experiment of “Steady” type and specify the mass flow rate across the valve to 5 kg/s.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 29 - in liquid piping systems Pág. 29
Advanced Options: Parametric Calculation EcosimPro 6.0
Create a new experiment from a default partition where a parametric calculation is calculated
changing the position of the valve.
Simulate the experiment in the Monitor and create a plot Y vs X where the Y is the mass flow
rate across the valve (valve.m) and X is the position of the valve (valve.s_pos.signal[1])
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 30 - in liquid piping systems Pág. 30
User Manuals of the Library EcosimPro 6.0
The manuals of the PIPELIQ library in chm or pdf format (reference manual and user manual)
can be consulted in the Help Menu of EcosimPro.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 31 - in liquid piping systems Pág. 31
Tips (I) EcosimPro 6.0
Be careful with data units and boundary conditions. Remember that pressures in boundary
conditions and on the surface of tanks are relative (barg).
Be careful with the sign of the mass flow rate specified in the mass flow boundary conditions.
If it is a source the sign of the flow must be positive. If it is a sink, the sign of the flow must be
negative.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 32 - in liquid piping systems Pág. 32
Tips (II) EcosimPro 6.0
To view and report the values of the mass flow rate, it is better to use
the internal flow variables of the components
(NombreComponente.m) instead of the flow variables of the ports to
avoid misunderstanding in the result analysis.
If the calculation does not converge, try to better initialize the
algebraic variables. You can check the evolution of the calculation
especially if it is a stationary calculation in the log file of the
simulation (contextual menu of the experiment -> View Log)
In very large models it is advisable to build it in parts and simulate
each part to facilitate fault identification
The flow coefficient of a valve (Av) can be calculated for a certain
operating conditions specifying a big value for Avo and setting the
mass flow rate across the valve. The tool will calculate the position of
the valve and the Av for those conditions.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 33 - in liquid piping systems Pág. 33
Exercise 2: Description EcosimPro 6.0
Calculation of the flow distribution and pressure drop in the following pipe network
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 34 - in liquid piping systems Pág. 34
Example 2: Partition and Experiment EcosimPro 6.0
Compile and Generate the default partition Create an experiment and modify the value of the
boundary conditions
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 35 - in liquid piping systems Pág. 35
Example 2: Results EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 36 - in liquid piping systems Pág. 36
Example 3: Description EcosimPro 6.0
Calculation of the flow distribution and pressure losses in the pipe network that consists of 7
pipes with a downstream pressure regulating valve that reduces the pressure down to a
constant value of 8.6527 psig.
Schematic ejemplo2.eds in the library COURSE_PIPELIQ
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 37 - in liquid piping systems Pág. 37
Example 3: Partition and Experiment EcosimPro 6.0
Compile and Generate a “New Custom Create a new experiment and modify the values of
Partition” the Boundary Conditions
Select all the proposed boundary
conditions excepting the variable
Valve_1.s_pos.signal[1] that will
be replaced by P8.f1.Pt for setting
the pressure regulated by the
valve.
To replace it, change the
Category option to “Able to be
selected” and search the variable
p8.f1.Pt
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 38 - in liquid piping systems Pág. 38
Example 3: Results EcosimPro 6.0
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 39 - in liquid piping systems Pág. 39
CONCLUSIONS EcosimPro 6.0
• PIPELIQ library is an excellent and user-friendly tool for helping engineers in the
design and better understanding of the performance and operation of liquid piping
systems.
• Thanks to the powerful features of the EcosimPro/PROOSIS experiment, the user can
easily perform advanced calculations:
– Parametric studies for evaluating the influence of a operation or size parameter on the
performance of your system.
– Operation sequence where the user can vary the valve line-up, turn pumps on or off,
vary the fluid boundary conditions or specify a failure in the control elements.
– Estimation of the value of an input parameter of the system that better fulfills the
requirements of operating conditions.
• The user can easily and quickly display values or graphs of flow, pressure,
temperature and many other parameters of the piping model in the EcosimPro Monitor
Tool or in the Schematic Simulation View.
• The simulation models can be easily exported to MS Excel using the EcosimPro Excel
Add-in where the user can easily report analyses changing operational parameters of
the system like positions of the actuators or fluid boundary conditions.
PIPELIQ Training Course : Tool for calculating pressure drop and flow distribution
- 40 - in liquid piping systems Pág. 40