Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Information in this document is subject to change without notice. No part of this Users
Guide may be reproduced or transmitted in any form or by any means, electronic or
mechanical, for any purpose, without the express written permission of Applied Flow
Technology.
AFT Fathom, AFT Mercury, Applied Flow Technology, and the AFT logo are
trademarks of Applied Flow Technology Corporation.
Microsoft, Visual Basic, Excel and Windows are trademarks or registered trademarks of
Microsoft Corporation.
1. Introduction .................................................................... 1
Detailed Contents
Summary..................................................................................................iii
Detailed Contents ..................................................................................... v
1. Introduction .................................................................... 1
What this users guide covers................................................................... 1
Modeling capabilities ............................................................................... 2
GSC module ....................................................................................... 2
XTS module ....................................................................................... 2
CST module ....................................................................................... 2
Who can use AFT Fathom........................................................................ 3
Getting started with the AFT Fathom Modules........................................ 3
GSC module ....................................................................................... 3
XTS module ....................................................................................... 3
CST module ....................................................................................... 3
Using Modules together ..................................................................... 3
Example models ................................................................................. 4
Using online help...................................................................................... 4
Activating modules................................................................................... 4
Opening models with and without module data ....................................... 5
Opening models without module data in a module............................ 6
Opening models with module data without an active module ........... 6
Using modules in scenarios ......................................................... 6
Maximum iterations................................................................... 67
Changing parameters during the run ......................................... 67
Output values displayed with forward difference............................ 67
Output values displayed with central difference.............................. 68
Transient data in Output window ........................................................... 69
Detailed results for a time step......................................................... 69
Transient results for all time steps ................................................... 69
Quick graphs .................................................................................... 70
Transient Graph Results ......................................................................... 73
Profile graphs ................................................................................... 73
Animation of output................................................................... 74
Transient graphs............................................................................... 75
Transient Visual Report.......................................................................... 76
Special conditions................................................................................... 77
Special conditions with no transient data .................................. 77
Special conditions with transient data ....................................... 78
Pump special conditions ............................................................ 79
Transient Special Conditions ........................................................... 80
Introduction
Modeling capabilities
GSC module
Can automatically have parameters vary to meet specified goals
Can specify group goals to ensure a group of pipes or junctions
satisfies operating criteria
Can link variables to force commonality in solutions
Can easily apply and unapply goals and variables
XTS module
Can model transient behavior over time
Supports time and event transients for valve position, pump speed,
pump control setpoints, pressure or flow, reservoir liquid level or
surface pressure, spray CdA, control valve setpoints
Reservoirs can be finite with defined tank geometries so surface
level changes with time can be computed
Reservoirs can be open or closed. If closed, surface pressure changes
due to gas compression (when the liquid level changes) can be
modeled.
Transient data shown on Output window and controlled by special
Output Control features
Transient data can be graphed over time
Profile data can be animated
Quick Graph on Output window shows a popup graph of transient
data
CST module
Can obtain cost for entire pipe system (has all cost capabilities of
AFT Mercury)
Can account for non-recurring and recurring costs
GSC module
Chapter 2 discusses in detail how to use the GSC module. Chapter 3
focuses on an example application.
XTS module
Chapter 4 discusses in detail how to use the XTS module. Chapter 5
discusses time and event transients. Chapter 6 focuses on an example
application.
CST module
Chapter 7 discusses how Cost Databases are built and used. Chapter 8
discusses in detail how to use and apply data to generate cost
calculations. Chapter 9 focuses on an example application.
Example models
An auxiliary help file (called FathomExamples.hlp) is installed with
AFT Fathom and leads the user through modeling a number of real
world systems. This help file can be accessed by choosing Show
Examples from the Help menu. The example models discussed in
FathomExamples.hlp are installed in the Examples folder. It can be
opened from the Help menu by choosing Show Examples.
Activating modules
When AFT Fathom launches, the first window displayed is the Activate
Modules window (Figure 1.1 top). This allows you to select which
modules you would like to activate for use in AFT Fathom. If a license is
not found for a module, the selection will be disabled (Figure 1.1
bottom). Even though the Activate Modules window allows you to
choose a module for activation, that does not mean that a license is
available for use it just means that a license exists. If it is in use by
another user and thus not available for checkout, you will be informed
after clicking the OK button.
If there is a module you would like to always have activated when you
start AFT Fathom, select it in the Activate Modules window and then
click the Set as Default button (see Figure 1.1).
If you do not want the Activate Modules window to display when you
start AFT Fathom, clear the Always Show check box provided.
This chapter introduces the Goal Seek and Control Module (GSC).
Detailed information regarding GSC menus and functionality is given in
this chapter. Chapter 3 provides a detailed hands-on GSC example.
Graphical Interface
Input Output
Yes
No Converged
Hydraulic Solver
on goals?
Numerical Optimizer
Figure 2.1 The GSC module flowchart shows how the Hydraulic
Solver is called repeatedly in an iterative loop.
Figure 2.2 Select Use from the Goal Seek & Control menu item
on the Analysis menu to instruct AFT Fathom to
perform goal seeking when it runs.
Figure 2.3 Goal Seek and Control Manager is where you define
and apply your variables and goals.
GSC variables
Variables are input parameters that the GSC module will change to
achieve the user's desired goals. Variables are defined and applied from
the Variables tab on the Goal Seek and Control Manager window (see
Figure 2.4). Generally, there must be one variable applied for each goal
that is applied.
Types of variables
All variables are junction parameters. The variables that are available for
each junction type are shown in Table 2.2. There are over 30 types of
variables.
Applying variables
Once a variable has been created, the user must specify if a variable is to
be used when the GSC module is run. To apply a variable, select the
checkbox in the Apply column.
Using the Apply feature allows the user to define multiple variables that
can be used in alternate cases or analyses. Any of the variables that are
not being used for a particular analysis can remain in the list for later
use. Click the Apply checkbox for the variables that are to be used in the
current analysis.
Object type
The Object Type defines whether the variable applies to a pipe or a
junction. At this time, variables may only be assigned to junction object
types.
Junction type
The Junction Type column is used to define the type of junction to
which the variable is being applied.
Variable parameter
Each junction type has a specific set of parameters that are available as
variables (Table 2.2). The list will only display parameters that are
available for the junction type selected in the Junction Type column.
Variable bounds
During a goal search, the GSC module will modify the values for the
defined variables. Sometimes it is helpful to specify upper and lower
bounds for variables to provide logical extremes during the goal search.
Some examples of logical bounds that can be applied would be lower
and upper bounds on valve open percentage of 0% and 100%,
respectively.
Note that bounds can have engineering units, but these units are not
displayed. It is assumed the units are the same as the junction input
parameter specifications window.
GSC goals
Goals are output values you would like to achieve. The GSC module
adjusts the applied variables until the applied goals are met. Goals are
defined and applied on the Goals tab on the Goal Seek and Control
Manager window (Figure 2.5). Generally there should be one goal
applied for each applied variable.
Types of goals
The GSC module offers over 150 goals applied to pipes, junctions or
groups of pipes and/or junctions. Table 2.3 lists all of the types of goals.
Applying goals
Once a goal has been created, the user must specify if a goal is to be
used when GSC is run. To apply a goal, select the checkbox in the Apply
column.
Using the Apply feature allows the user to define multiple goals that can
be used in alternate cases or analyses. Any of the goals that are not being
used for a particular analysis can remain in the list for later use. Click
the Apply checkbox for the goals that are to be used in the current
analysis.
Goal types
Users may specify three types of goals when using the GSC module.
Point Goal A point goal is specified when the desired goal can be
specified at a specific object location in the model.
Differential Goal A differential goal is used when the goal value is
actually determined by the difference in values between two specific
object locations. An example of a differential goal might be the
pressure difference between two locations in the model.
Group Goal A Group goal is used when a goal is to be applied to a
group of objects at the same time. In order to use a Group goal, all of
the objects must be added to a Group by using the Groups command
on the Edit menu.
Figure 2.6 Model Data window shows the variable and goal input
data.
As progress is made,
this should approach
zero
GSC information
displayed on this line
Figure 2.8 Output window shows the solved variable values and
the users goal and actual solved goal values.
Figure 2.11 When goal seeking fails, pressing the F2 key will show
this window which allows the user to automatically
implement recommend numerical parameter
adjustments.
Adjusting finite
difference step
size can resolve
difficulties
When performing goal seeking with the GSC module, AFT Fathom has
been designed to gracefully handle such cases. One of two things will
typically happen:
1. The Hydraulic Solver will experience a computational error
2. The Hydraulic Solver will not be able to converge
In the first case, AFT Fathom does not stop and tell the user of the error,
but instead sets an internal flag that the system used for the particular
iteration that caused the error was a poor system and should not be
considered further by the Numerical Optimizer. In other words, it skips
the system that caused the error. This will happen in a way which is
transparent to the user and requires no intervention.
The second case is of more interest here. In this case the Hydraulic
Solver gets stuck on one of the systems proposed by the Numerical
Optimizer and cannot progress. The Hydraulic Solver will continue
trying to converge until it reaches the iteration limit. Once it reaches that
Figure 2.15 Goal Seek and Control Manager allows one to apply
and unapply variables and goals. The application of
goals and variables can be modified between
scenarios.
Topics covered
Using Goal Seek and Control Manager
Defining GSC Variables and Goals
Using pump head rise as a GSC Variable
Using Group Max/Min goals
Required knowledge
This example assumes that the user has some familiarity with AFT
Fathom such as placing junctions, connecting pipes, entering pipe and
Model file
This example uses the following file, which is installed in the Examples
folder as part of the AFT Fathom installation:
Pump Sizing and Selection with FCV.fth (GSC Example Scenario)
AFT Fathom model file
Problem statement
The piping for a heat exchanger system is being designed. The system
will pump supply water from a tank pressurized to 10 psig with a liquid
surface elevation of 5 feet to a receiving tank with a pressure of 30 psig
and a liquid surface elevation of 10 feet. The heat exchangers operate in
parallel. The flow through the heat exchangers is controlled to 100
gal/min by two flow control valves. There is a design requirement that
the control valves have a minimum pressure drop of 5 psid.
Use GSC to size the pump.
Figure 3.1 Layout of pipe system for Pump Selection with Flow
Control Valves Example
J1 Reservoir
1. Name = Supply Tank
2. Tank Model = Infinite Reservoir (only visible if XTS module is
enabled)
3. Liquid Surface Elevation = 5 ft
4. Surface pressure = 10 psig
5. Pipe Depth (on Pipe Depth and Loss Coefficients tab) = 5 ft
J9 Reservoir
1. Name = Receiving Tank
2. Tank Model = Infinite Reservoir (only visible if XTS module is
enabled)
3. Liquid Surface Elevation = 10 ft
4. Surface pressure = 30 psig
5. Pipe Depth (on Pipe Depth and Loss Coefficients tab) = 10 ft (for
both pipes)
J6 Elbow
1. Elevation = 0 feet
2. Type = standard
J2 Pump
1. Elevation = 0 feet
2. Pump Model = Fixed Head Rise
3. Fixed Head Rise = 20 feet
Figure 3.2 The Goal Seek and Control Manager is used to define
GSC Variables and Goals.
Select the Goals tab on the Goal Seek and Control Manager window.
The Goals tab allows users to create and modify the system goals. The
goal type, object type, and the goal parameter are selected. A criterion
for determining if the goal has been met is then specified, along with a
value and units for the goal parameter. The user then selects the object to
which the goal applies, and, if applicable, the location on the object at
which the goal applies (e.g., the inlet or outlet of a pipe object).
The Apply column allows users to specify which of the goals that have
been defined will be used. This allows the flexibility of creating multiple
goal cases, while only applying selected goals for any given run.
A Group Max/Min goal allows a single goal to be applied to a group of
objects. Fathom applies a Group Max/Min goal by ensuring the final
goal value is either greater than or equal to (a Min goal) or less then or
equal to (a Max goal) the specified value. For this example, a Group
Max/Min goal will be applied to ensure the minimum pressure drop
across the flow control valves is at least 5.0 psid.
Figure 3.4 GSC Goals are the parameter values the user wants to
achieve.
G symbols for
GSC Goals are
not displayed for
Group goals.
V symbol for a
GSC Variable.
Figure 3.6 The Goal Seek and Control parameters defined in the
Goal Seek and Control Manager are displayed in the
General section of the Model Data window.
After completion, click the View Output button at the bottom of the
Solution Progress window.
Figure 3.7 Select Use from the Goal Seek & Control menu item
on the Analysis menu to instruct AFT Fathom to do
goal seeking when it runs.
Figure 3.8 The final GSC Variable values are shown on the GSC
Variables tab in the Output window General section.
Figure 3.9 The final GSC Goal values are shown on the GSC Goals
tab in the Output window General section. The Actual
and User values should be close if GSC was successful.
If not, a warning will appear.
Analysis summary
For this example, the minimum goal of 5 psid pressure drop across the
flow control valves was achieved by applying a Group Max/Min goal.
The pump head requirement for the example system was determined to
be 167.3 feet, as shown in Figure 3.8.
The pump head requirements for this system could also be determined
without GSC by adjusting the pump head rise, and running multiple
Fathom solutions until the minimum control valve pressure drop
requirement was met. Alternatively, one could change the pump to a
fixed flow pump, and allow Fathom to calculate the pump head
requirement directly. However, this technique results in a reference
pressure problem between the assigned flow pumps, and the flow control
valves. To bypass this problem, one of the flow control valves must be
changed to a constant pressure drop valve with a 5 psid pressure drop,
until a pump head could be determined.
By using the GSC module to size the pump, the head requirements can
be determined directly without user iterations or modifications to the
flow control valves.
This chapter discusses how one uses the XTS module to model transient
system behavior. Detailed information regarding XTS menus and
functionality is given in this chapter. Chapter 6 provides a detailed
hands-on XTS example.
The first data point always needs to match the steady-state value which
is usually entered on the tab at the far left. If, for example in Figure 4.3,
the steady-state data for Cv of 200 is changed to 250, the transient data
will also need to be changed. However, if in Figure 4.3 the Relative
Initiating transients
There are four ways to initiate transients. Time based transients are
based on the absolute simulation time. Single event transients are
initiated by one event such as a pressure, tank liquid level, or other
parameter at a specified location. Dual Event Cyclic events initiate
transients in a repeating cycle based on two event parameters. Dual
Event Sequential events initiate two transients that do not repeat.
Once the type of transient initiation is selected, the transient data for the
component must be entered in the table, as appropriate. See the Time
and Event Transients chapter for more details.
Repeat transient
If the transient data is periodic, you can enter the data for one cycle of
the period and then tick the check box for Repeat Transient. This will
cause the one cycle of transient data to be repeated once it has reached
the end. The repetition will continue until the end of the simulation.
Infinite reservoirs
Infinite reservoirs refer to a massive body of fluid whose surface level
does not change appreciably as a result of liquid inflow or outflow
during the time frame of the simulation. An example is a large lake or
the ocean. Figure 4.4a shows a Reservoir junction modeled as infinite.
Finite reservoirs
Finite reservoirs (also called finite tanks) refer to a body of fluid which
is small enough that its surface level changes significantly during the
time frame of the simulation as a result of liquid inflow or outflow. An
example is a tank which drains as the simulation progresses. Tanks can
have constant cross-section (e.g., a pure vertical cylinder) or tank cross-
section can change with height. When the cross-section changes, the
tank volume at each height data point must be specified.
Finite tanks can further be broken down into open or closed tanks.
Infinite reservoirs
For an infinite reservoir, the liquid level or surface pressure can be
varied over time according to a user specified transient profile (see Table
4.3). This is input on the Transient tab (see Figure 4.5).
Figure 4.6 Finite tanks can have user specified time varying
surface pressure.
Transient control
parameters are
displayed for information
Time Steps
Time Steps
The relative criteria is how much the liquid level calculation changes
between iterations on a relative, or percentage basis. The absolute
criteria relates how much the liquid level changes between iterations on
an absolute basis of height. Hence the absolute tolerance has units of
length associated with it.
The default values for relative tolerance is 0.00001, and the absolute
tolerance is 0.0001 feet.
Maximum iterations
This is the maximum number of attempts allowed for each time
calculation iteration. If it reaches this value, the transient solution will
stop due to failure to converge.
Time Steps
Figure 4.12 The squares represent the actual liquid level output
values for central difference. Note that the squares do
not correspond directly to the line representing the
assumed liquid level for calculation.
Quick graphs
The Quick Graph feature can be used to conveniently plot transient data
for quick examination. To use the Quick Graph feature, place the mouse
cursor over the column of transient data you wish to examine. Then,
right click with the mouse, and select Quick Graph from the list of
options. Figure 4.16 illustrates how to do this for J10 Reservoir Liquid
Height vs. Time. Figure 4.17 shows the resulting graph. The graph
illustrates how the liquid level in the Reservoir rises with time.
The Quick Graph necessarily has limited functionality. In contrast, the
Graph Results window may be used to create a full range of graphs
related to the XTS transient output.
Figure 4.14 The Transient tabs in the Pipe and Junction sections
show results for all time steps. The first number in the
left column is the pipe/junction number and the
second (in parentheses) is the time (in minutes here).
The tables can be expanded or collapsed.
Figure 4.16 The Quick Graph feature can be accessed from any
transient data column using the right mouse button.
Figure 4.17 The Quick Graph feature can be used to quickly plot
transient data from the Output for review.
Profile graphs
Profile graphs show results where the distance along the pipe is the
independent, x parameter (Figure 4.18). If the pipes are connected, a
sequence of pipes can be graphed in the profile. Profile graphs can only
show data at a particular time or show overall maximum and minimum
values for all times (Figure 4.19).
Profile graphs can be created for one or more pipe sequences. Note that
the x-axis on profile plots is cumulative distance along the pipe
sequence.
Multiple profiles can be plotted simultaneously using the Groups on the
Edit menu.
Animation of output
Another useful feature of profile graphs is that they allow animation of
the output results. Animation is selected in the Select Graph Data
window (Figure 4.18) and, when selected, reveals additional control
features on the Graph Results window (Figure 4.20).
At the left is the Play button, which starts the animation. Next to it are
the Pause and Stop buttons. If the Pause button is pushed, the animation
stops at that time step. One can print the graph or copy the data if desired
or use the time slider controls (to the right of the Stop button) to set the
time forward or backwards. The Stop button stops the transient and
resets the time to zero.
The current time (in seconds) and time step are shown to the right of the
time controls. At the far right are the speed controls. Slowing the
animation involves adding time delays to the data display. Increasing the
speed involves skipping time steps. The default speed, right in the
middle, has no delays or skips.
Transient graphs
Transient graphs show how parameters vary with time (see Figures 4.21
and 4.22). Here the x-axis is time (rather than distance as in profile
graphs) as shown in Figure 4.19 and 4.20.
Traditional Pump vs. System Curve plots will create plots for the first
time step (i.e., time zero) only. If the user wants to create a pump vs.
system curve plot for some other time step, follow these steps:
1. Set the model Stop Time in Transient Control to the time for which a
pump vs. system curve is desired.
2. Run the model.
3. Create a Disconnected Scenario using features on the View menu
and Toolbar. This will create a child scenario with input data set
equal to the final time step.
Special conditions
Some junctions have Special Conditions that alter the normal state of the
junction. These are discussed in the AFT Fathom 7.0 Users Guide.
The junctions that have special conditions set are shown using a special
symbol before the ID number (an X by default). This symbol can be
customized in the Workspace Preferences window.
Currently displayed
time can be shown
for printing purposes
If the user were to keep the Cv equal to zero, then that would be
equivalent to the previous case where the user set the Special Condition
but did not enter any transient data.
Time-based transients
Time-based transients occur in accordance with the time of the transient
simulation. The start and stop times of the simulation are specified in the
Transient Control window. The initiation of time-based transients are
pre-specified before a model is run.
For example, consider a valve closure transient. Assume the valve starts
to close at two seconds into the simulation, and the time it takes for the
valve to close is one second. After that, the valve stays closed. If the
initial valve Cv is 250, the transient would appear as in Figure 5.1.
In the Initiation of Transient area there are four options. For time-
based transients, the option is specified as Time. In the Transient Data
area the data is entered. Here the Cv profile of the valve will follow the
profile entered and start to close at 2 seconds.
Event-based transients
Event transients are initiated when some user specified criteria is met.
For example, a valve can start to close when a certain pressure is reached
at a point in the system. If the pressure is never reached, the transient is
never initiated.
Event transients are one of three types. The three types will be discussed
in the following sections.
The data in the Transient table has a slightly different meaning than does
a time-based transient. Here time zero is relative to the time at which the
event criteria is first met. For example, if Pipe 2 reaches 150 psig at 3.65
seconds, the valve will start its transient at 3.65 seconds. The valve will
close (i.e., Cv = 0) at 1 second after the event initiation, or 4.65 seconds.
Cyclic events
Cyclic dual events can repeatedly switch from one to the other based on
the behavior of the model. For example, these could be high and low
pressures at some location. When the low pressure setting is reached a
valve transient is initiated which closes the valve. The pressure may then
build up to a point where the high pressure setting is reached. In this
Sequential events
Sequential dual events progress from the first event to the second and no
further. For example, these could be two high pressure settings. When
the first setting is reached the valve opens partially, and when the second
setting is reached, which would likely be at a higher pressure than the
first event, the valve opens the rest of the way. Similar to a single event
transient, if the pressure drops and then rises again, the events would not
be initiated again.
Check valve
The check valve has two built-in events. The first is that it closes when
backflow starts to occur. The second is that it reopens when sufficient
pressure differential occurs. These transients are assumed to be
instantaneous.
Relief valve
The relief valve has two built-in events. The first is that it opens when
the cracking pressure is reached. The second is that it closes again when
the pressure falls back below the cracking pressure. These transients are
assumed to be instantaneous.
Repeat transient
For transients that are periodic, you can specify that the transient repeats
itself. This is specified by selecting the Repeat Transient checkbox
(see Figure 5.1, 5.2 or 5.3). When Repeat Transient is selected, the first
and last data points must match. After the transient reaches the final data
point, it returns to the first data point and starts over.
Figure 5.4 The Event Messages area shows a listing of all events
that occur during the simulation sorted by junction
and time.
Event messages
Events that are initiated during the simulation are displayed in the two
Event Messages area of the Output window (see Figure 5.4). The first is
a list of event messages sorted by junction. The second is a list of event
messages sorted by time. If no events occur, the Event Messages tab will
be hidden.
T Symbol displayed
for junctions which
have transient data
Figure 5.6 All junction transient data is shown in the Model Data
window on the Transient tab.
Topics covered
Transient Control
Defining system transients
Time and event transients
Transient output
Animating output predictions
Required knowledge
This example assumes that the user has some familiarity with AFT
Fathom such as placing junctions, connecting pipes, entering pipe and
Model file
This example uses the following file, which is installed in the Examples
folder as part of the AFT Fathom installation:
Variable Demand XTS.fth AFT Fathom model file
Problem statement
A pumping system is used to supply five separate demand points. The
system has a main pump and an auxiliary pump in parallel. The main
pump operates until the demand flows cause the control valve open
percentage to exceed 50%. When the control point limit is exceeded, the
auxiliary pump starts to ensure adequate flow in the system.
Use XTS to model the demand flows starting in sequence every 30
seconds, and to model the auxiliary pump startup when the control valve
open percentage exceeds 50%.
Figure 6.1 Layout of pipe system for the XTS Variable Demand
Example.
J1 Reservoir
1. Tank Model = Finite Open Tank
2. Known Parameters Initially = Liquid Surface Level, Surface
Pressure
3. Tank Conditions = Height from Bottom Elevation
J4, J6 Valves
1. Valve Data Source = User Specified
2. Elevation = 0 feet
3. Loss Model = Cv (Constant)
4. Cv = 100
J3, J5 Pumps
1. Elevation = 0 feet
2. Pump Model = Pump Curve
3. Pump Curve Data:
80 feet at 0 gal/min
90 feet at 125 gal/min
50 feet at 250 gal/min
B. Valve J6 Transient
Open the Valve Specifications window for Valve J6. The valve should
be closed initially to prevent flow through pump J5 while the pump is
not operating. Do this by setting the valve Special Condition to Closed
on the Optional tab. Valve J6 will open when the Pump J5 starts. To do
this, enter the same transient event as defined for Pump J5 on the
Transient tab. This is shown in Figure 6.5.
Transient progress
displayed
The Quick Graph feature can be used to conveniently plot transient data
for quick examination. To use the Quick Graph feature, place the mouse
cursor over the column of transient data you wish to examine. Then,
right click with the mouse, and select Quick Graph from the list of
options.
Figure 6.9 illustrates how to do this for J1 Reservoir Liquid Height vs.
Time. Figure 6.10 shows the resulting graph. The graph illustrates how
the liquid level in the Reservoir drops with time. Figure 6.11 shows a
Quick Graph plot of the volumetric flow rate through pipe P8. The plot
shows the change in flow rate as each of the flow demand transients
takes place.
Figure 6.9 The Quick Graph feature can be accessed from any
transient data column using the right mouse button.
Figure 6.10 The Quick Graph feature can be used to quickly plot
transient data from the Output for review.
The Graph Results window may also be used to create a full range of
graphs related to the XTS transient output. An additional graphing
feature available for XTS is transient output animation. Profile plots for
flow paths can be animated to dynamically view transient effects. Figure
Select the
parameter to
animate
Select the
profile path
Select Animate to
use the animation
feature
Figure 6.11 The transient results for flow paths profiles can be
viewed dynamically using the animation feature.
Similar to the transient summary data, the transient tabs in the Pipe and
Junctions sections of the Output window are used to display the transient
data for each pipe and junction at every time step, as shown in Figure
6.13. This transient data can be expanded or collapsed in the same
manner as in the General Output transient summaries.
The animation
can be paused or
stopped at any
point
The current
time step is
displayed
Figure 6.13 The Transient tabs in the Pipe and Junction sections
show results for all time steps. The first number in the
left column is the pipe/junction number and the
second (in parentheses) is the time (in minutes here).
Figure 6.14 shows the output data for the pipes and junctions, found on
the Pipes and All Junctions tabs, at the initial time step, Time = 0
minutes. The output for all of the pipes and junctions can be displayed at
any time step by using the slider bar located at the bottom of the Output
window. Figure 6.14 also shows the pipe and junction data at Time = 1
minutes.
When junction event transients occur, these events are recorded and
displayed in the General section of the Output window. The events are
displayed on two different tabs. The first tab sorts the events by junction
number, and the second tab sorts the events by time, in the order in
which they occur. The tabs are shown in Figure 6.15.
Time is currently
zero minutes
Time is currently
1 minute
Figure 6.14 The Pipe and Junction output can be displayed at any
time step using the slider bar at the bottom of the
Output window (Time = 0 minutes shown above and 1
minute below).
The event messages show the demand flow transients ocurring at 30-
second intervals, as expected. Figure 6.16 shows the affect of the
demand transients on the volumetric flow rate through pipe P8. The plot
shows how the change in flow rate corresponds to the times when the
transient events occur.
Analysis summary
This example illustrates how XTS can be used to analyze dynamic
system behavior. Time and event-based transients give the user the
flexibility to define a large variety of dynamic responses that can occur
in piping systems. The ability to use both text and graphical means to
display the transient output allows the user to clearly understand, and
communicate, the impact of transient behavior on system designs.
Fathom Model
Engineering
Engineering Database #3
Database #1
Cost Cost
Cost Cost Database Database
Database Database #3A #3C
#1A #1C Engineering
Database #2 Cost
Cost Database
Database #3B
#1B Cost Cost
Database Database
#2A #2C
Cost
Database
#2B
Other databases controlled by the end user are the local user database
and external databases that are connected in the Database Manager.
To create a cost database, open the Cost Database window from the
Database menu. Here you can create a new cost database by clicking on
Some cells are displayed in black, which means they are not relevant to
the type of entry selected.
Recurring costs
Recurring costs are entered as cost per time per length or cost per time
per mass. Because recurring costs can change over time for various
reasons, a scaling table can be specified. This is done in the Time
Scaling Table field. If no scaling table is selected, the costs will be
assumed to be constant over time. On the other had, selection of a
scaling table will cause the costs to change over time, perhaps increasing
or decreasing. Scaling tables are created on the Tables tab, and will be
discussed later in this chapter.
Junction costs
Costs can be entered for all junction types except for Volume Balance
junctions. To enter cost for a junction, it must first be in an engineering
database. Cost data is entered in a cost database associated with that
engineering database.
Figure 7.5a shows an example of entering cost data for a bend junction.
Here the bend is a standard elbow made of steel.
Deleting costs
To delete a cost item, select the column in the cost table and click the
Delete button.
Scale tables
Scale tables are used to vary a cost with time, diameter (i.e., size),
power, or Cv. The same scale table can be applied to multiple cost items,
whether pipe materials, junctions, or pipe fittings & losses.
Time scale tables are always based on a multiplier. This is the format of
the table (see Figure 7.6). The diameter and power type tables can have
the format of a multiplier, or the format of actual cost. When the format
is a multiplier, the multiplier is obtained from the table and multiplies a
base cost value of a cost item. When the format is a cost table, the actual
cost is obtained from the table and then multiplied by a scalar multiplier
for an item. By default, the items multiplier value is 1. Figure 7.6 shows
an example of a table of costs, and its usage is shown in Figure 7.5a,
Cost #3. Note in Figure 7.6 in the table at the right that the parameters
are Diameter (in inches) vs. Cost (in U.S. Dollars here).
Figure 7.7 shows an example of a table of multipliers, and its usage is
shown in Figure 7.5a, Cost #4. Note in Figure 7.7 that the table shows a
Diameter (in inches) vs. Multiplier (with no units).
Database Sections
Each cost database has sections of data, whether pipe materials,
junctions, or pipe fittings & losses and you can selectively connect to
each of these sections in the Database Sections list in the lower right
corner. You can choose to have the same cost section from multiple
databases except for energy costs which can only come from one.
To configure cost data for the pipe, click the Cost Application button
(visible in Figure 7.12) to open the Cost Application Manager (see
Figure 7.13).
The Cost Application Manager allows you to configure pipe cost
calculations in three ways:
Cost databases accessed (these are additive)
Multipliers on costs
Service Duration
The Service Duration option deserves further explanation. This option
allows you to specify when a pipe is to be installed and/or removed.
Pipes that are installed in the future typically cost less in present
currency than pipes installed initially. Pipes installed in the future are
discounted in present currency value using the interest and inflation rates
specified in the Cost Settings window.
Figure 7.12 The Cost tab shows cost data applied to the pipe.
The Cost Application button opens a window where
cost data can be refined.
The Cost Databases section (Figure 7.13) has two options. The first is to
use all connected cost databases. The second is to use only the cost
databases specified in the Cost Application Manager. Figure 7.14
diagrams the logic of how cost data is accessed for a pipe. The
differences between these options are detailed later in the this chapter.
Start
No
Get Costs ?
Yes
No
All Databases ?
Yes
Database Manager
Return
Figure 7.14 Logic for obtaining costs for pipes. Includes material
and cost for fittings & losses. Junction costs use the
same logic.
Costs can be specified for different sizes of fittings & losses, and when
the fittings & losses are selected in the Pipe Specifications window, the
costs are obtained similar to how costs are obtained for the pipe
materials.
Of those pipes and junctions with costs that are to be included, the costs
fall into different categories. There are four cost categories: Material,
Installation, Maintenance, and Operation/ Energy. The Cost Settings
window allows the user to specify which of these cost categories to
include in the cost calculation (see Figure 7.16). This allows the user to
This chapter explains how to perform cost calculations using the AFT
Fathom CST module.
If the CST module is active, the user can still run models without cost
calculations. Hence there are three possibilities for CST.
1. CST is not active
2. CST is active and operated without cost calculations
3. CST is active and operated with cost calculations
Cost databases
To perform cost calculations, cost databases must be accessed. Cost
databases can be built by the user. See Chapter 7 for more information
on building and connecting cost databases.
Database Manager
Cost databases and energy cost databases are accessed through the
Database Manager. See Chapter 7 on Using Cost Databases and the AFT
Fathom 7.0 Users Guide, also Chapter 7, for more information on
Database Manager.
Once cost data is connected in Database Manager, it can be applied to
pipes and junctions in the model using the Cost Application Manager.
Figure 8.1 The Cost Application Manager can display options for
a single pipe or junction (above) or all pipes and
junctions (below).
Cost Databases
Any or all connected cost databases can be applied to any pipe or
junction by specifying the databases in the CAM. To use all of the
available cost databases, choose All Connected Databases in the Cost
Databases category. To choose specific cost databases, choose Selected
Databases in the Cost Database category, and then select the desired cost
databases from the list of available databases. Figure 8.1 (top) shows an
example where all of the available cost databases were applied to a
pump junction.
Cost Multipliers
Cost multipliers can be applied to all cost types in the applied cost and
energy databases for each pipe or junction in the model. These
multipliers can be used to account for things such as a pump not
operating 24 hours a day.
Cost multipliers are entered in the Cost Application Manager for each
pipe or junction to which they apply. Figure 8.1 (top) shows cost
multipliers of 120% applied to the pump Material, Installation,
Maintenance, and Operation/Energy costs.
Service Duration
If a component will have a limited service time during the life of the
system to be analyzed, the Service Duration can be used to define this.
For example, a system expansion may be planned 3 years after the initial
start of the system. The components for this expansion could be included
in the total cost of the system by adding a Service Duration Start of 3
years. Alternatively, system components can be taken out of service
prior to the end of the full system life. The Service Duration End is used
to define this type of event. Figure 8.1 (top) shows a Service Duration
Start at 1 year, and a Service Duration End at 10 years.
Cost Calculations
By default, cost calculations are turned off. To turn on cost calculations,
select Calculate Costs in the Cost Calculations area.
Energy Cost
Energy cost data can be specified though an energy cost database, or by
directly entering an energy cost on the Cost Settings window. Using an
energy cost database allows you to specify multiple energy costs, such as
energy costs at both peak and off-peak rates.
Note: Energy cost calculation for pumps is also part of the standard
AT Fathom version.
Cost Definitions
The Cost Definitions section allows you to specify the type of costs to be
determined. You may select from engineering parameter costs, such as
pipe weight, or actual monetary costs, including material and installation
costs.
Cost Report
The Cost Report is a detailed list of all costs for the system being
analyzed (see Figure 8.3). It is displayed on the Cost Report tab in the
General section of the Output window. The content of the Cost Report
can be customized on the Summaries tab of the Output Control window.
The grand total cost is shown on the top line. Below that, several
subtotals are shown. Then below that, costs for pipes, junctions, and
pipe fittings & losses are shown, with subtotals. The costs are further
broken down in the columns by Material, Installation, Maintenance and
Operation/Energy, with Non-Recurring and Recurring cost sub-totals.
Spare pump
A spare pump would use a multiplier of zero on operation cost because
its annual operating cost is essentially zero. However, it might still have
Topics covered
Creating cost databases
Entering pipe, junction and fitting cost data into databases
Connecting cost databases
Using Cost Settings
Using the Cost Report
Required knowledge
This example assumes that the user has some familiarity with AFT
Fathom such as placing junctions, connecting pipes, entering pipe and
Model file
This example uses the following files, which are installed in the
Examples folder as part of the AFT Fathom installation:
Plant Cooling.fth (10 Year Operation Cost scenario) AFT Fathom
model file
Plant Cooling.dat AFT Fathom engineering database file
There are also two cost database files for this example, which are
installed in the Examples folder. These databases will be recreated as
part of this problem, but they are included as reference material. These
cost databases are used in the 10-Year Operation Cost (with Cost
Databases) scenario of the Plant Cooling.fth model file. The database
files are:
Plant Cooling - Sch20 Steel Piping Costs (Example DB).cst AFT
Fathom cost database file
Plant Cooling - Circ Pump Costs (Example DB).cst AFT Fathom
cost database file
Problem statement
After designing a plant cooling system, it is necessary to calculate the
system cost over a 10-year period to determine the feasibility of the
design. The system model consists of four circulating water pumps,
schedule 20 steel pipes and fittings, and two sets of cooling tower cells.
Use CST to determine the cost of the cooling system for a 10-year
period. Include material, installation, and energy costs for the pumps,
pipe, and fittings. The cooling tower costs are ignored here, and assumed
to be calculated in some other context.
Figure 9.1 The Plant Cooling model (from the Examples folder in
the AFT Fathom application directory).
Cost Calculations
By default, the cost settings are turned off. To turn on the cost
calculations, select Calculate Costs in the Cost Calculations area.
Energy cost data can be specified though an energy cost database, or by
directly entering an energy cost on the Cost Settings window. Using an
energy cost database allows you to specify multiple energy costs, such as
energy costs at both peak and off-peak rates.
For this example, select Use This Energy Cost Information, and enter an
energy cost of 0.06 U.S. Dollars/kW-hr, as shown in Figure 9.2.
Note: Energy costs for pumps is also part of the standard AT Fathom
version.
Cost Definitions
The Cost Definitions section allows you to specify the type of costs to be
determined. You may select from engineering parameter costs, such as
pipe weight, or actual monetary costs, including material and installation
costs.
For this example, select Monetary Costs. Include Material, Installation,
and Operation/Energy costs by selecting them from the list of available
monetary costs, as shown in Figure 9.2.
The Pipe Materials tab shows all the pipes in the engineering database
(AFT DEFAULT INTERNAL DATABASE). Costs can be entered at
several levels. You can enter costs at the material level, the nominal size
level, and finally at the type (i.e., schedule) level. Costs entered at the
material level apply to all nominal sizes and types in that material type.
Costs entered at the nominal size level apply to all schedules within that
nominal size. Costs entered at the type (schedule) level apply only to that
type. For this example, all of the pipe material costs will be entered at
the type (schedule) level.
To enter a new cost, navigate to the material, nominal size and type
combination for which you want to enter a cost. Click the New Cost
button to create a new cost item in the table below. The new cost item
will appear as a new column.
Each pipe size in this example has two non-recurring costs associated
with it. The costs to be entered are the material and installation costs.
Figure 9.4 shows the costs entered for 8-inch Schedule 20 Steel. Enter
the non-recurring pipe costs for the pipe in this example, as shown
below.
You do not need to enter data in the scale tables for every diameter in
the model. If a diameter falls between two data points in the table, the
CST module will use the points on either side to linearly interpolate for a
After the scale tables have been created, and the cost data entered, the
Tables tab should appear as shown in Figure 9.5.
Figure 9.5 The Tables tab on the Cost Database window is used
to create cost scale tables.
Add the material cost by clicking the New Cost button, and entering the
following data:
1. Description = Elbow Material Costs
2. Cost Type = Material (NR)
3. Material = Steel
4. Material Size = All Sizes
5. Material Type = All Types
6. Use Size Table = Table of Costs
7. Multiplier = 1
8. Size Scaling Table = 90 Elbows Material (Sch20, 8-34)
Now add the installation cost by clicking the New Cost button, and
entering the following data:
1. Description = Elbow Installation Costs
2. Cost Type = Installation (NR)
Figure 9.6 The Pipe Fittings & Losses tab on the Cost Database
window is used to specify costs for pipe fitting/loss
items.
Figure 9.9 The Cost tab on the Pipe and Junction Specifications
windows is used to include the objects in the Cost
Report.
Figure 9.10 The Cost Report in the General Output section shows
the results of the cost analysis.
Analysis summary
The CST analysis for this example shows the following costs for the
plant cooling system design:
Total System Cost: $2,920,461
Total Material Cost: $418,844
Total Installation Cost: $699,341
Total Operation/Energy Cost: $1,802,276
Cost of Pipe: $918,940
Cost of Pumps: $1,966,276
Cost of Fittings: $35,244
Previous chapters have illustrated how to use each of the AFT Fathom
modules by themselves. However, AFT Fathom also allows you to use
the modules together, in any combination you choose. This allows even
greater flexibility in the types of analyses that can be accomplished
using AFT Fathom.
This chapter shows how the GSC, XTS, and CST modules can be used
simultaneously by examining an example problem.
Note: This example can only be run if you have licenses for the CST,
GSC and XTS modules.
Model file
This example uses the following file, which is installed in the Examples
folder as part of the AFT Fathom installation:
Fixed Head Supply Tank.fth AFT Fathom model file
Problem statement
A process plant requires the delivery of water at a fixed head, regardless
of the system demand. This is accomplished by pumping the water to a
supply reservoir, and maintaining a constant fill-level by varying the
supply pump speed as the process demands change. Throughout any 24-
Figure 10.1 Model of a Fixed Head Supply Tank (model file from
the Examples folder in the AFT Fathom folder).
Figure 10.2 Goal Seek and Control variable and goal settings.
Cost settings
For this problem, the pump energy cost for the 24-hour analysis period is
entered as a fixed energy cost on the Cost Settings window. Open the
Cost Settings window from the Analysis menu to view the energy cost
settings (Figure 10.6).
The Cost Time Period for the cost analysis is set to one year. The 24-
hour operation is assumed to repeat every day for this one-year period,
and the total energy cost will be calculated assuming the 24-hour
operation repeats non-stop throughout the year. More complicated cost
variation is possible when using energy cost databases.
Note that the cost calculation display is selected in the Cost Settings
window by selecting the Calculate Costs option.
Figure 10.7 The slider bar at the bottom of the Output window can
be used to view the transient results at any time step,
including the GSC module variable and goal results.
Cost data is displayed in the Cost Report in the General Output section,
as shown in Figure 10.8. The one-year energy cost for the supply pump
in this example was $42,129.
Figure 10.8 The cost data is shown in the Cost Report in the
General Output section of the Output window.
Figure 10.9 shows how the GSC module varied the pumps speed over
time with the varying process flow rate. Figure 10.10 shows that the
water level in the process supply tank remains constant over time (which
Summary
Individually, the AFT Fathom modules provide you with powerful
analytical tools to assist you in the design of your pipe systems. The
ability to combine the capabilities of these tools provides you with even
greater and more powerful modeling capabilities.
Figure 10.9 The GSC module varies the supply pump speed as the
process flow rate changes over time (top).
Figure 10.10 The water level in the process supply tank remains
constant over time due to the variation in the
pump speed.
E Goals 16, 40
I creating 147
Ignore Transient Data See Transient how multipliers are applied 148
Special Conditions Model Data window
Infinite reservoirs 54 GSC data 22, 42
transient junction data 61, 90
J Monetary costs 143
Junction Specifications window
Cost data 131 N
Including costs data 165 Non-monetary costs 143
opening in Goal Seek and Control
Manager 15, 21 O
repeat transient 87 Output Control window 44
transient data 52 Cost Report formatting 145, 146,
transient data - absolute vs. relative 167
87 time formatting and units 69, 96
Junctions transient pipe and junction data 69
assigned flow 172 Output window
assigned pressure 95 changing time formats and units 96
branch 96 Cost Report 127, 145, 166
control valve 37, 96 Database Sources 127
elbow 37 Event messages 89
heat exchanger 37 GSC Goal warning 26
pump 37, 95 GSC output 23, 44
reservoir 36, 94, 172 Quick Graph 70, 103
tee/wye 37 transient output 69, 102
valve 95
P
M Parameter and Unit Preferences window
Maximum cost group 141, 146 Custom monetary units 144
in Graph Results 73
V
in Model Data 90
Visual Report window
in Model Data window 61
transient data display 76
in Output window 69, 102
in Visual Report 76
W
junction transient example 99
Workspace Preferences window 77, 80
junctions which support transient data
53 GSC Variable and Goal indicators on
the Workspace 42
Repeat transient in junctions 87
Transient indicators on the
Reservoirs 58 Workspace 89
Workspace window 35, 93
X
XTS module 2
activating 4
enabling transient mode 49
Setting up a transient model 92