UniSim Flare Getting Started Guide
UniSim Flare Getting Started Guide
The information in this help file is subject to change over time. Honeywell may make
changes to the requirements described. Future revisions will incorporate changes,
including corrections of typographical errors and technical inaccuracies.
Honeywell
130 Dufferin Ave., Suite 1001
London, Ontario
N6A 5R2
Telephone: (519) 679-6570
Facsimile: (519) 679-3977
Prepared in Canada.
Table of Contents
1 Introduction ......................................................... 1-1
1.1 Introduction .................................................... 1-2
1.2 Overview ........................................................ 1-2
1
Introduction 1-1
1 Introduction
1-1
1-2 Introduction
1.1 Introduction
The guide provides a step instructions to the most commonly used
features within UniSim Flare intended for process and process systems
engineers.
1.2 Overview
This Getting Started tutorial shows the fundamental principles involved
in using UniSim Flare to design and rate a new flare system. The
"guided tour" will expose you to most of the major features of UniSim
Flare.
This tutorial assumes that you are familiar with the use of Windows and
have some prior experience in the design of flare systems.
1-2
Introduction 1-3
The following diagram shows the connectivity of the system that you
will be designing in this example.
Figure 1.1
The flare tip is not a pipe segment, but rather a node that represents a
zero length piece of pipe with defined fittings loss coefficients. Since the
internal diameter is not specified it will assume the same diameter as
1-3
1-4 Overview
the upstream pipe segment. Fittings loss coefficients for the flare tip
exclude pipe enlargement and junction losses for the connect to the
upstream pipe which will automatically be calculated.
Data Description
Flow and These may vary for each scenario that you are evaluating.
Composition If a relief source is not used in a particular scenario the flow
may be set to zero. The Flow refers to the quantity of fluid
that the source valve must pass as a consequence of the
plant upset condition. The Rated Flow refers to the quantity
of fluid that the source valve will pass due to its physical
construction. Rated flow must always be greater than or
equal to flow.
Maximum allowable This is the maximum pressure that can exist at the outlet of
Back Pressure the device (source) without affecting its capacity.
(MABP)
Downstream This temperature is used as the pressure independent
temperature temperature at which the source enters the network. This
temperature is used when ideal gas enthalpies are used to
calculate the heat balance, or as an initial guess when any
other enthalpy method is used.
Upstream pressure These are only used if Ideal Gas enthalpies are not used for
and temperature the heat balance. These may vary for each scenario that
you are evaluating. With relief valves, the flowing pressure
should be used.
Discharge flange size This will normally be determined from the relief valve sizing
calculations. If this value is unknown then the field should
be left empty to ignore the pressure change from the valve
to the downstream pipe due to the swage.
In this example, you will consider three scenarios that represent one
fire case and two single blocked discharge cases. The following tables
define the source data for each scenario.
1-4
Introduction 1-5
When you start UniSim Flare, the UniSim Flare Desktop appears. Before
setting up the Getting Started case, you should choose the UniSim
Flare units set for displaying information. You can check your current
units set by accessing the Preferences Editor:
1. Select File > Preferences and the Preferences Editor view will
open.
2. The current unit set is shown in the Units drop-down list. The
UniSim Flare default is Metric, which will be used for this example.
3. Confirm that the Edit Objects on Add checkbox is active
(checked). This option will open the object editor view each time a
new object is added.
4. Click the OK button to close the Preferences Editor view.
1-5
1-6 Overview
Figure 1.2
1-6
Introduction 1-7
1-7
1-8 Overview
Figure 1.5
5. Click OK to close the Component Manager view and accept the list
of components.
6. Open the View menu and then the Data sub-menu. Select
Components from the sub-menu. The Components data view will
be displayed:
Figure 1.6
As this is the first time you have saved your case, the Save UniSim
Flare Model view will be displayed.
1-8
Introduction 1-9
Before proceeding any Click the Open PFD View icon on the toolbar. The PFD view will be
further, make sure that
the Edit Objects on Add displayed with its own toolbar.
checkbox on the General
tab of the Preferences Figure 1.7
Editor view is checked.
At this point the view should be blank, since we have not added a single
object yet.
1-9
1-10 Overview
Figure 1.8
• Objects can also be added via the Pipe Manager and the Node
Manager views. These are accessible through Pipes... and
Nodes... in the Build menu, respectively.
For the Flare Tip, click the Flare Tip icon on the Toolbox view. Since the
Edit Objects on Add checkbox is selected, the Flare Tip Editor view
will be displayed:
Figure 1.9
1-10
Introduction 1-11
Figure 1.10
Now you have provided all the necessary information about the Tip.
6. Click OK to close the view.
Notice that two new objects have been added to the PFD view.
These may be drawn one on top of the other so you should either
1-11
1-12 Overview
Figure 1.11
1-12
Introduction 1-13
12. Select Build-Pipes from the menu bar. The Pipe Manager view will
be displayed.
Figure 1.12
Figure 1.13
1-13
1-14 Overview
15. Move to the Dimensions tab and enter the following data in the
appropriate fields:
Field Value
Length (m) 50
Nominal diameter (inch) 36
Pipe Schedule 40
Figure 1.14
1-14
Introduction 1-15
Figure 1.15
Notice that by default the Angle has a value of 90 deg and the
Fitting Loss Method is set as Calculated. These and the other
entries may be left at their default values for this example.
23. Click the OK button to close the Connector Editor view.
Now, a tee will be added, using the Node Manager, to combine the
flow from the two sources.
24. Select Build-Nodes. The Node Manager view will be displayed.
Figure 1.16
25. Click the Add button and Select Tee from the pop up list.
1-15
1-16 Overview
Figure 1.17
1-16
Introduction 1-17
Figure 1.18
1-17
1-18 Overview
Figure 1.19
1-18
Introduction 1-19
Figure 1.20
42. Click the OK button to close the Pipe Editor property view.
43. Close the Pipe Manager view by clicking the OK button.
You can also open the Select Data-Pipes from the View menu on the menu bar. The Pipes
Pipes view by clicking the
Open Pipe Tabular
view displays the data for all of the pipe segments:
View icon.
Figure 1.21
You could also check the PFD to ensure that the proper connections
1-19
1-20 Overview
Figure 1.22
Figure 1.23
1-20
Introduction 1-21
Figure 1.24
Figure 1.25
Now we should add the data for the Source 1 Only scenario.
1-21
1-22 Overview
Figure 1.26
5. Select the only entry in the view, i.e. Default Scenario scenario.
6. On the General tab change the default name to Source 1 Only and
enter the data for the Source 1 Only scenario as shown in Figure
1.27.
Figure 1.27
7. To add a new scenario click Next on the Scenario Editor and select
the Source 1 Only scenario from the Clone Scenario From view.
1-22
Introduction 1-23
8. Change the default name for the new scenario to Source 2 Only.
Figure 1.28
9. Enter the data for the new scenario as shown in Figure 1.29.
Figure 1.29
10. Click OK to close the Scenario Editor view and return to the
Scenario Manager, then click OK to close the Scenario Manager.
1-23
1-24 Overview
Figure 1.30
Figure 1.31
1-24
Introduction 1-25
Before defining a set of source data, you must select the scenario
which corresponds to this data. You will start by defining the data
for the Default Scenario.
3. Select the Default Scenario scenario from the drop-down list on
the main Toolbar. Any open data views would now display data for
this scenario.
You can now add the data corresponding to this scenario for each
source.
4. Select Nodes from the Build menu on the main menu bar (ALT B
N). The Node Manager view will be displayed:
Figure 1.32
5. Click Add and select Control Valve from the pop up list.
Figure 1.33
1-25
1-26 Overview
Figure 1.34
Figure 1.35
1-26
Introduction 1-27
7. Move to the Conditions tab and set the Mass Flow as 100000 kg/
hr. In this example, the inlet pressure and temperatures are the
same as the default values but this will not normally be the case.
The Mole Fractions are
automatically estimated
from the Molecular Figure 1.36
Weight. Because HC is
selected from the drop-
down list, only
hydrocarbon components
will be used to match the
Molecular Weight.
8. On the Composition tab, specify the Mol. Wt. to be 20. Once you
have entered the Mol. Wt. and tabbed to the next field you will
notice the composition will be calculated to give the required Mol.
Wt.
Figure 1.37
9. Click OK.
1-27
1-28 Overview
10. If the Node Manager is not displayed, click Build-Nodes from the
toolbar. The Node Manager will again be displayed.
11. Select Relief Valve from the Add pop up menu and the Relief Valve
view will be displayed.
12. Name the new source as Source 2 on the Connections tab.
13. Select Tail Pipe 2 in the Outlet drop-down list and set connection
to be at Upstream (of Tail Pipe 2).
Figure 1.38
14. On the Conditions tab, check that the relief valve set pressure or
MAWP is set to the default value of 10 bar which is correct for this
source. Select the Auto checkbox next to the Relieving pressure
field. This tells UniSim Flare to calculate the relieving pressure from
the MAWP and the selected Contingency, which should be left as
Operating in this case. Check that the relieving pressure is
calculated as 10.89 bar.
15. Still on the Conditions tab, check that the MABP is set to 5.0 bar.
Then enter the required mass flow rate for this source of 100000
kg/ hr. Select the Auto checkbox next to the Rated flow field. This
tells UniSim Flare to calculate the rated flow for the valve from the
specified fluid conditions and properties, valve type and orifice area.
16. Still on the Conditions tab, use the drop-down list next to the
Orifice area field to select orifice code T. Check that the orifice area
is updated to 16774 mm2 and notice the rated flow calculation is
updated to reflect the increased orifice area.
1-28
Introduction 1-29
17. On the Composition tab specify the molecular weight of the fluid to
be 25. When you tab away from this field, UniSim Flare will
calculate the composition of the fluid from the mole weight. Click
back on the Conditions tab to confirm that the Rated flow
calculation has been updated to give a rated flow.
Figure 1.39
Figure 1.40
1-29
1-30 Overview
Figure 1.41
You must now add the source data for the other two scenarios.
21. Select the Source 1 Only scenario from the Scenario Selector
drop-down list on the toolbar (to the right of the icons). Any open
data views will now display data for this scenario.
22. Make the following changes to the flowrates in the Source 1 Only
Scenario (all other information remains the same):
Source 1 - 100000 kg/hr
Source 2 - 0 kg/hr
Finally reselect the Default Scenario from the Scenario Selector.
23. Next, select the Source 2 Only scenario from the Scenario
Selector drop-down list on the tool bar (to the right of the icons)
and make the following changes to the Source 2 Only:
Source 1 - 0 kg/hr
Source 2 - 100000 kg/hr
Finally reselect the Default Scenario from the Scenario Selector.
1-30
Introduction 1-31
Figure 1.42
2. For this example we are going to use the default methods and
settings defined when UniSim Flare creates a new model. This
includes the following key options:
• On the General tab, Calculation Mode should be set to
Rating, Enable Heat Transfer checkbox should be cleared,
Include Kinetic Energy checkbox should be cleared.
• On the Scenarios tab, Calculate should be set to All
Scenarios.
• On the Methods tab, the VLE Method should be set to
Compressible Gas, the Enthalpy Method to Ideal Gas and
all pressure drop methods to Isothermal Gas.
• Click OK.
You can now start the calculations.
1-31
1-32 Overview
Figure 1.43
Once the calculations are complete you can review the results.
4. Select Results-Messages from the View menu on the menu bar.
The Messages data view will be displayed.
Figure 1.45
1-32
Introduction 1-33
7. At this point save the model using either the Save icon from the
main Toolbar or the File-Save menu option.
1-33
Developing the Model 2-1
2-1
2-2 Overview
2.1 Overview
In this Getting Started tutorial you will change the network designed in
Getting Started to model the tie-in of two new control valves into our
current system. The modified system will be simulated for two new
scenarios, one each for the new sources.
This tutorial is a This tutorial assumes that you are familiar with the use of Windows and
continuation of the one in
Getting Started and
have some prior experience in the design of flare systems.
requires that you complete
that tutorial before This example consists of the following main parts:
continuing with this one.
1. Building The Pipe Network - Pipes and nodes will be added using
either the PFD or the Manager views.
2. Defining the Scenarios - Different scenarios will be set up to
simulate various process conditions.
3. Defining The Sources - Relieving sources will be added to each
scenario.
4. Sizing the Network - Finally, the pipe network will be simulated
and results will be viewed both in textual and graphical form.
2-2
Developing the Model 2-3
Figure 2.1
The pipe segments in the network diagram are detailed in the following
table.
Nominal
Segment Elevation
Length (m) Diameter Schedule Fittings Loss
Name Change (m)
(inch)
Stack 100 36 40 0 100
Header 1 50 28 30 0 0
Header 2 50 28 30 0 0
Tail Pipe 1 25 18 40 0 0
Tail Pipe 2 25 18 40 0 0
Tail Pipe 3 25 12 40 0 0
Tail Pipe 4 25 18 40 0 0
The new pipe segments Header 1, Header 2, Tail Pipe 3 and Tail Pipe 4
will be added.
2-3
2-4 Data Requirements
Data Description
Flow and These may vary for each scenario that you are evaluating.
Composition If a relief source is not used in a particular scenario the flow
may be set to zero. The Flow refers to the quantity of fluid
that the source valve must pass as a consequence of the
plant upset condition. The Rated Flow refers to the quantity
of fluid that the source valve will pass due to its physical
construction. Rated flow must always be greater than or
equal to flow.
Maximum allowable This is the maximum pressure that can exist at the outlet of
Back Pressure the device (source) without affecting its capacity.
(MABP)
Downstream This temperature is used as the pressure independent
Temperature temperature at which the source enters the network. This
temperature is used when ideal gas enthalpies are used to
calculate the heat balance, or as an initial guess when any
other enthalpy method is used.
Upstream Pressure These are only used if the Ideal Gas enthalpies are not used
and Temperature for the heat balance. These may vary for each scenario that
you are evaluating. With relief valves, the flowing pressure
should be used.
Discharge Flange This will normally be determined from the relief valve sizing
Size calculations.
In this example, you will consider five scenarios that represent one fire
case and four single blocked discharge cases. The following tables
define the source data for each scenario.
The discharge flange size values are left undefined. In this case they
are assumed to have the same diameter as the attached pipes.
2-4
Developing the Model 2-5
2-5
2-6 Opening the Old Model
Figure 2.2
2-6
Developing the Model 2-7
Figure 2.3
Figure 2.4
Click the Add button and select the Tee from the pop up list.
2-7
2-8 Updating the Model
Figure 2.6
2-8
Developing the Model 2-9
2-9
2-10 Updating the Model
Figure 2.8
20. Click the OK button to close the Pipe Editor property view.
21. Close the Pipe Manager view by clicking the OK button.
Notice that three new objects have been added to the PFD view. You
can either manually arrange them by clicking and dragging the
object icons or let UniSim Flare do the auto-arrangement by
selecting PFD-Regenerate from the View menu.
Now you will add a tee section using the PFD Toolbox.
22. Open the PFD Toolbox view (if it is not displayed) by clicking the
PFD Toolbox icon
23. Click the Tee icon on the Toolbox view.
Since the Edit Objects on Add checkbox is selected, the Tee Editor
2-10
Developing the Model 2-11
Figure 2.9
2-11
2-12 Updating the Model
Figure 2.10
2-12
Developing the Model 2-13
Figure 2.11
39. Click the OK button to close the Pipe Editor property view.
Select Data-Pipes from the View menu on the menu bar. The
Pipes view displays the data for all of the pipe segments:
Figure 2.12
At this point you might want to rearrange the new items on the PFD
manually or use the View-PFD-Regenerate menu option to
redraw the PFD automatically. The PFD should be similar to that
2-13
2-14 Defining the Scenarios
Figure 2.13
Figure 2.14
2-14
Developing the Model 2-15
Figure 2.15
Figure 2.16
5. To add a new scenario click Next on the Scenario Editor and select
the Source 3 Only scenario from the Clone Scenario From view.
2-15
2-16 Defining the Sources
6. Change the default name for the new scenario to Source 4 Only.
Figure 2.17
7. Enter the data for the new scenario as shown in Figure 2.16.
8. Click OK to close the Scenario Editor view and return to the
Scenario Manager. Now select Default Scenario and click the
Current button to make this the working scenario. Click OK to close
the Scenario Manager.
2-16
Developing the Model 2-17
1. Select Nodes from the Build menu on the main menu bar (Alt B
S).
The Node Manager view will be displayed:
Figure 2.18
2. Click Add and select Control Valve from the pop up list.
Figure 2.19
2-17
2-18 Defining the Sources
Figure 2.20
Figure 2.21
2-18
Developing the Model 2-19
6. Click Next to add a new source. The node pop up list will again be
displayed.
7. Again select Control Valve and the Control Valve Editor view will
be displayed.
8. Name the new source as Source 4.
2-19
2-20 Defining the Sources
9. Select Tail Pipe 4 in the Outlet drop-down list and set connection
to be at Upstream (of Tail Pipe 4).
Figure 2.23
Figure 2.24
2-20
Developing the Model 2-21
The Sources data view for the Default Scenario will be displayed:
Figure 2.25
14. You must now add the source data for the other four scenarios.
15. Select the scenarios from the selector on the tool bar. Any open
data views will display data for the selected scenario.
Make the following changes to the flowrates in all scenarios:
For each scenario, ensure that the sources which have a flowrate of
zero are ignored (i.e. select the Ignore checkbox for the source).
2-21
2-22 Defining the Sources
Figure 2.26
2. For the first calculation of this example ensure that the following
options are set:
• On the General tab, Calculation Mode should be set to Rating,
Enable Heat Transfer checkbox should be cleared, Include
Kinetic Energy checkbox should be cleared, Ignore Source to
Pipe Pressure Loss in Design Mode should be set.
• On the Scenarios tab, the Calculate drop-down list should be
set to Current Scenario.
• On the Methods tab, the VLE Method should be set to
Compressible Gas, the Enthalpy Method to Ideal Gas and all the
pressure drop methods to Isothermal Gas.
3. Ensure that the Default Scenario is selected using the Scenario
Selector drop-down list on the main toolbar.
You can now start the calculations.
2-22
Developing the Model 2-23
Figure 2.27
Once the calculations are complete you can review the results.
5. Select Results-Messages from the View menu on the menu bar.
The Messages data view will be displayed.
Figure 2.28
At this point, it is a good idea to save your case before doing detail
design.
6. Select Save As from the File menu and save the file as Get
Started 2 Rating.ufnw.
2-23
2-24 Design Calculations
redesign the flare system to meet our defined system limits without
reducing the current sizes of any pipes.
2. Click the Start Calculation icon on the toolbar.
After the calculation has been completed, you can review the new
results.
Figure 2.29
3. Open the Results - Messages view from the View menu and then
select the Sizing tab to see a list of the changes that UniSim Flare
You can also access the has made to the network. In this case it has increased the size of
Pressure/Flow Summary Tailpipe 3 from 12 inch to 14 inch.
view by clicking the Open
Pressure/Flow 4. Select Results - Pressure/Flow Summary from the View menu
Summary icon. on the menu bar.
Figure 2.30
Notice that the upstream and downstream mach numbers are now
within the design specification for the given scenario. You can use the
bottom scroll bar to move across the columns.
We now have a flare system that is designed correctly for the Default
Scenario where all sources are relieving but we have not yet checked
that it is adequate for all of the scenarios. To do this we will do a Rating
calculation for all of the scenarios.
5. Open the Calculation Options view and set the Calculation Mode
to Rating on the General tab. On the Scenarios tab, set the
Calculate option to All Scenarios. After closing the Calculation
Options view, click the Start Calculation icon to run the rating
check.
2-24
Developing the Model 2-25
Figure 2.31
The reason for this is that the lower back pressure in the system
when only a single source is relieving means that the gas density is
reduced resulting in higher velocities.
7. To fix this problem with our design we will re-run the Debottleneck
calculations for all the scenarios. Use the Calculation Mode
selector on the main toolbar to change the calculation mode to
Debottleneck and then click the Calculate icon.
8. When complete, review the Problems tab of the Messages view to
confirm that the flare system now meets all our design limits in all
scenarios. The Sizing tab will show which pipe sizes have been
increased.
Figure 2.32
2-25
2-26 Design Calculations
Figure 2.33
Notice that the upstream and downstream mach numbers are now
within the design specification for the given scenario. You can use the
bottom scroll bar to move across the columns.
10. Press Ctrl A to save the case as a new file.
11. Enter the new file name as Get Started 2 Design.ufnw on the
Save UniSim Flare Model view and click the Save button.
2-26