UniSim User Guide PDF
UniSim User Guide PDF
UniSim User Guide PDF
User Guide
Copyright
April R390 Release
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
300-250 York Street
London, Ontario
N6A 6K2
Telephone: (519) 679-6570
Facsimile: (519) 679-3977
Prepared in Canada.
Table of Contents
1 Interface .............................................................. 1-1
1.1 Introduction .................................................... 1-2
1.2 Interface Basics ............................................... 1-3
1.3 Object Status Window/Trace Window ............... 1-11
1.4 Toolbar ......................................................... 1-14
1.5 Hot Keys ....................................................... 1-16
v
7.2 Main Properties ................................................ 7-5
7.3 UniSim Design XML ........................................ 7-10
7.4 Optimizer ...................................................... 7-12
7.5 Event Scheduler ............................................. 7-13
7.6 Integrator ..................................................... 7-26
7.7 Adjust-Recycle Manager .................................. 7-28
7.8 Initialize From ............................................... 7-37
7.9 Dynamic/Steady State Modes .......................... 7-50
7.10 Solver Active/Holding...................................... 7-51
7.11 Integrator Active/Holding ................................ 7-51
7.12 Equation Summary ......................................... 7-52
7.13 Enter Basis Environment ................................. 7-52
7.14 User Variables ............................................... 7-52
7.15 Importing & Exporting User Variables................ 7-54
7.16 Oil Output Settings ......................................... 7-55
7.17 Object Navigator ............................................ 7-56
7.18 Simulation Navigator ...................................... 7-58
7.19 Notes Manager............................................... 7-60
7.20 Optimization Objects ...................................... 7-61
7.21 Reaction Package ........................................... 7-63
7.22 Fluid Package/Dynamics Model......................... 7-63
7.23 Workbook ..................................................... 7-64
7.24 PFD .............................................................. 7-77
7.25 Column ......................................................... 7-94
7.26 Utilities ......................................................... 7-94
7.27 Simulation Balance Tool .................................. 7-98
vi
10.5 Format Editor ...............................................10-41
vii
Index.................................................................... I-1
viii
Interface 1-1
1 Interface
1-1
1-2 Introduction
1.1 Introduction
UniSim Design offers a high degree of flexibility because there are
multiple ways to accomplish specific tasks. This flexibility combined
with a consistent and logical approach to how these capabilities are
delivered makes UniSim Design an extremely versatile process
simulation tool.
1-2
Interface 1-3
1-3
1-4 Interface Basics
Design:
1.2.3 Multi-Flowsheet
Architecture/Environments
UniSim Design is developed around a Multi-flowsheet Architecture.
After creating the fluid package(s) for the simulation, you enter the
main flowsheet. This is where the bulk of the model is created (where
you install the streams and operations that represent the process).
1-4
Interface 1-5
as a single operation in the main flowsheet, you can, at any time, enter
the sub-flowsheet to examine conditions in greater detail or make
changes.
Considering the “forget” pass in the UniSim Design solver, the definition
of a flowsheet (or sub-flowsheet) in the context of the overall program
is defined by what it possesses:
• Independent fluid package (optional)
• PFD
• Workbook
• Flowsheet Elements (streams and/or operations)
• Solver
1-5
1-6 Interface Basics
Navigators.
Navigators Description
Simulation Navigator Quick access to the property view of any stream or
unit operation from any flowsheet within the case.
Object Navigator Immediate access to the property view for any
stream or operation from any location.
You can access the Object Navigator view by right-
clicking on any blank area of the UniSim Design
Desktop and selecting Find Object command
from the Object Inspect menu.
Variable Navigator Target process variables from any flowsheet. For
example, you can select variables for inclusion on
a Strip Chart or for attachment to logical
operations such as Adjusts or Controllers.
1.2.5 Objects
The term object is used extensively throughout the documentation to
refer to an individual stream or operation. Within UniSim Design,
information associated with an object can appear in a variety of ways
(Workbook, PFD, Property View, Plot, etc.).
Object Definition
Flowsheet Element A Stream or Operation.
(or Object)
Flowsheet A collection of Flowsheet Elements that utilize a
common fluid package. A flowsheet possesses its
own Workbook and PFD.
Fluid Package Includes the property package, Components
(library, pseudo or hypothetical), Reaction Package
and User Properties used for flowsheet
calculations. Fluid packages can be Imported and
Exported.
1-6
Interface 1-7
Object Definition
Simulation Case A collection of fluid package(s), flowsheets, and
flowsheet elements that form the model. The
simulation case can be saved to disk for future
reference. The extension used for saved cases is
*.usc.
Simulation cases can also be saved as template
files (*.tpl), UFL files (*.ufl) and XML files (*.xml).
Session Encompasses every simulation case that is open
while UniSim Design is running.
1.2.7 Desktop
The figure below shows the basic components of the UniSim Design
1-7
1-8 Interface Basics
Desktop.
Figure 1.1
Toolbar
Status
Bar
The main features of the Desktop are defined in the following table.
Object Definition
Title Bar Indicates the UniSim Design file currently loaded.
Menu Bar Provides access to common flowsheet commands
through a drop-down menu system.
Toolbar Contains various icons that invoke a specific command
when clicked.
Environment/ Indicates the environment and mode that you are
Mode Label currently working in.
Status Bar Displays the calculation status of the object. When the
mouse pointer is placed over an icon in the toolbar, the
Object Palette, or a property view, a brief description
of its function appears in the Status Bar.
Calculation/ The Calculation/Responsiveness icon enables the user
Responsiveness to control how much time is spent updating the
icon screens vs. calculations.
Calculation/
Responsiveness icon
1-8
Interface 1-9
Object Definition
Scroll Bars Allows you to scroll horizontally and vertically.
Object Status The Object Status Window (left pane) shows current
Window/Trace status messages for flowsheet objects, while the Trace
Window Window (right pane) displays Solver information. The
windows can be resized vertically or horizontally by
clicking and dragging the windows frames located
between or above them.
For more information about the Object Status Window
or Trace Window, refer to Section 1.3 - Object
Status Window/Trace Window.
Figure 1.2
1-9
1-10 Interface Basics
Figure 1.3
Object Definition
Active Selected The current active location is always indicated by a
Location dark frame or border.
Button Invokes a command when clicked.
Checkbox Items or settings that are On or Off. Checking the
checkbox turns the function On. Unchecking it turns it
Off.
Drop-Down List A list of available options for a given input cell.
Group Organizational border within a page that groups
related functions together. Each group has its own
active location.
Icon Invokes a command when clicked, or opens a view
when double-clicked.
Input Cell/Field Location in a view for supplying or viewing information
(e.g., stream names, temperatures, etc.). In many
cases it has a drop-down list associated with it.
Matrix A group of cells where you can manoeuvre with the
mouse or the keyboard arrow keys.
Minimize/ Either shrink the current view (minimize), or expand
Maximize icon the view to its full size.
Object icon Either closes the view (double-clicking), or produces a
drop-down menu of common Windows commands.
Object Status Each property view shows the status of the associated
object with a coloured background (red for a missing
parameter, yellow for a warning message, and green
for OK).
Pages Provides access to detailed information for the selected
object.
Pin Converts a Modal property view to a Non-Modal
property view.
1-10
Interface 1-11
Object Definition
Radio Button Always found in groups of at least two; only one can be
active at a time.
Tabs Provides a logical grouping of information. Often
contain pages where the information is sorted further.
View Any graphical representation found on the Desktop, for
example, a property view for an operation.
If the cursor is placed over the vertical double line that separates the
two panes, a horizontal sizing arrowhead appears. The size of the two
panes can be adjusted by clicking and horizontally dragging the cursor.
1-11
1-12 Object Status Window/Trace
Figure 1.4
1-12
Interface 1-13
Status Window:
Command Description
View Status Opens the Status List Properties view. This view contains
List Properties an input field for the Status List File Name (by default
Status.Log), that enables the contents of the left pane to
be written to a file. Also on this view is a drop-down list
for the Minimum Severity.
From top to bottom, the options in the drop-down list
represent increasing status message severity. For
example, selecting Warning from the list displays all
messages that are warnings or more severe in the left
pane. To display only error messages that are the most
severe, select the **Error** option.
Dump Current Automatically dumps the contents of the left pane to the
Status List to Status List File Name.
File
Figure 1.5
Trace Window
The commands in Object Inspect menu for the Trace Window are
described in the following table:
Command Description
View Trace Opens the Trace Properties view, which contains the
Properties following:
• Trace File Name field. Shows the file name to
which the contents of the Trace Window can be
written (by default Trace.Log).
• History Length field. Represents the number of
lines that the Trace Window keeps in its history.
• Trace to File Continuously checkbox. When
checked, the Trace Window contents are written to
the Trace File.
• Verbose checkbox. When checked, the Trace
Window shows solver information for all
operations in the case.
• Trace Inactive checkbox. When checked, the
Trace Window shows information for all inactive
operations in the case.
• Word Wrap Trace Lines checkbox. When
selected, the messages in the Trace Window are
word wrapped to fit the Trace Window.
Set trace Change the trace window default font
window font
1-13
1-14 Toolbar
Command Description
Dump Current Automatically dumps the contents of the Trace Window
Trace to File to the Trace File.
Clear Trace Clears all the information from the Trace Window.
Window
Copy all trace Copy all trace information to the clipboard
information
Figure 1.6
1.4 Toolbar
These commands are The icons on the toolbar provide immediate access to the most
also available in the
menu bar.
commonly used commands.
The following buttons are found on the various tool bars in UniSim
Design.
1-14
Interface 1-15
1-15
1-16 Hot Keys
1-16
Interface 1-17
The Hot Key list is available under the Help menu of the main screen.
File
Create New Case CTRL N
Open Case CTRL O
Save Current Case CTRL S
Save As CTRL SHIFT S
Exit UniSim Design ALT F4
Simulation
Enter Simulation Basis Manager CTRL B
Main Properties CTRL M
Access Optimizer F5
Access Event Scheduler CTRL E
Leave Current environment (Return to CTRL L
Previous)
Toggle Steady-State/Dynamic Modes F7
Toggle Hold/Go Calculations F8
Access Integrator CTRL I
Start/Stop Integrator F9
Take one step integration CTRL 1
Stop Calculations CTRL BREAK
Flowsheet
Add Material Stream F11
Add Operation F12
Access Object Navigator F3
Access Notes Manager CTRL G
Show/Hide Object Palette F4
Access Composition View (from CTRL K
Workbook)
Displays Stream Temperatures SHIFT T
Displays Stream Pressures SHIFT P
Displays Stream Molar Flow Rates SHIFT F
Displays Stream Names (Default) SHIFT N
Tools
Access Workbooks CTRL W
Access PFDs CTRL P
Toggle Move/Attach (PFD) CTRL
Access Utilities CTRL U
Access Reports CTRL R
Access Databook CTRL D
Access Controller FacePlates CTRL F
Access Dynamics Assistant CTRL Y
Access Help F1
Column
Go to Column Runner (sub-flowsheet) CTRL T
Stop Column Solver CTRL BREAK
View
1-17
1-18 Hot Keys
1-18
Program Philosophy 2-1
2 Program Philosophy
2-1
2-2 Introduction
2.1 Introduction
UniSim Design is based on these fundamental principles:
• “single model” concept
• rigorous first principle’s models
• reuse of simulation data
• best in class usability
• an open customizable environment
2-2
Program Philosophy 2-3
2-3
2-4 Introduction
The most significant development within the UniSim Design 350 series
in this regard is the delivery of XML (eXtensible Mark up Language)
technology. The range of possibilities that this opens up are significant,
but some of the immediate benefits are:
• The ability to store all (or part) of the user’s inputs and
specifications in XML to allow re-building of the case.
• The ability to store parts of an existing simulation case in XML
and have it read into another case, either augmenting or
overwriting the definitions within that case.
• The ability to store simulation case results in an XML format to
allow post processing of simulator data, taking advantage of the
wide range of XML technology being developed within the
software industry.
• The ability to browse the simulation case data in a familiar
internet browser-like environment.
2-4
Program Philosophy 2-5
2-5
2-6 Simulation Case
following table:
2-6
Program Philosophy 2-7
2.3 Multi-Flowsheet
Architecture/
Environments
With the continued evolution of computer hardware and software
architecture, the ability to rigorously model entire plants has become
feasible. UniSim Design, which has always been based on a multi-
flowsheet architecture, is ideally suited for dealing with the size of the
simulation cases that result from building plant-wide models.
Once the fluid package(s) for your simulation have been created, you
enter the main flowsheet. In this location, the bulk of the model is
created, installing the streams and operations to represent your
process.
There are two types of Sub-flowsheets within the main flowsheet can be created at any time,
sub-flowsheets: columns
and templates. as well as sub-flowsheets within sub-flowsheets. There are three
fundamental purposes of the sub-flowsheet:
• Representation of complex plant models in terms of “units”
which provides an easy mechanism for the organization of large
models.
• Easy support for templating of units or processes to facilitate
their re-use.
• Provide the mechanism for solver transitions (i.e., from the
default non-sequential modular solver to the simultaneous
solver used by the Column or sub-flowsheet).
2-7
2-8 Multi-Flowsheet Architecture/
The accessing of data within the simulation case is the function of the
Navigators.
Refer to Section 7.17 - • The Object Navigator gives immediate access to the property
Object Navigator for view for any stream or operation from any location.
details on the Object
Navigator. • The Variable Navigator lets you target variables from any
Flowsheet for use—either by a logical unit operation—or as part
Refer to Section 11.19 -
of one of the Data Collectors.
Variable Navigator for
details on the Variable • The Simulation Navigator provides a single location where you
Navigator. can view or interact with the property views for all streams and
Refer to Section 7.18 - unit operations in the simulation case, regardless of which
Simulation Navigator flowsheet they reside in.
for details on the
Simulation Navigator.
2-8
Flowsheet 3-1
3 Flowsheet
3.5 Templates.....................................................................................14
3.5.1 Template Information ..............................................................15
3.5.2 Creating a Template Style Flowsheet..........................................19
3.5.3 Installing a Template ...............................................................20
3-1
3-2 Introduction
3.1 Introduction
The following sections describe the functionalities of the various
flowsheets within UniSim Design.
3-2
Flowsheet 3-3
The flowsheet and sub- The sub-flowsheet can also be assigned a separate fluid package
flowsheet are not different from main flowsheet. This feature lets you model plant
restricted to a single
fluid package. utilities more rigorously using, for example, cooling water and
steam circuits as separate flowsheets with dedicated Steam
Table property packages.
3-3
3-4 UniSim Design Environments
3-4
Flowsheet 3-5
The Desktop for the Simulation Basis environment contains a tool bar
with the appropriate icons for Basis tasks and designates the
Simulation Basis Manager view as the Home View.
You can create sub- UniSim Design allows you to “nest” flowsheets. The main flowsheet is
flowsheets within all the
flowsheets in your
the parent flowsheet for the sub-flowsheets it contains. A sub-flowsheet
simulation. can also be a parent flowsheet if it contains other sub-flowsheets.
Main Flowsheet/Sub-Flowsheet
Environment
The simulation case main flowsheet environment is where you do the
majority of your work in UniSim Design. Here you install and define the
following:
• Streams
• Unit operations
• Columns
This flowsheet serves as the base level or “main” flowsheet for the
whole simulation case. Any number of sub-flowsheets can be generated
3-5
3-6 UniSim Design Environments
The menu bar, tool bar, and Home Views for the Column environment
are designed expressly for designing, modifying, and converging
Column Runner icon column sub-flowsheets. It includes an additional Home View (the
Column Runner), and a corresponding menu item and a Column Runner
icon on the tool bar provide access to the Column Runner view. Even
with these changes, a Column environment Desktop still closely
3-6
Flowsheet 3-7
Figure 3.1
Building a Simulation
1. Create a new simulation case. UniSim Design automatically starts
you in the Simulation Basis environment.
2. Inside the Simulation Basis environment, do the following:
3-7
3-8 UniSim Design Environments
You can move between the flowsheet environments at any time during
the simulation. The arrows in the previous diagram show that the
column and sub-flowsheet environments are accessible only from the
main flowsheet, however, this is only the typical way of moving
between the environments.
The Navigator lets you move directly from one flowsheet to any
another. The only restriction is that the Oil environment can be
accessed only within the Simulation Basis environment.
Object Navigator icon
If you are missing some components in the fluid package, you can
return to the Simulation Basis environment and all flowsheets are
placed in Holding mode until you return to the main flowsheet. This
prevents calculations from occurring until you have made all required
3-8
Flowsheet 3-9
The flowsheet calculations do not resume until you return to the main
flowsheet environment.
Click the Active icon to
resume calculations. For sub-flowsheets, the concept of Holding steady state calculations
works according to the hierarchy of the flowsheets in the simulation.
When working inside a particular flowsheet, only that flowsheet and
any others below it in the hierarchy automatically calculate as you
make changes. All other flowsheets hold until you move to their
flowsheet’s Simulation environment, or one directly above them on the
hierarchical tree.
Figure 3.2
3-9
3-10 Sub-Flowsheet Environment
3.4 Sub-Flowsheet
Environment
See Section 2.3 - Adding The Simulation environment described in the previous section is one of
a Sub-Flowsheet in the
UniSim Design
the cornerstone design concepts upon which UniSim Design is built.
Operations Guide for When combined with sub-flowsheet capabilities, it defines the basic
more information about foundation for building a UniSim Design simulation. The sub-flowsheet
installing a sub-flowsheet.
and Column operations use the multi-level flowsheet architecture and
provide a flexible, intuitive method for building the simulation.
Modeling a large process Suppose you are simulating a large processing facility with a number of
using several flowsheets
helps better organize your
individual process units. Instead of installing all process streams and
work and manipulate the unit operations into a single flowsheet, you can simulate each process
simulation. unit inside its own sub-flowsheet.
3-10
Flowsheet 3-11
3-11
3-12 Sub-Flowsheet Environment
Figure 3.3
In the main flowsheet, the
column appears as any MAIN FLOWSHEET
other unit operation
(Figure 3.3), however,
the column has its own
sub-flowsheet (Figure
3.4) that provides a
detailed look at the
column’s internal streams
and operations.
For a more detailed look at the column, go inside the column sub-
flowsheet and examine the streams and operations in the SW Stripper’s
simulation environment. Inside the column sub-flowsheet (see Figure
3.4), the tray section, reboiler, and condenser exist as individual unit
operations. Similarly, the streams attaching these operations are also
distinct.
Each sub-flowsheet has Within the sub-flowsheet environment, a dedicated Workbook and PFD
its own PFD and
Workbook, which display
allow you to access to the information that pertains only to this sub-
only the information flowsheet. Although information is never hidden or inaccessible among
related to that flowsheet. the various levels of flowsheets in a simulation case, the use of the
environments organizes and focuses the simulation efforts in a clear
3-12
Flowsheet 3-13
Figure 3.4
COLUMN SUB-FLOWSHEET
Multi-Flowsheet Navigation
The multi-flowsheet architecture can be compared to a directory
structure. The main flowsheet and its sub-flowsheets are directories
and sub-directories, with the streams and operations as the files in that
directory. The process information associated with the streams and
operations becomes the contents of the files.
Refer to Section 7.18 - UniSim Design has special tools called Navigators that are designed to
Simulation Navigator
for details on the take advantage of this directory-like structure. Within a single view,
Simulation Navigator. you can easily access a stream, operation, or process variable in one
Refer to Section 7.17 - flowsheet from any other flowsheet in your simulation.
Object Navigator for
details on the Object
Navigator.
3.4.4 Flowsheet Information
Transfer
When you install or create a sub-flowsheet in the Simulation
environment, it appears and behaves as a single operation with one or
more feed and product streams. Whenever the values of the streams
attached to the sub-flowsheet change, the sub-flowsheet recalculates
3-13
3-14 Templates
Component maps are For example, you can specify the Vapour Fraction and Temperature
available to allow you to
define how to handle
(specified or calculated values) of a stream in the Main simulation to be
different component lists passed to the sub-flowsheet. Once this information is passed to the
between fluid packages. sub-flowsheet, the property package for the sub-flowsheet then
calculates the remaining properties using the transferred composition.
3.5 Templates
A template flowsheet is a normal UniSim Design flowsheet with some
additional information contained in its main properties. It uses a
different file extension when it is stored to disk (*.tpl or *.ufl instead of
the regular *.usc). The different file extension is used mainly for
organizational purposes.
3-14
Flowsheet 3-15
There are two additional tabs that are exclusive to templates, which are
available when the standard simulation case is converted to a template.
To convert a simulation case to a template, click the Convert to
Template button at the bottom of the Simulation Case view. Once you
click the button, the extra tabs appear and the button is no longer
visible.
These extra tabs contain all of the same information available on the
property view of an installed sub-flowsheet operation as well as some
additional information. These extra parameters allow the flowsheet to
be treated as a “black box” that you can install as a sub-flowsheet
operation with the same ease and in the same manner as you would
install a regular unit operation.
3-15
3-16 Templates
appear.
Figure 3.6
Template Tag
Flowsheet Tags are short names used by UniSim Design to identify the
flowsheet associated with a stream or operation when that flowsheet
object is being viewed outside of its native flowsheet’s scope. The
default Tag name for sub-flowsheet operations is TPL (for template).
When more than one sub-flowsheet operation is installed, UniSim
Design ensures unique tag names by adding an incremental numerical
suffix similar to the UniSim Design auto-naming unit operations; they
are numbered sequentially in the order they were installed. For
example, if the first sub-flowsheet added to a simulation contained a
stream called Comp Duty, it would appear as Comp Duty@TPL1 when
viewed from the main flowsheet of the simulation.
3-16
Flowsheet 3-17
For each stream appearing in either the Feed Stream or Product Stream
matrices, you can specify the Boundary Label and Transfer Basis.
The Transfer Basis is used for feed and product streams as they cross
the flowsheet boundary. The Transfer Basis becomes significant only
when the sub-flowsheet and parent flowsheet property packages are
different. When there are differing fluid packages in the two flowsheets
(parent and sub-flowsheet) you can specify what stream properties are
used to calculate the stream on the other side of the boundary.
3-17
3-18 Templates
Figure 3.7
To add variables to this tab, click the Add button. The Add Variable to
Case view appears. Select the flowsheet object and variable. On the
Add Variable to Case view, you can override the default variable
description and provide another one.
Refer to Section 2.2 - When installing a template into another case, these variables appear on
Sub-Flowsheet the Parameters tab of the sub-flowsheet property view.
Property View in the
UniSim Design
Operations Guide for
information about the
There is no difference between a template flowsheet and a
Parameters tab. normal flowsheet, except the additional information
mentioned above, and the use of different file extensions. A
template flowsheet can be read in as the main flowsheet in a
simulation case if necessary—you just get a warning
message and the extra information is ignored.
3-18
Flowsheet 3-19
Once you convert a case into a template and import it into another
case, most of the monitoring and customizing tools within the template
will be transferred over to the new simulation environment. Information
such as the strip charts, utilities, and macro language entries are
transferred along with the template. However, the event schedules,
optimizer settings, dynamics initialization settings, snapshot manager
settings, and Databook items (for example, case studies, process data
table, and data recorder settings) are not transferable.
3-19
3-20 Templates
3-20
Flowsheet 3-21
Figure 3.8
3-21
3-22 Property View Flowsheet Analysis
After the flowsheet(s) have been inserted in the simulation case, a fluid
package is selected for the sub-flowsheet based on the Installed Fluid
Package setting used in the template.
Once UniSim Design finishes installing the template, you are placed on
the Connections tab of the sub-flowsheet property view where you can
define the connections for the template.
3-22
Flowsheet 3-23
Figure 3.9
With the stream view at its default size, the page has horizontal scroll
bars. By using the horizontal scroll bar, you can scroll left and right to
view the Vapour, Liquid, and/or Aqueous phases for the stream.
Instead of scrolling through the view, you can also resize it so that all
phases, and all of the properties for each phase can be seen, as shown
3-23
3-24 Property View Flowsheet Analysis
Figure 3.10
3-24
Flowsheet 3-25
• Detailed Performance
Figure 3.11
The Plots page lets you to generate curves for the shell and/or tube
sides of the heat exchanger. From the Plot Type drop-down list, you can
select the X and Y axis variables for the plot.
Figure 3.12
The Tables page displays the same information provided in the Plots
page but in tabular form.
3-25
3-26 Property View Flowsheet Analysis
3-26
Flowsheet 3-27
3-27
3-28 Property View Flowsheet Analysis
3-28
File Management 4-1
4 File Management
4-1
4-2 Menu Bar
If you want to switch focus The menu bar also provides access to functions that can only be
from the menu bar without
accessed this way, such as Session Preferences view (units,
making a selection, press
the ESC key or the ALT default naming schemes, etc.) and switching to another
key. simulation currently in memory.
4.2 File
There are two variations of the File menu. A condensed menu
appears in UniSim Design before a simulation is created or
opened. The commands common to both versions of the menu,
as well as the functions specific to the detailed menu, are
explained in this section.
File Menu The menu commands are grouped into five main categories:
4-2
File Management 4-3
• Starting a Simulation
• Saving a Simulation
• Closing a Simulation
• Printing
• Exiting UniSim Design
Option Description
Case Creates a new simulation case or opens an existing one.
This command enables you to access UniSim Design
simulation cases (*.usc), Legacy HYSIM simulation cases
(*.sim) or Backup simulation cases (*.bk0).
Template Creates a new template or opens an existing one. These
are sub-flowsheet templates.
Column Creates a new column flowsheet or opens an existing one.
Cut/Copy/ Creates a new blank case and then imports the selected
Paste UFL file into that case. Refer to Section 4.3 - UFL Files for
more information regarding the UFL files.
Case Create a new case scenario project or open an existing one.
Scenario
Project
4-3
4-4 File
Figure 4.1
Figure 4.2
Displays files according to the File Path and File Filter selections.
Your selection in this list appears in the File Name cell.
Use the File Filter to display only Legacy HYSIM cases (*.sim)
in the view.
4-4
File Management 4-5
Figure 4.3
4-5
4-6 File
4-6
File Management 4-7
save commands:
Command Description
Save Saves the case using the current file name and location.
Save As With this save command, you can enter a name and
location to save the file. When you select the Save As
command, either the "Revision Control on Save As" view, or
the "Save Simulation Case As" view will appear, depending
on if the "Show a pop-up view on Save As" checkbox is
checked or not on the Preferences/Files/Revision Control
page. You are able to select the File Path and a File Name
for the case. UniSim Design automatically attaches the
default file extension, *.usc. You can also save the entire
case as an XML file or an UFL file.
Save All Use this command to save all currently opened UniSim
Design files. You are asked to select which files should be
saved. You can select more than one file at a time by
holding down the CTRL key then clicking each file you want
to select. Click Save to save the files as shown in the view,
or Save As to save with a new name and/or location.
Figure 4.4
4-7
4-8 File
Figure 4.5
Figure 4.6
If the active file is a case scenario project, UniSim Design has the
following save commands:
Command Description
Save Saves the case scenario project using the current file name
and location.
Save As When you select the Save As command, the "Save Case
Scenario Project As" view will appear, allowing you to select
a different location and file name. UniSim Design
automatically attaches the default file extension, *.ucsm.
Save All Use this command to save all currently opened UniSim
Design files. You are asked to select which files should be
saved. You can select more than one file at a time by
holding down the CTRL key then clicking each file you want
to select. Click Save to save the files as shown in the view,
or Save As to save with a new name and/or location.
4-8
File Management 4-9
Figure 4.7
4-9
4-10 File
Command Description
Close Case Closes the active case. Before closing the case, you are
asked if you want to save the case.
Close All Allows you to close more than one file at a time. The name
of each opened file appears in the Close Multiple Files view.
You select which files you want to close.
Figure 4.8
If the active file is a case scenario project, UniSim Design has the
following commands for closing files:
Command Description
Close Case Closes the active case scenario project. Before closing the
Scenario file, you are asked if you want to save the file if it has been
Project modified.
Close All Allows you to close more than one file at a time. The name
of each opened file appears in the Close Multiple Files view.
You select which files you want to close.
4-10
File Management 4-11
4.2.5 Printing
See Section 9.2 - UniSim Design has the following print commands:
Printing in UniSim
Design for more
information. Command Description
Print Allows you to print Datasheets for streams and operations.
Print Prints a bitmap snapshot of what currently appears in the
Snapshot active UniSim Design view.
Printer Setup Allows you to select the default printer, print orientation,
paper size, etc. It is similar to the Printer Setup commands
in other Windows applications.
If you have not saved your case before you select the Exit command, a
warning message appears prompting you to save the case before
exiting the program.
Figure 4.9
• If you want to save the case and exit UniSim Design, click the
Yes button.
• If you do not want to save the case and still exit UniSim Design,
click the No button.
• If you do not want to exit the UniSim Design program, click the
Cancel button to stop the exit command.
4-11
4-12 UFL Files
The UFL files are not full simulation case files, and do not
contain case information on the Databook, strip charts,
utilities, Optimizer, DCS driver, or event scheduler.
The entire sub-flowsheet UFL files contain information about the objects that have been copied,
can also be readily copied.
so when importing or exporting UFL files, you get all the information
required to restore the objects in a case (including fluid package
information), but not the entire flowsheet or sub-flowsheet the object
resides in.
You can use the Save As command from the File menu to save an entire
case as an UFL file. This options saves you the time and trouble of
selecting every object within the main PFD and exporting them to an
UFL file. For convenience, UniSim Design also allows you to open an
UFL file directly rather than importing it into an existing open case. But
in this situation, a blank new case is created and the UFL file is actually
imported into the new case.
UFL files are a bit more flexible than templates (*.tpl files). When you
create a new template, you have to convert an entire case into a
template and when that template file is read into a UniSim Design case,
it always becomes a new sub-flowsheet. Each time you convert the case
to a template, you gain one level of flowsheets and there is no way to
move objects to different flowsheets.
4-12
Basis Environment 5-1
5 Basis Environment
5-1
5-2 Introduction
5.1 Introduction
The Basis environment contains the following environments:
• Simulation Basis environment
Refer to Chapter 6 - Oil • Oil Characterization environment
Characterization
Environment for more
information.
Simulation Basis Environment
When beginning a new simulation case, UniSim Design automatically
starts you in the Simulation Basis environment where you can create,
define and modify fluid packages for use by the simulation flowsheets.
In general, a fluid package contains a minimum of one property
package and library and/or hypothetical components. Fluid packages
can also contain information for reactions and interaction parameters.
You can re-enter the Simulation Basis environment from any flowsheet
by selecting the Enter Basis Environment command in the Simulation
menu, or clicking the Basis icon found in the tool bar of both the Main
Basis icon and Column environments. For more information about the Basis
environment, refer to the UniSim Design Simulation Basis Guide.
Basis Menu
The Basis menu appears in the menu bar when you enter the Basis
environment. The options available in this menu appear in the following
figure.
Figure 5.1
5-2
Basis Environment 5-3
main flowsheet, or you can create an entirely new fluid package for
each sub-flowsheet.
Figure 5.2
Button Description
Enter Simulation Enables you to enter the simulation environment
Environment of the UniSim Design case. Refer to Chapter 7 -
Simulation Environment for more information.
5-3
5-4 Simulation Basis Manager
hypothetical components.
Figure 5.3
From this view, you can do the following to the component lists:
• View
• Add
• Delete
• Copy
• Import
• Export
• Refresh
• Reimport
5-4
Basis Environment 5-5
Selected Tab
This tab allows you to add, remove, sort, and view components in a
component list. This tab also provides a quick method for creating
hypothetical groups and hypothetical components.
Figure 5.4
5-5
5-6 Simulation Basis Manager
You can also double-click 6. Click the Add Pure button. The component is moved from
the component name to the list of available components to the list of selected
add it to the list of
components.
selected components.
5-6
Basis Environment 5-7
Removing Components
To remove a component from the component list:
1. Click the Selected tab of the Component List view.
2. Select the component you want to delete from the list of selected
components.
3. Click the Remove button.
Component Databases
The Component Databases tab lets you to manage component property
databases by adding, removing, resetting or ordering Component
Property Databases. The component property database order will
5-7
5-8 Simulation Basis Manager
Figure 5.5
Figure 5.6
5-8
Basis Environment 5-9
5-9
5-10 Simulation Basis Manager
Copying a component list creates a new component list with the exact
same properties as the original.
5-10
Basis Environment 5-11
The Fluid Pkgs tab of the Simulation Basis Manager allows you to create
and manipulate multiple fluid packages.
Figure 5.7
5-11
5-12 Simulation Basis Manager
Figure 5.8
The rest of the tabs in the Fluid Package Manager view are used to
modify the fluid package according to your requirements.
5-12
Basis Environment 5-13
UniSim Design does not prompt you to delete the last fluid
package from the Current Fluid Packages list.
Copying a fluid package creates a new fluid package with the exact
same properties as the original.
There must be at least one fluid package within a case before you can
assign it to a flowsheet. The Default Fluid Pkg drop-down list specifies
which fluid package to use as the default. The default fluid package is
automatically assigned to any new flowsheets that are created within
the case.
5-13
5-14 Simulation Basis Manager
When you click the Hypotheticals tab, the following view appears.
Figure 5.9
5-14
Basis Environment 5-15
5-15
5-16 Simulation Basis Manager
You can also access the Hypo Group view by selecting a hypothetical
component from the Hypothetical Quick Reference table and clicking
the View Hypo button. The information that appears corresponds to
the hypo group the hypothetical component is associated with.
5-16
Basis Environment 5-17
Figure 5.10
5-17
5-18 Simulation Basis Manager
Figure 5.11
Adding a Reaction
1. Click the Add Rxn button. The Reactions view appears.
2. Select the type of reaction that you want to use.
3. Click the Add Reaction button. The Reaction Property view
appears; in this view, you can define the following:
• Stoichiometry
• Conversion basis
• Equilibrium constant
• Other properties
4. Click the Stoichiometry tab.
5. Click the field that displays **Add Comp**. Select the
component you want to use for the reaction from the drop-
down list.
6. Repeat the previous step until all of the required components
are added to the table.
5-18
Basis Environment 5-19
Editing a Reaction
1. From the list of available reactions, select the reaction you want to
edit.
2. Click the View Rxn button. The Reaction Property view appears. In
this view, you can modify the following:
• Stoichiometry
• Conversion basis
• Equilibrium constant
• Other properties
Deleting a Reaction
1. From the list of available reactions, select the reaction you want to
delete.
2. Click the Delete Rxn button. UniSim Design prompts you to
confirm the deletion.
Copying a Reaction
1. From the list of available reactions, select the reaction you want to
copy.
2. Click the Copy Rxn button. The Copy Reactions view appears.
3. Select the reaction you want to copy from the list of reactions.
4. Use the radio buttons in the New Reaction Type group to select the
reaction type for the reaction copy.
5. Click the Copy Reaction button.
5-19
5-20 Simulation Basis Manager
4. For a Kinetic type reaction set, you may select a solver method.
Available reaction solver
methods for Kinetic type
From the Solver Method drop-down list, select the reaction solver
reaction set: method you want to use.
• Newton's Method 5. Add any of the available reactions to the set (as long as they are the
• Rate Iterated
same type). A single reaction can be added to as many sets as
• Rate Integrated
• Auto Select necessary.
Copying a reaction set creates a new reaction set with the exact same
properties as the original.
5-20
Basis Environment 5-21
Figure 5.12
Adding a Collection
1. In the Component Mapping group, select the fluid packages you
want to map.
2. After two distinct fluid packages are selected, click the Create
Collection button to add a new collection to the Collections table.
5-21
5-22 Simulation Basis Manager
5-22
Basis Environment 5-23
Simulation environment.
Figure 5.13
5-23
5-24 Simulation Basis Manager
Figure 5.14
3. In the Mixing Basis field, use the drop-down list i to select the
basis for mixing.
Refer to the UniSim 4. In the Mixing Rule field, use the drop-down list to specify the
Design Simulation
Basis Guide for more
mixing rule to use with for your user property.
information regarding the 5. Specify values for the mixing rule parameters F1 and F2 to
mixing rules.
accurately reflect your property formula. By default these
parameters have a value of 1.00.
6. Select a unit from the Unit Type drop-down list for the user property
value. If the unit type is Temperature, the internal unit used is
degrees Kelvin. (This is important when calculating the mixed value
for a stream.)
7. Specify a lower and upper limit for your user property in the Lower
Limit Value and Upper Limit Value cells.
5-24
Basis Environment 5-25
In this view, you can edit all of the parameters that define the user
property.
5-25
5-26 Component Property View
Refer to Chapter 1 - You can access both types of property views from the Component List
Components in the
view. You can also access the property view for hypothetical and solid
UniSim Design
Simulation Basis Guide hypothetical components from the Hypo Group view.
for more information.
Refer to the following figure to see how both the Traditional and Solid
pure component views appear.
Figure 5.16
Both of these views contain five tabs and the information is colour
coded according to the type of information being displayed. The
following table explains the color coding.
You can supply values for any of the component properties, or overwrite
5-26
Basis Environment 5-27
5-27
5-28 Component Property View
9. Enter the information from the following table so UniSim Design can
estimate the properties of your component.
10. After entering the values, click the Estimate Unknown Props
button to calculate the other properties.
5-28
Oil Characterization Environment 6-1
6 Oil Characterization
Environment
6.1 Introduction .................................................................................. 2
6-1
6-2 Introduction
6.1 Introduction
Refer to Chapter 3 - The Oil Characterization environment enables you to characterize
UniSim Design Oil petroleum fluids by creating and defining Assays and Blends. The oil
Manager in the UniSim
Design Simulation Basis characterization procedure generates petroleum hypocomponents for
Guide for additional use in your fluid package(s). The Oil Characterization environment is
information.
accessible only through the Simulation Basis environment.
6-2
Oil Characterization Environment 6-3
Refer to Chapter 14 - During the characterization of an oil or the calculation of boiling ranges
Utilities in the UniSim
Design Operations
for a fluid in the BP Curves utility, the initial boiling point (IBP) and final
Guide for more boiling point (FBP) cut point values can have a significant effect on the
information about the BP outer limits of the boiling range. During the laboratory analysis of a
Curves utility.
petroleum fluid’s boiling point regions, the most difficult to measure are
the end regions.
UniSim Design uses the defaults of 1% and 98% on liquid volume basis
for the IBP and FBP. With a 1% IBP value, UniSim Design uses the
boiling points of all components in the first volume percent of the given
fluid and calculates a weighted average boiling point that is used as the
IBP for any further analysis.
Figure 6.1
These IBP and FBP values can be modified in this view. In the IBP cut
point and FBP cut point fields, enter the values you want to use for
calculating your BP curve.
Field Description
IBP cut point Specify a value from 0% to 5%.
FBP cut point Specify a value from 90% to 100%.
Basis for IBP & Using the drop-down list, select the basis for your
FBP boiling points. You have three choices: Liquid
Volume%, Mass% and Mole%.
You can also specify the Interconversion method used for the ASTM
6-3
6-4 Oil Characterization Manager
For the ASTM D86 Interconversion Method, the following options are
available:
• API 1974
• API 1987
• API 1994
• Edmister-Okamoto 1959
For the ASTM D2887 Interconversion Method, the following options are
available:
• API 1987
• API 1994 Indirect
• API 1994 Direct
Figure 6.2
6-4
Oil Characterization Environment 6-5
• Molecular Weight
• Density
• Watson UOP K factor
The more information you supply, the better the results will be for your
oil characterization.
Click the Oil Input Preferences button to change the default oil
preferences. Refer to Section 12.8 - Oil Input Tab for more
information.
Adding an Assay
1. In the Oil Characterization view, click the Add button. The Assay
Property view appears.
2. Click the Input Data tab.
3. In the Assay Definition group, use the Bulk Properties drop-down
list to specify if you are supplying bulk properties. Select either Not
Used or Used.
4. From the Assay Data type drop-down list, select an assay data type
option.
5. Depending on the assay data type selected, supply information for
the following:
• Light Ends curve
Assay Data Type • Molecular Weight curve
options • Density curve
• Viscosity curves
• Distillation conditions
6. Each definition requires you to provide data in the Input Data
group. Click the required radio button and either enter the data
directly into the table or click the Edit Assay radio button.
7. Click the Light Ends Handling & Bulk Fitting Options button to
specify if a given curve contains light-ends contributions. Also,
specify whether the specified bulk properties contains light-ends
and partition a property curve, so that some sections can be
adjusted more than others.
6-5
6-6 Oil Characterization Manager
Editing an Assay
1. From the list of available assays, select the assay you want to edit.
2. Click the View button. The Assay Property view appears.
3. Click the Input Data tab, then modify the assay data.
4. Click the Calculation Defaults tab, then modify how the
hypocomponents are calculated.
Deleting an Assay
1. From the list of available assays, click the assay you want to delete.
2. Click the Delete button.
Cloning an Assay
1. From the list of available assays, select the assay you want to clone.
2. Click the Clone button. Cloning creates a new assay with the exact
same properties as the original.
Importing an Assay
1. Click the Import button. The Open File view appears.
2. Browse to the location of your assay file (*.oil).
3. Select the file you want to import and click Open. The new assay
appears in the list of available assays.
Exporting an Assay
1. Click the Export button. The Save File view appears.
2. Specify a name and location for your assay file.
3. Click Save.
6-6
Oil Characterization Environment 6-7
case.
Figure 6.3
Adding a Blend
1. Click the Add button. The Blend Property view appears.
2. Click the Data tab.
3. From the list of available assays, select the assay you want use for
the blend.
4. Click the Add button. The assay is moved from the list of available
assays to the Oil Flow Information table.
5. In the Oil Flow table, specify the flow units for the oil as either
Liquid Volume, Molar, or Mass.
6. Specify the flow rate of the oil.
6-7
6-8 Oil Characterization Manager
7. From the Cut Option Selection drop-down list, select one of the
following cut options:
• Auto Cut
• User Ranges
• User Points
The Bulk Data button is available when more than one assay is present
in the Oil Flow Information table. Clicking this button opens the Bulk
Values view, where you can provide the following bulk data for a blend:
• Molecular Weight
• Mass Density
• Watson (UOP) K
• Viscosities at two temperatures.
The Bulk Data feature is useful for supplying the bulk viscosities of the
blend if they are known.
Editing a Blend
1. From the list of available blends, select the blend you want to edit.
2. Click the View button. The Blend Property view appears.
3. Click the Data tab, then modify the data for the blend.
Deleting a Blend
1. From the list of available blends, click the blend you want to delete.
2. Click the Delete button.
Cloning a Blend
1. From the list of available blends, select the blend you want to clone.
2. Click the Clone button. Cloning a blend creates a new blend with
the exact same properties as the original.
6-8
Oil Characterization Environment 6-9
6-9
6-10 Oil Characterization Manager
7. Specify a lower and upper limit for your user property in the Lower
Limit Value and Upper Limit Value cells.
The choice of Mixing Basis applies only to the basis that is used for
calculating the property in a stream. You supply the property curve
information on the same basis as the Boiling Point Curve for your assay.
The values you provide for the light end components are used when
calculating the property value for each hypocomponent (removing that
portion of the property curve attributable to the light ends
components).
This is not the property curve information. These values determine how
the user property is calculated in all flowsheet streams. When the value
of a user property is requested for a stream, the composition in the
specified basis is used and the property value is calculated using your
mixing rule and parameters.
6-10
Oil Characterization Environment 6-11
Figure 6.5
You cannot change the correlations or ranges for the Default correlation
set. If you want to specify different correlations or temperature ranges,
create a new correlation set.
6-11
6-12 Oil Characterization Manager
11. In the Assay/Blend table, select the Use this Set checkbox to use
all the blends in this correlation set.
Removing a Split
1. Click the Remove Range button. The Remove view appears.
2. From the list of available splits, select the split you want to remove.
3. Click the Merge Temp Range button. When you merge a range,
you delete the correlations for the range with a Low End
Temperature that is equal to the range temperature you are
merging.
6-12
Oil Characterization Environment 6-13
Figure 6.6
6-13
6-14 Oil Characterization Manager
6-14
Simulation Environment 7-1
7 Simulation Environment
7.4 Optimizer......................................................................................12
7.6 Integrator.....................................................................................26
7.6.1 Integration Time Group............................................................27
7.6.2 Integration Step Size Group .....................................................28
7-1
7-2 Simulation Environment
7-2
7-3 Simulation Environment
7.24 PFD.............................................................................................77
7.24.1 Custom PFD Notebook ...........................................................78
7.24.2 Locating Objects in PFD..........................................................79
7.24.3 Flowsheet Analysis Using the PFD ............................................80
7.24.4 Access Column or Sub-Flowsheet PFDs.....................................82
7.24.5 Opening Controller Face Plates ................................................83
7.24.6 PFD Colour Schemes..............................................................84
7.24.7 Column Tray Section Display ...................................................87
7.24.8 PFD Tables ...........................................................................88
7.24.9 Multi-Pane PFDs ....................................................................92
7.24.10 Exchanging XML Files ...........................................................94
7-3
7-4 Simulation Environment
7-4
Simulation Environment 7-5
7.1 Introduction
Before entering the The Simulation environment contains the main flowsheet where you do
Simulation environment, the majority of your work (installing and defining streams, unit
you must have a fluid
package with selected operations, columns and sub-flowsheets).
components in the
component list and a This flowsheet serves as the base level or “main” flowsheet for the
property package.
whole simulation case. Any number of sub-flowsheets can be generated
If you do not have the
above requirements, from the main flowsheet, but there is only one main flowsheet
you cannot enter the environment. Each individual sub-flowsheet that is installed has its own
Simulation environment.
corresponding sub-flowsheet environment.
Figure 7.1
7-5
7-6 Main Properties
Figure 7.2
• To name the flowsheet, click the Name field and type a name for
the flowsheet. The default name is Case.
• To add a tag to the flowsheet, click the Tag field and type a tag
for your flowsheet. The default tag for the main flowsheet is
Main.
The Object Status group displays the current status messages for all
objects in the flowsheet according to the minimum severity. In the
Minimum Severity drop-down list, click one of the following options:
• OK. Sets the minimum severity at OK.
• Optional Info. Sets the minimum severity at Optional Info.
• Warning. Sets the minimum severity at Warning.
• Required Info. Sets the minimum severity at Required Info.
• **Error**. Sets the minimum severity at **Error**.
7-6
Simulation Environment 7-7
Figure 7.3
7-7
7-8 Main Properties
calculation.
Figure 7.4
There are two balance option available for you to select: Default
Property Balance and Petroleum Assay Balance.
For the Petroleum Assay Balance, you can click the View button to
modify the balance calculation method for the assay properties.
7-8
Simulation Environment 7-9
Figure 7.6
There are two groups in this view: Current default file name
creation attributes and Optional attributes. The attributes in the
former group are used to automatically create file names when the Use
revision control setting to create default file name for Save As
checkbox is checked in Revision Control page under Preferences/Files.
The attributes in the latter group are used to enter some optional
information for the case. The number of attributes, the name, data type
of the attributes and the way to formulate the default file names can all
be customized on the preferences page.
After you convert the case to a template, the Exported Connections and
Exported Variables tabs become available and the Convert to Template
7-9
7-10 UniSim Design XML
Figure 7.7
The UniSim Design XML view lists all the current specifications used to
build the simulation case. To access the UniSim Design XML view:
7-10
Simulation Environment 7-11
Figure 7.8
Options Description
Allows you to return to the main Web
page as shown in Figure 7.8.
7-11
7-12 Optimizer
Options Description
Input Summary Format If you want to view all the user
specifications in the UniSim Design
v2.4 case, check the Input Summary
Format check box. The functionality is
similar to the Print-Specsheet-
Flowsheet capability in UniSim Design
2.4.1, but reports more specifications
to produce a more accurate
representation of the case.
Scroll up and down for a list of all
flowsheet specification details. Click
the buttons in the list to jump to the
list displayed in groups.
There are a number of options associated with the UniSim Design XML
output. These control the amount of information saved to the XML file.
Refer to Chapter 13 -
Optimizer in the UniSim
Design Operations
7.4 Optimizer
Guide for more
information about the The Optimizer performs steady state optimization by finding values of
Optimizer. process variables that minimize or maximize a user-defined objective
function. It has its own spreadsheet with attached variables that define
7-12
Simulation Environment 7-13
In addition, you must set upper and lower bounds and constraints that
the process variables must satisfy. The optimization must begin in a
feasible region (i.e., all constraints must be satisfied at the initial
starting conditions).
You can access the Event To access the Event Scheduler view:
Scheduler using the CTRL
E hot key combination. 1. From the Simulation menu, select Event Scheduler.
2. The Event Scheduler view appears.
Figure 7.9
7-13
7-14 Event Scheduler
Figure 7.10
7-14
Simulation Environment 7-15
Figure 7.11
7-15
7-16 Event Scheduler
Figure 7.12
Figure 7.13
Defining an Event
1. From the Sequence view, click the View button. The Event view
7-16
Simulation Environment 7-17
Figure 7.14
The parameters on the 2. Click on the Condition tab. In the Wait For group, select the
view change depending on
the radio button you condition you are waiting for before running the event. Select from
select. Refer to Section the following options:
2.5.4 - Event View in the
UniSim Design Dynamic
• The Logic to Evaluate True
Modeling Guide for more • An Elapsed Amount of Time
information. • A Specific Simulation Time
• A Variable to Stabilize
Refer to Action List Tab 3. Click the Action List tab.
in Section 2.5.4 - Event
View from the UniSim 4. Close the Event and Sequence views to return to the Event
Design Dynamic Scheduler view.
Modeling Guide for
more information. 5. Click the Start button to start the integrator.
7-17
7-18 Event Scheduler
Figure 7.15
2. You can modify the sequence name and run mode. If you want to
modify the information for the defined event and the sequence
universal settings, click the View button. The Sequence view
appears.
Figure 7.16
Figure 7.17
7-18
Simulation Environment 7-19
3. From the Sequence view, select the event you want to edit.
Figure 7.18
Figure 7.19
The Delete button is only 2. Click the Delete button in the Schedule Options group.
active when a schedule
exists in the case.
You will not be prompted to confirm the deletion of the
schedule, even if you have sequences and events defined.
Ensure the correct schedule is selected before deleting.
Figure 7.20
The Delete button is only 2. Click the Delete button in the Schedule Sequences group.
active when a sequence
exists in the schedule.
You will not be prompted to confirm the deletion of the
sequence, even if you have events defined. Ensure you
selected the correct sequence before deleting.
7-19
7-20 Event Scheduler
Figure 7.21
Figure 7.22
The Delete button is only 3. From the Sequence view, select the event you want to delete, and
active when an event click the Delete button.
exists in the sequence.
Figure 7.23
The Copy button is only 2. Click the Copy button in the Schedule Options group to make a
active when a schedule copy of the selected schedule. The copied schedule is added to the
exists in the case.
tree browser.
7-20
Simulation Environment 7-21
Figure 7.24
Figure 7.25
Figure 7.26
The Copy button is only 3. From the Sequence view, select the event you want to copy, and
active when an event click the Copy button.
exists in the sequence.
7-21
7-22 Event Scheduler
appears.
Figure 7.27
Figure 7.28
7-22
Simulation Environment 7-23
Figure 7.29
3. In the File name field, specify the name for the schedule file
4. From the Save in drop-down list, select the location to save the
schedule file and then click the Save button.
7-23
7-24 Event Scheduler
Figure 7.30
3. In the File name field, specify the name for the schedule file
4. From the Save in drop-down list, select the location to save the
sequence file and then click the Save button.
2. From the Move Object list, select the schedule you want to move.
To move a schedule to the 3. From the Before list, select the schedule you want to insert the
end of the list, select the
schedule you are moving before.
blank space under the
last schedule in the 4. Click the Move button to complete the move.
Before list.
5. Close the Reorder Schedules view when you have completed sorting
the schedules.
7-24
Simulation Environment 7-25
Figure 7.32
The Sort button is only active when at least two sequences exist in
the schedule.
2. From the Move Object list, select the sequence you want to move.
To move a sequence to 3. From the Before list, select the sequence you want to insert the
the end of the list, select
sequence you are moving before.
the blank space under the
last sequence in the 4. Click the Move button to complete the move.
Before list.
5. Close the Reorder Sequences view when you have completed
sorting the sequences.
Figure 7.33
Figure 7.34
7-25
7-26 Integrator
Figure 7.35
The Sort button is only active when at least two events exist in the
sequence.
4. From the Move Object list, select the event you want to move.
To move an event to the 5. From the Before list, select the event you want to insert the event
end of the list, select the you are moving before.
blank space under the
last event in the Before 6. Click the Move button to complete the move.
list.
7. Close the Reorder Events view when you have completed sorting the
events.
7.6 Integrator
Refer to Section 2.4 - You can use the Integrator when running a case in Dynamic mode.
Integrator in the
UniSim Design
There are two ways you can access the Integrator:
Dynamic Modeling • From the Simulation menu, select Integrator.
Guide for additional
information.
7-26
Simulation Environment 7-27
• Press CTRL I.
Figure 7.36
Parameter Description
Units Time units for the Current Time, End Time, and Display
Interval fields.
Current Time Displays the time that the Integrator is running. When
the Integrator is Reset, this value returns to zero.
When the Integrator is not running, you can specify the
value for the current time.
Acceleration Actual Step Size = Acceleration * Specified Step Size.
This always applies.
End Time Allows you to specify the time at which the Integrator
stops.
Real Time Activates the Desired Real Time Factor field.
Display Interval Visible only in Automatic Integration Control, this field
contains the time interval at which UniSim Design
updates the views. The frequency of updating has a
significant impact on the speed at which your
simulation runs. The Display Interval has no effect on
the calculation frequency.
Real time factor Visible only in Automatic Integration Control, this field
is calculated by dividing a time interval for a case by
the actual time required by UniSim Design to simulate
that time interval. The Real time factor depends on the
computer’s processing speed and the complexity of the
simulation case.
7-27
7-28 Adjust-Recycle Manager
Parameter Description
Desired Real Appears only when you check the Real time checkbox.
Time Factor Allows you to set the speed at which the integrator
operates. The default setting of 1 indicates that the
integrator is running at actual time, which appears on
the status bar of the UniSim Design Desktop. You have
the option to increase (>1) or decrease (<1) the speed
of the integration. The Desired Real Time Factor has no
effect on the calculation and results.
Number of time Number of time steps at which UniSim Design
steps to execute: executes. This field appears only when you click the
Manual radio button in the Integration Control group.
Parameter Description
Units Allows you to select the units for the integration step size.
Step Size Allows you to specify the integration step size, which by
default is 0.5 seconds. While the integrator is running, this
value cannot be changed.
Configuration Tab
The Configuration tab allows the user to:
• add new simultaneous groups
• view selected simultaneous group
• display information regarding simultaneous groups,
• displays independent adjusts and independent recycles within
the case, and
7-28
Simulation Environment 7-29
Figure 7.37
To add new simultaneous groups, just click button Add Group, a new
simultaneous group will be created and be added to the list of groups
available in the case.
Parameters Tab
The Parameters tab allows the user to modify calculation mode, math
solver, calculation level and maximum number of iterations of each
simultaneous group. This tab also allows the user to ignore individual
7-29
7-30 Adjust-Recycle Manager
simultaneous group.
Figure 7.38
The SARG requires at least two active (in other words, not
ignored) adjusts or at least one active recycles to solve. If
you are using only one adjust, you cannot use the SARG.
7-30
Simulation Environment 7-31
and Delete buttons. The Ignored checkbox when activated switches the
SARG off, as well as all of adjusts and recycles in the group.
To add or remove adjusts and recycles from SARG, click button Add/
Remove Adjusts/Recycles, and the following view will pop up.
Figure 7.39
7-31
7-32 Adjust-Recycle Manager
Figure 7.40
After adjusts and/or recycles are added to the group, page Empty
Group will be removed. New page Adjusts if there is at least one adjust
in the group, and new page Recycles if there is at least one recycle in
the group, will be added.
Configuration Tab
The Configuration tab displays information regarding adjusts and
recycles in the group on pages Adjusts and Recycles. You can view the
individual adjusts or recycles by double-clicking on their names. You
can modify the target value or matching value object, value, and offset
of the adjusts, and specified conditions and compositions of inlet and
outlet streams of the recycles. This tab also allows you to ignore
7-32
Simulation Environment 7-33
Figure 7.41
Parameters Tab
The Parameters tab allows you to modify the method, tolerance, step
size, maximum iterations, max, and min values of each Adjust, to
modify acceleration method, maximum iterations, flash type,
acceleration frequency, Q maximum, Q minimum and acceleration
delay of each recycle. This tab also allows you to specify some of the
calculation parameters of the group as described in the table below.
Parameter Description
Calc Mode Allows you to select one of two simultaneous
calculation modes:
Interactive
Adjusts/Recycles are solved simultaneously by solving
a set of nonlinear equations using numerical methods
such as Lmder and Broyden.
Non-Interactive
Adjusts/Recycles are solved at the same time using
their own methods (e.g., Secant, Wegstein), and new
calculated values are pushed back by the group to
flowsheet simultaneously
Calc Level Allows the user to control the order in which groups are
calculated by flowsheet solvers within the case. The
lower the calc level of a group, the earlier the group is
solved.
7-33
7-34 Adjust-Recycle Manager
Parameter Description
Method Allows to select one of two math solvers when
Interactive mode is applied:
Broyden
Use a unit matrix as initial Jacobian matrix, and apply
Sherman-Morrison formula to update inverse of
Jacobian matrix.
Lmder
It is a modification of the Levenberg-Marquardt
algorithm, and needs derivatives calculation by
perturbation at every iteration step. Lmder is not
applied if the group includes recycles.
Max # of Iterations Maximum number of iterations for the group.
Type of Jacobian Allows you to select one of three Jacobian calculations:
Calculations ResetJac
Jacobian is fully calculated and values reset to initial
values after each jacobian calculation step. Most time
consuming but most accurate.
Continuous
Values are not recalculated between Jacobian
calculation steps. Quickest, but allows for "drift" in the
Jacobian therefore not as accurate.
Hybrid
Hybrid of the above two methods.
Type of convergence Allows you to select one of three convergence types:
Specified
SARG is converged when all adjusts and recycles
arewithin the specified tolerances.
Norm
SARG is converged when the norm of the residuals
(sums of squares) is less then a user specified value.
Either
SARG is converged with which ever of the above types
occurs first.
Max Step Fraction The number x step size is the maximum that the solver
is allowed to move during a solve step.
Perturbation Factor The number x range (Max - Min) or the number x 100
x step size (if no valid range). This is the maximum
that the solver is allowed to move during a Jacobian
step when Lmder is applied.
7-34
Simulation Environment 7-35
Figure 7.42
Results Tab
The Results tab displays the adjusted value, target value, residual
value, iteration number and status of adjusts, as well as iteration
number and status of recycles when solving of the group is finished.
Figure 7.43
History Tab
The History tab contains the following three pages to monitor history of
adjust and recycles for each iteration of the group.
7-35
7-36 Adjust-Recycle Manager
• SetUp
• Table
• Plot
The SetUp page allows to specify which adjusts, recycles and variables
you want to view or monitor. To view an adjust or a recycle, activate
the Display checkbox beside the adjust or recycle name. Adjusts or
recycles are always viewed in order from left to right across the page.
For example, if you are viewing Adjust 2 and add Adjust 1 to the view,
Adjust 1 becomes the first set of numbers, and Adjust 2 is shifted to the
right. To view a variable, activate the Display checkbox corresponding
to the variable of interest.
Figure 7.44
The Table page and Plot page display the convergence information of
the selected variables corresponding to the selected adjusts and
recycles as the calculations are performed in tabular and graphical
format respectively.
The History tab only displays the values from a solve step.
The values calculated during a Jacobian step can be seen on
the Monitor tabs of adjusts and recycles for the individual
results.
7-36
Simulation Environment 7-37
Figure 7.45
Figure 7.46
Note that the Initialize From operation is used to initialize the entire
flowsheet. If you want to only initialize a portion of the flowsheet, refer
to Section 2.7.2 - Initialize From in the Dynamic Modeling
Reference Guide.
7-37
7-38 Initialize From
7.8.1 Terminology
A typical project may have to maintain multiple cases, where each case
represents different operating conditions. The underlying flow scheme
and equipment details are the same for each case, but the operating
conditions are different. For example, a project might need a case for:
steady-state, shutdown, summer operation, maximum throughput,
maximum diesel production, etc.
7-38
Simulation Environment 7-39
When managing dynamic cases, a typical use case would be for the
user to Initialize From a source case to a target case, integrate until
operation is lined out, and then Save As over the source case. The
result will be that the dynamic data (operating conditions) will be
different between the two cases, but the static data (equipment sizes)
will be the same.
Note that if sub-flowsheets are used, the name of the unit operation
includes the tag of the sub-flowsheet. Therefore, if the tag of a sub-
flowsheet has been changed between the source and target case, then
none of the unit operations in that sub-flowsheet will be initialized.
It is recommended that you integrate both the source and target cases
and save them before starting the Initialize From operation. Firstly,
many internal variables are calculated just after the green light is
turned on. Secondly, if you change an equipment size, some internal
variables are reset at the time of the change. They are not recalculated
until the green light is turned on. Therefore, always integrate the case
after making a change. If you save an integrated case, all of the
internal variables will be saved with the case. However, if you Initialize
From using an unintegrated case, you will get many uninformative
warnings and errors.
7-39
7-40 Initialize From
the view: blue is specified, red is default, and black is calculated. The
Initialize From operation will not copy the variable status from the
source to the target. Consequently, a variable that was red in the
source case might be blue in the target case.
If a static variable (valve Cv, heat exchanger size, pump curve, etc.) is
changed, it is highly likely that there will be a bump after Initialize From
(i.e. the case will not operate at steady-state). A warning message is
issued for some of these changes, but not all.
During an Initialize From operation, the source case is loaded just like it
would be if you opened the case, only it is loaded into memory without
displaying the user interface. Consequently, it is recommended that
your preferences are set so that the checkbox for "Confirm Before
Adding if Active Correlations are Present" is not ticked (on the
Simulations tab, Options page). Otherwise, you will have to confirm
every time the Initialize From operation is used.
Streams
Material Streams
For each individual stream in the flowsheet:
• "if the pressure specification is active, you can choose to make it
static or dynamic using the check box on the Dynamics tab,
Specs page
• "if the flow specification is active, you can choose to make it
static or dynamic using the check box on the Dynamics tab,
Specs page
7-40
Simulation Environment 7-41
• "if the stream has a feeder block, you can choose to make the
conditions (temperature and composition) static or dynamic
using the check box on the Feeder block view (called up from
the message box on the Dynamics tab, Specs page),
Composition tab.
• "if the stream has a product block, you can choose to make the
reverse flow conditions (temperature and composition) static or
dynamic using the check box on the Product block view (called
up from the message box on the Dynamics tab, Specs page),
Composition tab.
Energy Streams
The heat flow is a dynamic variable.
Cooler/Heater
For all heater/coolers the sizing and configuration variables are static.
For each individual heater/cooler, the temperature, duty, or duty fluid
specifications can be made static or dynamic using the check box on
the Dynamics tab, Specs page.
Heat Exchanger
The sizing and configuration variables are static. UA and UA reference
flow are static.
7-41
7-42 Initialize From
Fired Heater
The sizing and configuration variables are static.
LNG
The sizing and configuration variables are static. The U calculation
method is static.
Piping Equipment
Mixer
The pressure specification is static. The Product Molar Flow Factor is
dynamic.
Pipe Segment
The sizing and configuration variables are static. If the order of the
fittings is changed, initialization will proceed, but there is likely to be a
bump to the plant operation.
Tee
If splits are used as flow specifications, they are dynamic.
7-42
Simulation Environment 7-43
Valve
The sizing and configuration variables are static. The valve actuator
position is dynamic. Instructor failures of failed actuator and worn trim
are dynamic.
Limit switches are matched between the source and target cases based
on name (so the order does not matter). If a limit switch was included
in the source case but not the target, or its name was changed, a
warning message is displayed.
Relief Valve
The sizing and configuration variables are static. Valve failure is
dynamic.
Rotating Equipment
Centrifugal Compressor or Expander
The sizing and configuration variables are static. The specification
types (head or speed, etc.) are static, but the specification values are
dynamic. Use of electric motor is static, but a warning message is
displayed if it differs between the source and target case.
Reciprocating Compressor
The sizing and configuration variables are static. The specification
types (head or speed, etc.) are static, but the specification values are
dynamic. Variable clearance volumes are dynamic. Enabling variable
clearance volumes, and use of electric motor are static, but a warning
message is displayed if they differ between the source and target case.
Centrifugal Pump
The sizing and configuration variables are static. The specification
types (head or speed, etc.) are static, but the specification values are
dynamic. Use of electric motor is static, but a warning message is
displayed if they differ between the source and target case.
Malfunction state and information are dynamic.
7-43
7-44 Initialize From
Separation Operations
Separator, 3-Phase Separator, & Tank
The sizing and configuration variables are static.
Level taps are matched between the source and target cases based on
name (so the order does not matter). If a level tap was included in the
source case but not the target, or its name was changed, a warning
message is displayed.
If the volume is changed between the source and target, the holdup
mols are automatically adjusted. This will likely prevent a bump if there
is only vapour holdup. If there is liquid holdup, it is unlikely that the
level controller will be at steady-state.
Shortcut Column
Not supported for USD dynamics - only available in steady-state.
Component Splitter
For all component splitters, the temperature and pressure specifications
are static. For each individual component splitter, the component or TBP
split specifications can be made static or dynamic using the check box
on the Design tab, Splits or TBP Cut Point page.
Column
The sizing and configuration variables (including tray efficiencies and
pressure drop factors) are static.
7-44
Simulation Environment 7-45
Reactors
Conversion Reactor, Equilibrium Reactor, CSTR
The reaction sets, reactions, and kinetic constants are all static. The
sizing and configuration variables are static.
If the volume is changed between the source and target, the holdup
mols are automatically adjusted. However, this is likely to affect the
reaction rates, so a bump to operation is expected.
Gibbs Reactor
The Gibbs Reactor is not recommended for use in dynamics.
If the volume is changed between the source and target, the holdup
mols are automatically adjusted. However, this is likely to affect the
reaction rates, so a bump to operation is expected.
7-45
7-46 Initialize From
Conveyor
The sizing and configuration variables (including belt/bucket,
acceleration speed, length, capacity, etc.) are static. The specified
speed is dynamic.
Boolean Operations
On/Off Delay Gate
Delay Time is static.
If a source case was saved where the input had changed, but the
output had not yet changed because the delay time had not been
reached, the output will change based on the cumulative integration
time since the input was changed. For example, if the delay time is 10
minutes, and a case is saved 5 minutes after the input changes, the
output will change 5 minutes after the Initialize From operation.
Inputs and outputs are matched between the source and target cases
based on name. If a cause or effect was included in the source case but
not the target, or its name was changed, a warning message is
displayed.
7-46
Simulation Environment 7-47
Control Operations
Split Range Controller, Ratio Controller,
PID Controller
The sizing and configuration variables (including controller action,
tuning constants, and pv/sp/op range) are static. Mode, set point, and
output are dynamic. Execution (internal or external) is static, but a
warning message is displayed if they differ between the source and
target case.
For Set Point Ramping, Ramp Duration is static, but Ramp Enable/
Disable and Target SP are dynamic. If a source case was saved where
the ramp had not completed, the ramp will continue at the same slope
after an Initialize From operation.
Control Valve
The Valve Sizing data (flow type, min/max flow) are all static.
Control OP Port
The Control OP Port data (min/max value) are all static.
Selector Block
The sizing and configuration variables (including mode, and gain/bias)
are static.
7-47
7-48 Initialize From
Transfer Function
The sizing and configuration variables (including active transfer
functions) are static.
Digital Point
The sizing and configuration variables (including threshold and dead
band) are static. Mode and output are dynamic.
Spreadsheet
For all spreadsheets, the formulae are static. For each individual
spreadsheet, each user entered constant can be made static or dynamic
using the check box on the Initialize From tab.
Spreadsheets have special handling for Initialize From because they can
operate on values imported from other unit operations and can export
calculated values to other unit operations. Consequently, all
spreadsheets are calculated after the Initialize From operation has
updated the dynamic data for all other unit operations. This eliminates
possible calculation order dependencies once the integrator is started.
Integrator
Integration step size, and options for static head, heat loss, rigorous
non-equilibrium mixed properties, liquid valve choking, and reduced
liquid efficiency for low vapour holdups are static, but a warning
message is displayed if they differ between the source and target case.
Default ambient temperature and the Current Time are dynamic.
Strip Charts
The Sample Interval is static. The historical data is dynamic. The
Logger Size (number of samples) is taken as the maximum between the
source and target case. If the Logger Size or Sample Interval is
different between the source and target cases, all past data will be
based on the Logger Size and Sample Interval of the source case; all
future data will be based on the Sample Interval of the target case.
Strip Charts and Individual Strip Chart Data Selections are matched
between the source and target cases based on name. If a Strip Chart
or Data Selection was included in the source case but not the target, or
7-48
Simulation Environment 7-49
Extensions
Extension variables are defined in the edf. All variables with the
attribute TriggerSolve are dynamic; variables with NoTriggerSolve are
static.
Steady-State Operations
The following steady-state operations are not supported by Initialize
From for dynamic cases:
• Adjust
• Set
• Recycle
• Balance
Figure 7.47
7-49
7-50 Dynamic/Steady State Modes
7-50
Simulation Environment 7-51
Your steady state simulation remains unsolved and may require some
adjusting before it fully solves.
7-51
7-52 Equation Summary
Refer to Section 2.3 - To open the view manually, select the Equation Summary View
Equation Summary
View in the UniSim command from the Simulation menu.
Design Dynamic
Modeling Guide for The Equation Summary provides a list of the equations and pressure
additional information.
flow specifications that are currently used in the dynamic simulation. It
also enables you to analyse the simulation to determine if any
equations/specifications are required or redundant.
7-52
Simulation Environment 7-53
For example, you can attach a User Variable to a stream to ensure the
flow rate is specified lower than a certain value, or display a view when
a vessel temperature exceeds a certain value.
User Variables let you attach code (written in a Visual Basic compatible
macro language) to simulation objects and specify when the code is to
execute. This can add extra functionality to any simulation.
Figure 7.48
The User Variables listed in this view apply to the current simulation
case.
Figure 7.49
The User Variables listed in this view apply only to the flowsheet.
7-53
7-54 Importing & Exporting User
7-54
Simulation Environment 7-55
Figure 7.50
7-55
7-56 Object Navigator
The Object Navigator enables you to locate and view any flowsheet
element within any flowsheet, or enter the build environment for a
flowsheet.
Figure 7.51
Opens the
property view of
Enter the Locates and opens the the selected
environment of the property view of a object.
selected flowsheet by named object.
clicking this button.
7-56
Simulation Environment 7-57
Use this procedure to locate an object and open that object’s property
view.
1. From the list of available flowsheets, select the required flowsheet.
2. In the Flowsheet Objects list, select the object you want to view.
3. Click the View button. The Object Navigator is closed and the
property view for the selected object appears.
7-57
7-58 Simulation Navigator
Use any one of the following methods to access a property view for a
specific flowsheet object. For these methods you need to first select the
appropriate flowsheet from the Flowsheets group.
• Select the required object in the Flowsheet Objects group,
then click the View button.
• Double-click the object in the Flowsheet Objects group.
• Click the Find button, then type the name of the object you
want to locate.
You can start or end the search string with an asterisk (*),
which acts as a wildcard character. This lets you find
multiple objects with one search. For example, searching for
VLV* will open the property view for all objects with VLV at
the beginning of their name.
When the required object is located, the Object Navigator closes and
the property view for that stream or operation is opened.
Figure 7.52
Locates the
selected
object on the
PFD.
7-58
Simulation Environment 7-59
In the Filter Types group, use the radio buttons to filter the flowsheet
objects:
• Object Filter. Organizes the attachment tree by object type.
This allows you to access all objects of a given type (i.e., heat
exchangers or vessels) regardless of the flowsheet they exist in.
• Status Filter. View all of the objects by status type: OK, Not
Solved, Warning, Under Specified and Error.
• Flowsheet Filter. All the objects within a column or sub-
flowsheet appear under their respective column/sub-flowsheet
title. The objects in the main flowsheet are listed in alphabetical
order.
For certain objects you may need to enlarge the view horizontally to
see more of the property view. To resize the view, place the mouse
pointer at the view edge, then click and drag the mouse button to
resize the view.
7-59
7-60 Notes Manager
Figure 7.53
To access the Notes Manager, select the Notes Manager command from
the Flowsheet menu, or press the CTRL G hot key.
View/Add/Edit Notes
To view, add, or edit notes for an object, select the object in the List of
Objects group. Existing object notes appear in the Note group.
• To add a note, type the text in the Note group. A time and date
stamp appears automatically.
• To format note text, use the text tools in the Note group tool bar.
You can also insert graphics and other objects.
• Click the Clear button to delete the entire note for the selected
object. Click the View button to open the property view for the
selected object.
7-60
Simulation Environment 7-61
Search Notes
The Notes Manager allows you to search notes in three ways:
• Check the View Objects with Notes Only checkbox (in the
List of Objects group) to filter the list to show only objects that
have notes.
• Check the Search notes containing the string checkbox,
then type a search string. Only objects with notes containing
that string appear in the object list.
You can change the search option to be case sensitive by
checking the Search is Case Sensitive checkbox.
Figure 7.54
7-61
7-62 Optimization Objects
Figure 7.55
You must select an object 3. Select the object and variable you want to optimize.
before the variable list is
populated. 4. Click OK. The Optimization Object view appears.
5. Specify the parameters defining your optimization object.
7-62
Simulation Environment 7-63
7-63
7-64 Workbook
For information The Fluid Packages view provides you with a summary of all the fluid
regarding the Dynamic packages in the simulation and lets you view the property package and
Flash options, refer to
Section 2.4.4 - components contained in each flowsheet. Since each flowsheet can
Stability Test Tab of have a different fluid and property package, each can also have a
the UniSim Design
Simulation Basis
different flash option.
Guide.
Figure 7.57
Displays the
components in
the selected
flowsheet.
If flowsheets use the same fluid package, they must also use
the same flash options.
7.23 Workbook
The most concise way to display process information is in a tabular
format. The Workbook is designed for this purpose and extends the
Most of the object concept to the entire simulation. In addition to displaying stream and
properties in UniSim general unit operation information, the Workbook is also configured to
Design are calculated
display information about any object type (streams, pipes, controllers,
based on information
entered by the user, so if separators, etc.).
there are large quantities
of data in your workbook, The Workbook becomes a collection of tabs. For example, if you add a
then the performance of
your simulation may be tab for Separators, then every separator in the flowsheets appear on
affected. the tab with their current value of process variables displayed. To
For example, extensive provide the greatest degree of flexibility, modify the variable set to
calculations such as Heat
of Comb will take longer show the variables of interest, or install multiple tabs for the same
to calculate than simpler object type with varying levels of detail.
calculations.
Not only is the Workbook useful for process analysis, but it was also
developed as an integral element in the building and manipulation of
7-64
Simulation Environment 7-65
The first time you access the Workbook, it opens to the Material
Streams tab, displaying the basic stream information for all streams
currently installed in the main flowsheet. The default Workbook also
7-65
7-66 Workbook
Figure 7.58
In the case of a stream, this field indicates which unit Indicates where
operations the active stream is attached to you can type in
(FeederBlock and ProductBlock indicates that no unit a name to
operation is connected to that side of the stream). In create a new
the case of a unit operation, this field indicates which Stream.
streams are attached to the active unit operation.
When the Workbook is active, the Workbook menu appears in the menu
bar. The commands associated with this menu are described below:
Command Description
Setup Opens the Setup view allowing you to manage the tabs in
your Workbook. Refer to Section 7.23.5 - Managing
Workbook Tabs for more information.
Export Accesses a submenu containing the Workbook and Pages
commands. These commands let you save a Workbook or
page setup. Refer to Section 7.23.7 - Exporting/
Importing Workbook Tabs for more information.
Import Accesses a submenu containing the Workbook and Pages
commands. These commands replace the current
Workbook or page setup with a saved setup. Refer to
Section 7.23.7 - Exporting/Importing Workbook Tabs
for more information.
Page Scope Accesses a submenu containing the Show/Hide Sub-
Flowsheet Objects commands. This toggle function either
shows or hides sub-flowsheet objects on the active
Workbook tab. Refer to the Viewing Sub-Flowsheet
Objects section for more information.
Order/Hide/ Opens the Order/Hide/Reveal Objects view allowing you to
Reveal sort the Workbook objects either alphabetically or
Objects manually, hide Workbook objects and reveal Workbook
objects. Refer to Section 7.23.6 - Sorting Information
for more information.
7-66
Simulation Environment 7-67
Operations
Use this procedure to install a new unit operation through the
Workbook:
1. Click the Unit Ops tab.
If the unit operation 2. Click the Add UnitOp button. The UnitOps view appears.
category is known,
selecting the 3. From the list of available unit operations, click the operation you
corresponding radio want to install.
button in the UnitOps
view filters the list of 4. Click Add. The operation is added to the Workbook and the
available unit operations. operation’s property view automatically opens.
For example, click the
Heat Transfer Equipment
radio button to display
only unit operations 7.23.3 Deleting Streams or
Operations
associated with heat
transfer.
Streams
To delete a stream from the Workbook:
To delete objects
without confirmation, • Right-click any cell associated with the stream you want to
clear the Confirm Delete delete. From the Object Inspect menu, select the Delete
checkbox on the command.
Simulation page of the • Click the Name cell associated with the stream you want to
Session Preferences delete and press the DELETE key on the keyboard.
view. Access the
Session Preferences
view by selecting the
A confirmation message appears to ensure the deletion is intended.
Preferences command
from the Tools menu.
7-67
7-68 Workbook
Operations
To delete a unit operation from the Workbook:
• Click any cell associated with the unit operation you want to
delete and click the Delete UnitOp button.
• Click the name cell associated with the unit operation you want
to delete and press the DELETE key on the keyboard.
You can access the property view for a material stream directly from
the Material Streams and Compositions tab. From this location, you can
also access the Input Composition view, as well as open the property
view for any operation attached to a stream.
Figure 7.59
7-68
Simulation Environment 7-69
Figure 7.60
Right-click any
Double-click the cell and select
unit operation the View
name to access its command to
property view. display the
stream property
view.
Access the energy stream property views from the Energy Streams tab.
The property views for unit operations that the energy streams are
attached to can also be accessed through this tab.
Figure 7.61
Right-click a cell
and select the
View command
to access a
property view.
Double-click on
the unit
operation name
to access its
property view.
The same capabilities are found on the Unit Ops tab. You can access
each operation’s property view by double-clicking in the appropriate
row. The property view of any stream that is attached to a unit
7-69
7-70 Workbook
Figure 7.62
Double-click a name to
access the stream
property view.
The command to display The functionality of the Include Sub-Flowsheets button is not global to
sub-flowsheet objects the entire Workbook. With each tab, you can include the sub-flowsheet
must be repeated on each
individual Workbook tab. objects.
Figure 7.63
7-70
Simulation Environment 7-71
This button hides all object data except the object name. Place the
cursor on the name of the chosen object and click the Show Name Only
button again. All object data re-appears and the cursor remains on the
selected object.
The functionality of the Show Name Only button is not global to the
entire Workbook. With each Workbook tab, you can show either just the
object name or all object data.
Figure 7.64
This is the
newly typed
name.
The name of
the Object Type
appears.
Format cells
indicate the
precision of the
variable.
7-71
7-72 Workbook
Figure 7.65
7-72
Simulation Environment 7-73
3. From the list of available objects, select the new object type, then
click OK.
4. Click the Use Set button to display the Use Set view. This view lets
you select a pre-defined variable set.
Figure 7.66
5. From the list of available variable sets, select the variable set being
used, then click OK. The Use Set view closes and the variables
appear in the Variables table.
6. To add a variable to the variable set, click the Add button in the
Variables group. The Select Variables view appears.
7. Select the variable and any variable specifics you want to add to the
variable set, then click OK.
Figure 7.67
From this list select the variable to add to the Workbook tab.
You can change the variable label by typing the new name in the
Description field. This is useful for changing long default names.
Refer to Section 10.5 - 8. To change the format of the variables value, click the Format
Format Editor for details
button The Real Format Editor appears. Specify the number of
on the Real Format Editor.
significant digits, a fixed number of decimal places or have the
variable display in exponential form.
7-73
7-74 Workbook
9. Make any necessary changes and click OK, or click the Use Default
button for application defaults.
Figure 7.68
Deleting Variables
1. From the list of available variables, click the variable you want to
delete. Select more than one variable at a time by holding down the
CTRL key, and clicking each variable.
2. Click the Delete button.
Sorting Objects
If the Workbook tab is To sort the objects of a tab:
sorted alphabetically,
objects continue to be 1. Open the Order/Hide/Reveal Objects view using one of the following
sorted automatically methods:
following any ensuing
name changes.
• Select the Order/Hide/Reveal Objects command From the
Workbook Menu.
• Use the Order/Hide/Reveal command in the Object Inspect
menu that appears when you right-click any Workbook tabs or
cells.
7-74
Simulation Environment 7-75
• Click the Order button in the Object group of the Setup view.
Figure 7.69
2. Use the radio buttons in the Sorting group to specify the sorting
method being used.
• Manual. From the list of revealed objects, select an object (or
multiple objects) using the up and down arrows to manually
move the selected object(s) through the list.
• Alphabetical Ascending. Sorts the names of the objects in
Up and down arrows
alphabetically ascending order. Objects with numerical names
are listed first.
• Alphabetical Descending. Sorts the names of the objects in
alphabetically descending order. Objects with numerical names
are listed last.
7-75
7-76 Workbook
Sorting Variables
1. Select Setup from the Workbook menu. The Setup view appears.
2. From the list of available Workbook tabs, select the Workbook tab
with the variables you want to sort.
If variables were added to
the Workbook tab as a 3. Click the Order button in the Variables group. The Move Variables
group (i.e., component view appears as shown on the left.
molar flows), then you
cannot move these 4. From the list of available variables, select the variable(s) you want
individually, but only as a to move. Select more than one at a time by holding down the CTRL
group. key and clicking each variable being selected.
5. Click the Up Arrow or Down Arrow icon.
7.23.7 Exporting/Importing
Workbook Tabs
Move Variables view
UniSim Design allows you to import and export Workbook information.
This same Workbook setup can then be used in other simulation cases.
Exporting a Workbook
1. From the Workbook-Export sub-menu, select the Workbook
command. The Save File view appears.
The format for the *.wrk 2. Specify a name and location for your Workbook file.
files does not change for
an exported Workbook 3. Click Save.
or individual exported
pages. This means
existing *.wrk files are
completely backwards Exporting a Workbook Tab
and forwards
compatible, as well as 1. From the Workbook-Export sub-menu, select the Pages
interchangeable for command. The Export Pages view appears.
Workbook or Workbook
page importing.
Figure 7.70
7-76
Simulation Environment 7-77
Importing a Workbook
1. From the Workbook-Import sub-menu, select the Workbook
command. The Open File view appears.
2. Browse to the location of your Workbook file (*.wrk).
3. Select the file you want to import and click Open.
7.24 PFD
The Process Flow Diagram (PFD) is the default view when you first
enter the Simulation environment. The PFD provides the best
representation of the flowsheet as a whole. Using the PFD gives you
Any PFD in the simulation
can be accessed from any immediate reference to the progress of the simulation currently being
location in the Simulation built, such as what streams and operations are installed, flowsheet
environment by clicking connectivity, and the status of objects.
the PFD icon or using the
CTRL P hot key.
The PFD is the default view that appears when you enter the
Simulation environment. You can change the Simulation
environment default view in your Session Preferences. Refer
to Section 12.2.3 - Desktop Page for additional information.
7-77
7-78 PFD
There are several ways you can track a specific variable throughout the
PFD, including replacing stream name labels or designating a colour to
represent a variable range.
Every flowsheet (or sub-flowsheet) has its own PFD, so you can access
any flowsheet’s PFD from any location. You can also use the multi-
flowsheeting architecture to provide clear and concise representations
of complex simulations. Instant access to the sub-flowsheet PFD is
available through Object Inspect menu of the main flowsheet’s PFD.
Notebooks are also useful when you want each PFD to have a distinct
colour scheme for an identical object’s setup.
2. In the New PFD Name field, type the name of your PFD.
3. Click the OK button.
Cloning a PFD produces an 4. If you want your new PFD to be a clone of an existing PFD, check
exact duplicate of the
the Clone from Existing PFD checkbox. From the list of available
selected PFD.
PFDs, select the PFD you want to clone and click OK. If you just
want to create a new blank PFD, ensure the Clone from Existing
PFD checkbox is unchecked.
7-78
Simulation Environment 7-79
A new tab appears with the specified name and the new PFD becomes
the active view.
Deleting a PFD
You cannot recover a Unlike the deletion of a single object, deleting a PFD removes it from
deleted PFD. the Notebook, but does not remove the associated objects from the
simulation case.
1. Click the PFD tab that you want to delete.
2. Do one of the following:
• Select Delete this PFD from the PFD menu.
• Right-click the PFD tab, and select Delete this PFD.
Renaming a PFD
If the name of the PFD is not changed when it is added, or if the name
of the original PFD is not suitable, it can be changed.
1. Make the PFD active by selecting its tab.
2. Select Rename this PFD from the PFD menu. The PFD Name view
appears.
3. In the Current PFD Name field, type the new name of the PFD.
4. Click the Close icon to return to the PFD.
7-79
7-80 PFD
Figure 7.72
4. Select the object you want from the list and click the OK button.
The object you are looking for will be selected on the PFD and will
have a blinking white frame around it.
7-80
Simulation Environment 7-81
following figure.
Figure 7.73
Stream Object
Inspect menu
View the property view for a stream by double-clicking the stream icon
or by right-clicking any portion of the line that represents the stream
and selecting the View Properties command from the Object Inspect
menu.
You can also use the Object Status Window to open property views.
Move the cursor to the thick border (directly above the status bar at the
Refer to Section 1.3 - bottom of the Desktop) and it changes to a vertical line with two
Object Status Window/
Trace Window for details
arrowheads. Click and hold the mouse button while dragging the cursor
about these windows. upward to expand the Object Status and Trace Windows.
The left pane is the Object Status Window and contains status
messages for the various streams and operations. By double-clicking a
message, the property view for the associated object appears.
7-81
7-82 PFD
• Right-click the object and select Delete from the Object Inspect
menu, as shown on the left.
Using either method, you are prompted to confirm the deletion of the
object. If multiple objects are being deleted at once, you must confirm
each deletion.
Fly-by Information
The controls for the Fly-by You can view Information related to an object by placing the cursor over
are found in the Session
Preferences. Refer to
its associated icon. A small box listing the object name and the current
Section 12.2.5 - Tool values of key variables appears. This box is called a Fly-by. The Fly-by
Tips Page for more of a heat exchanger is shown below.
information.
Figure 7.74
7-82
Simulation Environment 7-83
Figure 7.75
Appearance of sub- To hide sub-flowsheet objects displayed in the main PFD, right-click the
flowsheet stream tip within
main flowsheet PFD. tip of any sub-flowsheet stream connected to the main flowsheet. The
tip of the stream has a small square visible. When you right-click, the
Hide sub-FlowSheet Objects command appears. Clicking this command
hides all associated sub-flowsheet objects.
Column Sub-Flowsheet
The external view of the Column resides in the main PFD. Only the
external streams of the Column appear (i.e., Inlet, Outlet, and Energy
streams), however, the Column has a unique PFD that displays the
complete representation of the column flowsheet internal view,
including reboilers and condensers.
The Column PFD displays the Columns internal streams, such as Boilup
and Reflux. Also, in the Column PFD, the Column stages appear.
7-83
7-84 PFD
There are three colour scheme options supplied with UniSim Design:
Scheme Description
Default The colour of unit operations and streams is changed to
Colour reflect the status of the object. Unit Ops are red if a serious
Scheme message is in the Object Status Window, outlined in yellow
if a warning message exists, and completely grey if the
object has solved. A Stream icon appears light blue if
unsolved and dark blue if solved.
PFD default colours can be changed on the Colours page of
the Session Preferences view. Refer to Section 12.6.1 -
Colours Page.
7-84
Simulation Environment 7-85
Scheme Description
HYSIM Streams and unit operation icons are shown as wire frames
Colour and the colours can be changed. Right-click an object and
Scheme click the Change Colour command. The colour palette
appears and a new colour can be selected. Select an
existing colour or click the Define Custom Colours button to
customize a colour. After a colour is selected, click the OK
button. The new colour for the wire frame appears.
Simultaneously change the colour of multiple wire frames
by selecting all of the required objects.
Query Colour The value of a specified variable can be monitored for all
Scheme material streams. You can select five colours and an
associated variable range for each.
For the example given in the figure above, the top colour
(Colour 1) appears for material streams that have a
temperature greater or equal to 300°C. Colour 2 represents
streams ranging from 200 to 300°C, etc. The last colour
(Colour 5) is shown for streams that have temperatures
below 0°C. Refer to the following sections for information
about working with query colour schemes.
The Temperature colour scheme (shown in the Colour
Scheme drop-down list when the PFD is accessed), is a
Query scheme.
Figure 7.76
When the simulation case is saved, the active colour scheme for each
7-85
7-86 PFD
The Delete this Scheme and Edit this Scheme buttons appear
for query colour schemes only.
Figure 7.77
Variable
range fields
Colours that
represent the
variable
ranges.
For details about available 6. To change the colour of the variable range, double-click a colour to
colour scheme changes, access the colour palette. Changes can also be made to the scheme
refer to the Editing a
Query Colour Scheme
name and to the variable.
section. 7. Click the Close icon to return to the PFD Colour Schemes view.
The new colour scheme is active.
8. Click the Close icon to return to the PFD.
7-86
Simulation Environment 7-87
Figure 7.78
7-87
7-88 PFD
Click the Show Trays command to open the Stage Visibility view.
Figure 7.79
Instead of individually
This group can only be checking all the checkboxes,
accessed when the Selected use these buttons to check
Expansion radio button is or uncheck all the stages in
selected. the Column.
UniSim Design always draws
the column showing the first Check the checkbox for each
and last stages, as well as tray you want to display on
feed and draw stages. the PFD.
If the tray section shown Click the Expand option to expand the column to the full size, showing
is compressed, the all trays. Click the Compress option to compress the column to the
command at the bottom of
the menu is Expand. If the settings in the Stage Visibility view. Only the selected trays will appear.
section is fully expanded,
the command is
Compress.
7.24.8 PFD Tables
Workbook Table
You can display any full Workbook tab as a table on the PFD except for
the Unit Ops tab. All information on the Workbook tab is shown in the
table and is automatically updated when changes occur in the
flowsheet.
7-88
Simulation Environment 7-89
2. Click the name of the tab being added, then click the Select button
as shown below. After the Workbook table is added, click and drag it
to the necessary location.
Figure 7.80
Figure 7.81
7-89
7-90 PFD
Table Properties
Open the PFD Table view A default variable set is provided for each stream and operation type.
by double-clicking on To modify this list, right-click the table and select the View Properties
the table.
command.
If you are having trouble
selecting a table, ensure
you are not in Attach Figure 7.82
mode.
Adds a new variable to the table.
Removes the
selected
variable from
the table.
Use the buttons available in the view to modify the variable set for the
7-90
Simulation Environment 7-91
table. Refer to the following table for the description of each button:
Save Set Specify the New Set Name and click the OK
As button.
The Specs Only button is turned off by default. Click this checkbox to
7-91
7-92 PFD
Column Tables
Column tables can be added in the main PFD and in the column PFD.
The tables that can be added are different in each environment. For
example, in the main PFD, the column table consists of variables
relating to the column tray section.
Inside the column PFD, you can add tables for the Condenser, Tray
Section, and Reboiler. Each of these can contain variables specific to
that unit operation.
When the cursor is over the inside border of the PFD, the pointer
changes into the multi-pane sizing tool. The symbol is rotated 90
Multi-Pane Sizing Tool degrees for a horizontal split.
The Status Bar in the bottom of the screen indicates the way the split
7-92
Simulation Environment 7-93
occurs.
Figure 7.83
2. By placing the cursor over the inside border and then dragging
horizontally, a second pane of the PFD is created.
There is no requirement for how you initially split the PFD. For
description purposes, a pane that is created by dragging vertically is
termed a horizontally split pane, and one created by dragging
horizontally is termed a vertically split pane.
The procedure is the same for a horizontally split pane, except you
place the cursor on the bottom of the horizontal scroll bar and drag up
or down. Dragging to the bottom of the original PFD view closes the
7-93
7-94 Column
Figure 7.84
Select the information you want to export or import to the XML file by
clicking the corresponding checkboxes. You can change the file name
and location by entering the new name and file path in the File field.
Click the Export button to export the file, the Import button to import
the file, or the Cancel button to close the view without completing the
action.
7.25 Column
This menu item only appears inside the Column environment. The
options under Column are as follows:
Command Description
Refer to Chapter 8 - Column Runner View the Column Runner.
Column in the UniSim
Run Start the Column Solver.
Design Operations
Guide for more Reset Reset the Column Solver.
information.
Refer to Chapter 14 -
Utilities in the UniSim
7.26 Utilities
Design Operations The utilities available in UniSim Design are a set of useful tools that
Guide for detailed
information about the interact with your process, providing additional information or analysis
individual utilities. of streams or operations. A utility becomes a permanent part of the
7-94
Simulation Environment 7-95
Figure 7.85
7-95
7-96 Utilities
Figure 7.86
List of
available
utilities.
List of utilities
that are
added to the
case.
Figure 7.87
3. From the list of available utilities, select the utility you want to add.
7-96
Simulation Environment 7-97
4. Click the Add Utility button. The property view for the selected
utility appears.
5. Define the utility as required.
7-97
7-98 Simulation Balance Tool
You can select to validate any combination of mass, mole, heat and
component balances and using absolute and relative tolerances.
Figure 7.88
• Via the status bar - locate the Overall Mass Balance Monitor
status bar on the bottom right of UniSim Design and double-click
on it
Figure 7.89
7-98
Simulation Environment 7-99
Figure 7.90
7-99
7-100 Simulation Balance Tool
General Summary
The General Summary page lists all operations that exceed the
specified tolerances.
Figure 7.91
There are also columns with arrows (', , <->) indicating balance errors
that exceed the specified tolerances.
7-100
Simulation Environment 7-101
Grouping/Sorting
The table of results can be grouped by Flowsheet and Type as well as
sorted based on the other columns. The grouping and sorting by name
is done in ascending order while the rest of the sorting is in descending
order.
Detailed Summary
The Detailed Summary page gives a unit by unit balance summary in
both tolerance bases.
Figure 7.92
7-101
7-102 Simulation Balance Tool
along with their molar balance errors in absolute and relative bases.
Figure 7.93
Figure 7.94
The Feeds and Products tables list the following information about the
streams:
• Flowsheet - the stream's parent flowsheet
7-102
Simulation Environment 7-103
There is also a row of total flows for the Feed streams and a row of total
flows for the Product streams.
Figure 7.95
7-103
7-104 Simulation Balance Tool
Figure 7.96
Figure 7.97
7-104
Simulation Environment 7-105
Figure 7.98
7-105
7-106 Simulation Balance Tool
Grouping/Sorting
The recycles and adjusts tables can be grouped by Flowsheet as well as
sorted by Name and Status. The grouping and sorting is done in
ascending order.
Figure 7.99
Grouping/Sorting
The table of results can be grouped by Flowsheet and Type as well as
sorted based on Name and Status. The grouping and sorting is done in
ascending order.
7-106
Simulation Environment 7-107
Figure 7.100
7-107
7-108 Simulation Balance Tool
7-108
UniSim Design Objects 8-1
8-1
8-2 UniSim Design Objects
8-2
UniSim Design Objects 8-3
Refer to Section 7.23.2 - Use one of the following methods to install an object in your simulation:
Installing Streams or
Operations for more • Object Palette
information about the • Workbook
Workbook. • Flowsheet-Add Stream/Add Operations command
The Object Palette is organized into the following categories from top to
bottom:
• Streams
• Vessels (2- and 3-phase separators, tank, Single Outlet Vessel)
• Heat Transfer Equipment
• Rotating Equipment (compressor, expander, pump)
• Piping Equipment
• Solids Handling
• Reactors
• Prebuilt Columns
• Shortcut Columns
• Sub-flowsheets
• Logicals
General Buttons
Icons on the object palette with an arrow pointing to the right are
8-3
8-4 Installing Objects
general icons (for example, the Solid Ops and General Reactors icons)
that contain sub-palettes. These sub-palettes display icons for more
specific unit operations.
Each operation has an icon and when you place the cursor
over it, a fly-by description of the operation appears below
the cursor and in the Status Bar.
You can install a single stream, unit operation, or logical operation from
The General Reactors icon
the palette by double-clicking the icon for the object you want to install.
opens this sub-palette.
The object appears in the PFD and the object’s property view is opened.
You can also use the Add icon at the top of the palette to install objects.
1. Click the icon for the object you want to install.
2. Click the Add icon to insert the object in the PFD and open the
Add icon
object’s property view.
You can install same objects multiple times by using the Lock feature.
1. Click the Lock icon at the top of the palette.
2. Click the icon of the object you want to install.
Lock icon 3. Click the Add icon to install the object. With the lock feature active,
you can add as many of the selected object as required without
having to click the object icon.
4. To switch objects when in locked mode, click the Cancel icon or click
a different icon.
Cancel icon 5. To stop the Lock function, click the Lock icon again.
8-4
UniSim Design Objects 8-5
Material streams can only be added using the Add Stream command in
the Flowsheet menu whereas energy streams can only be added using
the Object Palette.
Installing Operations
Press the F12 hot key to 1. Select the Add Operation command from the Flowsheet menu.
quickly open the UnitOps The UnitOps view appears.
view.
Use the radio button in 2. From the list of available unit operations, click the operation you
the Categories group to want to install.
filter the list of available
unit operations making it 3. Click the Add button. The operation is added to the PFD. The
easier to find the operation property view automatically opens.
operation you want to
add.
The following sections show steps for providing the
minimum amount of information required to define each
object. For more information, refer to the UniSim Design
Operations Guide.
8-5
8-6 Defining Objects
The status bar at the bottom of the property view turns green and
displays the message ‘Ok’.
The status bar at the bottom of the property view turns green and
displays the message ‘Ok’.
8-6
UniSim Design Objects 8-7
8-7
8-8 Defining Objects
8-8
UniSim Design Objects 8-9
7. In the Duty field, specify a duty for the cooler/heater. The value is
automatically calculated if the temperature is specified for both the
inlet and outlet streams.
When the cooler/heater is solved, the status bar at the bottom of the
property view turns green and displays the message ‘Ok’. If the cooler/
heater cannot solve, the status bar is yellow and displays the
requirements needed to solve.
When the degrees of freedom equal zero and all attached streams are
properly defined, the status bar at the bottom of the property view
turns green and displays the message ‘Ok’. If the LNG exchanger
cannot solve, the status bar is yellow and displays the requirements
needed to solve.
8-9
8-10 Defining Objects
When the degrees of freedom equal zero and all attached streams are
properly defined, the status bar at the bottom of the property view
turns green and displays the message ‘Ok’. If the heat exchanger
cannot solve, the status bar is yellow and displays the requirements
needed to solve.
8-10
UniSim Design Objects 8-11
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the air cooler cannot solve, the status bar is yellow and displays
the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the pump cannot solve, the status bar is yellow and displays the
requirements needed to solve.
8-11
8-12 Defining Objects
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the compressor/expander cannot solve, the status bar is yellow
and displays the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
8-12
UniSim Design Objects 8-13
the bottom of the property view turns green and displays the message
‘Ok’. If the compressible gas pipe cannot solve, the status bar is yellow
and displays the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
Ok. If the pipe segment cannot solve, the status bar is yellow and
displays the requirements needed to solve.
8-13
8-14 Defining Objects
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the valve cannot solve, the status bar is yellow and displays the
requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view is either red or yellow. When the status
bar is yellow, the message ‘Valve is Open’ displays. When the status bar
is red, the message ‘material flows into a closed relief valve’ displays.
This indicates the valve is shut and no material is passing through.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
8-14
UniSim Design Objects 8-15
‘Ok’. If the mixer cannot solve, the status bar is yellow and displays the
requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the tee cannot solve, the status bar is yellow and displays the
requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
8-15
8-16 Defining Objects
the bottom of the property view turns green and displays the message
‘Ok’. If the solid separator cannot solve, the status bar is yellow and
displays the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the cyclone cannot solve, the status bar is yellow and displays
the requirements needed to solve.
8-16
UniSim Design Objects 8-17
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the hydrocyclone cannot solve, the status bar is yellow and
displays the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the rotary vacuum filter cannot solve, the status bar is yellow
and displays the requirements needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the baghouse filter cannot solve, the status bar is yellow and
displays the requirements needed to solve.
8-17
8-18 Defining Objects
When all of the attached streams are properly defined and screen
pressure is entered, the status bar at the bottom of the property view
turns green and displays the message 'Ok'. If the screen unit operation
cannot solve, the status bar is red or yellow and displays the
requirements needed to solve.
8-18
UniSim Design Objects 8-19
9. For dynamic modeling, click the Dynamics tab and specifying the
pressure flow parameters.
10. When all of the attached streams and all required parameters are
properly defined, the status bar at the bottom of the property view
turns green and displays the message 'Ok'. If conveyor cannot
solve, the status bar is yellow and displays the requirements
needed to solve.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
'Ok'. If the crusher cannot solve, the status bar is yellow and displays
the requirements needed to solve.
8-19
8-20 Defining Objects
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the CSTR cannot solve, the status bar is yellow and displays the
requirements needed to solve.
8-20
UniSim Design Objects 8-21
• Diameter
8-21
8-22 Defining Objects
8-22
UniSim Design Objects 8-23
8-23
8-24 Defining Objects
8-24
UniSim Design Objects 8-25
8-25
8-26 Defining Objects
16. (Optional) Enter temperature values for the condenser, top stage,
and reboiler.
17. Click the Next button.
18. (Optional) Enter a product flow rate and a reflux ratio.
19. Click Done to display the Column property view.
For the distillation column to solve, the number of independent
unknowns must be equal to the number of constraints (Degrees of
Freedom = 0). The distillation column considers constraints to be
parameters such as product draw rates, tray temperatures, or reflux
ratio.
20. Click the Design tab, then select the Specs page.
Select the Monitor page of 21. Click the Add button to display the Spec view. In this view, add a
the Design tab to see the specification to define your distillation column. Repeat this step until
degrees of freedom the
column has and manage
the degrees of freedom equal zero.
the specifications in the
column. When the degrees of freedom equal zero and all attached streams are
properly defined, the status bar at the bottom of the property view
turns green and displays the message ‘Ok’. If the distillation column
cannot solve, the status bar is red and displays ‘Unconverged’.
8-26
UniSim Design Objects 8-27
8-27
8-28 Defining Objects
When all attached streams are properly defined, the status bar at the
bottom of the property view turns green and displays the message ‘Ok’.
If the absorber column cannot solve, the status bar is red and displays
‘Unconverged’.
8-28
UniSim Design Objects 8-29
8-29
8-30 Defining Objects
When all attached streams are properly defined, the status bar at the
bottom of the property view turns green and displays the message ‘Ok’.
If the liquid-liquid extractor cannot solve, the status bar is red and
displays ‘Unconverged’.
8-30
UniSim Design Objects 8-31
11. Click the Next button to display the Input Expert view for the
selected column.
12. Follow the sections outlined for each of the columns above to
complete the three phase distillation column.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the component splitter cannot solve, the status bar is yellow and
displays the requirements needed to solve.
8-31
8-32 Defining Objects
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the short cut distillation column cannot solve, the status bar is
yellow and displays the requirements needed to solve.
8-32
UniSim Design Objects 8-33
8-33
8-34 Defining Objects
• Auto Indicator
• Off
14. In the SP field, specify the set point for the controller.
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
‘Ok’. If the balance cannot solve, the status bar is yellow and displays
the requirements needed to solve.
8-34
UniSim Design Objects 8-35
8-35
8-36 Defining Objects
When all of the attached streams are properly defined, the status bar at
the bottom of the property view turns green and displays the message
'Ok'. If the centrifuge cannot solve, the status bar is yellow and displays
the requirements needed to solve.
When both Reference and target streams are solved according to the
8-36
UniSim Design Objects 8-37
transfer parameters, the status bar at the bottom of the property view
turns green and displays the message 'Ok', which means the
transformation is completed. If the Virtual stream cannot solve, the
status bar will display the required information needed to solve with
yellow color.
8-37
8-38 Defining Objects
8-38
Print Options 9-1
9 Print Options
9.3 Reports.......................................................................................... 7
9.3.1 Creating a Report..................................................................... 8
9.3.2 Editing a Report......................................................................11
9.3.3 Deleting a Report ....................................................................11
9.3.4 Report Format & Layout ...........................................................11
9.3.5 Text Report Format .................................................................12
9.3.6 Specs Only.............................................................................13
9.3.7 Printing & Previewing Reports ...................................................14
9-1
9-2 Introduction
9.1 Introduction
In UniSim Design, you can transcribe process information concerning
your simulation case using printing features. You can create printed
reports ranging from basic data to comprehensive summaries. There
are two primary printing options in UniSim Design:
• Object Specific
• Reports
Both primary printing features are accessed through the menu bar,
however, Object Specific printing is also available through the Object
Inspect menu. By right-clicking the Title Bar of an object, you can
preview and print its associated Datasheet.
The Report view can remain open while you manipulate your flowsheet.
If changes occur that affect the values shown in a Datasheet, you can
easily update the information.
Method Description
Refer to Section 9.2.1 - Menu Bar Select one of the options under the File menu.
Menu Bar Options for
Object Right-click the Title Bar of a view and select the Print
details.
Inspect Datasheet command from the menu. This is the same as
menu selecting the Print command from the File menu.
Refer to Section 9.3 -
Reports for details on the Report In the Simulation environment, from the Tools menu, select
Report Manager. Manager Reports. This opens the Report Manager view.
9-2
Print Options 9-3
Option Description
Print Lists the available Datasheet(s) for the currently active
object. You can select a Datasheet and either preview or print
it. See Section 9.2.2 - Printing Datasheets for more detail.
Print Prints a bitmap of the currently active UniSim Design view.
Window Use this command when you want to print a view that does
Snapshot not have a Datasheet associated with it (i.e., table such as a
Column Profiles table).
Printer With this command, you can select either the Graphic
Setup Printer or the Report Printer. This enables you to select the
printer, paper orientation, paper size and source. Refer to
Section 9.3.7 - Printing & Previewing Reports for details.
Figure 9.1
9-3
9-4 Printing in UniSim Design
Figure 9.2
Click the Set Preferences button to save the Datasheet selections set in
the UniSim Design preferences. This allows you to use the same
settings for each type of object. For example, if you print the same
Datasheets for every stream in your case, use the Set Preferences
button to save the settings for the first stream and the Use Preferences
button to load the settings into each of the remaining streams.
There are particular The active location in the flowsheet determines which Datasheets are
Datasheets for certain available. In this case, the active location is a Workbook, so the only
operations. For example,
a column tray section available options pertain to the Workbook. The All Pages Datasheet
has a Tray Section displays all the information in the Workbook. Only the variables present
Component Summary
and a Datasheet; a Strip on the Workbook tabs appear in the Datasheets.
Chart has a Strip Chart
Variables and Historical Click the Preview button to open the Report Preview view as shown
Data Datasheet.
9-4
Print Options 9-5
below.
Figure 9.3
You can
zoom-in to
get a close-
up view of
your
document or
zoom-out to
see more of
the page at a
reduced size.
Option Description
Print PFD Prints the PFD as it appears on the screen. Only the
sections visible within the PFD view are printed. Any tables
that you add are also printed. When you select this
command, the PFD is printed without accessing any further
menus.
Print Setup Accesses the Windows Print Setup. You can set the printer,
the paper orientation, the paper size and paper source.
Print to PFD Prints the entire PFD to a file. For more information refer to
to File Section 9.4 - Printing the PFD as a File.
All items (Streams, Operations, Text, and PFD Tables) included in the
PFD view can be printed. You can also use the Print Snapshot command
under the File menu to print the PFD when it has focus.
9-5
9-6 Printing in UniSim Design
Object Description
Print Plot Prints the plot as it appears on the screen.
For information on setting the appearance of plots, refer to
Section 10.4 - Graph Control.
Print Setup Accesses the Windows Print Setup. You can set the printer,
the paper orientation, the paper size and paper source.
The Print Setup view is accessed by selecting Printer Setup from the File
menu. The sub-menu provides two additional commands:
Figure 9.4
Printer Description
Graphic The Graphic Printer is used to print the PFD, Plots, Strip
Printer Charts and Snapshots.
Report Printer The Report Printer is used to print Datasheets, Reports
and Text.
9-6
Print Options 9-7
Figure 9.5
9.3 Reports
The Report Manager can Within a simulation case, you can print stream and operation
only be accessed in the
Simulation environment. Datasheets using the print function, however, this only enables you to
print Datasheets for a single object at a time. By using the Report
Manager, you can combine multiple Datasheets for streams and
operations in a single report and print the entire document. You can
also format the display of the report to meet your requirements.
Figure 9.6
Shows the Reports All reports created for Opens the Report Updates and
installed in the the simulation are Builder view for prints the selected
simulation case. listed in the Available creating new reports. Report.
Report1 is a default Reports group.
name, Second
Report is a user
Selects the
specified name.
output format. If
checked, UniSim
Design prints the
Opens the Report
Datasheet to an
Builder view so you
ASCII file.
can edit the selected
Report. If checked, filtered
results are
Deletes the selected displayed to show
Report. user inputs.
Displays a Preview
of the Report.
9-7
9-8 Reports
Figure 9.7
Removes a
Allows you to add
selected
available
Datasheet
Datasheets to the
from the
report.
report.
Allows you to edit the Allows you to rearrange the list in the Report
selection made for the Datasheets group. The selected Datasheet is
selected Datasheet. moved up or down within the list.
The Printing group provides the same functions as what you find in the
Report Manager.
Inserting a Datasheet
Click the Insert Datasheet button in the Report Builder view to open the
Select Datablocks for Datasheet view as shown below.
Figure 9.8
9-8
Print Options 9-9
The Available Datablocks group lists the datablocks that can be added
to the report.
9-9
9-10 Reports
case.
Figure 9.9
Editing a Datasheet
1. From the list of available report Datasheets in the Report Builder
view, select the Datasheet you want to edit.
2. Click the Edit Datasheet button to open the Select Datablocks for
Datasheet view. Refer to the section Inserting a Datasheet for
more information about this view.
3. Use this view to edit the Datasheet.
Removing a Datasheet
1. From the list of available report Datasheet in the Report Builder
view, click the Datasheet you want to delete.
2. Click the Remove Datasheet button. You are not prompted to
confirm the deletion of the Datasheet.
9-10
Print Options 9-11
Figure 9.10
The following options in the Format group allow you to determine how
the data will appear in the report:
Field Description
Shading When selected, the headers, footers and titles are
shaded.
Line Number When selected, line numbers appear on the left side of
each page.
9-11
9-12 Reports
Field Description
Thick Borders When selected, the report borders are thicker than the
other lines in the report.
Indicate User When selected, any user specified values in the
Specified Datasheet are indicated with an asterisk “*”.
Start Datasheet When selected, each Datasheet starts on a new page.
on New Page
Empty Text Specify what displays in the report when there is no
value available. The default is ---.
Unit Set Select the unit set you want your report to use. This
gives you the option of printing reports with different
unit sets than your case. For example, your case may
be in SI, but you require your report to be in Field
units.
The default report format Click the Set Preferences button to save your format selections in
is set in the Session
UniSim Design preferences. This enables you to use the same settings
Preferences. See Section
12.4 - Reports Tab for for each report you create. Click the Use Preferences button to load the
more details. settings into any future reports.
Check the Delimited checkbox if you want your text file to be text
delimited.
Click the Format button to open the Text Format view. This view
displays the options for formatting your text file.
Figure 9.11
The items in the Options When Delimited group allow you to control
9-12
Print Options 9-13
Field Description
Text is Delimited When selected, the text file will be delimited.
Title Description When selected, a title is added to the text file. The title
Visible includes the name of the object and the tabs in the
report.
Header Field When selected, a header is added to the text file. The
Visible header includes the company information and the date
the file was created.
Footer Field When selected, a footer is added to the text file. The
Visible footer includes the UniSim Design version and build
number.
Fields Padded for When selected, spaces are added between each field to
Alignment align the fields in the report.
Disable Column When selected, column wrapping is disabled. This
Wrapping means that text running past the edge of the page
does not wrap onto the next line.
Empty Text Specify what you want to display in the report when
there is no value available. The default is ---.
Delimiter Specify what you want to use as the delimiter in your
text file. The UniSim Design default is ‘,’.
From the Unit Set drop-down list, select the unit set you want your
report to use. This gives you the option of printing reports with different
unit sets than in your case. For example, your case may be in SI, but
you can print the report in Field units.
The default report format Click the Set Preferences button to save the format selections you
is set in the Session defined in UniSim Design preferences. This allows you to use the same
Preferences. See Section
12.4 - Reports Tab for settings for each report you create. Click the Use Preferences button to
more details. load the settings into subsequent reports.
9-13
9-14 Printing the PFD as a File
9-14
Print Options 9-15
Inspect menu.
Figure 9.12
Figure 9.13
9-15
9-16 Printing the PFD as a File
Figure 9.14
9-16
Edit Options 10-1
10 Edit Options
10-1
10-2 Edit Options
10-2
Edit Options 10-3
10.1 Introduction
This chapter explains the commands that are available through the Edit
menu and provides information on editing PFD objects.
The up and down arrows move you through the menu associated with a
specific item, while the left and right arrows move you to the next
menu bar item, automatically opening the associated menu. If you
want to switch focus from the menu bar without making a selection,
press the ESC key or the ALT key.
Command Description
Edit menu
Cut Copy and remove the selected values/objects from the
current view.
Copy Copies the selected values/objects to the clipboard.
Copy Special Copies the selected values/objects and their corresponding
/ with Labels labels to the clipboard.
Paste Place copied or cut selections in the location of your choice
or in another application.
Although the edit functions are available throughout UniSim Design, not
all areas within the environments support them. Only matrix type areas
can be manipulated.
For example, you can copy a group of cells from the Workbook or from
a table and paste them into the spreadsheet. In most areas, you can
manipulate a group of cells by clicking and dragging them with the
mouse. Whenever cells are grouped within a matrix (i.e., Inlet streams
for a mixer as shown in the figure below), you can select more than a
10-3
10-4 Editing the PFD
single cell.
Figure 10.1
The items being modified Use the following tools to modify the appearance of the PFD:
must be selected before
using these tools. • Menu Bar
• Mouse and Keyboard
• Object Inspect menu
• PFD Inspection Menu
PFD menu
10-4
Edit Options 10-5
commands contained in the PFD menu are described in the table below:
Command Description
Select Objects Select multiple operations and streams on the PFD.
The Select Objects view contains a filter for narrowing
object selection. See Menu Bar Option for more
information.
Show Hidden Hidden objects in the PFD can be viewed using this
Objects command. When selected, the Show Hidden Objects
view appears.
See Revealing Hidden Objects for more information.
Break a Breaks the connection between a stream and an
Connection operation without deleting either.
See Disconnecting Using the Break Connection
Tool for more information.
Swap Select two streams that are attached to the same
Connections operation and exchange their nozzle connections.
See Section 10.3.11 - Swapping Connections for
more information.
Auto Position All Repositions all objects on the PFD to the best possible
location as determined by the application.
See Section 10.3.7 - Auto Positioning for more
information.
Auto Position Auto positions only selected objects.
Selected See Section 10.3.7 - Auto Positioning for more
information.
Select Mode Select the operating mode for the PFD. This is either
Move, Size, or Attach.
See the PFD Modes section for more information.
Drag Zoom Click and hold the mouse button to drag a frame
around a region, then release the mouse button. The
PFD is redrawn showing only that region.
Add a PFD Adds a new page to the PFD Notebook. The command
to clone an existing PFD is available.
Delete this PFD Deletes the active PFD without a prompt to confirm the
action. You cannot delete the PFD if it is the only one in
the case.
Rename this PFD Change the name of the PFD that appears on the tab.
10-5
10-6 Editing the PFD
commands appears.
Figure 10.2
Pan/Zoom Functions
For the PFD to respond to The pan and zoom functions allow you to focus on a particular area
the keyboard command, it within the PFD or to view all the objects within the flowsheet. The
must be the active view.
following table describes the available functions:
10-6
Edit Options 10-7
PFD Modes
The PFD operates in the following four modes:
• Move
• Attach
• Auto Attach
• Size
Only one mode can be active at a time, so when you are in attach
mode, you cannot move or resize icons. There are three ways to
change the PFD mode:
10-7
10-8 Editing the PFD
• Select the Select Mode command from the PFD menu to open
the Select PFD Mode view. Use the radio buttons in the PFD
Mode group to select the mode.
Figure 10.3
• Right-click the PFD, then select the mode options in the Mode
sub-menu from the PFD Object Inspect menu.
• Use the icons in the PFD tool bar.
10-8
Edit Options 10-9
Figure 10.4
• When multiple streams are selected, (in some cases) this mode
attaches multiple feeds and products depending on what is
selected (in other words, one feed and one product or three
feeds and a product).
When one product and one feed are selected and a new unit
operation is added, both the feed and product streams are
10-9
10-10 Editing the PFD
Figure 10.5
10-10
Edit Options 10-11
Additional Icons
Name Icon Function
Break Break the connection between a stream and an
Connection operation. When you place the cursor over the
stream you want to break, the cursor appears with
a checkmark. Click any portion of the stream
between the stream icon and the operation to
break the connection. Refer to Section 10.3.18 -
Disconnecting Streams & Operations for more
details.
Swap Switches the nozzle connection points for two
Connections streams attached to the same operation. For more
information, see Section 10.3.11 - Swapping
Connections.
Drag Zoom When you click this icon, the cursor becomes an
arrow and magnifying glass combination. Click and
drag around a region of interest to redraw the PFD
showing only the selected region. You can also
Zoom from the PFD Object Inspect menu by
clicking Mode and then Zoom (see Figure 10.6)
or by selecting Drag Zoom from the PFD menu in
the menu bar.
Add Text Adds text to a PFD. When clicked, a ‘+’ symbol is
Annotation added to the regular cursor and a rectangular box
appears at the end of the pointer. Position the
cursor where you want to place the text, click the
mouse button, and then type the text into the
view that appears. See Section 10.3.21 -
Annotations & Labels, for more information.
Quick Route Move icons quickly about the PFD (in other words,
Mode object icons can be moved with their attached
streams overlapping the other object icons).
Turning off the Quick Route mode, enables UniSim
Design to reposition the stream lines so that there
is no overlap of the object icons. See Section
10.3.15 - Stream Routing for more information.
Drag Mode Enables you to shift/scroll through the PFD view
and see other areas of the PFD. To scroll across
the PFD, click and drag the mouse cursor on the
PFD. Similar functions as the scroll buttons, except
with in the Drag mode you can scroll diagonally.
Object Enables you to access the Object Palette. See
Palette Section 8.1.1 - Install Objects Using the
Object Palette for more information.
Colour Displays the PFD Colour Schemes view. A new
Scheme scheme can be created or an existing one
selected, edited or deleted.
10-11
10-12 Editing the PFD
Figure 10.6
There are three methods available to select multiple objects and they
are as follows:
• Mouse drag option
• Menu bar option
• Keyboard/mouse option
10-12
Edit Options 10-13
Figure 10.7
Use the filter for a more
specific list of objects.
3. Click the OK button after all selections are made. This closes the
view and returns you to the PFD. Each object is outlined to indicate
that it is selected.
Keyboard/Mouse Option
1. Position the cursor (in the PFD) over the first object you want to
select and click the mouse button.
2. To select a second object, hold down the SHIFT key and click the
second object. The two objects are now selected.
3. Repeat step #2 until all the necessary objects are selected.
10-13
10-14 Editing the PFD
10-14
Edit Options 10-15
Method Description
Menu Bar From the PFD menu, select either Auto Position All or
Auto Position Selected.
Object Inspect Select Auto Position from the Object Inspect menu.
menu Only selected items are repositioned.
The Auto Snap feature is always active and cannot be toggled on and
off. This poses a problem if you want to move an icon using the
keyboard arrow keys. If UniSim Design detects that the object is within
the set tolerance, the object initially moves in the direction of the arrow
key, but snaps back to its original position. To overcome this, use the
SHIFT key with the keyboard arrow key to move the object by larger
increments.
10-15
10-16 Editing the PFD
• Select the Select Mode command from the PFD menu. The
Select PFD Mode view appears.
Figure 10.8
Figure 10.9
Sizing
Tool
3. Place the cursor over one of the target handles. The pointer changes
to the sizing tool (line with an arrowhead at each end) indicating the
directions that the object can be stretched or compressed.
4. Click and drag the mouse in the direction you want to size the
object. The icon is sized according to the change in the size of the
box.
You can size Labels and The Pump shown in Figure 10.9 is ready to size, however, the name
Annotations only
horizontally and to a
associated with it, P-100, is not resized. It remains at its default size
maximum size. This is even though the size of its associated icon changes. To change the size
useful for text containing of the label, change the Font size of the text. See the Moving & Sizing
more than one line. You
can size such a text box so Labels section.
that all text appears on
one line. Rather than sizing several objects individually, you can size multiple
objects simultaneously. Enter Size mode and select the objects you
want to size. Each object has its own outline around it. Select any one
of these boxes and then resize the object. All the selected objects are
sized by this factor.
10-16
Edit Options 10-17
You can use the Rotate and Mirror functions to change the
orientation of multiple objects at the same time.
Access the Rotate and Mirror functions from the Object Inspect menu.
10-17
10-18 Editing the PFD
Figure 10.10
Figure 10.11
If you have more than one icon selected in the PFD and they represent
the same type of operation, then you can change all selections to an
alternate icon at the same time. If the operations are of different types,
the Change Icon command is not available in the Object Inspect menu.
10-18
Edit Options 10-19
Figure 10.12
10-19
10-20 Editing the PFD
The speed of scrolling can be varied by moving the mouse within the
boundary near the edge of the view. Faster scrolling occurs as the
cursor is moved closer to the outside.
When you use the Quick Route function, UniSim Design relocates and
connects the objects without considering the other objects in the
flowsheet. For example, if moving a valve, its icon and streams are
relocated without repositioning the streams, even if one passes over
another icon.
To access the Quick Route function, click the Quick Route icon in the
Quick Route icon PFD tool bar. After manipulating the objects on the PFD, click the Quick
Route icon again to ensure that no streams overlap unit operation
10-20
Edit Options 10-21
icons.
Only the portion of the stream that is inspected becomes available for
manual routing (i.e., right-click either the portion upstream or
downstream of the stream icon).
To exit the Manual Route In Full Manual Route mode, a bend point is shown at the end of each
function, click an empty line segment and the portion of the stream available for manual routing
area of the PFD.
changes colour. You can then manipulate any of the line segments in
the selected stream until the manual route is interrupted.
When not in Manual Route mode, you can still click on a stream line
segment and drag that portion of the line. The bend points are not
shown in this case.
10-21
10-22 Editing the PFD
2. Click the mouse button and drag the stream portion to the new
location. As you move, a thin black line appears, indicating the new
stream route.
3. Release the mouse button when you reach the target location. The
stream is redrawn through the new path.
Place a bend point by The idea of bend points is illustrated in the figure below.
clicking the stream.
Figure 10.14
Bend point 2 is the one being manipulated. You can initially create a
horizontal or vertical line segment and subsequent line orientation is
determined by that first line, i.e., horizontal segments follow vertical
and vice versa.
The mouse cursor displays 1. Select an existing bend point to begin the new route. The cursor
a checkmark at an changes to an arrow with a ‘+’ symbol at the end when placed over
acceptable location for the
a bend point.
final Bend Point.
For slight kinks in a stream Around a bend point there are four regions, two that define the next
it could be easier to select line as Horizontal, and two that define the next line as Vertical. As
the Stream icon and use
the keyboard arrow keys
you drag the mouse pointer around the region of the bend point, a
to nudge it into place, light coloured line shows the area where the new line routing is
rather than inserting and placed.
removing bend points.
2. Click to place a new bend point.
3. Continue to move the cursor to the location of the next bend point
and place it by clicking the PFD.
10-22
Edit Options 10-23
Figure 10.15
Select either the horizontal section between points 1 and 2 and move it
vertically until points 1 and 3 coincide, or select the vertical section (2
to 3) and move it horizontally until points 1 and 2 coincide. Either route
results in the extra bend being removed from the stream.
You can also remove several intermediate bend points. Select the bend
point at the start of the section to be manipulated (in the case of the
figure below, point 2). Next, select the bend point at the end of the
section (point 9) and double-click on the end point. All intermediate
bend points are removed.
Figure 10.16
10-23
10-24 Editing the PFD
operation).
Figure 10.17
The segments are now aligned. Follow the same steps for the alignment
of horizontal segments.
10-24
Edit Options 10-25
Figure 10.18
2. Click the Yes button. The Open Simulation Case view appears.
3. Open the case for the PFD you want to rebuild. If there is more than
one PFD (in the main and sub-flowsheet environments), you are
asked if you want to rebuild each PFD (in the main and sub-
flowsheet environments).
4. Click Yes if you want to rebuild the specified PFD and No if you do
not. If there is only one PFD (i.e., no sub-flowsheets), you are only
asked once if you want to rebuild the main PFD.
10-25
10-26 Editing the PFD
Figure 10.19
10-26
Edit Options 10-27
10-27
10-28 Editing the PFD
Figure 10.20
1 2 The long
connection
indicates that
more than one
feed can be
Valve outlet nozzle attached
where a stream
connects
Figure 10.21
10-28
Edit Options 10-29
10.3.18 Disconnecting
Streams & Operations
Connections between streams and operations can be broken by
doing one of the following:
• Enter the operation’s property view and break the
connection by deleting the stream’s name from the inlet
or outlet cell/field.
• Break the connection on the PFD by using the Object
Inspect menu or the Break Connection tool.
Figure 10.22
Move
Segment
cursor
The Swap Attachments 3. From the menu that appears, select Break Connection.
command appears in the (Depending on the selected stream, the Object Inspect
Object Inspect menu only
when more than one menu may not have all of the commands as shown in the
stream is attached to a figure below.)
certain location (in other
words, 2 feed streams).
Figure 10.23
10-29
10-30 Editing the PFD
Figure 10.24
Creating Sub-Flowsheets
The Combine Into Sub-flowsheet command lets you select multiple PFD
objects in your simulation case (in the main flowsheet) and create a
10-30
Edit Options 10-31
Importing/Exporting Objects
You can export flowsheet objects from one PFD and import to another
using the Import Objects and Export Objects commands in the PFD
Object Inspect menu. The objects that you export or import are saved
as an UFL file. See Section 4.3 - UFL Files for more information.
Exporting Objects
Exported object files use 1. Select the PFD objects you want to export.
the extension.ufl.
2. Right-click on one of the selected objects.
3. From the Cut/Paste Objects sub-menu, select Export Objects. The
File Save view appears.
4. Enter a name and destination for the flowsheet file.
5. Click Save.
10-31
10-32 Editing the PFD
Importing Objects
Templates can be imported into a flowsheet by using the Import Objects
command in the PFD Object Inspect menu. All basis information already
supplied to the flowsheet is automatically applied to the imported
objects. None of the basis information from the case in which the
objects were exported is saved in the template file.
1. Right-click the PFD to open the Object Inspect menu.
2. From the Cut/Paste Objects sub-menu select Import Objects. This
opens the Open File view.
3. Browse to the location of the flowsheet file (*.ufl) you want to open
and select it.
4. Click Open.
Cloning Objects
You can clone flowsheet objects on your PFD using the Clone Selected
Objects command in the Copy/Paste Objects sub-menu. All object
information is automatically cloned into a new set of objects. Only the
object name changes.
Cut/Copy/Paste
Hot Keys: The Cut, Copy, and Paste commands in the Cut/Paste Objects sub-
Cut - CTRL X menu have the typical functionality associated with these commands.
Copy - CTRL C You cut or copy an object(s) in one flowsheet and paste the object(s) to
Paste - CTRL V another location on the PFD or into any sub-flowsheets of any case. If
the destination sub-flowsheet was created using a different fluid
package, then some of the copied information may not be transferrable
and will be omitted.
10-32
Edit Options 10-33
stream name labels and some of the more common stream variables:
Other Variables
You can also replace the stream name labels with other variable values.
To change the stream name label to the Std Gas Flow, do the following:
1. Right-click in a blank part of the PFD to open the Object Inspect
menu.
2. Select Choose Label Variable to open the Select Variable for PFD
Labels view.
Figure 10.25
Figure 10.26
10-33
10-34 Editing the PFD
Use the Hide Units and You are returned to the Select Variable for PFD Labels view. The
Show Units radio variable you just selected appears in the Current Variable field.
buttons to toggle the
units on and off. 7. Click the Variable Values radio button to display the values of the
current variable on the PFD. Select the Object Names radio button
to display the names of the streams on the PFD.
8. Click the Close icon.
Adding Annotations
Use this procedure to add text to the PFD.
1. Click the Add Text Annotation icon in the PFD tool bar.
2. Move the cursor to the location on the PFD where you want to place
the text and click the mouse button. The Text Props view appears.
Add Text Annotation icon
3. In the Text field, type the text that you want to appear on the PFD.
4. Click the OK button.
Figure 10.27
Editing Annotations
1. In the PFD, right-click the Text Annotation, then click the View
Properties command. The Text Props view appears.
2. In the Text field, modify the text, then click OK.
10-34
Edit Options 10-35
Figure 10.28
Once you select the Move/Size Label command, the label is unlocked
from the object to which it belongs. The label re-locks itself once it is
deselected, however, you can select the label’s corresponding object
icon and then select the label again without re-locking the Label. This
facilitates moving and sizing both the icon and its label at one time
without repeatedly selecting the Move/Size Label command.
10-35
10-36 Graph Control
To hide labels, you need to select the Format Label command and then
A Show/Hide option also
exists for displaying sub- select Hide Label from the sub-menu.
flowsheet objects on the
main flowsheet PFD. For
details, see Section
7.24.4 - Access Column Revealing Hidden Objects
or Sub-Flowsheet PFDs.
Use this function to reveal any objects that are hidden on the PFD. You
can access this function in two places:
• PFD menu
• Object Inspect menu
When you select the Show Hidden Objects command, the Show Hidden
Object view appears. This view allows you to specify the hidden objects
to be revealed. Select the objects you want to show, then click the OK
button.
Figure 10.29
10-36
Edit Options 10-37
Figure 10.30
While the plot area has focus, you can also click and drag on either the
Legend or Title to reposition the selected item.
To modify the appearance of a data set, select the name of the set in
the list of data sets. The information that corresponds to the selected
10-37
10-38 Graph Control
Figure 10.31
Changes can be made directly in the input field and are The Type is either Line or
reflected in the list of data sets and in the legend. Bar, depending on the
selected plot. This
information cannot be
Select a data set to changed.
make modifications
to the associated Double-click here to
data. access the colour palette.
Select a default colour or
customize a colour for the
data set.
Any changes that are made affect only the axis that is selected in the
list. To make modifications to the appearance of an axis, select the
name in the list of axes. The information that corresponds to the
10-38
Edit Options 10-39
Figure 10.32
Change the label name for the Check the Visible checkbox to display the
axis using the input field. axis name and/or units on the plot.
List of Axes
Double-click here to
The drop-down list access the Font view.
shows the available
units for the axis.
Set the Minimum and
Maximum values for
Check the Use Auto the axis Bounds in
Scale checkboxes to the input fields. The
have UniSim Design Use Auto Scale
automatically set the checkboxes must be
bounds for the axis. unchecked.
Check this checkbox to display the Click this button to access the Real Format Editor, from
axis on a Logarithmic scale. which you can set the format for the axis values.
Figure 10.33
Check the
appropriate
Double-click
here to Visible checkbox
to display the
access the
Font view. text,
background, or
border.
10-39
10-40 Graph Control
Figure 10.34
Check the
appropriate Visible
checkbox to display
the border or
background colour.
Check this
checkbox to have
UniSim Design
resize the legend
when it is
repositioned in the Select a radio button for the
plot area. orientation of the legend.
10-40
Edit Options 10-41
Figure 10.35
Double-click on a
coloured box to
access the colour
palette.
Check the
appropriate Visible
checkbox to
display the
background,
frame, or grid.
Figure 10.36
From the view in the figure above, you can set the format of values
displayed in UniSim Design. The Format Specification group uses three
10-41
10-42 Format Editor
Format Description
Exponential The values are in exponential form with a specified number
of Significant digits. For example, 8546 appears as
8.546e+03 if 4 was specified in the Significant cell.
Fixed Specify the maximum number of digits that appear before
Decimal the decimal point in the Whole cell (see above figure). If
Point the Whole cell limit is exceeded by a value in UniSim
Design, exponential form is used. In the Decimal Digits cell,
input the number of digits that appear after the decimal
point.
If you check the Display sign if zero checkbox, UniSim
Design displays a ‘+’ symbol in front of a value that
appears as zero using the current precision. For example, a
composition of 0.000008 appears as zero when using a
Decimal Digits value of 4. With the checkbox checked, the
cell shows +0.0000 to signify that there is a small number
present.
Significant In the Significant cell, specify the number of significant
Figures figures (between 0 and 9) that you want to display.
The Use Default button closes the Real Format Editor view and assigns
the UniSim Design default format to the associated values.
10-42
Simulation Tools 11-1
11 Simulation Tools
11.3 PFD.............................................................................................. 3
11.6 Reports........................................................................................ 4
11-1
11-2 Simulation Tools
11-2
Simulation Tools 11-3
11.1 Introduction
This chapter provides information about the tools available in the Tools
menu. To access the Tools menu commands, use one of the following
methods:
• Click the Tools menu in the menu bar.
• Press ALT T.
• Press just the ALT key to move the active location to the File
menu in the menu bar.
When you press the ALT key, the menu bar is active and you can
navigate it using the keyboard. The up and down arrows move through
the menu associated with a specific item, while the left and right arrows
move you to the next menu bar item, automatically opening the
associated menu.
If you want to switch focus from the menu bar without making a
selection, press the ESC key or the ALT key.
Tools menu
11.2 Workbook
The Workbook command opens the UniSim Design Workbook. Refer to
Section 7.23 - Workbook for more information on using the
Workbook.
11.3 PFD
The PFD command opens the UniSim Design PFD. This section is
covered in Chapter 8 - UniSim Design Objects and Chapter 7 -
Simulation Environment.
11-3
11-4 Utilities
3. Click the View button to display the Summary view. The Summary
view provides an alternative way of adding, editing, and deleting
streams and unit operation in specific flowsheets.
Figure 11.1
Select more than one The Flowsheet Streams group is used for adding, editing, and deleting
object at a time by holding
streams in the selected flowsheet. The stream list contains all of the
down the CTRL key and
then clicking each object streams available in the selected flowsheet.
you want to select.
The Unit Operations group is used for adding, editing, and deleting unit
operations in the selected flowsheet. The unit operation list contains all
of the unit operations available in the selected flowsheet.
11.5 Utilities
The Utilities command opens the Available Utilities view. Refer to
Section 7.26 - Utilities for more information on utilities.
11.6 Reports
The Reports command opens the Report Manager. Refer to Section 9.3
- Reports for more information on using the Report Manager.
11.7 Databook
There is only one The Databook is used for systematically analyzing data and lets you
Databook in each UniSim
Design case, which monitor key process variables in both Steady State and Dynamics
contains variables from all modes. Variables for all Databook features are selected in a single
flowsheets. location and can be activated from the main list for each application.
11-4
Simulation Tools 11-5
Figure 11.2
Adding a Variable
Refer to Section 11.19 - Use this procedure to add a variable to the Databook.
Variable Navigator for
information regarding the 1. Click the Insert button to display the Variable Navigator view.
Variable Navigator.
Figure 11.3
Select the
Unit Ops
radio button
to view only
Unit Ops
variables.
11-5
11-6 Databook
Another way of adding variables is via the Insert Object and Variable
Groups or Insert Object and Variable Pairs buttons.
Editing a Variable
Refer to Section 11.19 - Use this procedure to edit a variable in the Databook.
Variable Navigator for
information about the 1. From the list of available data entries, select the variable you want
Variable Navigator. to edit.
2. Click the Edit button. The Variable Navigator view appears. This
view lets you change the flowsheet, object, variable and description
of the variable.
3. Make the required changes, then click OK, or click the Cancel
button to close the view without making changes.
Deleting a Variable
Use this procedure to delete a variable from the Databook.
1. From the list of available data entries, select the variable you want
to delete.
2. Click the Delete button
You can also Delete all Unused variables from the databook. this will
remove variables which are no longer used by any of the Data Tables,
Strip charts, Data Records, Case Studies or Spec Scenarios.
Optionally, you can also Delete All Variables. this will remove the
variables from all the Data Tables, etc that are using the variables.
11-6
Simulation Tools 11-7
Figure 11.4
Accesses the
DDE Notify Checks all
view, so you unchecked
can set up the checkboxes and unchecks
Adds all of the
process data table to trigger a DDE all checked checkboxes.
variables to the
command as a result of the timestep
process data
event trigger.
Note that for UniSim Design models that are connected to external
models, either UniSim Operate or PDTGen (refer to UniSim Operations
Engineering Guide) can automatically generate Process Data Tables.
11-7
11-8 Databook
Figure 11.5
The Process Data Table shows the following for each variable:
• Name of the Object that the variable is attached to
• Object variable name
• Current value
• Units of the value
• Tag name of connected variable
• Access mode
• No Transfer
• Read
• Write
• Read/Write.
A radio button at the bottom of the table gives the user the option to
sort the variables by object name or tag name.
11-8
Simulation Tools 11-9
To facilitate the integration process, you can use the enhanced PDT.
Figure 11.6
The enhanced FCE Table shows the following for each variable:
• Name of the object that the variable is attached to.
• Object variable name.
• Object type (PID controller, Digital Pt, etc.)
• Current value in USD.
• Current value in the external model
• Tag name of connected variable (can be generated automatically
by PDTGen)
• Internal / external mode of the USD variable. If the object type
is a PID controller, digital point, selector, or transfer function,
this will be the internal/external mode of that controller. If the
object is a spreadsheet (or other non-controller), then this will
be a variable internal to the Process Data Table to allow that
object to function as if it had an internal/external mode.
11-9
11-10 Databook
11-10
Simulation Tools 11-11
Table.
Figure 11.7
11-11
11-12 Databook
The variable value on the MV Table is the indicated value in USD. This
value is the failed value of the variable. If the malfunction is not
enabled, the failed value is same as the actual value and when the
malfunction is enabled the failed value is calculated. The failed value
calculations are detailed in the PID Controller's Malfunction section.
11-12
Simulation Tools 11-13
The PV value of the PID Controller is the failed value and not the actual
value. The value of the variable within the object is the actual value for
the data entries on the MV Table other than PID Controller's PV. The
failed values are shown on the "Value" column in the MV Table.
Hence the value in the "Value" column (failed value or indicated value)
should be used as the MV (measured value) and not the variable value
within the object for the data entries other than PID Controller's PV.
Strip charts are installed individually using the Strip Charts tab. You can
have multiple strip charts, with each having an unlimited number of
variables charted. The same variable can be used in more than one
Strip Chart, so the use of multiple strip charts with a maximum of six
11-13
11-14 Databook
Figure 11.10
Displays the
current values
of variables in The interval
the selected length of the
strip chart. sample. The
current data is
only stored for
Adds a new this amount of
strip chart. time.
Deletes the
selected strip
chart.
Opens the
Logger Set-Up
Opens the Clears all
View. When checked, the
Logger Set- historical data.
associated variable is plotted
Up-All View. on the selected strip chart.
For example, if the Logger Size has a value of 250 and the Sample
Interval has a value of 5 seconds, the strip chart stores and displays
250 values, and each value was recorded every 5 seconds. So the
amount of time range displayed in the strip chart is 1250 seconds or 20
minutes and 50 seconds.
11-14
Simulation Tools 11-15
• The frequency the strip chart records and displays the data.
Figure 11.11
Clear
Historical data can dramatically increase the size of a simulation case
when it is stored to disk (and held in computer memory). You can clear
all of the historical data by clicking the Clear button.
11-15
11-16 Databook
to view.
2. Click the Strip Chart button. The Strip Chart view. appears.
Figure 11.12
Strip chart
variables are
grouped into
their unit sets.
Grouped
variables share
the same y-axis
range.
Interval
markers are
used to
measure
Time is always variables at
on the x-axis. certain
instances in
the strip chart.
You can manipulate the information displayed on the strip chart within
the Strip Chart view. There are several functions you can perform
directly on the strip chart; these are described in the following sections.
Selecting Curves
The y-axis displays the range and units of a specific strip chart variable
depending on the variable selected. Select a curve using one of the
following methods:
• Click any part of the variable curve in the strip chart.
11-16
Simulation Tools 11-17
• Right-click the strip chart and click the Select Curve command,
then from the sub-menu select the required variable.
Figure 11.13
Cursor Description
When the cursor is in the background of the strip chart, the
following cursor appears. You can move along the strip
chart in any direction.
By default, strip chart curves are grouped into their unit sets. For
example, all temperature variables are associated and displayed with
the same y-axis range and units. By manipulating the range of a
temperature variable in the strip chart, you change the range of all
temperature variables associated with that axis.
11-17
11-18 Databook
Each colour (from left to right) in the Log Controller bar is described in
the following table:
Colour Definition
Gray Bar There is no data in the strip chart.
Dark Blue Strip chart data is recorded.
Bar
Red Marker Indicates where the first data displayed in the strip chart is
located in the overall data set. Expand the range of display
by “dragging” the red marker to the left (away from the
yellow marker) and decrease the displayed range by
dragging the red marker right (towards the yellow marker).
Light Blue Indicates where the data displayed on the strip chart is
Bar located in the overall data set.
Yellow Indicates where the displayed data ends. Expand the
Marker displayed range by “dragging” the yellow marker to the
right (away from the red marker) and decrease the
displayed range of data by dragging the yellow marker left
(towards the red marker).
11-18
Simulation Tools 11-19
3. Click and drag the interval marker across the strip chart. Release
the mouse button when the interval marker is in the required
location.
Figure 11.15
11-19
11-20 Databook
Option Description
Graph Customize the appearance of the strip chart and modify
Control curve and axis parameters. For more information, see the
Graph Control section.
Legend Opens the Legend view.
Graph Control
To open the Strip Chart Configuration view, click the Graph
Control command in the strip chart Object Inspect menu. Use
this view to modify the characteristics of the strip chart.
11-20
Simulation Tools 11-21
General Tab
Use the General tab to format the appearance of the strip chart.
Figure 11.16
Checkboxes are used to modify Check the Visible checkbox to make the
the appearance of the strip background, grid, or frame colours visible.
chart. Select the appropriate Select a colour for the item by double-clicking
checkbox to display the option the colour field and selecting a colour from the
on the strip chart. colour palette.
Opens the
Databook view.
Curves Tab
The Curves tab is used to modify the appearance of individual curves in
the strip chart. You can also modify how strip chart variables, variable
11-21
11-22 Databook
Figure 11.17
The Object/Variable and Display Label fields Check the Show Curve checkbox to
display the strip chart curve names. By display or hide the selected curve.
default, the Display Label is copied from the Check the Live Values checkbox to
Object/Variable field. Change what is display the most recent calculated
actually displayed in the strip chart by strip chart values.
modifying the Display Label field.
Displays the axis associated with Opens the Opens the Setup Deletes the
the selected strip chart variable. Databook Logger view. selected curve.
Use the drop-down list to select view. Specify logger
any of the axes currently created sample size and
on the Axes tab for the same sample interval.
variable type.
Axes Tab
The Axes tab allows you to create, modify, and delete the y-axes.
Figure 11.18
Select an axis to The Curves group Lists all the variables that
modify. are associated with the selected axis.
11-22
Simulation Tools 11-23
Object Description
Label field Allows you to change the label name of the
selected vertical axis (y-axis) in the strip chart.
Units field Allows you to change the unit label of the selected
vertical axis by using the drop-down list.
Approx Num of Allows you to set the number of intervals on the
Intervals field vertical axis.
Scaling group The Scaling group contains the following objects:
• Current row. Displays the actual high and
low range values of the axis.
• Default row. Displays the UniSim Design
default high and low range values of the axis.
• Set button. Allows you to copy the ranges
from the Current row into the Default row.
• Use button. Allows you to copy the default
ranges from the Default row into the Current
row.
Auto Scale group This group contains the following objects:
• All Points radio button. Allows you to
automatically adjust the scale to best show
all of the data points available.
• Current Time Frame radio button. Allows
you to automatically adjust the scale to best
show all the data points available within the
current time frame.
• Automatic Auto Scale checkbox. When
The Automatic Auto Scale you check the Automatic Auto Scale
checkbox is automatically checkbox, UniSim Design automatically
unchecked when you calculates the most suitable scale setting for
move the curves, adjust all the axes in the strip chart. Uncheck to
the grid, zoom in/out, or allow user-specified scaling.
scales a single curve in • AutoScale button. Automatically adjust the
the strip chart. high and low range values for all axes. The
AutoScale button is automatically disabled
when the Automatic Auto Scale checkbox is
active.
New Axis button Allows you to create a new axis in the strip chart.
Delete Axis button Allows you to delete the selected axis created by
the user. The UniSim Design default axes cannot
be deleted.
Axis Display group Check the Show All checkbox to display all the
vertical axes with individual scale settings in the
strip chart. Uncheck to display only one selected
axis.
11-23
11-24 Databook
axis.
Figure 11.19
The following table lists and describes the objects on the Time Axis tab.
Object Description
Enter time using the Units group This group contains four radio buttons:
following format: • Seconds. Displays the time in seconds on
HHH:MM:SS.S the x-axis.
• Minutes. Displays the time in minutes on the
x-axis.
• Hours. Select to have the time displayed in
hours on the x-axis.
• Formatted. Select to have the time
displayed in standard time display (i.e.
hour:minute:second.second).
Low Time field Allows you to enter the low range value of the time
shown on the x-axis on the strip chart.
High Time field Allows you to enter the high range value of the
time shown on the x-axis on the strip chart.
Delta Time field Allows you to enter the difference between the
high and low range value of time. If the Low Time
and High Time fields are specified, the Delta Time
field shows the time difference.
Customize Time When you check the Customize Time Interval
Interval checkbox checkbox, the Time Interval field is enabled. In the
Time Interval field, you can specify the size of
each time interval on the x-axis.
Enable group Allows you to show the time axis label on the strip
chart. When you uncheck the Time Axis Visible
checkbox, the time axis label is removed from the
strip chart.
Open Databook Opens the Databook view.
button
Set-up Logger button Opens the Setup Logger view which allows you to
specify the logger sample size and the sample
interval.
11-24
Simulation Tools 11-25
Printing Tab
The Printing tab is used to control the printed output of the strip
chart.
Figure 11.20
In the Options
group, you can
select what you
want to print with
the strip chart.
Notes Tab
To see all notes entered in Enter notes or comments about the strip chart in the notes tab
the simulation case, refer
to Section 7.19 - Notes
to let others know what the chart displays.
Manager.
Figure 11.21
11-25
11-26 Databook
Figure 11.22
Resize the Historical Data The Historical Data view records the data history for the variables on a
view to see more strip chart. The number of points recorded and the time between points
information.
is determined by the logger size and sample interval values specified in
the Logger Set-Up view. All data in the Historical Data view are
displayed in ascending order by default (the Ascending checkbox is
checked automatically). You can uncheck the Ascending checkbox to
display the data in descending order.
Figure 11.23
11-26
Simulation Tools 11-27
Figure 11.24
Adding a Scenario
You can create an 1. Click the Add button.
unlimited number of
scenarios.
A scenario with the default name Scenario 1 appears in the list of
available scenarios. If required, type a new name in the Current
Scenario field.
Variables can be included 2. From the list of available variables, check the Include checkbox for
in more than one each process variable you want to add to the scenario.
scenario.
Recording States
When you make changes to your process, you can record the values of
the key variables contained in the scenario.
1. From the list of available scenarios, select the scenario you want to
use.
2. Click the Record button.
The New Solved State view appears. The initial default name for the
New Solved State view new state is State1. Each time you click the Record button, the
11-27
11-28 Databook
Repeat these steps each time you want to record the process variables
in the scenario. You can record an unlimited number of states for a
given scenario.
Viewing a Scenario
If you create more than States within a scenario can be viewed in either tabular or graphical
one scenario, the format.
scenarios are grouped in a
Notebook format. 1. From the list of available scenarios, select the scenario you want to
view.
2. Select either the Table or Graph radio button.
3. Click the View button. The Data Recorder view appears.
Figure 11.25
11-28
Simulation Tools 11-29
Figure 11.26
Refer to Section 10.4 - Customize the scenario plot by accessing the Graph Control property
Graph Control for
view. Right-click anywhere on the plot area and select the Graph
information about
customizing plots. Control command from the Object Inspect menu.
If more than two variables are active in the Data Recorder Setup
view, only the first two are plotted.
Deleting a Scenario
When a scenario is 1. From the list of available scenarios, select the scenario you want to
deleted, the attached delete.
variables are not deleted
from the Databook. 2. Click the Delete button.
Deleting a State
1. From the list of available scenarios, select the scenario you want to
view.
2. Select either the Table radio button or the View button. The Data
Recorder view appears.
3. Click in the column of the state you want to delete.
4. Press the DELETE key.
11-29
11-30 Databook
Figure 11.27
Button Description
Add Adds a scenario to the Databook.
Delete Removes the selected scenario from the Databook.
Results Opens the Data Recorder view to the tab of the selected
scenario.
11-30
Simulation Tools 11-31
Since a maximum of two After the case study solves, examine the states in a table or view the
independent variables can results in a plot. Although you can select as many variables as you want
be plotted, limit the
number of states and for a case study, a maximum of three variables can be shown on a plot.
minimize solution time by
selecting only two One independent variable and two dependent variables produce a two-
independent variables per
case study. dimensional plot while two independent variables and a single
dependent variable appear on a three-dimensional graph.
Figure 11.28
11-31
11-32 Databook
want to delete.
2. Click the Delete button.
11-32
Simulation Tools 11-33
Figure 11.30
8. Click the Start button to begin calculations. At any time during the
calculations, click the Stop button to stop calculating.
9. Click the Failed States tab.
Figure 11.31
If any of the states could not solve, these states and the unit
operation associated with failure appear on this tab.
10. From the list of available failed states, click the failed state to see
the value at which the independent variable failed.
11-33
11-34 Databook
Figure 11.32
If two independent
variables are checked,
only the first checked
dependent variable
appears on the plot. If
one independent variable
is used, the first two
checked dependent
variables are shown on
the plot.
12. From the list of available dependent variables, select the variables
for which you want to show results.
13. Click the Results button. The Case Studies view. appears.
Figure 11.33
To delete a
Click the state cell
state, right-
and modify the
click an
name.
associated cell
and select
Renames the
Delete from
existing states to
the menu.
the default names;
State1, State2,
State3, etc.
Opens the
Case Studies
Deletes the active Setup view.
case study.
11-34
Simulation Tools 11-35
Figure 11.34
Refer to Section 10.4 - Customize the scenario plot by accessing the Graph Control property
Graph Control for more
information about
view. Right-click anywhere on the plot area and select the Graph
customizing plots. Control command from the Object Inspect menu.
Multi-Dimensional Graphing
When conducting case studies that involve two independent variables,
these results are plotted in a three-dimensional graphing environment.
Figure 11.35
11-35
11-36 Databook
plots three-dimensionally.
The limits of the system allow for only three dimensions. Any
more than two independent variables results in no graph
being produced.
Figure 11.36
The Azimuth field defines the angle between a horizontal plane and the
XY plane of the plot. This means that an azimuth of 0.0 results in a view
of the XY plane as a single horizontal line across the screen. The
azimuth can be manipulated by clicking in the Azimuth field, entering a
value, and then clicking the Apply button.
The Angle field defines the angle between the vertical and the XZ (YZ)
plane of the plot. Increasing the angle causes the graph to rotate
counter-clockwise. The angle can be manipulated by clicking in the
Angle field, entering a value, and clicking the Apply button.
11-36
Simulation Tools 11-37
Figure 11.37
A sample plot using the plane slice method appears in the figure below:
Figure 11.38
The planar slice can be moved through the plot by pressing the right
and left arrow buttons located within the Plane Slice group.
11-37
11-38 Databook
is applied, the values in that state are used to calculate the flowsheet.
If you want to switch which variables are specified in some of the
states, simply add all of the potential variables to the scenario and then
leave unspecified values empty. Variables for the spec scenarios are
selected on the Variables tab of the databook.
Figure 11.39
11-38
Simulation Tools 11-39
The Face Plate Manager lets you quickly search all available flowsheets
in the case and open the faceplate of the controller you want.
11-39
11-40 Dynamics Assistant
3. Click the Open button to display the face plate for that controller.
OR
1. If you know the name of the controller, but not the location, click
the Find button. The Find Object view appears.
2. Type in the name of the controller, then click OK. The controller
property view appears, giving you access to all the controller
parameters and the controllers face plate.
Figure 11.42
When the scalable face plate type is selected, you can change the face
plate font by clicking the Set Font button in the Face Plate Manager.
11-40
Simulation Tools 11-41
The Dynamic Profiling Tool logs the CPU time spent in the main modules
of a case during dynamic simulation. Therefore, it allows you to
compare the speed of the modules within the case.
Figure 11.43
Profiling Controls
The buttons found in the Profiling Controls group are:
• Start Profiling. The profiling tool begins to record data from an
active case.
• Stop Profiling. The profiling tools stops recording data from a
case.
• Clear Results. This clears the results that are currently in the
Profiling Results group.
11-41
11-42 Dynamic Profiling Tool
Profiling Results
The Profiling Results group displays a table with four categories and
their corresponding radio buttons. The table displays the following
information:
• Cost. The CPU cost of an object for a certain integration time.
The CPS time associated with flashes is attributed to the object
and not the pressure flow solver module.
• Name. The name you have given to the object in your case.
• Type. The type of object in your case. (e.g., valve, separator,
feeder block, etc.)
• Converge Problems. The status of the pressure flow solver
convergence problems associated with a module. The checkbox
is checked if the module requires four or more pressure flow
solver iterations during the integration period. Four iterations
represents a high iteration count.
Figure 11.44
11-42
Simulation Tools 11-43
Figure 11.45
11-43
11-44 Snapshot Manager
As well, you can compare the profiling results by object type. For
example, if one valve is much more expensive than the rest, then that
valve deserves some investigation.
11-44
Simulation Tools 11-45
snapshot.
Figure 11.46
Saves a
snapshot
Deletes an
existing group of
snapshots.
Displays the
Name (group
name) of the
snapshots.
Refer to Chapter 7.6 - The Configuration group is used to specify how you want the snapshot
Integrator for more
information on the
to be taken. The following table describes each parameter in the
Integrator. Configuration group:
Object Description
Name Displays the group name of the snapshots in the
Snapshot List.
FileName Displays the root directory path and the generic
name of the snapshots. The root path must
contain the generic name of the snapshots. By
default, the generic name is set to be the same as
the Name (group name) of the snapshots.
Click the Ellipsis icon to change the directory or
file name. The File Selection for Saving Snapshot
view appears.
Ellipsis icon Append to Name Consists two radio buttons:
• Real Time. Attaches the current date and
real time to the FileName of the snapshot
(e.g., snapshot1_2002-12-24_10-20-
15.usp).
• Sim Time. Attaches the current date and
simulation time to the FileName of the
snapshot (e.g., snapshot1_2002-12-
24_10-20-15.usp).
• Index. Labels the snapshot in chronological
order by attaching an index number at the
end of the FileName. (e.g.,
snapshot1_1.usp).
11-45
11-46 Snapshot Manager
Object Description
Snapshot Type Consists of two radio buttons:
• Periodic. The Periodic Specs table appears
upon activating the Periodic radio button. In
the table, you can set the snapshot capturing
parameters by specifying the Start Time, End
Time, and Time Interval.
• Specified. A table should appear upon
activating the Specified radio button. In the
Specified Time column, you can specify the
time (real time) that you want to take the
UniSim Design displays snapshot. You can choose the unit of input
all time in standard time from the drop-down list. UniSim Design
display: hh:mm:ss. automatically converts your input into
standard time display. The status of the
snapshots are shown in the Processed
column. The Specified Time values must be
equal or larger than the Current Time value.
Periodic Specs The table contains three fields:
• Start Time. Allows you to specify the time to
take the first snapshot. You can choose the
unit of input from the drop-down list. UniSim
Design automatically converts your input into
standard time display.
• End Time. Allows you to specify the time to
take the last snapshot. You can choose the
unit of input from the drop-down list. UniSim
Design automatically converts your input into
standard time display. The End Time value
must be larger than the one of Start Time. If
the field is left blank as <empty>, End Time
is equivalent to infinity.
• Time Interval. The time interval between
capturing each snapshot. It is the capturing
frequency of the snapshots. The minimum
value for the Time Interval is 1 second. If the
Time Interval field is left blank as <empty>,
no snapshots will be taken.
Save PFD with Allows you to save the PFD with the simulation
Snapshot results in one single file.
Save PFD in Single Allows you to save the PFD in a separate file
Separate File without saving it each time as the simulation
results are being saved. This speeds up the saving
process of the snapshot.
Restore PFD Upon Allows you to restore the PFD upon load if the PFD
Load if Saved in was saved in a separate file when the snapshot is
Separated File saved.
Enable Snapshot Allows you to manually activate the snapshot
option according to the specified settings.
11-46
Simulation Tools 11-47
group of snapshots.
Figure 11.47
The following table lists and describes the columns in the Real Time
Info table.
Object Description
Snapshot Displays the group name of the snapshots in the Snapshot
Name List, and the Name field on the Local Snapshots tab.
Type Displays the type (Periodic or Specified) of snapshot you
specified in the Configuration group on the Local Snapshots
tab.
Time Spent Displays the time spent on saving the last snapshot.
Count Displays the number of snapshots taken under the same
group.
Enable When you check the Enable checkbox, the snapshots are
taken under the specified conditions in the Local Snapshots
tab.
Active Displays the status of a group of snapshots. A green check
indicates that all the specifications are valid and the
Snapshot Manager is ready to take the snapshots. A red
cross indicates that some of the specifications are not valid
or the Periodic Specs have expired.
The External Snapshots tab allows you to set the PFD saving
preferences when you are taking a snapshot outside of the Snapshot
Manager. These saving preferences are the same as the first three
11-47
11-48 Snapshot Manager
Figure 11.48
Displays the
directory of the
current PFD file.
From the Save As Type drop-down list, select UniSim Design USP Cases
11-48
Simulation Tools 11-49
Figure 11.49
In the File name field, type the name you want to save the snapshot as.
There is no date, time, or index that will be appended to the end of the
file name. You can view the last saved PFD location in the Current PFD
File field on the External Snapshots tab.
11-49
11-50 Script Manager
controller output).
Figure 11.50
Displays
the name
Activates the of the
action. action.
Selects the
Displays the type of the
action name from action from
the Name field in the drop-
the individual down list.
Action
Saves
Specification
the
group.
snapshot
manually.
The recorded script can be played back later. To access the Script
Manager view, select the Script Manager command from the Tools
11-50
Simulation Tools 11-51
menu.
Figure 11.51
Figure 11.52
11-51
11-52 Macro Language Editor
9. Save the case with a different name. If you save the case with the
same name, this will prevent you from playing back the script.
At any time during the playback, you can stop the script by
opening the Script Manager view and clicking the Stop Play
button. This stops the script, but does not stop the UniSim
Design function that was occurring during playback.
For more information, The UniSim Design Macro Language Editor is an interactive design
consult the Online help by
environment for developing, testing, and executing WinWrap Basic
clicking Editor Help
command in the Help scripts. The editor uses a syntax that is similar to Microsoft Visual
menu of the UniSim Basic®.
Design Macro Language
Editor.
Refer to Section 2.5 -
Example 1: The Macro
Language Editor in the
UniSim Design
Customization Guide for
an example.
11-52
Simulation Tools 11-53
Figure 11.53
New Features
The Macro Language Editor now has two new features:
• Auto completion feature, which helps you complete the user
variable codes and helps you debug the program with flyby
evaluation.
Figure 11.54
11-53
11-54 Case Security
Figure 11.55
The Case Security command from the Tools menu enables you to access
the Enter Master Password view. This view contains options to lock a
UniSim Design case and enable the Runtime Mode.
The Runtime Mode allows you to run a pre-built case with access
restricted to certain areas in the case only. This option serves as a
security control that allows clients (especially consultants, contractors,
and licensors) to deliver a complete UniSim Design model with their end
product while protecting their business interests and the intellectual
property contained within the product model.
11-54
Simulation Tools 11-55
Figure 11.56
The password is case 2. In the Case Security tab, type the password you want to use for
sensitive and must be at
least six characters in
the case in the Password field.
length. 3. Retype the password in the Confirm field.
4. Click the Accept Password icon.
Accept Password icon The File Security Setup view appears.
Figure 11.57
11-55
11-56 Case Security
8. Click the Close and Exit icon to save the case security setting.
Design Case
When loading a case that is locked to a password, the following view
appears.
Figure 11.58
Figure 11.59
See Setting a Time If the correct user password was entered, but the time restriction date
Restriction section in the
has expired, then the following message appears:
following section for more
information about the
time restriction date. Figure 11.60
This message appears only once and uses one attempt of the log on
procedure.
11-56
Simulation Tools 11-57
• If the case was never locked, the Enter Master Password view
appears.
Figure 11.61
The password is case Specify a new password, confirm the password, and click the
sensitive and must be at
least six characters in Accept Password icon.
length. • If the case is locked, the Enter Master Password view appears.
Figure 11.62
Accept Password icon
11-57
11-58 Case Security
Figure 11.63
11-58
Simulation Tools 11-59
Master Password
The master password is case sensitive, cannot be less than 6
characters, and cannot be more than 24 characters.
Figure 11.64
3. Enter the password, then press ENTER. The New Password view
appears.
Figure 11.65
Accept Password icon 4. Enter a new password in both the Password and Confirm fields.
5. Click the Accept Password icon.
6. Click the Cancel icon to exit the function.
Cancel icon
11-59
11-60 Case Security
Figure 11.66
Press the ESC key at any 2. Enter the password, then press ENTER.
time to cancel deleting
the password.
User Password
After a master password is entered, a user password can also be
entered. This is optional, but useful when more than one user is
working with the case and you do not want to give access to the
security setup.
If a case is opened with a user password, then the File Security Setup
view is not available.
11-60
Simulation Tools 11-61
view appears.
Figure 11.67
11-61
11-62 Case Security
appears.
Figure 11.69
2. From the month drop-down list, select the month that the password
expires.
3. From the year drop-down list, select the year that the password
expires.
4. From the calendar, select the day that the password expires. This
date is the time restriction date.
Accept and close icon 5. Click the Accept and close icon.
Hardware Locks
Cases can also be locked to hardware devices on your machine or a
client machine for additional security. The Hardware Locks button
scans the current machine for a possible lock, while the Advanced
button lets you enter information that is found on a client’s machine.
11-62
Simulation Tools 11-63
appears.
Figure 11.70
2. Click the Scan button to scan your system for all the locks listed.
The Lock code column either displays the lock code for the
associated hardware device or “Not Found” if no lock code is
available.
3. Check the Accept checkbox for each of the lock codes you want to
lock the case to.
4. Click the Exit View icon to accept the changes. The selected lock
Exit View icon codes appear in the Hardware Locks table.
You can click the Cancel icon to close the Scan All Locking Codes
view without accepting any changes.
Cancel icon
Figure 11.71
2. From the Lock Type drop-down list, select the hardware device
being locked to the case.
3. In the Lock Code field, specify the lock code that corresponds to
the selected lock type.
Accept icon 4. Click the Accept icon and the lock code displays in the Hardware
Locks table.
You can click the Cancel icon to close the view without accepting
Cancel icon
any changes.
11-63
11-64 Case Security
You can use the Echo ID tool to help you determine the lock codes for
your computer. Refer to Section 11.16 - Echo ID for more
information.
Figure 11.72
Press the ESC key at any 3. Type the correct password and press ENTER.
time to cancel this
operation.
To remove all hardware locks:
1. Click the Remove All button. The Enter Master Password view
appears.
Figure 11.73
11-64
Simulation Tools 11-65
Figure 11.74
11-65
11-66 Case Security
this situation you can create any number of different runtime cases,
all marked with the same author (or runtime id). Then any of your
clients or affiliates which have a runtime license authorizing the
running of your authored cases can utilize these cases. Contact
Honeywell if you would like to author runtime cases in this manner.
Honeywell will supply you with a RunTime-Author license.
2. If your license file does not have RunTime-Author capability, or if
you do not wish to convert a case to runtime as this author, you can
also use a unique RunTime ID (RTID). This RTID is automatically
generated for each case each time you convert the case to runtime.
In this situation, you will need to contact your client or affiliate and
inform them that they need to request a runtime license file from
Honeywell which permits the use of runtime cases with this RTID.
There is also some capability for the creator of the runtime case to
permit or restrict what unit operations or specifications may by
changed. See below for more details on this.
Figure 11.75
11-66
Simulation Tools 11-67
General Tab
The General tab allows you to set general restrictions in a runtime case.
Figure 11.76
11-67
11-68 Case Security
Checkbox Descriptions
Test Runtime You can check this checkbox to test the current case in
Mode runtime mode under the settings specified in the
Runtime Case Options and Specifications tab.
Once the case is Convert to You can check this checkbox to convert the current case
converted into runtime Runtime Mode to a runtime case under the settings specified in the
mode, you have to exit Runtime Case Options group and Specifications tab.
UniSim Design to restore
the standard operation
mode.
Runtime Case Options Group
The Runtime Case Options group contains the following checkboxes:
Checkbox Descriptions
Can Change All Allows you to change all the specified properties (blue
Specifications values) of the unit operations in the runtime case.
Enable OLE Enables you to apply the OLE password protection
password feature.
protection When this protection feature is activated, only OLE
access to the case is allowed if the runtime password is
supplied. The OLE methods available are:
• OpenLockedOLEWithPassword
• put_VisibleWithPassword
• PlayScriptWithPassword
• PlayScriptRelativeToWithPassword
So, if a case is OLE locked then,
• OpenWithPassword is replaced by
OpenLockedOLEWithPassword
• PlayScript is replaced by PlayScriptWithPassword
• PlayScriptRelativeToWithPassword
• put_Visible is replaced by
put_VisibleWithPassword
Can Open All Enables you to toggle between access to or restriction
Flowsheet from all flowsheet objects when in runtime mode.
Objects This feature overrides any protections specified on the
Access tab.
Bind Case Enables conversion to runtime case with the Runtime
Against Author ID being set equal to the author. This allows the user
ID of the runtime case to use an existing license file which
permits the loading of this author’s cases. the user can
use multiple cases from this author or publishing
company.
11-68
Simulation Tools 11-69
not have a runtime Authoring entry. One can still convert a case to
runtime but a unique RTID will be generated.
Figure 11.77
Specifications Tab
The Specifications tab will The Specifications tab allows the original Author of the runtime case to
appear blank if the Can
Change All select the parameters that can be modified in runtime mode.
Specifications checkbox
is selected. Figure 11.78
11-69
11-70 Echo ID
The parameters you select appear in the table on the Specifications tab,
and you can view the Object Name, Description, Object Type, and
Variable Owner for each parameter. The parameters you can modify
appear in blue text when you run the runtime case.
You can modify only the parameters selected on the Specifications tab
when the case is in runtime mode. All other parameters are view-only
(black text) for the runtime case.
Access Tab
The Access tab will The Access tab enables you to select which objects in the simulation
appear blank if the Can
Open All Flowsheet case can be viewed by other people.
Objects checkbox is
selected. Figure 11.79
To remove an object:
1. In the Object Name list, select the object you want to remove.
2. Click the Remove button.
11.16 Echo ID
The Echo ID tool allows you to scan your computer and display all of the
11-70
Simulation Tools 11-71
available locking codes. To open the Scan All Locking Codes view, click
the Echo ID command in the Tools menu.
Figure 11.80
11-71
11-72 Correlation Manager
Figure 11.81
11-72
Simulation Tools 11-73
The stream property view lets you create your own group of property
correlations called a correlation set. The Stream Correlation Set
Controls (Global) group lets you to select a correlation set and globally
apply it to all streams in the case.
11-73
11-74 Correlation Manager
11-74
Simulation Tools 11-75
Figure 11.82
11-75
11-76 Correlation Manager
2. Click the View Global Correlation Set List icon. The Correlation
Set Picker view appears.
3. Select the correlation set you want from the view. You can click the
+ icon to see what property correlations the correlation set
contains.
4. Click the Apply button. The selected correlation set is now the
active global correlation set. All the streams in the case contain the
selected correlation set and any new stream added to the case will
automatically contain the selected correlation set.
The Active Set status bar turns green and displays the selected global
11-76
Simulation Tools 11-77
correlation set.
Figure 11.84
Refer to Adding a These correlations are grouped within the Gas correlation type. The Gas
Property Correlation in type is shown on the Available Correlations window of the Correlation
Section 3.1.1 -
Worksheet Tab from the Picker and Correlation Manager views. You can access the seven Gas
UniSim Design correlations by double-clicking on the Gas correlation type to expand
Operations Guide for
more information on the
Correlation Picker.
11-77
11-78 Correlation Manager
the list.
Figure 11.85
The following four Gas correlation types allow you to specify the
calculation’s reference temperature:
• Higher Heating Value
• Lower Heating Value
• Mass Density (Std. Cond)
• Wobbe Index
Properties
The Gas correlation uses the methods and data from ISO
6976:1995(E). If the stream contains components that are not
supported by this data, then the data for the hydrocarbon with the
nearest molecular weight Alkane is used. If the molecular weight is
greater than decane (C10), then the data for decane is assumed. ISO
data has been provided to support the following components:
Components
Methane n-Decane n-C21 Propene M-Cyclohexane
Ethane n-C11 n-C22 Methanol CO
Propane n-C12 n-C23 EGlycol CO2
i-Butane n-C13 n-C24 TEGlycol H2S
n-Butane n-C14 n-C25 Benzene Ammonia
i-Pentane n-C15 n-C26 Toluene H2O
n-Pentane n-C16 n-C27 E-Benzene Hydrogen
11-78
Simulation Tools 11-79
Components
n-Hexane n-C17 n-C28 124-M-Benzene Nitrogen
n-Heptane n-C18 n-C29 Cyclopentane Argon
n-Octane n-C19 n-C30 Cyclohexane Oxygen
n-Nonane n-C20 Ethylene M-Cyclopentane
∑ xi × HHVi (11.1)
HHV = ----i----------------------
Z
where:
∑ xi × LHVi (11.2)
LHV = ----i---------------------
Z
where:
11-79
11-80 Correlation Manager
PV = nZRT (11.3)
where:
P = Pressure (kPa)
V = Volume
n = Number of moles
Z = Compressibility factor
T = Temperature (K)
1 P
-- = ------- (11.4)
V ZRT
⎛ ⎞
⎜
⎜
⎝
∑ x × MW ⎟ × P
i i⎟
⎠
(11.5)
ρ = ------i------------------------------
Z×R×T
11-80
Simulation Tools 11-81
where:
Water Content
The water content is the mass of water per unit volume of each phase.
It is expressed as mg/m3.
Wobbe Index
The Wobbe Index (or Wobbe Number) is a measure of how much heat
is released when gas is burnt.
Wobbe = ------HHV
-------------- (11.6)
ρ
relative
∑ xi × MWi Z
∑ x × MW
i i
(11.7)
air 0.99958
ρ = ----i-------------------- × ------------- = ----i-------------------- × -------------
relative Z MW Z 28.962
air
where:
11-81
11-82 Correlation Manager
The RVP and Standard types are shown on the Available Correlations
Refer to the section on window of the Correlation Picker and the Correlation Manager views.
Adding a Property
Correlation in Section (For more information on using the Correlation Manager, refer to
3.1.1 - Worksheet Tab Section 11.17 - Correlation Manager.)
from the UniSim Design
Operations Guide for
more information. You can access the eight correlations by double-clicking their
corresponding correlation type to expand the list.
Figure 11.86
11-82
Simulation Tools 11-83
Properties
The following is a brief description of each of the correlations listed
under the RVP type.
ASTM D323-73/79
This correlation is also known as P323. The pressure is adjusted at the
RVP reference temperature until the vapour to liquid ratio is 4:1 by
volume. This correlation is essentially the same as the Reid VP at 37.8
C correlation, except it is not on a dry basis and the flash method used
is the same for the rest of the flowsheet.
ASTM D323-82
This is the standard and accepted procedure for RVP lab measurement.
Liquid hydrocarbon is saturated with air at 33°F and 1 atm pressure.
Since the lab procedure does not specify that the test chamber is dry,
the air used to saturate the hydrocarbon is assumed to be saturated
with water.
11-83
11-84 Correlation Manager
volume ratio and flashed at the RVP reference temperature, such that
the total volume is constant (since the experimental procedure uses a
sealed bomb). The gauge pressure of the resulting mixture is then
reported as the RVP.
ASTM D4953-91
This correlation is for oxygenated gasoline. It is the same as the D323-
82 test method, except everything is on a completely dry basis (i.e., the
air is not saturated with water).
ASTM D5191-91
This was developed for gasoline and gasoline-oxygenate blends as an
alternative to the D4953-91 test method. In the experimental
procedure, the hydrocarbon is saturated with dry air and then placed in
an evacuated bomb with five times its volume. The total pressure is
then converted to a dry vapour pressure equivalent (DVPE) and
reported as the RVP.
The method used is to mix near vacuum air at 0.01 psia and 100°F with
hydrocarbon at 1 atm and 33°F in the ratio 4:1. This is then flashed at
constant volume at the RVP reference temperature. The pressure is
then converted to a DVPE and reported as the RVP.
Nitrogen, oxygen, and water need to be present in the stream if you are
using the following RVPs:
• ASTM D323-82
• ASTM D4953-91
• ASTM D5191-91
If all three components are not present within your stream and you
want to use any of the above three RVPs, UniSim Design will administer
a warning in the trace window.
Electrolyte Components
Electrolytes are the only type of components which cannot be used with
11-84
Simulation Tools 11-85
Figure 11.87
11-85
11-86 Alarm Manager
a dynamic case:
• Click the Alarm Manager icon in the toolbar (A yellow warning
symbol)
• Click the Alarm Manager menu entry in the Tools menu
• Double-click on an Alarm Manager message in the status
information area when the Alarm Manager status appears as a
result of an alarm event.
For each alarm event an entry is created in the alarm display manager
displaying the following information:
Event Description
State Whether the object is actually in alarm or not. An asterisk in
this column indicates that this item is still in alarm. (This allows
the view to differentiate between items in alarm and items
which have moved from an in-alarm state to a no-alarm state
without the user having acknowledged the occurrence of the
alarm).
Ack The checkbox indicates whether the alarm has been
acknowledged y the user. Clicking on the checkbox when it is
an unchecked state acknowledges the alarm. Clicking on an
already-checked field has no effect.
Tag Name The name of the equipment item. Depending on context, the
displayed name will be the plain equipment name - or if the
equipment item is present in a sub-flow sheet - the fully
qualified equipment name. Clicking on this display pops-up the
view of the equipment item in question.
Type Describes the Alarm type - may be one of HighHigh, High, Low
or LowLow.
Trip Displays the trip point of the breached alarm threshold.
Value Displays the current value of the displayed variable.
11-86
Simulation Tools 11-87
11-87
11-88 Variable Navigator
Acknowledging an Alarm
To acknowledge an individual alarm:
• Click the checkbox in the Ack column
Status Reports
The user is alerted to alarm-related activity by entries in the Status
Window.
11-88
Simulation Tools 11-89
Figure 11.88
You can click the Cancel button at any time to close the Variable
Navigator without accepting any changes.
11-89
11-90 Simulation Balance Tool
Navigator Scope
The following table provides information on the different navigator
scopes you can use.
Object Definition
Flowsheet Provides a list of all available flowsheets in the simulation,
so you can select an object from any flowsheet.
Case Access general case information (for example, about the
Main Solver or Optimizer). You can also use this option
when a column is the main flowsheet (for example, if you
are in a column template, then there are a bunch of
variables that have to be accessed through the Case filter.
This is because the column template file doesn't have the
upper environment, so those variables become available
through the case filter).
Basis Provides a list of property packages or components being
used in the case.
Utilities Provides a list of all available utilities in the simulation. A
special utility Object Filter replaces the default filter.
11-90
Simulation Tools 11-91
Figure 11.89
All variables used by the RTO Manager are managed through the
Transfer Tables. Each transfer table is created for each derivative or
data recon utility. Multiple transfer tables can be created for the same
utility.
Figure 11.90
2. From the list of available utilities, select the utility which uses the
optimization objects whose variables need external access.
11-91
11-92 RTO Manager
Click the Cancel button at any time to close the Select Utility view
without accepting any changes.
3. Click OK. A transfer table which is attached to the selected utility
appears in the list of Transfer Tables. If required, type a new name
in the Name field.
Figure 11.91
11-92
Simulation Tools 11-93
Figure 11.92
Figure 11.93
2. From the list of available objects, select the object whose variables
are needed for external access.
11-93
11-94 RTO Manager
3. Click OK. The selected optimization object will be added to the list
of Objects and all variables of the object will also be displayed in the
matrix of Variables which includes columns Variables, Show and
Access Mode.
Figure 11.94
4. Check the Show checkbox for each variable you want displayed in
the transfer table.
5. Click the Enable All button to add all of the variables to the transfer
table.
6. Click the Invert All button to check all unchecked checkboxes and
uncheck all checked checkboxes.
7. Click the Disable All button to remove all of the variables from the
transfer table.
8. If checkbox Apply changes to objects of the same type is checked,
any changes in Show and Access Mode will be applied to all other
objects of the same type.
11-94
Session Preferences 12-1
12 Session Preferences
12-1
12-2 Session Preferences
12-2
Session Preferences 12-3
12.1 Introduction
The Session Preferences view is used to specify default information for
the simulation case. This information includes Automatic Naming
Formats, Units, Colours, Fonts, Icons, etc. Multiple Session Preferences
can be saved for use in other simulations.
Figure 12.1
There are a number of tabs associated with the view. Common to all
tabs are the three buttons along the bottom of the view:
• Save Preferences
• Save Preferences As...
• Save Preferences file by default
• Load Preferences...
12-3
12-4 Introduction
Figure 12.2
Figure 12.3
The user can decide if there is a need to save the preference file on to
their maching by clicking Yes or No.
12-4
Session Preferences 12-5
Figure 12.4
The following table lists and describes the checkboxes in the General
12-5
12-6 Simulation Tab
Options group.
Option Description
Allow Multiple Controls whether lists of streams are filtered only to
Stream those that are not currently connected. If this
Connections checkbox is unchecked, when you use the drop-down
list of streams to select a feed to an operation, only
streams that are not already connected as a feed to an
operation appear in the list. If the checkbox is checked,
all the streams in the flowsheet appear, including the
ones that you cannot connect as feed streams.
View New If checked, the property view for the stream
Streams Upon automatically appears when you add a new stream.
Creation
Use Modal When checked, all property views appear as modal
Property Views (with a Pin). When views are modal, you can
individually make each property view non-modal by
clicking the Pin in the upper corner of the view.
Record Time When checked, all notes are time stamped when they
When Notes are are modified.
Modified
Enable Cross When checked, any time the cursor is positioned over
Hairs on PFD the PFD view, a set of vertical and horizontal lines
appear and intersect where the cursor point is in the
view.
When unchecked, the set of lines do not appear.
Save XML Fluid When this checkbox is checked, you can save and
Package to User export an XML file that contains a fluid package to the
Defined File user-defined file so that HYPROPIII can manually read
the file.
Use Input Column operations have an optional installation expert
Experts built in to assist you in the installation. When this
checkbox is checked, the Input Expert guides you
through the Column installation.
Confirm Deletes When checked, you are prompted for confirmation
before deleting an object. If the checkbox is
unchecked, the object is deleted when the instruction
is given. It is recommended that you keep this option
checked.
Confirm Mode When this checkbox is checked, you are prompted for
Switches confirmation when changing to or from Dynamics
mode.
Enable Single When checked, all objects that require a double-click
Click Actions only require a single-click.
Enable Cell Edit When checked, a cell that is ‘editable’ has a button
Button appearing on the left side when the cell has focus.
Clicking this button, accesses the cell’s edit functions
(similar to pressing F2).
12-6
Session Preferences 12-7
The Transfer Basis group has six checkboxes. Use the checkboxes to
select the default transfer basis to be used in stream cutters,
subflowsheet templates, column internal/external stream connections,
etc.
12-7
12-8 Simulation Tab
Figure 12.5
A modal view with a Pin The modal view is indicated by the substitution of the Minimize/
can be converted to a
non-modal view by Maximize icons with a Pin icon. Some modal views, such as the Input
clicking the Pin icon. Composition view, do not have Pins. Click the Pin icon to switch to a
non-modal view.
Non-modal views are not restrictive because you can leave a non-modal
view open and interact with any other view or menu item. The non-
modal view has the Minimize/Maximize icons in the upper right corner
of the view.
12-8
Session Preferences 12-9
The Errors group has five checkboxes which, when checked, send the
specified errors to the Trace Window. When these checkboxes are
unchecked, you are not prompted to acknowledge errors.
12-9
12-10 Simulation Tab
Figure 12.7
The Initial Build Home View group contains radio buttons that let you
specify which of the three main views (Workbook, PFD, or Summary)
automatically appears when you first enter the Simulation environment.
This does not restrict your access within that environment, as the
Workbook, PFD, and Summary views can all be open at the same time.
This setting only establishes the view that appears by default.
The Face Plates group involves the placement of face plates on the
Desktop. When you have a large number of face plates open in a case
and you click the Arrange Desktop command in the Window menu, the
12-10
Session Preferences 12-11
Figure 12.8
When the Tile Face Plates Along Side radio button is selected, the
views are tiled as shown.
The face plates are either placed along the left side of the Desktop in a
column format or along the top in a row format. You can limit the
number of columns or rows (depending on the selected radio button) in
the Maximum Number of Columns/Rows field. Any excess face plates
that cannot be placed on the Desktop due to the columns/rows limit are
cascaded with other open views.
12-11
12-12 Simulation Tab
Figure 12.9
The following table lists and describes the objects in the Show Tool
12-12
Session Preferences 12-13
Tips group.
Object Description
Show ToolTips Activates the available tool tips. When this checkbox is
checkbox checked you can use the checkboxes in the ToolTips
group.
Default Unit Set Select this radio button to use the default unit set.
radio button
User Defined Select this radio button to define a custom unit set.
Unit Set radio The User Defined Unit Set table becomes active, and
button you can define the unit set.
Value Calculated Displays what operation calculated the value in the tool
By checkbox tip. Uncheck the checkbox if you do not want to see
this value.
Value in EuroSI Displays the value in European SI units in the tool tip.
Units checkbox Uncheck the checkbox if you do not want to see this
value.
Value in Field Displays the value in Field units in the tool tip. Uncheck
Units checkbox the checkbox if you do not want to see this value.
Value in SI Units Displays the value in SI units in the tool tip. Uncheck
checkbox the checkbox if you do not want to see this value.
User Define User Available only when the User Defined Unit Set radio
Set table button is selected. Allows you to define the unit set.
The following table lists and describes the objects in the Show PFD Fly
By group.
Object Description
Show PFD Fly By Click this checkbox to see the Fly by text in the PFD.
checkbox The Fly by displays information about an object when
you move the cursor over it in the PFD.
Steady State Select this radio button to view the Fly by text in
radio button Steady State mode.
Dynamic State Select this radio button to view the Fly by text in
radio button Dynamic Mode.
PFD object tree Select a PFD object type from the tree browser. A list of
browser Fly by options appears in the table to the right of the
tree browser.
Show PFD Fly By Select the checkboxes in the table to select the
Table parameters you want to view in the Fly by text. By
default, Temperature, Pressure, and Molar Flow are
already selected. Some options are available only in
Dynamic mode.
Reset to default Click this button to reset the Show PFD Fly By options
selections button back to the default setting.
12-13
12-14 Simulation Tab
The Default Trace Phase Tolerance value is 1E-6. This value can be
changed by the user. Any user entered Trace Phase Tolerance value
should be between 1E-6 and 1E-12.
12-14
Session Preferences 12-15
Figure 12.12
The following table lists and describes the objects on the Dynamics
page.
Object Description
Set dynamic stream Check the checkbox to automatically set all of
specifications in the the dynamic stream specifications.
background checkbox
Perform checks when Check the checkbox if you want to use the
switching to dynamics or Dynamics Assistant every time you switch
starting the integrator from steady state to dynamics, or when
checkbox starting the Integrator.
Save steady state case Check the checkbox if you want to save the
on switch to Dynamics steady state case before changing to dynamic
state.
Trace controller alarm Check the checkbox if you want to see
messages checkbox controller alarm messages in the Trace
Window.
Ignore convergence When checked, convergence failures for up to
failures checkbox five pressure flow steps are ignored. Checking
this option is not recommended, but it can be
useful when you know a converging case
converges while having problems during one
of the calculation steps.
Logger Size field Specify the amount of data (steps) you want
stripcharts to keep.
Sample Interval field Specify how frequent UniSim Design records
the data for the stripcharts. The shorter the
amount of time, the more frequent UniSim
Design records the data.
Delete Internal sub- When checked, all internal sub-flowsheet
flowsheet streams when streams are deleted when the corresponding
external streams are external stream is deleted.
deleted checkbox
12-15
12-16 Simulation Tab
Figure 12.14
12-16
Session Preferences 12-17
When the checkbox is clear, UniSim Design only updates the object
status of all the objects in the flowsheet at the end of the solve pass, in
other words, when UniSim Design has finished solving the entire
flowsheet. The calculation time decreases and performance improves
when you clear the checkbox.
The options in the Job Tracking Options group are Use Job tracking for
all checked out licenses and Use Defaults.
• If you check the Use Job tracking for all checked out
licenses checkbox, job numbers will be requested when either
a new or old case is opened. This option does not support
multiple jobs within a single UniSim Design session.
• If you check the Use Defaults checkbox, you can enter defaults
values in the adjacent table. If these defaults are set, UniSim
Design will not ask for any job information.
12-17
12-18 Simulation Tab
• You have the option to changing the warning for the number of
days that a commuted license will expire.
• You have the option to check for available license servers to
return commuted licenses
• You will have the ability to choose to auto-commute a network
license.
Figure 12.16
12-18
Session Preferences 12-19
Figure 12.17
Figure 12.19
12-19
12-20 Variables Tab
Figure 12.20
The copied and paste object will have -optim added to the back of its
name, as shown in the figure below of a copied separator:
Figure 12.21
12-20
Session Preferences 12-21
Figure 12.22
Used to delete
a custom unit
set from the
preferences.
These three sets cannot be modified in any way or deleted. If you want
UniSim Design to display information in units other than the default,
you can create your own custom unit sets.
The units used in the new unit set are the same as the unit set you
cloned.
12-21
12-22 Variables Tab
sets.
2. Click the Delete button.
12-22
Session Preferences 12-23
Figure 12.24
12-23
12-24 Variables Tab
2. Click the View Users button. The Unit Set view appears. This
Clicking the OK button button is available only if the unit set is attached to an object.
closes the view and
returns you to the
Session Preferences view. Figure 12.25
3. From the list of available users, select the user you want to view.
4. Click the View selected object button. The property view of the
selected user appears and the Unit Set view closes.
Figure 12.26
12-24
Session Preferences 12-25
Assigns the
UniSim Design
default format to
the associated
values.
12-25
12-26 Reports Tab
12-26
Session Preferences 12-27
Figure 12.28
Object Description
Shading When checked, headers, footers, and titles are shaded.
Line Number When checked, line numbers appear on the left side of
the report.
Thick Borders When checked, report border lines are thicker than the
other lines in the report.
Indicate User When checked, any user specified values in the
Specified Datasheet are indicated with an asterisk (*).
Start Datasheet When checked, each Datasheet starts on a new page.
on New Page
Empty Text Specify what you want to display in the Datasheet
when there is no value available. The UniSim Design
default is “---”.
Unit Set Select the unit set you want your Datasheet to use.
This gives you the option of printing Datasheets with
different unit sets than your case. For example, your
case may be in SI, but you can set the report to appear
in Field units.
Page Margins Set the margins of your page. The values are the
distance in inches from the edge of the page.
Paper Options Select the size of paper on which you want to print.
The list contains all the Microsoft defaults.
Orientation Select the orientation of the data on the paper. You
have two options: Portrait or Landscape.
12-27
12-28 Reports Tab
report.
Figure 12.29
Object Description
Use Delimiting Check this checkbox if you want the text file to always
By Default be delimited.
Title Description When checked, a title is added to the text file. The title
Visible includes the name of the object and the tabs that are
included in the report.
Header Field When checked, a header is added to the text file. The
Visible header includes the company information and the date
the report was created.
Footer Field When checked, a footer is added to the text file. The
Visible footer includes the UniSim Design version and build
number.
Fields Padded for When checked, spaces are added between each field to
Alignment align the fields.
Disable Column When checked, column wrapping is disabled. This
Wrapping means that text that goes past the edge of the page
does not wrap onto the next line.
Empty Text Specify what you want to display in the Datasheet
when there is no value available. The UniSim Design
default is “---”.
Delimiter Specify what you want to use as the delimiter in your
text file. The UniSim Design default is comma
delimited (,).
12-28
Session Preferences 12-29
Figure 12.30
12-29
12-30 Files Tab
1. In the Company Name field, type the company name that will
appear in the report header.
2. In the Company Location field, type the company location that will
appear in the report header.
The logo picture must be 3. To add a company logo, click the Select button. The Open File view
in bitmap format. appears. Browse to the location of your bitmap file (*.bmp).
4. Select the file you want to import and click the Open button.
Figure 12.32
From the Select style for ‘File Open’ and ‘Save As’ group, select either
the Standard Windows file picker or the custom file picker radio button.
The custom file picker displays custom UniSim Design open and save
views that show the build in which the case was saved, and the case
description (if one was added).
12-30
Session Preferences 12-31
to select the options you want to use. The following table lists and
describes the checkboxes.
Object Description
Save When checked, UniSim Design saves an auto recovery
AutoRecovery case in the time interval specified in the minutes field.
Cases Every You can use the up and down arrows to increase and
decrease the value of the field by one with each click,
or you can enter a value directly in the field.
Save When checked, UniSim Design saves an auto recovery
AutoRecovery case every time the integrator is run. This checkbox is
Case While only available when the Save AutoRecovery Cases
Integrating Every checkbox is checked.
Cascade Backups This checkbox is used in conjunction with the Number
on Every Save of Case Backups Automatically Maintained. When
checked, UniSim Design maintains the specified
number of backups of each simulation, using the
extension bk*. The newest backup is bk0, the next
newest bk1, etc.
Backup old cases Check this box if you want the Backup cases to include
with build the build number.
number in file
name
In the Default Files and Paths table, specify the file or path in which you
want the selected option to reside.
You can scroll down to the Stream Correlation Sets File field and change
the default name and path. UniSim Design has access to any custom
12-31
12-32 Files Tab
correlation set files (xml) which you also have access too.
Figure 12.34
The following table describes the items in Default file name creation
attributes for Save As groupbox.
Object Description
Show a pop-up view on Save As Decide if a pop-up window is to be
checkbox shown when Save As is invoked.
This window allows more options for
Save As.
Resolve inconsistency between Decides if the inconsistency between
file name and revision control the file name and the revision control
attributes on loading checkbox attributes will be addressed or not
after a file is loaded.
Append Name Creation Attribute Append a name creation attribute to
button the attribute list displayed in the
matrix below.
Delete Selected Name Creation Delete the selected name creation
Attributes button attributes in the matrix below.
Reorder Name Creation Sort the name creation attributes
Attributes button manually.
Name field The name of the attribute.
12-32
Session Preferences 12-33
Object Description
Type Field The data type of the attribute. The
choices are: Text, Number, Date,
Time and Yes/No.
Use Prefix Field Decide if a prefix character is to be
used before this field.
Prefix Field The character used immediately
before the content of the attribute.
Format Field The format for number and date
types. The number format is used for
generating file name only, but the
number itself should not exceed the
specified number of digits. In
generating the file name, smaller
numbers will use leading zeros to
make up the number of digits
specified.
Init Value Field The initial or reset value for a
number attribute.
Auto Inc Field Decide if a number is automatically
increased by 1 before saving the file.
However, if the next default file name
will conflict with an existing file in the
same directory, the number will keep
increasing until a non-conflicting
value is found.
Auto Reset Field Automatically reset to initial value
when any attribute above this one
changes.
Use Suffix Field Decide if suffix should be used with
the content of this attribute when
creating the default file name.
Suffix Field The character used immediately after
the contents of the attribute.
CSM Use Field Decide if this attribute should be
shown in case scenario manager
project setup view.
The optional attributes do not form part of a file name, but are saved
along with the file to provide additional information on the file.
Object Description
Append Optional Attribute button Append an optional attribute to the
attribute list displayed in the matrix
on the left.
Delete Selected Optional Delete the selected optional
Attributes button attributes in the matrix on the left.
Reorder Optional Attributes Manually resort the optional
button attributes in the matrix on the left.
Name field The name of the attribute.
Type field The data type of the attribute. The
choices are: Text, Number, Date,
Time, Yes/No.
12-33
12-34 Files Tab
Object Description
Format field The format for date.
CSM Use field Decide if this attribute should be
shown in case scenario manager
project setup view.
Reset to Default button: Clicking this button will reset all the
attributes to the system default.
12.5.4 Databases
The Databases page lets you manage component property databases
by adding, removing, resetting or ordering Component Property
Databases. The component property database order will decide the set
of available components in the component list.
Figure 12.35
12-34
Session Preferences 12-35
Figure 12.36
12-35
12-36 Resources Tab
The Resources tab is divided into five pages: Colours, Fonts, Icons,
Cursors, and Sounds.
12-36
Session Preferences 12-37
Figure 12.38
12-37
12-38 Resources Tab
Figure 12.39
4. In the Font list, select the font type for the text element.
5. In the Font Style list, select the style for the text element.
6. In the Size list, select or type in the size for the text element.
7. Click OK.
12-38
Session Preferences 12-39
Figure 12.40
12-39
12-40 Resources Tab
Figure 12.42
Double-
clicking this
area opens
the Internal
Cursors view.
Cursor system
presently
applied to the
selected cursor.
12-40
Session Preferences 12-41
1. In the Cursor Name list, select the cursor you want to modify.
2. From the Select System Cursor drop-down list, select one of the
system cursors that are available, or select <Custom>.
Figure 12.43
Figure 12.44
12-41
12-42 Extensions Tab
Figure 12.45
12-42
Session Preferences 12-43
Figure 12.46
12-43
12-44 Tray Sizing Tab
12-44
Session Preferences 12-45
12-45
12-46 Tray Sizing Tab
For information about the To set your default packed parameters, do the following:
packing types available in
UniSim Design, refer to 1. From the Correlation Type drop-down list, select one of the following
the packinfo.db file design correlations for predicting pressure drop and liquid hold-up:
located in the Support Robbins or Sherwood-Leva-Eckert. The default is Robbins.
folder.
2. In the Packing Flooding Factor field, specify the packing flood
You can open the file
using any text editor factor of your packed tray. The default is 1.000.
program. 3. In the Maximum Flooding field, specify the maximum percentage
of flooding you can have on your tray. The default is 70.00%.
4. In the Maximum dP per length field, specify the maximum
pressure difference you can tolerate per measured length. The
default is 0.4086 kPa/m.
12-46
Session Preferences 12-47
Figure 12.50
12-47
12-48 Case Tools Tab
Figure 12.51
Object Description
Input Variables radio button Select the input variables to be used by the case
scenario manager for case comparison. Input
variables are the variables which can be modified
by the user.
Output Variables radio button Select the output variables to be used by the case
scenario manager for case comparison. Output
variables are the calculated variables in a
simulation case.
Select Object Type object tree Select an object type from the currently supported
types of objects.
12-48
Session Preferences 12-49
Object Description
Variable list Show the list of input or output variables for the
selected object type.
Use checkbox Select the input or output variables to be used in
case comparison.
Select All button Select all the displayed variables for the selected
object type.
Clear All button Unselect all the displayed variables for the
selected object type.
Reset to Default button Reset all the displayed variables to their system
default selection.
The following table describes the items in Apply to All Object Types
groupbox.
Object Description
Reset to Default button Reset all input and output variables to the
system default variable selections for all
object types.
Export Variable Selections button Export the variable selections to a file in XML
format. This file can then be imported back to
the preferences or any case scenario project.
Import Variable Selections button Import variable selections from a file in XML
format. The file must be in the same format
as that exported by the above export
operation.
Select All Input Variables button Select all input variables for all object types.
Select All Output Variables button Select all output variables for all object types.
Clear All Input Variables button Unselect all input variables for all object
types.
Clear All Output Variables button Unselect all output variables for all object
types.
Variable Selection State text box Show the current variable selection state.
There are three states:
• System Default: UniSim Design's
internal setting. This state is shown
when user input has never been done, or
when the Reset to Default button in
this group has been activated.
• File [filename].ucsv: This state
indicates that the current variable
selections are imported from file
[filename].ucsv, where [filename] is the
name of the file without extension.
• Custom: This state shows that there
have been some changes from above
two states.
12-49
12-50 Case Tools Tab
Figure 12.52
12-50
Session Preferences 12-51
12-51
12-52 Case Tools Tab
12-52
Window & Help Options 13-1
13-1
13-2 Introduction
13.1 Introduction
This chapter provides descriptions for the options available in the
Window and Help menus.
If you want to switch To access the Window or Help menu options, do one of the following:
focus from the menu bar
without making a • Click the required menu bar item to open the associated menu.
selection, press the ESC • Use the ALT key in combination with the underlined letter in the
key or the ALT key. menu title. For example, ALT W opens the Window menu.
• Use the ALT key by itself to move the active location to the File
menu in the menu bar. When the menu bar is active, navigate
across it using the keyboard. The up and down arrows move
through the menu associated with a specific item, while the left
and right arrows move to the next menu bar item, opening the
associated menu.
Command Description
Arrange Desktop Cascades all views that are currently open and not
iconized. Face plates are placed in rows or column
according to the specifications on the Desktop page of
the Session Preferences view. Refer to Section 12.2.3
- Desktop Page, for more information.
Arrange Icons Arranges icons horizontally at the bottom of the
Desktop.
Close Closes the active view.
Close All Closes all views.
Save Workspace Saves the current view layout for future use.
Load Workspace Loads another UniSim Design case which is currently
open. This function lets you toggle between cases.
The last section in this menu lists all open views on the Desktop. The
active view is indicated by a checkmark.
13-2
Window & Help Options 13-3
Figure 13.1
This has no effect on the calculation status. It is simply the way the
various views are arranged. After changes are made to the Desktop
arrangement, reload a saved arrangement to access the view layout.
1. From the Window menu, select Save Workspace. The Save
Workspace view appears.
2. In the Save Workspace As field, enter the name of the workspace.
3. Click Save.
Loading a Workspace
Check the Save when 1. From the Window menu, select Load Workspace. The Load
Switching checkbox to Workspace view appears.
save the case when
switching between
workspaces. Figure 13.2
2. In the list of available cases, select the case in which you are
currently working.
13-3
13-4 Help Menu
Check the Save when Switching checkbox to save the case when
switching between cases.
Command Description
UniSim Design Opens the UniSim Design Online Help to the Welcome
Help Topics page.
Help on Opens the UniSim Design Extensibility Online Help.
Extending
UniSim Design
Help on the Opens the UniSim Design Online Help to the topic that
Current Form relates to the active view. If no topic is found for that
view, the Welcome page appears.
Bug Reports Accesses UniSim Design’ unique bug reporting option.
About UniSim Provides information about UniSim Design (version,
Design etc.).
Honeywell on the Clicking the Honeywell on the Web command opens a
Web sub-menu with a link to the Honeywell Web site.
13-4
Window & Help Options 13-5
13-5
13-6 Help Menu
13-6
Index
A deleting 13-5
editing 13-5
Absorber Column 8-27
Adding C
annotations in PFD 10-34
Calculation/Responsiveness Button 1-8
assay 6-5
Case 1-7
blend 6-7
snap shot 11-27
bug report 13-4
states 11-27
component list 5-4
Case Security 11-54
component map 5-22
adding user password 11-60
correlation set 6-11
changing master password 11-59
fluid package 5-11
clearing master password 11-60
global correlation set 11-75
clearing user password 11-61
global property correlation 11-73
file security setup 11-56
hypotheticals 5-15
hardware locks 11-62
operation 8-5
loading a lock case 11-56
optimization object 7-62
locking a case 11-54
reaction 5-18
master password 11-59
reaction set 5-19
removing hardware locks 11-64
report 9-8
scanning lock codes 11-62
schedule⁄sequence⁄event 7-14
specifying lock codes 11-63
stream 8-5
time restriction 11-61
sub-flowsheets 10-30
unlocking a case 11-64
unit set 12-21
user password 11-60
user password 11-60
viewing user password 11-60
user property 5-24, 6-9
Case Studies 11-30
user variables 7-54
3-dimensional graph control 11-36
utilities 7-95
adding 11-31
Adjust 8-32
multi-dimensional graphing 11-35
Adjust-Recycle Manager 7-28
removing 11-31
Air Cooler 8-10
setup 11-32
Alarm Manager 11-85
viewing results 11-34
Annotations 10-34
Case Summary 11-3
adding in PFD 10-34
Cloning
editing in PFD 10-34
assay 6-6
moving and sizing labels 10-35
blend 6-8
Assay 6-4
correlation set 6-13
adding 6-5
property correlation 11-74
cloning 6-6
user property 6-10
deleting 6-6
Closing Commands 4-10
editing 6-6
Colour Schemes 7-84
exporting 6-6
setting preferences 12-36
importing 6-6
Column
Axes 10-38
disabling input experts 12-6
Azimuth 11-36
menu 7-94
B sub-flowsheet environment 3-6
tray section display in PFD 7-87
Baghouse Filter 8-17
Column Page 12-18
Balance 8-34
Component Map 5-21
Basis Environment 5-2
adding 5-22
entering 7-52
basis environment 5-21
Basis Menu 5-2
deleting 5-22
Boiling Ranges 6-3
editing 5-22
Boundary Label 3-17
Component Splitter 8-31
Bug Report 13-4
Components 5-3
adding 13-4
I-1
I-2 Index
I-2
Index I-3
I-3
I-4 Index
I-4
Index I-5
I-5
I-6 Index
I-6
Index I-7
I-7
I-8 Index
I-8
Index I-9
I-9
I-10 Index
Z
Zoom Icons 10-6
I-10