Dynamic Simulation Suite User Guide 1 200
Dynamic Simulation Suite User Guide 1 200
DYNSIM® 5.3.2
Dynamic Simulation
Suite User Guide
December 2016
All terms mentionedin this documentation that are known to be trademarks or service marks have
been appropriately capitalized. Schneider Electric Software, LLC. cannot attest to the accuracy of
this information. Use of a term in this documentation should not be regarded as affecting the
validity of any trademark or service mark
ActiveFactory, ArchestrA, ARPM, AssayCentral, Autonomous, Avantis, Avantis.PRO,
Connoisseur, CrudeManager, CrudeSuite, DATACON, DATAPREP, DT Analyst, DYNSIM,
DYNSIM Power, Esscor, EYESIM, Factelligence, FactorySuite, FactorySuite A², Foxboro,
Foxboro Evo, FSIM Plus, HEXTRAN, Hot Links, I/A Series, IMPACT, IMServ, InBatch,
InControl, Industrial Portal, IndustrialSQL Server, InFusion, INPLANT, InSQL, IntelaTrac,
InTouch, IPact, Invensys, Logic Validator, MBM, NETOPT, PIPEPHASE, PRO/II,
PROVISION, QI Analyst, ROMeo, SCADAlarm, SIM4ME, SimCentral, SimSci, SimSci-Esscor,
Skelta, Skelta BPM.NET, Skelta Sharepoint, Skelta Sharepoint Accelerator, Spiral Software,
SuiteVoyager, TACITE, Tactical Batch, The Simulator, TRISIM Plus, VISUAL FLARE,
VISUAL FLOW, VISUAL FLOW SUITE, VISUAL NETWORK, Visual Solutions,
VOYAGER, WindowMaker, WindowViewer, Wonderware, Wonderware InTouch, and ZI ZHI
are trademarks of Schneider Electric SE, its subsidiaries and affiliated companies.
Although precaution has been taken in the preparation of this documentation, Schneider Electric
Software, LLC assumes no responsibility for errors or omissions. The information in this
documentation is subject to change without notice and does not represent a commitment on the
part of Schneider Electric Software, LLC. The software described in this documentation is
furnished under a license agreement. This software may be used or copied only in accordance
with the terms of such license agreement.
ArchestrA, Avantis, DYNSIM, EYESIM, Foxboro, Foxboro Evo, I/A Series, InBatch, InduSoft,
IntelaTrac, InTouch, PIPEPHASE, PRO/II, PROVISION, ROMeo, Schneider Electric, SIM4ME,
SimCentral, SimSci, Skelta, SmartGlance, Spiral Software, VISUAL FLARE, WindowMaker,
WindowViewer, and Wonderware are trademarks of Schneider Electric SE, its subsidiaries, and
affiliated companies. An extensive listing of Schneider Electric Software, LLC trademarks can be
found at: http://software.schneider-electric.com/legal/trademarks/. All other brands may be
trademarks of their respective owners.
http://software.schneider-electric.com/
Introduction
Table of Contents
Introduction.................................................................................... 6
Dynamic Simulation Suite................................................................................ 6
The Layout of the User Guide ......................................................................... 7
Equipment Model Documentation ................................................................... 8
Screens, Menus, and Toolbars ..................................................... 9
The Main DYNSIM Screen .............................................................................. 9
Toolbars ......................................................................................................... 10
The Instances Tree ........................................................................................ 16
The Types Tree ............................................................................................. 18
The Monitor Pane .......................................................................................... 19
Command Line .............................................................................................. 20
Hold and Drag the Canvas ............................................................................ 22
Move Object with Arrow Key ......................................................................... 23
DYNSIM Environment ................................................................................... 23
User Accounts ............................................................................................... 29
DYNSIM Session ........................................................................................... 30
Simulation Organization ................................................................................ 30
Running a Simulation .................................................................. 33
Starting DYNSIM ........................................................................................... 33
Monitoring Messages .................................................................................... 35
Selecting a User Interface Environment ........................................................ 37
Terminating a Simulation ............................................................................... 37
Terminating DYNSIM ..................................................................................... 37
Using the Monitor or Point Viewer ................................................................. 38
Generating and Using Sessions .................................................................... 43
Flowsheet Navigation .................................................................................... 44
Freeze/Run .................................................................................................... 45
Initial Condition Save / Load .......................................................................... 46
Backtracks ..................................................................................................... 52
Backtrack and IC Configuration Dialog ......................................................... 54
Backtrack Replay ........................................................................................... 54
Simulation Speed .......................................................................................... 55
Single Step .................................................................................................... 56
Run Time Operations .................................................................................... 57
Disable Flowsheet ......................................................................................... 58
Drawing Defaults Tool Tip ............................................................................. 60
Utilities/Tools ............................................................................... 65
Trends and Plots ........................................................................................... 65
Malfunctions................................................................................................... 79
Scenarios ....................................................................................................... 88
Trainee Performance Monitoring ................................................................. 111
Automated Training Exercises..................................................................... 124
Event Log..................................................................................................... 127
Data Historian .............................................................................................. 128
User Template ............................................................................................. 130
Auto Naming Rulebook ................................................................................ 134
Units of Measure ......................................................................................... 138
Search ......................................................................................................... 145
Conventions
This manual adheres to a set of guidelines for the presentation of material. The font conventions
are listed below.
Bold, italic: Refers to a specific chapter, section, or manual for more information.
Italic : Used to indicate features available in DYNSIM® software; file names are also italicized.
Boldface : Used primarily to indicate mouse or pointer actions you will perform.
Introduction
All DSS component products derive full advantage of the DSS environment for unmatched ease-
of-use, intra-suite communications, and openness to third party applications.
DYNSIM application – A state of the art process simulator that combines first principles process
models, thermodynamic methods and data and integrated graphical user interface to produce
highly accurate, reliable results. Unlike legacy products from other vendors, DYNSIM allows
plants to use the same model for process design, control evaluation, operator training, and
operational analysis applications, thereby preserving model equity.
SCP – A uniquely comprehensive Foxboro® I/A Series® control system checkout and simulation
tool that can pay for itself before you start up your I/A Series system. SCP software functions as a
perfect double to an I/A Series Control Processor, enabling faster control system commissioning,
superior system design quality, reliable operator training, and cost-effective system retrofits.
TRISIM Plus – A uniquely comprehensive Triconex® control system checkout and simulation
tool that can pay for itself before you start up your Triconex system. TRISIM Plus software
provides the same benefits for Triconex systems that SCP software provides for Foxboro I/A
Series systems.
OTS Engines– An industrial-strength, high fidelity, dynamic plant operator training solution to
capable, expert hands and minds at your plant’s controls. OTS Engines combine the process
models of DYNSIM with power industry models and a suite of Distributed Control Systems
(DCS) and Programmable Logic Controllers (PLC) engines. SimSci’s OTS solutions blend
proven, superior simulation technology with years of practical experience in creating high-fidelity
operator training simulators.
• Instructor functions
• Malfunctions
• Scenarios
• System administration.
The User Guide also encompasses other general topics that deal with day-to-day use. Subsequent
volumes discuss the various simulation engines, model libraries, control system emulations, and
advanced-user topics.
Configuring models, defining and connecting engines, and day-to-day running of simulations are
coordinated through the DYNSIM User Interface.
• Introduce Malfunctions
• Trends
• Malfunctions
• Scenarios
• Playback
Each of the above items is detailed in the subsequent sections of this User Guide.
The appearance of the main DYNSIM screen depends primarily on the current operating
environment: Instructor, Engineer, or user-specified. The environment type can be selected from
the View pull-down menu.
The top bar is the Title Bar. It indicates the name of this application. Also, on the title bar is the
username you supplied at login, an indication of the current operating environment, and the name
of the Customer and Simulation that is currently connected.
Immediately below the Title Bar is the Menu Bar containing a number of pull-down menus.
The Toolbar is immediately below the Menu Bar. The Toolbar holds shortcut buttons that provide
quick access to frequently used tasks. These tasks can also be requested from the pull-down
menus. The toolbar content depends on the currently selected operating environment. The
standard toolbars are illustrated and described in Toolbars.
Below the toolbar is a series of three rectangular panes. From the left: the Simulation Status
pane, the Snapshot pane, and the Malfunctions pane.
A fourth pane, the Trainee Performance Monitoring (TPM) pane, shows in the Super User
environment and Instructor environment.
The Simulation Status pane indicates whether the simulation is in Run or Freeze mode. It
also indicates how long the simulation has been running. Also in this pane are buttons to
start and stop the simulation, and to control the simulation speed.
The Snapshot pane includes buttons for saving and restoring Initial Conditions (ICs) and
Backtracks. ICs and Backtracks can be started from a displayed list. The Snapshot pane
also indicates the current IC (if any) and the current and oldest Backtracks.
The Malfunctions pane lists active malfunctions and provides buttons for displaying the
Malfunction Summary and defining a new malfunction. Malfunctions are invoked from the
Malfunction Summary, or by selecting a model and choosing the New Malfunction
icon.
The TPM pane lists TPM templates and completed TPM sessions. The buttons at the top of
the pane are used to initiate a new TPM session and to display the TPM Summary list. The
TPM panel is displayed when in the Super User environment or in the Instructor
environment.
The vertical pane at the left of the screen is a multipurpose panel arranged in three layers:
Instances, Types, and Monitor. The contents of each layer appear by clicking on the
corresponding tab at the bottom of the pane. In the illustration above, the pane is displaying an
Instances Tree listing all simulations databases currently open. This same pane can also be used
to display the Types Tree, listing the available DYNSIM model libraries. The final layer is the
Monitor which can be used to display model parameters and points.
The large rectangular area to the right of the Instances Tree is a general-purpose area used for
displaying requested information and graphic images. In the illustration above, a Flowsheet
graphic and the Message Monitor are displayed in this area.
The Command Line at the bottom of the screen can be used to perform selected command-line
operations in lieu of pulling down a menu or clicking a toolbar button. The text to the right of the
command area is used to indicate the most-recently-performed operation.
Toolbars
The toolbars documented in this User Guide are the standard toolbars supplied with DYNSIM.
The DYNSIM user has the option of customizing these toolbars. Customizing a toolbar may
change its appearance so that it no longer looks like those documented here.
The appearance of the standard toolbars depends on the user interface environment: Super User,
Administrator, Engineer, Instructor, or Operator. Each model may have buttons not available in
another mode. There is also an abbreviated toolbar.
The toolbars hold shortcut buttons for executing frequently used tasks. These tasks can also be
accessed from the pull-down Edit, Run, and Tools menus. Only the Engineer toolbar is
discussed below.
Engineer Toolbar
As shipped, the DYNSIM engineer-environment toolbar buttons shown below are available.
The toolbar buttons perform the tasks described below. In some cases, a keyboard shortcut is
available to perform the same function as a toolbar button. The indicated shortcuts work for both
the Windows® and Unix® operating system (OS) versions.
Click this button to create a new simulation with a default engine and Flowsheet. It will bring up
popup windows guiding you through each step.
Click this button to open an existing simulation. It will bring up a popup window where the user
can browse for s4m files.
You can also use the Control + s key combination to save the simulation.
Clicking the Print option displays the “Select FlowSheet for Printing” dialog box, where user can
choose the particular flowsheet for printing. By default, Active Flowsheet will be selected.
On clicking “OK” from the above window results in the Printer dialogbox and user
can select various options like Printer selection, Paper size, Orientation etc.
Click this button to cut (remove) the currently selected object from the canvas and place it on the
Clipboard. Use the Paste button to paste the object from the Clipboard to the same or another
canvas.
The Control + x key combination will also cut the current selection.
Click this button to copy the currently selected object to the Clipboard. Copying does not remove
the object from the canvas. Use the Paste button to paste the object from the Clipboard to the
same or another canvas.
You can also use the Control + c key combination to save the current selection.
Click this button to paste the contents of the Clipboard to the selected location.
The Control + v key combination can also be used to paste the current selection.
Click this button to delete (remove) the currently selected object. The object is not placed on the
Clipboard. It is permanently removed from the canvas.
Click this button to display the currently selected item. If the selected item is a Flowsheet (FS) in
the Instances Tree, DYNSIM displays the graphic for that Flowsheet. If the currently selected item
is an object, DYNSIM displays the Object Editor/Viewer, listing the object’s parameters.
You cannot display items shown at the Simulation (SIM) level in the Instances Tree.
The operation of this button depends on what is selected, when the button is clicked.
Also, if you have selected a FS in the Instances Tree, DYNSIM displays a Flowsheet
Configuration dialog from which you can change the Flowsheet Name and assign a
different engine to the Flowsheet.
If an object is selected in the Instances Tree or on a canvas, DYNSIM displays the Object
Editor/Viewer listing the object’s parameters.
Click this button to list the basic Units of Measurement (UOM) slates that have been defined for
this installation. The user can create new UOM slates from existing UOM slates where, for
example, the units of pressure are changed from kPa to psia.
Click this button to bring up the Components and Thermodynamics window. This window allows
you to define component slates and construct customized thermodynamic method slates. Please
note that only models in the Base Equipment Library use component and method slates.
Click this button to start the simulation and its corresponding engine(s). The simulation engine is
started in Freeze mode. Click the Resume button to switch the simulation to Run mode.
Click this button to load the entire simulation configuration from the DYNSIM database into the
engine memory. This action is commonly known as Load Full. Load Full provides a mode to
make model configuration changes on the fly while the simulation is running.
Click this button to load the cross reference data from the DYNSIM database into the engine.
Click this button to disable one or more equipments on the flowsheet or to disable a whole
flowsheet. If equipments on a flowsheet are disabled, their corresponding values remain constant
and they further do not take part in the simulation calculations.
Clicking this button opens a flowsheet of a simulation. The user is first expected to define a home
flowsheet before performing this action.
Search Button
Trends Button
Click this button to allow real-time plotting of point values against time.
Click this button to display the DYNSIM Message Monitor window. The Message Monitor
displays selected messages, including error messages.
Click this button to display the Icon palette from which the user can drag and drop equipment
models and other objects onto the flow sheet. To display the icons on the palette as Large icons,
Small icons or Text only, from the View menu, click Icon Palette Settings.
Clicking this button allows you to reload aborted/failed engines. This option is available in the
Tools menu.
User can change the flowsheet canvas size to accomodate many objects by using the feature
called “Page Size” which is available under Options menu item. Clicking OK button results in
the new canvas size.
To display the Instances Tree, you must have at least one simulation open and you must select the
Instances tab at the bottom of the multipurpose pane at the left side of the main DYNSIM
screen.
The illustration shown below indicates a sample Instances Tree that has been expanded down to
the parameter level. To see the complete text associated with parameters, the pane has been
expanded to the right.
Note that green entries in the Instances Tree identify components of the currently running
simulation. Brown entries identify simulations that are open for editing, but are not currently
running.
All Simulations that are currently open are displayed in the Instances Tree. This feature allows
you to cut and paste from one simulation to another. Appearance in the Instances Tree does not
imply that a given simulation is currently running or not running.
At the model level, each entry is associated with an icon representing the model class (type of
model). Resting the cursor on an icon for a few seconds pops up a ToolTip that displays the
model class (type).
Each Simulation that is open is represented by a SIM line in the Instances Tree. Until the tree is
expanded, the display will include only a series of SIM lines.
To expand an entry at any level of the hierarchy, click the expansion control icon to the left of
that level. The entries in the next lower level are displayed. To collapse an expanded branch, click
the expansion control icon again.
In addition to using the Types tree, point references can now be easily created on the flowsheet
with the drag & drop support. Just drag the parameter node of interest from the Instance Tree and
drop it on the flowsheet at the desired location to create a point reference.
To display the Types Tree you must click the Types tab at the bottom of the multipurpose pane
at the left side of the main DYNSIM screen.
To expand a library into its constituent parts, click the expansion control icon to the left of the
library name. The library entries are displayed. To collapse an expanded library, click the
expansion control icon again.
The illustration below shows a sample Types Tree with two libraries expanded. Note that some of
the models shown below do not exist in every application, but are industry specific.
• Display selected data for individual points (name, value, description, unit of
measure)
• Model Tuning
To invoke the Monitor feature, click the Monitor tab at the bottom of the leftmost pane on the
main DYNSIM screen.
For a description of how to use the Monitor, see Using the Monitor.
The Monitor pane illustrated below displays the contents of a small point group.
Point groups can also be viewed by choosing Point Viewer from the Tools drop
down menu.
Command Line
The Command field is located at the bottom of the main DYNSIM screen. The command line
provides a way for you to execute selected DYNSIM functions without using the pull-down menus
or the toolbar buttons. It is only available in the Engineer environment.
The complete set of available command-line shortcuts is listed below. A sample is listed below:
Search Ctrl+F
IC Summary Window F5
• The user can click the right button of the mouseWhen user clicks in empty space of
canvas.The cursor changes to MOVE cursor .
• By holding the right mouse click, mouse drag will take the canvas to the direction where
mouse moves.
• Once the mouse released the cursor change to the default cursor.
DYNSIM Environment
The term environment refers to the allowable functional operations. The current environment is
indicated in the title bar of the main DYNSIM window.
1. Administrator
2. Super User
3. Engineer
4. Instructor
5. Operator.
The desired environment is changed by selecting the Change Environment from the
View drop-down menu. As indicated above, the environment choice determines what DYNSIM
operations you are allowed to perform. Two examples:
• You can create new user accounts in the Administrator environment only, not in any
other environment.
The procedure for changing operating environments is described in Selecting a User Interface
Environment.
The following is a summary of the functionality provided in each of the standard environments.
Super User: This environment allows the user to perform the role of a Engineer,
Instructor and an Operator
• Malfunction Initiation
• TPM Operation
• Execute Scenarios
Engineer: Same privileges as Super User and additionally can configure the number of
backtracks or IC’s
• Malfunction Initiation
• TPM Operation
• Execute Scenarios
• Malfunction Initiation
• TPM Operation
• Execute Scenarios
• Event Logging
• Backtrack Replay
• Malfunction Initiation
• Execute Scenarios
• TPM Operation
User Accounts
The primary purpose of user accounts is to provide or deny access to specific environments. In
some cases (e.g. snapshots), the current user name will be used to indicate ownership of saved or
changed files.
• User name
• Password
At startup, DYNSIM prompts you for a user name and password. The user can be changed at any
time, without restarting the application, by selecting Change User from the Options
menu.
To learn how to change your password, view the environments you have access to, or
create/edit/delete user accounts. Refer to User Accounts Configuration.
DYNSIM Session
A Session defines the current user interface environment, menus, toolbars, and window layout
(size and location). Saving a session allows the user to return to the same user interface
configuration at a later time. You can save any number of sessions.
When DYNSIM is terminated, the current user interface configuration is automatically saved as
the Last Session. Each time DYNSIM is started, you are given the option of continuing the
previous (last) session or loading the parameters associated with your Home Session. Once
DYNSIM is running, you can switch to any desired session.
The procedure for switching sessions and for creating new sessions is described in Generating
and Using Sessions
Simulation Organization
In DYNSIM, simulations are organized hierarchically as follows:
• Simulation
• Engine
• Flowsheet
• Model
• Parameter Group
• Parameter
Simulations are composed of Engines. Engines include Flowsheets. Flowsheets include model
objects. Model objects have Parameters, which may be grouped into one or more Parameter
Groups.
An engine provides a way to break multiple flowsheets onto separate computers for faster
execution. Engines are usually only required for operator training simulators. Also, since
multiple engines are not usually required, they are not shown on the instances tree hierarchy.
A model usually represents a real-world, physical device. Pumps, valves, headers, and fans are
examples of models. A model may also include strictly mathematical algorithms such as a PID
controller. Each model is an instance of a model class. A class is a specific type of device, such
as a pump or a fan. If your plant or process incorporates 30 pumps, the associated simulation will
have 30 instances of class ‘pump’, each with a unique name.
Each object has an associated set of parameters. Parameters vary by object type. For physical
objects, parameters reflect the operating characteristics of the object. For example, pipe diameter
and pipe flow rate are some of the parameters for a pipe model.
The Instances Tree illustrated below shows all levels in the organizational hierarchy (except
engine). Note the abbreviation for Simulation (SIM), and Flowsheet (FS).
Running a Simulation
Starting DYNSIM
1. You can start DYNSIM using the Windows OS Start button a desktop shortcut, by double
clicking the s4m file or the Windows OS Run feature. Perform the appropriate procedure
below.
a. Click the Start button (usually located at the bottom left corner of your screen)
a. Click the Start button (usually located at the bottom left corner of your screen)
3. Indicate whether to start DYNSIM with your Home Session or to continue the previous
session.
5. After logging in for the first time, the login step can be by-passed for subsequent sessions.
This can be achieved by enabling Auto Logon toggle switch under the Options menu. To
disable Auto Logon, simply disable this toggle.
Monitoring Messages
DYNSIM generates many messages to aid the user in understanding the status of the application.
Messages are reported to the user in a number of ways, depending on the importance or relevance
of the message. The illustrations below show one message reported with three different methods.
Popup Dialog
Errors and Severe Errors are reported with a popup dialog. These messages are of such
importance that user attention is required before proceeding with the execution of the application.
These messages are also reported to the Message Monitor window, and the Single Line Message
as described below.
Example
The Message Monitor is displayed by selecting Message Monitor from the Window menu,
or selecting the Message Monitor button on the main DYNSIM toolbar. Messages that report
Severe Errors, Errors, Warnings, and Information Only are sent to the Message Monitor window.
These messages are also reported to the Single Line Message as described below.
Example
”Information” will be displayed in BLUE color, “Warnings” in RED color, “Severe Error”
in BOLD RED color, and “Error” will be in ORANGE color.
Example
The single line message panel is located on the lower periphery of the main DYNSIM window.
This panel displays an abbreviated version of the last message reported. Severe Error, Error,
Warning, and Information Only messages are all sent to the single line message.
Example
Select Message Settings from Window menu. The following dialog box will be
displayed.
Check the message type, you wish to report. The Message Monitor reports only the status for the
message type you have checked and filters the rest.
Popup dialog messaging feature is not affected by the selection of any types of message
from Message Reporting dialog box (Information, or Warning or Error or Severe Error). It will
continue appearing, subject to the actions performed by user.
To change the environment, choose Change Environment from the View dropdown
menu, then select the desired entry, to change the following:
Terminating a Simulation
Once a simulation has been started, it continues to execute until it is manually stopped
(terminated).
DYNSIM pops up a dialog box to ask whether you really want to terminate the simulation.
Respond appropriately.
Terminating DYNSIM
To terminate DYNSIM, choose Exit from the File menu. When the user terminates
DYNSIM, the SimExecutive server is shuts down by default. However, user may choose to shut
down only the GUI session and leave the SimExecutive session running. This can be achieved by
disabling the Shut Down Server on Exit toggle switch under the Options menu. At a later point,
user can launch the DYNSIM GUI and reconnect to a running SimExecutive session.
The user can also disconnect the GUI session from the SimExecutive Server and reconnect to it or
another SimExecutive server session without exiting the GUI. To disconnect the GUI from the
Server, select Disconnect from Server under the Options menu. While the GUI is disconnected
from the server, all menu items, which require connection to the server, will be grayed out.
To reconnect, select Connect to Server option from the Options menu. Enter the host name and
name of the SimExecutive and click the Connect button.
• Overview
• Model Tuning
Overview
• Display selected data for individual points (name, value, description, unit of
measure)
• Model Tuning
2. There are at least four ways to enter the point name into the Point text area:
pointname)
b. Click an object on a canvas (this action puts the name of the object into the
c. Display the desired object in the Object Editor/Viewer then click the
parameter name
Open the Object Editor/Viewer of the desired object and select the parameter
points to be dropped on the point monitor. Drag and drop the selected points on
the point monitor pane. The OEditor/Viewer supports multiple selections
including a vector or array that can be dragged and dropped on to the point
monitor pane.
3. Click the Add button or in the Ins At: text area, type the row number of the
‘slot’ (location) where you want this point added into the list, then click the Ins
At: button.
3. There are at least three ways to enter the point name into the Point: text area:
pointname)
b. Click an object on a canvas (this action puts the name of the object into the
c. Display the desired object in the Object Editor/Viewer then click on the
parameter name
Open the Object Editor/Viewer of the desired object and select the parameters
points to be dropped on the point monitor. Drag and drop the selected points on
the point monitor pane. The OEdiotr/Viewer supports multiple selections
including a vector or array which can be dragged and dropped on to the point
monitor pane.
4. Click the Add button or in the Ins At: text area, type row the number of the
‘slot’ (location) where you want this point added into the list, then click the Ins
At: button.
DYNSIM inserts the point name into the Point: field at the bottom of the
Monitor pane.
If the point type is STATIC or the point does not exist, DYNSIM will change the
Value is the only field you are allowed to change from the Monitor tab.
You can change the Description field from the Point Editor or the Object
Editor/Viewer.
Choosing PointViewer from the Tools menu provides same functionality as the Monitor tab. If
an empty window appears, double-click the title bar to show the window components.
3. Press the Return key or leave the description cell to accept the changes.
4. The change in the description should also reflect in Point Viewer and Trends
Description label.
User can also change the Custom Description in Point Viewer and Trends; press the Return key to
update the custom description in other interfaces.
4. If Convert option is selected, both value and UOM type of the point will change.
But if Change option is selected, only the UOM type of the point will change.
Using the Point Viewer/Monitor you can change the values assigned to the parameters by
changing the Point Class. You can see the initially assigned values in the Assignment column
and the changed values in the Value column. This feature is useful while tuning the model.
Note: Select Enable point class edit check box to tune the model using Point Viewer.
This provides the simulation model builders the ability to easily change the point class of
commonly used tuning parameters such as Valve CV and Heat Exchanger U without having to
go through several OEVs. Once the parameters have been tuned and have acceptable values in
the run engine, their values can be easily updated in the database.
4. When the tuning is satisfactory and the values need to be saved, select the check box
in “Copy value to Assignment?” column for the corresponding parameter and click
the Apply button.
Saving a session is accomplished by selecting Save Session As from the Options pull-down
menu, then typing a new name or selecting an existing name from the dropdown list in the Save
Session As dialog.
Flowsheet Navigation
Navigating between different flow sheets, which are a part of the same simulation, can be
simplified by using the Navigation mode. To use this mode, under the View menu choose
“Change Toolbars” and then select Navigation.
To use the Flowsheet Navigation feature, the user would need to configure two files NavButtons
and NavGrid.
“NavButtons” file allows the user to define additional buttons below the navigation arrows that
are standard in the navigation mode.
In the example below, a button labeled OV (font name “Helvetica”, font size 12) is created on the
navigation palette with “ov.gif” as the icon image. When the user selects the OV button in this
example, the hpe_ov flow sheet is displayed. The Font allows user to define the font size of the
Text1 on the button.
SHOW SIMULATION INFO? If, YES, the current simulation mode and the current simulation
time will be displayed on the top left of navigation toolbar
Once opened with Notepad, the NavButtons file will show the following contents:
# You can decide to show (YES) or not show (NO) simulation info (sim time and sim mode)
OV,hpe_ov,ov.gif ,12
“NavGrid” file defines a navigation matrix for the arrows that are presented when the navigation
toolbar is selected. This allows the OTS engineer the ability to create a two dimensional panning
feature to mimic a panning view of a control bench board or a large process diagram spanning
several flow sheets.
Once opened with Notepad, the NavGrid file will show the following contents:
1. If the files are not found in “simulation working folder” then the user can locate them in
the following folder C:\SIMSCI\dss43\ GUI\Navigation
2. If the files are not found in “simulation working folder” then the user can locate them in
the following folder C:\SIMSCI\dss43\ GUI\Navigation
2. If the file is not found in “simulation working folder” the user should search in the
installed folder ie C:\SIMSCI\ dss43\GUI\images\navigation folder
Freeze/Run
Description
In Run mode, the simulation is running the simulation engines that simulate operation of your
plant or process.
In Freeze mode, simulation execution is suspended and simulation time does not advance.
Continuously operating functions such as Backtrack and Trending are also suspended.
When a simulation is frozen, the Simulation Status indicator displays the word Frozen in red
letters. The Simulation Time clock is stopped. Note that before the simulation was frozen it had
run 2 minutes and 34 seconds.
When a simulation is in Run mode, the word Running is displayed in green letters. The
Simulation Time clock is advancing.
To switch to Run mode, click the "Resume Simulation button” in the Simulation Status
pane.
To switch to Freeze mode, click the “Freeze Simulation button” in the Simulation Status
pane.
• Overview
Overview
The Save IC/Load IC feature provides an option to instantly return to the desired set of operating
conditions with a single click.
Save Initial Condition refers to saving the current status of the simulation. This electronic
Snapshot produces an Initial Condition (IC). ICs reflect all operating parameters, including
malfunctions and trend history. Initial Conditions (IC) can be saved in binary or text format.
ICs are identified by Number, Description, User, Date, Time, and Keypoints. The number of ICs
that can be saved is limited by the free space available on the hard disk.
Each IC can be designated as Protected (P-IC) or Unprotected (U-IC). P-T-IC and U-T-IC
indicate the text-based ICs. As a safety measure, only the owner of an IC can unprotect or
overwrite it. The owner of the IC is the user who originally created it.
Load Initial Condition resets a simulation with the values captured by performing a Save IC.
Initial Conditions and Backtracks are both termed as Snapshots. From the Snapshot Summary
screen, you can view only the Backtracks, only the ICs, or all the Snapshots.
• Backtracks are saved automatically at the user-specified time. ICs are saved only
when requested by a user.
• ICs can be protected from being overwritten by other users. Backtracks are
automatically overwritten as described earlier.
• Saving an IC switches the simulation to Freeze mode. Saving Backtracks does not
change the simulation status.
Left-clicking a column in the Snapshot Summary window sorts the list by that column.
You can use this feature to sort the list by IC Number, Description, User, Date, or Time.
The Favorite IC number can be specified to load the IC just by clicking an icon instead of
opening the Snapshot Summary window. If the user does not specify any number, the last saved
IC is considered as the favorite IC.
The Snapshot pane at the top of the main DYNSIM screen indicates the current (most recently
restored or saved) IC.
Saving an IC
1. (Optional) Flush the historian by clicking the Flush button. If performed, there will
not be any historian data displayed in Trends when this IC is loaded.
2. Click the Save Initial Conditions button (camera icon) in the Snapshot pane. If the
Snapshot Summary window appears, you can click the Save button.
DYNSIM displays a dialog box asking you to enter the IC Number, enter the
Description, and select an option to indicate whether the IC is to be protected or
not.
After entering the required details, select the Save IC as Text check box to save
the DYNSIM engine(s) IC data in text format.
If the IC already exists, and you are the owner of the IC, DYNSIM asks whether
you want to overwrite it. Respond appropriately.
If you are not the owner of an existing IC, DYNSIM will not allow you to
overwrite it.
If the IC is saved, the simulation switches to Freeze mode and the Simulation
Status changes to IC SAVED.
The current IC indicator in the Snapshot pane displays the number and user-
Loading an IC
1. Display the table of ICs by clicking the IC button in the Snapshot pane.
5. Click Yes.
2. Click the Protect or Unprotect button, as appropriate (only one button will be
displayed).
Only the owner of an IC can unprotect it. The IC summary table allows you to
select multiple rows and subsequently Protect, Unprotect, or Delete them.
The IC Distribute and Collect feature is useful for engineers if a simulation with multiple engines
is distributed over a number of machines.
In previous versions of DYNSIM, the user had to manually copy the IC directories of the various
engines to the respective remote machines before loading the IC. If you wishe to share the
simulation file with other users, you must first:
• Manually copy those directories the simulations folder in the host machine (where the
Simexecutive is running) and
The IC Collect and distribute function now allows the user to collect the IC information of
multiple engines residing in multiple remote machines to the host machine where Simexecutive is
running. The IC information is stored in a ZIP file. The engineer can share the new simulation
along with the zip file with other users, if they desire. The new user, after editing the simulation
with host and remote machines, must click the Distribute button in the Snapshot Summary
window. This action distributes the respective IC information to the remote engines.
IC Selection ALT+F1
Save ALT+1
Load ALT+2
Flush ALT+4
Delete ALT+5
Collect ALT+6
Distribute ALT+7
Protect ALT+8
Unprotect ALT+9
Close ALT+0
Backtracks
Backtracks allow you to return to an earlier point in time in the current simulation by resetting the
simulation with data recorded at that time. In automotive terms, it is like putting the simulation in
reverse, backing up to a desired spot, and then driving forward.
The Backtrack process takes a ‘snapshot’ of the current status of the simulation and writes this
information to disk. DYNSIM generates a series of Backtrack files, one for each user-specified
time interval. Backtrack files are automatically saved; you do not have to start or stop this feature.
Saving continues as long as the simulation is in Run mode.
Conceptually, the Backtrack file structure is like a ring with N slots around the periphery (N is the
user-specified maximum number of Backtracks to be saved). Each Backtrack file occupies one
slot in the ring. When slot N has been filled, the next file is written to slot 1, over-writing the data
that was there.
You can view the list of current Backtracks at any time. For each Backtrack file, the list includes
the Backtrack number, date, time, the names and values of up to five user-selected keypoints, and
the name of the Backtrack file. Refer to Generating Keypoints for further information on
Keypoints.
• reset the simulation with data from a selected Backtrack file and continue from that point
Backtracks and Initial Conditions (ICs) are both snapshots. From the Snapshot Summary screen,
you can view Backtracks only, ICs only, or all snapshots.
In the Snapshot Summary illustrated below, DYNSIM displays only the Backtracks. This
simulation is configured to save a maximum of ten Backtracks. Each backtrack gets saved along
with the corresponding simulation time. Replay actions is displayed as “No” because the
Backtrack replay is restricted to the Instructor mode.
The Replay Actions column is always “No” in the Engineering mode. To know more about how
Replay Action functions, refer to the Backtrack Replay section.
Right-clicking a column in the Snapshot Summary window sorts the list by that column.
You can use this feature to sort the list by Backtrack Number, Date, or Time.
Resetting to a Backtrack
The Simulation Time display reflects the time when the Backtrack was snapped.
The current Backtrack and oldest Backtrack numbers are updated in the Snapshot
pane.
The values have to be changed before the simulation run is started. Only the values
changed using this dialog are persistent. Values modified directly using point references
BKTNUM, BKTRAT, and ICNUM on the flowsheet are applied only to that session and are not
persistent.
Backtrack Replay
Backtrack replay is used to record and replay all the operator actions that are logged by the
engines using logEngineAction. This feature is restricted to the Instructor mode and is in sync
with the other third party interfaces such as SCP, TRISIM, and INTOUCH. All malfunctions that
an instructor activates or deactivates during a Backtrack Replay session are also recorded. The
replaying of these operator actions and malfunctions is synchronized with the reloading of a
backtrack. The actions are recorded in an operator log file that can be read by the user. The
Backtrack Replay does not replace the Scenario functionality of DYNSIM that has record/replay
capabilities, but is a subset of the full Scenario functionality.
The capability to record operator actions can be turned on and off by the instructor through the
DYNSIM GUI by clicking Start Backtrack Action Recording on the Tools menu or
by setting the SIMBKTRPLY variable, which is defined in the SimExecutive, in the bridge
interface. All the Backtrack Replay and scenario record actions cannot be activated at the same
time.
All the operator actions are recorded into an operator log file. This log file can be viewed in the
DYNSIM GUI application by using the Backtrack/Replay viewer (Tools View Backtrack Action
log). This viewer file can convert the Backtrack/Replay file into a Scenario text file, which can
then be imported by the Scenario Manager to create a Scenario. The user actions associated with
UOM appear in braces in the log file.
The below shown figure is the Backtrack/Replay viewer that has a few replay log records in it.
Backtrack Action is in recording mode and will turn to replaying when you stop the recording.
The Replay Action of the Backtrack you intend to replay must be “Yes”. To replay it, select it and
click Load and Run.
Simulation Speed
The Simulation Speed feature lets you increase or decrease the rate at which simulation proceeds.
The maximum speed at any given time depends on the simulation and the type of computer
hardware used.
If the simulation speed is changed from 100%, it no longer reflects the true response time of the
plant or process. This can be detrimental to training if the simulation is being used for an
operator-training simulator.
Simulation speed is expressed as a percentage of actual (wall clock) time. For example, 200 is
twice actual time, 100 is actual time, 50 is one-half actual time.
Simulation speed affects all functions, and operate accordingly. For example, doubling the
simulation speed results in generating two Backtrack files in the actual wall-clock time one file
would be generated when running at actual time.
Operating speed is one variable saved with the Save IC and Backtrack features. If you reset the
simulation with data from an IC or Backtrack file, simulation speed is set to the file (saved) value.
The current requested simulation speed is displayed in and changed from the Simulation Status
pane in the upper left corner of the main DYNSIM screen.
To change the simulation speed, you can type the desired value into the Speed text area, or use
the mouse to operate the ‘spin buttons’ (up and down arrows) to the right of the speed display.
There may be instances where the simulation speed does not exactly match the simulation
speed setting. Please refer to the FAQ section for an explanation.
Single Step
The Single Step feature toggles the simulation engine into and out of Single Step mode. Single
Step mode is typically used as an analysis aid to debug simulations.
When in Single Step mode, the simulation progresses forward in time exactly one time step
(usually 250 milliseconds) each time you click the Run button. After running one simulation time
step the simulation automatically freezes and waits for another run action to be performed. The
Simulation Status is displayed as SINGLE STEP in the Simulation Status Pane.
In the Engineer environment, Single Step mode is selected by freezing the model, then choosing
Single Step Mode Toggle from the Run dropdown menu. You can also toggle single
step mode using the Alt + N key combination.
Load Full is a versatile feature of DYNSIM, which enables the user to re-load the complete model
configuration from the database without the necessity to shut down the simulation.
This feature can be accessed by clicking the button present on the toolbar. Alternatively, it
can be done by selecting Engineering Actions from the Run menu.
The Load Cross Reference feature loads all entries to the Cross Reference table. This feature
enables the user to activate the new entries in the Cross Reference Table without having to shut
down and restart the engine.
This feature can be accessed either by clicking button present on the toolbar or by selecting
Engineering Actions under Run menu.
The Load Engine feature re-loads only the engine associated with the model, not the complete
model.
To use this feature, either click the button on the active flowsheet toolbar, or right-click a
flowsheet and select “Load Full Associated Engine.”
Use LE functionality if the changes to a parameter value are done in a single engine. If
you are changing parameter values for more than one engine (regardless of whether you are
changing parameters for all engines), use LF functionality.
Load Object
The Load Object feature re-loads only the model object, not the complete simulation or the
engine associated with the object.
To use this feature, either click the button on the active flowsheet toolbar or right-click a
model object and select “Load Object.”
h) Renaming a model object that has any of its parameters given as a reference in
other models.
The Save Model States is a feature that saves the operational data in ASCII format. The name of
the file generated is <Engine Name>States.dat. A Save Model States operation saves all the
current values of STATE and DYNAMIC parameters to this file.
When an engine is loaded for the first time, the simulation is initialized with the values present in
the States file.
If there are multiple engines present in the simulation, one States.dat file will be saved for each
engine.
The States.dat file is dependent on the engine name and if the engine is renamed after saving the
States.dat file, a new States.dat file is to be saved.
The States file can be created by clicking button present on the toolbar. Alternatively, it can
be done by selecting Engineering Actions from the Run menu.
Disable Flowsheet
The Disable Flowsheet functionality provided by DYNSIM allows the user to disable one or more
model objects on a flowsheet or disable a whole flowsheet. It is a convenient feature for tuning a
simulation.
Refer to the Base Equipment manual, Fundamentals section for more details.
To disable a model/flowsheet
The disable flowsheet icon is active only if the simulation is running and the user has
selected the model or flowsheet. If a model or flowsheet is disabled, the change will take effect
immediately without performing Load Full (LF).
• A disable button (red stop sign) and an enable button (green check sign) appear
on the toolbar. These may be used to disable (enable) objects selected by the user. The
selection may be an individual object/group of objects on the canvas or on the instance
tree.
An individual object on the canvas may also be disabled/enabled by using the right click
menu for the object. The disabled object will have a stop sign graphical indication as
shown below.
• To disable an entire flowsheet, select the flowsheet on the instance tree and click the
disable button on the toolbar.
The disabled flowsheet is indicated with a red cross on the instance tree as shown below.
• To enable the entire disabled flowsheet, select the flowsheet on the instance tree and click
the enable button on the toolbar
The Drawing Defaults dialog box is displayed below and has six tabs: General, Streams, Models,
Colors, Icons and Connections.
General Tab
• Prompt for new name whenever the user drops a new object on the flowsheet.
• Display hidden names when mouse pointer is rolled over object. For example, stream
names.
Check or clear the options as required. By default, both options are checked.
Streams Tab
• Display stream properties when the mouse pointer is hovered on the screen. These
properties could be Stream Name, Temperature, Pressure, Flow rate, Vapor/liquid
fraction.
Models Tab
Model object tool tip is a popup, which gives brief information about the critical parameters of
the model. The popup is displayed when the mouse cursor is positioned over the model. The
popup is static in nature and the parameter values are not refreshed. The popup will disappear
automatically after five seconds or if the cursor is moved away from the model. The figure below
illustrates the model tool tip popup for a pump.
By default, the model tool tip option is checked to display the model properties. To turn off the
option, from the Options menu select Drawing Defaults. Click on the Models tab and clear the
check box.
The model tool tip supports only a few critical parameters for each model in DYNSIM
4.3.
Colors Tab
Icons Tab
• Change the icon label font characteristics like font size, weight, and color
Connections Tab
The Connections tab allows the user to show connector arrows. By default, it is checked.
Utilities/Tools
Trends and Plots
This topic includes the following subjects:
• Overview
• Trend Examples
• Deleting a Trend
• Trend Functionality
• Plots
Overview
Trends for any number of points can be displayed simultaneously. All points and model
parameters are candidates for trending.
You can specify the following that affect the entire trend display:
• Time span represented by each division on the chart (Time Grid Spacing).
The Time Span determines the horizontal (X-axis) scale. The Time Grid Spacing determines the
granularity of the X-axis scale.
The vertical (Y-axis) scale is fixed at 10 divisions. For each parameter, Y-Min and Y-Max define
a band of Y-axis values. If desired, Trend will automatically and continuously scale the Y-axis.
This feature can be specified on a parameter basis by using the ‘AUTO’ checkbox.
Collection sets define the sample period and duration of the interval over which the data is
collected for a given point. There are four pre-defined collection sets.
• Very Fast
• Fast
• Medium
• Slow
Collection sets can be configured using Data Historian user interface. Note that the very fast
collection set is not enabled by default.
Each trend point can be represented with a different color and line style. The various colors and
line styles that can be assigned to a particular trend point can be selected from the combo box
under colors and styles field respectively.
Trending is active only while the Simulator is in Run mode. Parameter values are sampled over
the specified collection set and plotted. Trend data acquisition occurs through the Data Historian
whether or not trends are being displayed. Thus, if you close the Trend then return to it, the
Trend is immediately current.
When you save a group, DYNSIM instructs you to select the desired Flowsheet from a list of
existing Systems. In response, DYNSIM places a trending object on the Flowsheet canvas and
adds the trending name to the list of models in the System. Note that you’ll have to collapse and
expand the Flowsheet entry in the Instances Tree to see the new trending object.
Trend data (history) is saved and restored with Initial Conditions and Backtracks. When the initial
conditions are restored, if you choose to reset simulation time to zero, the time axis is rescaled
such that all the restored time values are negative leading up to current simulation time of zero.
1. Choose a collection set based on how much data you want to be able to review.
If you want to be able to recall/review data for the last 10 minutes, choose the
2. To ensure that a trend extends the entire width of the chart, specify a collection
set whose duration is at least as long as the chart time span.
Trend Examples
The figure below illustrates the effect of keeping the auto-scaling feature off.
In the figure above, the only change we have made is to turn on Trending auto-scaling feature.
Note the checkmark in the three Auto checkboxes. The Y-Min and Y-Max values have been
automatically adjusted to a range that more closely resembles the actual values assumed by the
three parameters. Note the effect on the three trends.
Select the Trend object from the Types Tree and add it to the desired Flowsheet
canvas.
The Trending window is displayed. If you added the Trend object from the Types
Tree, double-click on it to display the window. The title bar indicates unnamed.
2. Type a description for the trend group. This description is optional, but
recommended.
Choose a value from the dropdown list or type a new value. If you type a value,
you must specify the time units: ‘s’ for seconds, ‘m’ for minutes, or ‘h’ for hours.
5. Specify the desired values for Y-Min, Y-Max, Color, Line Style and Collection set.
Check the Y-axis checkbox to display the Y-axis for each point plotted.
7. Click the Apply button to apply the settings you have made to the database.
8. To save the trend group you’ve defined, click the Save button or the Save &
Close button, then supply the requested information: Flowsheet and Trend Name.
Each Trend is associated with one Flowsheet. In the illustration above, the
Trend is associated with Column.
Each Trend is associated with a simulation Flowsheet. A Trend icon for each defined trend is
shown on the Flowsheet canvas and in the Instances Tree. To access an existing trend , you must
display the appropriate Flowsheet canvas or expand the Flowsheet in the Instances Tree.
Click the desired trend icon in the Instances Tree then click the View button on the
main DYNSIM toolbar.
The Freeze button at the bottom of the Trend window can be used to temporarily
suspend chart movement so you can review the trends. The horizontal scroll bar at
the bottom of the window allows you to scroll back in time.
If the point table is not displayed, click the Show Table button.
To delete a point, click on it in the table then press the Del key on the keyboard
or click the Delete button in the Trend window.
To add a point, type the name into the Point: text area then click the Add button.
Set the desired values for Y-Min, Y-Max, Interval, and Duration..
Change the fields for existing parameters if desired: Y-Min, Y-Max, Color, Line
Style and Collection set
Change the Time Span and Time Grid Spacing values if desired.
3. Click the Apply button to apply the changes that you have made to the database.
4. Click the Save button or the Save & Close button, as appropriate.
Deleting a Trend
Each Trend is associated with a simulation Flowsheet. A Trend icon for each defined trend is
shown on the Flowsheet canvas and in the Instances Tree. To access an existing trend , you must
display the appropriate Flowsheet canvas or expand the Flowsheet in the Instances Tree.
1. Right-click on the desired trend icon on the Flowsheet canvas then choose Delete
from the dropdown menu (OR)
Click the desired trend icon in the Instances Tree then click the Delete button on
the main DYNSIM toolbar.
The trend may remain on the Flowsheet canvas and in the Instances Tree
until you collapse and expand the Flowsheet entry in the Instances Tree and perform
a Validate Graphics operation on the canvas.
Trend Functionality
Each point is sampled at an interval specified for the collection set. Based on the sampled value
and the point-specific Y-axis scaling, DYNSIM effectively inserts a point on the chart, and then
draws a straight line between that point and the previous point. The value plotted is the point’s
instantaneous value. There is no value averaging over time.
An updated point value is available every simulator time step (usually 250 milliseconds). The
collection set you choose determines how many of these updated values are ignored. For
example if you specify choose the “Fast” collection set (which by default has an interval of 2.5
second), you are instructing DYNSIM to look at every tenth value, ignoring the nine intermediate
values.
For a given point, the sample size (Samples) is same as the sample size for the collection set over
which it is trended. You can scroll back as many points as specified by the Samples value. When
you freeze the Trend, you can scroll back up to the duration of the collection set.
Default Trends have been added for all the models in the Base Equipment library (Drum, Header,
Expander, Pipe, Shaft, Mixer, Splitter, Valve, Transmitter, StreamSet, Stream, MechStream and
HeatStream).
Invoking the Default Trend creates a new trend instance with pre-configured parameters. It also
adds corresponding data points to the Data Historian. It can be invoked by right-clicking the
respective model object in the flowsheet canvas.
The list of parameters included in the default trend for each model can be modified by editing the
TRENDCONFIG.xml file located in \SIMSCI\DSSxx\GUI\Trends. A screenshot of the user
editable configuration file is shown below.
Plots
Profiles and XY plots work like trends. They can be dragged from the References Library and
placed on a flowsheet.
Select XY Plot from the References library in the Instances Tree and drop it on the desired
flowsheet.
Enter a name for the plot in the corresponding dialog box. An icon is displayed on the
flowsheet. Double-click the icon and then select a plot from the drop-down list.
• General XY Plot – Plots any valid parameter (any valid point in the simulation) against
another parameter. Point history can be kept, so it forms a squiggly line.
Compressor Curve : Plots DH vs Q on top of a compressor map and surge line in the
background. Operating point history is maintained to show a squiggly line indicating
how close operation comes to surge. If a compressor model is configured with multiple
curves for different speeds and different IGVs, additional curves appear on the plot with
the operating point on the corresponding IGV curve. We are proposing to have three
radio buttons namely All, IGV, and Speed as shown in the following figure.
By default, “All” radio button is selected. Three radio buttons are explained below.
a) All: Display all the curves. The color of the curves will be different for different
IGV and Speed.
b) Speed: Display curves at multiple IGV position for a given speed. User can
choose the dropdown to select the speed.
c) IGV: Display curves at multiple Speeds for a given IGV position. User can choose
the dropdown to select an IGV position.
User can select any other button depending upon the number and nature of curves. For
example, if 12 curves exists at four different speeds and three IGV positions, selecting All
option may not give good visibility of the curves. In that case, user can select IGV radio
button, where he can see four speed curves at each IGV position. Similarly, if six curves
exists (different speeds) at one particular IGV position, Speed radio button can provide
better usability.
• Pump Curve: It behaves the same as compressor curve but no surge line and no lines at
alternate speeds.
• Tower Profile. Plots specific column tray variables against tray number. For example, a
profile plot may have stage temperatures and stage pressures as a function of number of
stages. This is a special form of the profile plot. The variables available for plotting can
be selected from the dropdown list.
• MultiExchanger / PFR Profiles. These profile plots are similar to the Tower plots and
can plot any element parameter against element number.
• Olga Profile Plots. This plot can be used to establish OLGA pipeline profile data by
reading pre-defined profile data from an ASCII file. The users need to specify the Olga
Interface Engine Name.
The user is not allowed to add multiple XY/Profile Plot types or multiple plots
(parameters) on a single profile plot.
This plots the instantaneous operating point of the compressor. The compressor characteristic
curve at each speed is shown in the background. Also, the Surge line is plotted as a slightly
wavy curve if a surge curve is defined or as a straight line from the origin if no surge curve is
defined. The plot helps you to visualize the current operating point vis-à-vis the characteristic
curve. The Surge line serves an additional purpose of allowing you to visualize the approach of
the current operating point to Surge conditions. The operating point is shown in black and the
history is shown in grey. You may change the colors and the styles of the line.
This plots the instantaneous operating point of the pump. The Pump characteristic curve at the
reference speed appears in the background. It is similar to the compressor plot except that there
are no multi-speed curves and no surge line.
In both the plots, negative flow rates and heads are not plotted.
Tower profile plot is a special version of the general profile plot. A Tower profile requires two
entries, Tower and parameter such as T, P, Fv, Fl, Composition, etc. All the parameters will be
available through a drop-down list.
Each parameter plot is a function of the tower stage number. The history lines showing the
transient behavior of the parameters will be plotted in a different color.
Multi Exchanger profile plot is a special version of the general profile plot. A Multi Exchanger
profile requires two entries, Multi Exchanger and the parameter such as Flow.T, Wall.T, Q. The
parameters are available through a drop-down list. The parameters are a function of the number of
elements. The history lines showing the transient behavior of the parameters will be plotted in a
different color.
PFR is an extension of the multi exchanger profile plot. A PFR profile requires two entries, PFR
and the parameter such as Flow.T, Wall.T, RPASS.T, RPASS.P, Q, Composition, Reaction Rate,
etc. All the parameters are available through a drop-down list. The parameters are a function of
the number of elements. The history lines showing the transient behavior of the parameters will
be plotted in a different color.
The XY and Profile plots support changing UOM slates for both default and custom slates.
The units in the table as well as in the plot change automatically according to the slate selected.
The Olga profile plot requires three entries; Engine name, Branch, and parameter. The parameters
such as GG, HOL, PT are available as a drop-down list. The parameters are a function of the
number of segments in the entire pipe length in Olga. The x-axis is the length of the entire
pipeline.
Background color for Trend/Plot can be changed through Draw Attribute of Trend/Plot. You can
select background color to be white or black. Default background color is white.
Malfunctions
This topic includes the following subjects:
• Overview
• Operating Parameters
• Basic Operation
Overview
A Malfunction can be defined as an unexpected, abnormal occurrence. For example, a valve that
does not operate as commanded.
The introduction of malfunctions is one of the most important aspects of simulator based training.
It tests an operator’s ability to analyze and correctly respond to problems in the physical plant.
Without a “Malfunctions” capability, simulator- trained operators would be capable of handling a
plant only under normal operating conditions.
Any number of individual malfunctions can be created and optionally saved for recall and reuse.
Each malfunction directly affects a single model (such as a motor, valve, transmitter, and so on).
Each individual model is associated with a single Flowsheet. Subsequently, each malfunction is
associated with a single Flowsheet. A given Flowsheet can incorporate any number of distinct
malfunctions. In addition, there may be many malfunctions for a single model. In this scenario ,
DYNSIM initially assigns a unique number to each new malfunction and they will be identified by
the Flowsheet and number. DYNSIM also furnishes a description for each new malfunction.
Both the number and the description can be overridden if desired.
When you select an object to malfunction, DYNSIM displays a customized window that reflects
malfunction characteristics specific to that object type. Example: If the selected object is a valve,
DYNSIM provides a list of nine predefined valve failure modes, some discrete and some analog.
Operating Parameters
Each malfunction has an associated set of operating parameters. The content of this set depends
on the type of malfunction. The illustration below shows a Malfunction window for a valve
model. The window has been expanded by clicking the Options button to display optional
parameters. The selected failure mode, such as Valve Blockage, defines this as an analog
malfunction. The operating parameters are described below the graphic.
• Delay Time
• Oscillation (analog)
• Chatter (discrete)
Delay Time lets you delay the onset of a malfunction from zero seconds (immediate
activation) to almost 100 hours. The Delay Time displayed in the Malfunction window is the
time remaining until delay expiration. In the illustration above, a delay time of 30 seconds
has been requested. Note that the Delay Time checkbox has been checked. This selection is
required to invoke the delay time feature.
For analog malfunctions, Mature Value is the desired value of the malfunction variable that
needs to be attained finally upon activation of the malfunction. The allowable range of values
depends on the type of malfunction. The low limit and high limit are displayed in the
Malfunction dialog.
Analog malfunctions have both a current value and a mature value. You need to
specify the mature value in the malfunction window. DYNSIM maintains and
displays the current value as the malfunction executes. When the current value
reaches the mature value, the malfunction has matured.
For discrete malfunctions, the Mature State indicates the final state of the object. Two
examples are illustrated here:
• Several objects have a ‘Broken Shaft’ failure mode. The single Mature State for
this malfunction is Broken Shaft.
• A Circuit Breaker object has an ‘Inhibit Open/Stop Command’ failure mode. The
options for the final state are Inhibit Manual Only, Inhibit Auto Only, and Inhibit
Both.
Discrete malfunctions have both a current state and a mature state. You need to
specify the mature state in the Malfunction window. DYNSIM maintains and
displays the current state as the malfunction executes. At maturity, the current
state is set to the mature state.
Oscillation provides options for modulating the current value with a sine wave or random
oscillation . You can specify the amplitude and period of the modulating waveform.
Chatter causes the current state to toggle between the Mature State and a Not Active state, at
a specified interval.
In addition to the operating parameters described above, some malfunctions provide these user-
modifiable parameters:
• Set Trigger
• Reset Trigger
Engage Rate allows you linearly increase (ramp up) the current value of a malfunction at a
specified rate until it reaches the Mature Value. This feature simulates a time- dependent
malfunction. Engage Rate can be specified as any desired percentage (per second) of the
Mature Value. If you do not specify an Engage Rate, the current value immediately assumes
the Mature Value on malfunction initiation.
Disengage Rate allows you linearly decrease (ramp down) the current value at a specified
rate until it reaches zero. The ramp occurs after the malfunction has matured and you have
clicked the Deactivate button in the Malfunction window.
Set Trigger allows you to specify a condition(s) that must be true before the malfunction
executes. In the illustration above, motor MCN1 must trip before DYNSIM starts
decrementing the Delay Time. Another example: typing DRUM.P > 2000 into the Set
Trigger frame instructs DYNSIM to initiate the malfunction when drum pressure exceeds
2000 psi.
Expressions in the Set Trigger and Reset Trigger frames must be capable of being
evaluated to TRUE or FALSE. Refer to Equation Utility for a list of valid
operators.
The parameters discussed above can be used in combination. For example, for an analog
malfunction you could concurrently specify Delay Time, Engage Rate, and Oscillation. When
you activate the malfunction the delay timer counts down to zero then the current value begins to
ramp up toward the Mature Value at the rate specified by the Engage Rate as modulated by the
Oscillation parameters.
Basic Operation
At any given time, a malfunction is in one of several possible conditions or modes. The modes
are as follows:
• Configuration
• Waiting On Delay
• Engaging Ramp
• Mature
• Disengaging
• Deactivated
The current mode of a malfunction is indicated in the top right corner of the Malfunction window.
A new malfunction always starts in the Configuration mode. This mode allows you to specify the
desired operating parameters (described earlier in this topic). After a malfunction has matured
and been deactivated, it returns to Configuration mode, ready to be modified and/or executed
again.
After configuration, a malfunction is ready to be saved and/or activated. Both operations are
requested from buttons at the top of the Malfunction window. Activating a malfunction initiates
execution. Based on the parameters specified in the Malfunction window, the malfunction
immediately transitions to one of the modes listed above. During execution, messages in the
Malfunction window keep you apprised of the progress of the malfunction.
Active malfunctions are listed in the Active Malfunctions pane at the top of the main
DYNSIM screen. Malfunctions remain listed until they are deactivated.
When the current value of a malfunction reaches the Mature Value, it transitions to Mature mode.
A mature malfunction has fully affected the simulation. With the possible exception of
disengaging options, all requested operations have been completed.
As indicated by its presence in the Active Malfunctions list, a matured malfunction is still
affecting the simulation. Example: If the malfunction simulated a broken valve stem, the
simulated stem remains broken as long as the malfunction is in a matured mode.
To remove the effect(s) of a malfunction, you must deactivate it by clicking the Deactivate
button in the Malfunction window. At that time, the malfunction transitions to Disengaging
mode. If specified, the Disengage Rate is applied as the malfunction’s current value ramps down
to zero (analog malfunctions only). The malfunction then transitions to the Configuration mode.
At that time, the malfunction is removed from the Active Malfunctions list.
Note that an active malfunction can be cancelled at any time by clicking the Deactivate
button.
The Malfunction Summary window lists saved malfunctions. Using the pull-down menu, you
can display malfunctions for all Flowsheets in your simulation, all active malfunctions, or
malfunctions for just one Flowsheet. The sample below displays malfunctions for all Flowsheets.
The Malfunction Summary window is displayed by clicking the Malfunction Summary button at
the top of the Active Malfunctions pane.
The Malfunction Summary window includes buttons to Edit (and view), Delete, Activate,
and Deactivate a selected malfunction.
The graphical indication gives the status of the Malfunction configured to equipment. This will
help the instructor to identify easily which equipment is subject to malfunction. The indicator will
be on top right of the equipment for which the engineer has saved a pre-configured malfunction.
The color of the indicator gives the status of the malfunction such as Inactive, Waiting on delay,
and Mature.
Bl k I ti Y ll W iti D l ti R d M t
To edit the malfunction status indicator attributes, right-click on the graphic and choose Draw
Attributes from the displayed menu. A Draw Attributes dialog box is displayed as indicated
below:
The status “Default” indicated that it follows the option selected in Options menu/Drawing
Defaults. The user can override this by selecting Hide/Show from the Draw attributes of the
specific model.
DYNSIM modifies the parameters to reflect the type of failure. Also, the
selected points are appended to the bottom of the window. The values in this
window update dynamically as the malfunction executes.
To enable an option, you must check the checkbox as well as providing the
desired parameter information.
7. If you want the malfunction saved for later recall, click the Save button.
When the malfunction activates, the Activate button becomes a Deactivate button.
You can prematurely terminate the malfunction by clicking this button.
1. Click the Malfunction Summary button at the top of the Active Malfunctions
pane.
Click the Edit button at the top of the Malfunction Summary window.
If you do not want to modify the operating parameters, skip to step 8 of this
procedure.
DYNSIM modifies the parameters to reflect the type of failure. Also, the
selected points are appended to the bottom of the window. The values in this
window update dynamically as the malfunction executes.
To enable an option, you must check the checkbox as well as providing the
7. If you want the malfunction saved for later recall, click the Save button.
1. Click the Malfunction Summary button at the top of the Active Malfunctions pane.
Or
Click the Delete button at the top of the Malfunction Summary window.
Scenarios
Scenarios area programmed sequence of actions, such as setting parameters, triggering
malfunctions or executing a Trainee Performance Monitoring (TPM) exercise used to perform
repetitive set of commands. The execution of an exercise initiates individual operator actions at
configurable time intervals, such as opening a valve or starting a motor.
• Overview
• Executing a Scenario
• Scenario Commands
Overview
The Scenario tool allows the user to save a sequence of actions, such as starting a pump,
activating a malfunction, or setting a demand, to a file that can be edited. The file can be
generated by selecting a Record button or by typing the commands to a text file. This file can be
executed using the Playback feature at any time the simulator is running.
The steps listed in a scenario file might include restoring an Initial Condition (IC) or Snapshot,
starting a pump, placing a controller in manual and setting the output, waiting for a tank to fill,
placing the same controller in automatic and setting a demand, then freezing the simulation and
saving an IC.
• Activate/Deactivate malfunctions
• Save/Restore snapshots
• Remote functions
Scenarios can also be used for engineering studies and has the following features:
Click the Scenario icon present in the GUI or press F12. The Scenario Manager Table is
displayed.
Click the Import button on the menu bar of the Scenario Manager table or select Alt – I
To generate a New Scenario through Scenario Manager, Click the icon on the toolbar.
To proceed further, perform the following actions:
Type the appropriate text in the fields Scenario Name, Description and Author.
A Text editor for the new Scenario is displayed. In the Text editor, Scenario
commands can be written.
c. Click the Save button, to save the Scenario. The saved status is displayed at the
bottom of the Text editor. The newly created scenario can be viewed in the Scenario
Manager table.
a. Click the Start Recording button on the Scenario Manager table toolbar.
It starts recording the events and a Snapshot is taken immediately.
This button is used to toggle the scenario either to start or stop recording.
The button changes to a flashing red to indicate that the recording is in progress
and also the label of the button is changed to Stop Recording
b. Click the Pause Recording button to temporarily stop the recording of events.
This feature prevents long or inappropriate Wait times to allow the user, time to
consider his next step.
c. Click the Pause Recording button again to resume the recording session.
The user can write comments on the recorded script or modify the session. Refer to the
topic Scenario Commands for a list of commands.
The Scenario Manager lists all the scenarios stored on a particular system. Actions such as Edit,
Delete, Import and so on, can be performed through Scenario Manager. The Scenario Manager
toolbar has the following buttons.
The Scenario Summary window is displayed by clicking the Scenario Summary button on
the main toolbar.
Import Allows a scenario to be imported from a file. The file should be saved as a
scenario script file (.ssf)
Export Allows a scenario to be exported to any folder location. The file is saved with an
extension .ssf
Recording
Recording
The Scenario Summary table provides additional details such as Step Number, Current Point
Value, Target Point Value, Step Elapse Time and Scenario Elapse Time. These details help the
engineer to keep track of the progress of the Scenario run.
The Scenario Summary table displays the point values in current UOM slate engineering units
and not in DYNSIM Internal Units.
Step Number Displays the current step number the scenario is executing
Current Point Displays the current value of the particular parameter used in WAIT UNTIL <>
Value command; for WAIT <> command, displays the elapsed WAIT time.
Target Point Displays the target value for the WAIT UNTIL <> command; for WAIT <>
Value command, displays the total WAIT time.
Step Elapse Displays the elapsed time for that particular WAIT <> or WAIT UNTIL <>
Time command.
Scenario Displays the total elapsed time since the scenario started.
Elapse Time
Run Mode
Engineering Scenario: As mentioned above, Engineering Scenario allows the user to save a
sequence of actions, such as starting a pump, activating a malfunction, or setting a demand, etc.
The file can be generated by selecting a Record button or by typing the commands to a text file.
This file can be executed using the Playback feature at any time when the simulator is running.
When a pre-defined scenario is selected in ATE mode, operator actions are recorded with unique
identifiers: OP for operator when the command is completed using the DYNSIM interface, and
PERFORM when the command is completed using other operator interfaces. Please refer to
Automated Training Exercise section for more details on functionality of ATE.
Playback: The Engineering scenarios or ATE scenarios can be played back at a later time using
playback client. This can be used by the instructor to review the operator actions performed using
ATE scenarios.
Executing a Scenario
3. Click the Run button to execute the scenario. The command execution along with the
running status can be viewed in the summary table.
5. Once the execution of the scenario is complete, a window displays a feedback message.
The scenario can be stopped prior to its completion by clicking the Stop button. When the
Stop button is clicked, a popup window is displayed to verify that the user wants to stop the
scenario execution.
3. Click OK button.
4. Modify the file as desired. Refer to Scenario Commands for a complete list of
commands.
5. To save the scenario, click the Save button. The saved status is displayed at the bottom
of the text editor.
3. The scenario can be opened by using the Edit option available on the menu bar or by
selecting the scenario and right clicking to select the scenario.
Clicking the Print button displays “Select Scenario for printing” dialog where user can
select multiple scenarios for printing.By default, Selected scenario will be checked for
printing.
4. On clicking “OK” from the above window results in the Printer dialogbox and user can
select various options like Paper size, Orientation etc.
1. Hide Column
This option displays a window showing the visible columns. To hide a column, select
the desired field from the window. For example, to hide the author column, select
Author.
Click OK. The Author will not be displayed in the Scenario Manager table.
2. Show Column
This option shows the hidden columns. To view hidden columns, right-click and select
Show Column.
Click OK. The Author column is displayed in the Scenario Manager table.
Scenario Commands
The scenario files are simple text files, which can be edited inside the Scenario Editor screen.
Following commands are recognized by the application.
Commands Description
“//” The Lines starting with “//” are treated as the Comments.
Example:
Load IC 23;
“;” The semi-colon acts as the character for termination of current command.
Example:
Time Units Scenarios recognize three time units, namely, sec, min and hr. The default is
seconds. A comma-separated list of these three units is also recognized.
UOM override Several scenario commands act on a point to change its value. In these cases,
for points the value may be specified in units convenient to the user by overriding the
point’s internal unit-of-measure. The UOM override should be specified in
curly braces with no space after the point name. Some examples are:
// Wait until the level in ft of vessel V1 is greater than 3.0
Commands Description
Equations Some scenario commands allow equations. Equations may use the following
mathematical/logical operators and functions.
Operators: +, -, *, /, ^
Logical Relations:>, <, =, >=, <=
Logical Commands: IF
Functions: MIN, MAX
Commands Description
Set The Set command will change the value of a process variable.
Example:
Step The Step command increments or decrements the current value of a process
variable with a specified step size to the new value. The Step command
assumes time in seconds.
Example:
Wait 30;
Commands Description
By default, the scenario continues to the next step before the Ramp command
is complete (parallel operation). To prevent further execution, add a Wait
command of the same time interval as the Ramp command.
The current and target point values will not be displayed when RAMP
command is executed.
To monitor the RAMP status in the scenario window, include a WAIT UNTIL
command next to the RAMP command as given below.
Example:
Wait 5;
Commands Description
Pulse The Pulse command sets any process variable to any explicitly defined value
for a fixed duration of simulation time. The Pulse command assumes time in
seconds. By default, the scenario continues to the next step before the Pulse
command is complete (parallel operation). To prevent further execution,
include a Wait command of the same time interval as the Pulse command.
Example:
Wait 5;
// Or,
PULSE XV1.OP{percent} BY 10 FOR 5;
Commands Description
Runscript The Runscript command runs the script specified in the directory. Specify the
name of the script along with the complete directory path.
Example:
Export Historian The Export Historian command exports data for the points specified in the
Data Historian. A data collection set can be VERYFAST, FAST, MEDIUM,
and SLOW. The data of different points exported for a particular time is
separated by a comma or a tab stop as specified by the file format. The file
format has to be CSV or TSV.
The data is exported to a new file, which is automatically created with the
date and time and is saved in the default location.
..\\SIMSCI\DSS4x\Simulations\<SimulationName>\Historian_<time>
Command format:
Example:
Load IC The Load command will restore the specified Initial Condition.
Example:
Commands Description
Save IC The Save command will save an IC with the current operating conditions
Example:
Flush The Flush command flushes the data historian. This command might be used
when performing an engineering study where an IC is restored but the history
is saved with this IC is not desired.
Example
Activate Malf The Activate Malf command activates the Malfunction from Database, if the
malfunction is saved in the Database.
Example:
Activate Malf 3;
Deactivate Malf Deactivate Malf Command deactivates the Activated Malfunction, if the
Malfunction is activated.
Example:
//active malfunction 3
Deactivate Malf 3;
Example:
Commands Description
Start Scenario Use this command to start a scenario from the currently executing scenario.
Specify the scenario to be executed by its number (Scenario ID) or by its
name. Note that the scenario name may not contain spaces or special
characters.
Start Scenario 1;
Start Scenario 5;
Start Scenario 6;
Commands Description
Stop TPM The Stop TPM command will stop the running TPM started with the Start
TPM command. As with Start command, this command requires a TPM
number. The Stop TPM command automatically saves the results of the TPM
so that there is no need for a Save TPM command.
Example:
Prompt The Prompt command pauses further execution of the scenario and a dialog
box pops up. The title bar of the dialog box contains the scenario name. The
dialog box contains the user-specified message and two options - one to
CONTINUE the execution of the scenario and the other to STOP the further
execution of the scenario.
Example:
Wait The Wait command stops processing the next line in the scenario until the
prescribed time has elapsed. The command is followed by a value, and time
units. The time units are in seconds if not specified.
Example:
Set XV1.OP = 1;
Set XV2.OP = 1;
Commands Description
Wait Until The Wait Until command waits until the relation defined returns True.
Example:
Timed Actions The SIMTIME and CLOCKTIME commands trigger actions based on
simulation time or system clock time.
Example:
Save IC The SAVE IC command in scenario has been enhanced to provide and IC
Description description at the time of saving the IC. The modified syntax is:
Example:
Timed Actions
A few points to consider while using the Timed Action commands in a scenario;
The maximum limit of CLOCKTIME is 23:59:59. Any actions specified beyond this will not be
performed since it spills over to the next calendar day. Actions configured for the same date only
can be performed.
SIMTIME format is the same as it appears on the simulation control panel, ie HH:MM:SS. In this
case HH may exceed 24 hrs. Alternatively, it may also be expressed in DD:HH:MM:SS format.
In one statement a single action can only be specified. If more actions need to be triggered at the
same triggering time, they may be specified in another statement with same condition.
If any of the actions of the scenario reset the simulation time (like load IC or start TPM ), the
timer for SIMTIME will be restarted and will wait for the target time to trigger the timed
actions. In case the stored time in the IC is beyond the target time of any of the timed actions,
those actions will be skipped.
Scenario will be completed only after all actions including the timed actions are completed.
EventLog is accessible from the Engineer mode to monitor the status of timed actions. Unlike the
Instructor mode, the logging has to be manually started in a session.
Precautions / Limitations
The WAIT and PROMPT actions are prohibited from the timed actions as it
might block remaining sequential actions in scenario.
The CLOCKTIME based actions can be executed only until 23:59:59 on the
same day. It cannot span different calendar dates.
Since the normal (sequential) actions and timed actions happen in parallel, user
need to be watchful about adding FREEZE command in the script. It might
prevent initiating some timed actions based on SIMTIME . After a freeze,
running the simulation manually is necessary for completing the scenario.
The scenario summary table will display only the normal (sequential) action in
the table including the current and target point values for the WAIT.
Various colors are exhibited in the Scenario Summary table depending upon the status of
the scenario and user selection.
Example:
• Overview
• Scoring Methods
• TPM Report
Overview
The effectiveness of such a training program greatly depends on the trainee’s performance
evaluation procedures.
The Trainee Performance Monitoring (TPM) tool provides the instructor with mechanisms to
monitor and evaluate a trainee’s performance in operating a simulated process plant based on a
set of pre-defined criteria.
The instructor defines bounds for critical parameters for each training session within which the
trainee must operate the unit to obtain a high score.
There are two forms of TPMs. The first is a generic TPM “Template” which is created by an
Instructor or an Engineer. In a TPM template, the Instructor defines the critical parameters, the
bounds for each parameter and a method of scoring for the TPM Exercise. After a TPM template
is started, run, and completed, the results can be saved as a TPM “Exercise” for the specified
user. Each TPM Template and a TPM Exercise has a unique identity in the form of a TPM ID.
The TPM Summary Table lists both types of TPMs. The TPM Templates are identified with a ‘T’
and TPM Exercises with an ‘E’ in the TPM summary table. A pre-formatted report for every
TPM exercise is available in the TPM Summary Table.
The following list provides the salient features of the TPM tool:
• The instructor can list the names of trainees involved in the training, along with any
additional comments that are pertinent to the session.
• A TPM exercise can be set up by the instructor to start from a previously saved IC. For
example, if the TPM session was to test the trainee’s performance in ramping a power
generation unit from 100 MW to 200MW, the instructor can configure a TPM to load a
previously saved IC (that had 100 MW load level) prior to starting the training exercise.
It is suggested that the instructor load the desired IC and run the model prior to
starting the TPM session. This will allow the trainee to get familiar with the new process
conditions.
• Trends for the critical points can be associated with the TPM Exercise.
• Any number of points from the simulation can be monitored in a TPM session.
• Any valid point can be used to specify the High or Low limits, thereby allowing the
limits to vary dynamically during an exercise.
• The instructor can assign weight to a parameter based on its criticality to the process.
• When using the Integrated Error approach of scoring, the instructor has to specify
maximum (HH) and minimum (LL) limits within which the trainee must operate to
obtain a high score. These values are used to normalize the Integrated Error score.
• When using the Integrated Error approach of scoring, the instructor can specify the HH
Grace period (in seconds) and LL Grace period (in seconds). This period provides the
grace period above the HH Limit or below LL Limit within which a trainee will not be
failed. This period is applicable per instance but is not cumulative.
• When using the Integrated Error approach of scoring, the instructor can specify the HH
Penalty and LL Penalty. The total penalty will be applied in the point score at the end of
the TPM.
• The total time of deviation for all excursions above and below HH and LL apart from the
individual time of High and Low excursions are displayed in the TPM results.
• If the HH or LL limits are crossed, the TPM exercise will continue running. If a
point goes out of range, then the score is set to zero. The point name, time, and
the limit crossed are shown in the TPM report.
• The number of excursions outside the maximum and minimum limits is included in the
results.
• The score for each point as well as the total score for the entire TPM session is included
in the reports.
Scoring Methods
This method is based on the ratio of the time a parameter is above/below the Max/Min
limits to the total time of the TPM run, scaled by the weight assigned to the parameter.
(A perfect score is 100%).
• Integrated Error
This method is based on the ratio of the area above/below the Max/Min limits to the total
area above/below the limits, scaled by the weight assigned to the parameter. (A perfect
score is 100%). This is the default scoring method.
In these scoring methods, the instructor assigns a weight to each parameter that has to be
monitored. The parameters can be assigned weights based on their criticality to the process. The
sum of all weights must equal 1 for a particular TPM session. The total score is the sum of the
weight assigned to each parameter multiplied by the score of each parameter.
Weight = Σi (Weight i) = 1
The time-only basis of scoring measures the time a set of specified parameters deviates from the
specified limits. The calculated score reflects the ratio of time a parameter exceeds the high and
low limits to total time. A perfect score is 100%.
Score = 100 ⋅ 1.0 −
∑ ∆t
t f − t 0
where:
Scoretotal = ∑i Wi ⋅ Scorei
where:
i = Individual variables used for TPM
As a sample calculation, the graph shown lists a single parameter measured over 20 seconds. In
this example, the high and low limits are specified by the time dependent curves HighLimit and
LowLimit, respectively. The parameter exceeded the high limit for 3 seconds and the low limit
for 4 seconds. The score for this parameter, using the time only basis is:
Integrated Error
The integrated error method of scoring scales the deviation based on time, amplitude of deviation,
and the high and low limits. A perfect score is 100%.
Area H Area L
+
HH − H L − LL
Score = 100 ⋅ ∑ 1 −
t f − t0
Area L
Score = 100 ⋅ ∑ 1 − L − LL
t f − t0
Area H
Score = 100 ⋅ ∑ 1 − HH − H
t f − t0
Area H + Area L
Score = 100 ⋅ ∑ 1 −
t f − t0
where:
LL = Low-Low Limit
H = High Limit
HH = High-High Limit
MinDev = (L-LL) Maximum low side deviation used to normalize the integrated error score
MaxDev = (HH-H) Maximum High side deviation used to normalize the integrated error score
If the computed score is a negative value, the trainee’s score is set to zero.
Scoretotal = ∑i Wi ⋅ Scorei
where:
As a sample calculation, refer the previous graph where a single parameter measured over
20 seconds. The parameter exceeded the high limit for 3 seconds and the low limit for 4 seconds.
The score for this parameter, using the Integrated Error basis and MaxDev and MinDev values of
1.0 is:
2 0 0 9 0 0
3 2 1 10 1 0.5
4 3 0.5 11 2 0.5
5 0 0 12 1 0.5
13 0 0
1.5 1.5
Considering that the HH Penalty and LL Penalty is 10 for each excursion and HH Excursion &
LL Excursion is 1(refer above graph), the total penalty is calculated below:
The TPM tool allows the instructor to fail (score of 0) a trainee if a monitored point goes
above the HH limit or below the LL limit and has expired the grace periods. If the HH or
LL limits are crossed, the TPM exercise will continue running. If a point goes out of
range, then the score is set to zero and the point name, time, and the limit crossed appears
in the TPM report.
Score calculation depends on Global UOM slate selection. Please refer to the DYNSIM
UOM documentation to restore UOM slates from s4m file.
To generate or revise a generic TPM template (the first type of TPM), you must have the
permission to configure a TPM, i.e. to be both an Administrator and an Engineer, or an Instructor.
Note that we’ve already typed some data into the window below, and we’ve expanded it
by clicking the Results and Trends buttons.
2. Type a brief description of the session in the Description field. Although this
information is optional, its inclusion is recommended.
DYNSIM provides data for the only required field: Template Number. If you
manually override this number with the number of an existing template, the new
template will replace the existing template.
4. Specify the parameters to be monitored during the training session. For each variable:
b. Click the Add button to add the variable to the end of the list
OR
Specify the desired location for the variable by typing the appropriate number in
the Insert At text field, and then click the Insert At button.
c. Assign appropriate weight fractions to the points. Note that the sum of all
weights should be 1.
d. Define the desired Low and High limit values for the point into the Low
Limit and High Limit text areas, respectively. You can specify either a
point value or a fixed value for the maximum and minimum fields.
e. The Low Limit and High Limit can be a dynamic limit, thereby allowing the
f. Define Low Low Grace period and Low Low Penalty. This will be applied
when score method is Integrated.
g. Define High High Grace Period and High High Penalty. This will be applied
when score method is Integrated.
h. For the integrated error equation for scoring, define the LL limit and the HH
limit for the point in the LL limit and HH limit text areas, respectively.
i. Select the ‘Bounds Fail’ option for each TPM point to indicate that failures by
exceeding bounds (after consuming grace period defined for LL and HH Limit)
are used for scoring. This option is disabled by default.
5. If you want the TPM session to start with known operating conditions, type the
appropriate IC number into the IC Number text area.
6. If you want to view a trend group during the TPM session, click the Trends button at
the top of the TPM window, then enter the desired information in the trends fields.
After entering the trend name, click Add, Delete, or View button to add the trend to
the TPM template, remove the trend from the template, or display it immediately
without adding it to the template.
7. Click the Save button to save the TPM template. Note that you don’t have to supply
any additional information. DYNSIM identifies the template by the TPM ID.
From the Tools menu, select TPM Summary or press F11 on the keyboard.
The TPM Summary window separately lists templates and completed TPM Exercises. Here is an
example:
The drop-down menu allows you to select Templates or Exercises. In the illustration above, All
TPMs is selected to display all the TPM Templates and exercises. To display only the templates,
select TPM Templates from the drop-down menu. To display all the TPM Exercises, select
TPM Exercises for all users from the drop-down menu.
Note that each TPM session in the Summary Table has a unique TPM ID and Exercise ID, and
templates do not include the runtime data such as start and stop times.
The TPM Summary window includes the: View, Run, Edit, and Delete buttons:
View Displays the selected Template or an Exercise report on screen. You can request a
hard copy report from the onscreen report window. You cannot edit or run a
Template in View mode. An Exercise in the view mode will have all details of the
Exercise along with the scores.
Run Available for TPM Templates only. Displays the selected template with the Start
button enabled.
Edit Available for TPM Templates only. This is the same as View mode, but includes
the ability to change selected information and then re- save the TPM Template.
You cannot execute a template from the Edit screen.
1. Select the TPM Template from the TPM Summary table and then click the Run button.
Refer to The TPM Summary Window above.
2. Make any desired changes to the displayed template. This is a good time to add trainee
names, comments, change the scoring equation, etc. Remember that these changes are
in effect for this training session only. They are not saved with the template but are
saved in the Exercise. A global option to change the trainee name is available under
OptionsChange trainee in the instructor environment that will reflect in the TPM
template.
3. Trends can be configured for the respective templates and can be viewed along with the
exercises
4. Click the Start button. This will ask for an IC load that has been defined in the
Template. Multiple TPM sessions can be invoked either manually or automatically
through the scenario. The list of running TPMs along with scores and IDs is displayed
in Active TPMs’ Pane as following:
5. Stop the individual TPM sessions by double-clicking the respective TPM session (to
bring up the corresponding session), and then clicking the Stop button.
6. To view the onscreen session report, click the Report button in summary window.
7. If any template is configured with the “bounds fail” option and during runtime if a
trainee fails (after consuming the respective grace periods), the following pop-up will
appear to indicate that the trainee has failed the exercise:
3. Select (highlight) the desired Template to be modified from the displayed list.
You are permitted to change any field that has white content.
5. Click the Save button to save the modified template OR the Save As button to save
the changes as a new TPM ID.
2. Choose TPM Exercise for all users from the drop-down menu.
2. Choose TPM Exercise for all users from the drop-down menu.
4. Clicking the Print button displays “Select TPM Exercise for printing” dialog where user
can select multiple exercises for printing.By default, Selected exercise will be checked
for printing.
Clicking the OK option displays the Page setup dialog box, where user can
choose page properties... and clicking OK or Cancel on this window results in Print
dialog box with all the custom properties chosen by the user.
2. From the dropdown menu, choose TPM Templates to display templates, or choose
Exercises for all users only to display completed sessions.
TPM Reports
1. Select an exercise, and click the Report button in the TPM Summary window, to view a
sample report.
2. When using the Integrated Error method, if a point goes out of range (below LLL
or beyond HHL such that the score is set to zero), the point name, time, and the
limit crossed are shown in the TPM report.
Currently, ATE is not supported for all the engines. It is supported only for the following engines:
DYNSIM, SCP, TDCSIM, OPCServer, OPCGateway, and SCPEngine.
The DYNSIM interface must be in Operator mode, as opposed to Engineer or Instructor mode
when running an ATE.
When the ATE is complete, a new scenario file is generated that contains the commands of the
original file, plus the commands completed by the operator. The original scenario file might
contain malfunctions, start and stop a TPM Exercise, or prompts to give direction to the operator.
The new scenario file will contain these commands (except Prompt command) plus the actions
the operator took, such as opening a valve, starting a motor, or changing the demand of a
controller. The new ATE scenario can be played back at a later time by the instructor to review
the operator actions.
LOAD IC 2;
RUN;
ACTIVATE MALF 1;
WAIT 6;
DEACTIVATE MALF 1;
OP SET M1.CL = 1;
In this example, the original scenario commands generated prior to the ATE are listed first. The
scenario restores Initial Condition 2, runs the simulation, and waits for the operator to open a
valve prior to initiating TPM 32. A predefined malfunction is activated, then deactivated. Finally
the TPM Exercise terminates when main steam pressure, HMS.P, increases above 500 psia. The
operator actions at the DYNSIM interface represent remote functions not available in the DCS.
The operator opened valve V1 to 100 % and started motor M1. Using the DCS, the operator
started motor 002MFE.
Whenever ATE is executed, it starts recording the events and a snapshot is taken
immediately.
After selecting the icon, the Scenario Summary popup window displays:
Highlight a scenario and select the Automated Training Exercise button. Finally,
select Run. When the ATE is complete, a window will popup similar to that listed below.
The Scenario Summary window should not be closed, can be minimized while executing
ATE.
Event Log
The Event Log records all the Instructor and Operator actions. These actions are recorded in
chronological order and stamped with the simulation time. In addition to logging the events in a
.txt format in “..\Simsci\DSS50\eventLog.txt,” you can view the events in Event Log Viewer GUI
by clicking Event Log on the Tools menu.
Event Log is available in the Instructor environment and is turned on by default. It can be turned
off by the instructor by clicking Stop on the Event Log Viewer GUI.
Whenever Event logging is stopped or started, or any changes are made to the environment, a
message appears in the Message Monitor indicating the changes made. The source/origin (engine
type) of the action is indicated in the Event log file as following:
Data Historian
This topic includes the following topics:
• Overview
Overview
Data Historian (DH) refers to collection and storage of data over time. DH supports data
collection and trend requirements for OTS and engineering studies. For engineering studies, the
data from DH can be exported to Microsoft® Excel spreadsheet or other program to create a
detailed report.
All points and model parameters are candidates to be added in DH. There are four predefined data
collection sets . Very Fast, Fast, Medium and Slow. You can configure the duration of these
collection sets. The respective default durations are 1 min, 10 min, 1 hr, and 8 hrs.
Number of data points in a collection set = Very Fast Duration / Simulation Time Step.
Example: With simulation time step 0.25 sec, default number of points for each set is 240, and
default interval for the collection sets is 0.25 sec, 2.5 sec, 15 sec, and 2 min, respectively.
By default, the data is collected for Fast, Medium and Slow collection sets. You can enable the
collection sets for each parameter in the DH GUI.
If the simulation is frozen in between, and restarted again after some time, DH maintains the
continuity of values. DH data is flushed when the simulation is shutdown or when an IC is
restored.
A point added to a trend is automatically added to the DH table. Alternatively, points can be
added to the DH table using the DH GUI. A point in the DH can exist in more than one trend.
When a point is deleted in the DH Manager its status is shown as "Deleted" in Trend. When a
point is deleted from a Trend, it is not deleted from DH. You have to explicitly delete it from the
DH table.
You can export data for all the points in the DH table to a comma-separated file. Default location
for the file is " C:\SIMSCI\DSS43\User\file name.csv ". You can export data for select points
using the Data Historian Manager. For the points added to the Data Historian, the export
checkbox is enabled by default.
The Data Historian has a check box titled 'Export in DYNSIM Internal UOM’. In case a data
export operation is performed with the check box checked (default option), the Data stored in the
Historian will be exported in DYNSIM Internal Units.
To export in display UOM, the check box will have to be unchecked prior to exporting data from
the Historian. This will apply to both CSV and TSV export formats.
The data saved from the Trend window will be governed by the Data export option selected in the
Historian. In case the 'Export in DYNSIM Internal UOM’ check box is checked in Historian
(default option), data saved from Trend will also be in DYNSIM Internal units depending on the
native Internal UOM slate of the Engine with which the point(s) are associated.
Similarly, if the checkbox is unchecked in the Historian, the data saved from Trend window will
be in the display UOM. The only difference in case of Trend will be that in case the local point(s)
display UOM are modified in the Trend, the Global Display UOM will be overridden by the local
trend UOM while saving data from the given Trend window. Therefore, the data in the saved file
will be exactly the same UOM as displayed on the Trend screen.
The export format is as follows: The first row in export is a parameter name, second row is UOM.
First column is time; additional columns are for parameters. Every row corresponds to the same
time variable so they can be combined onto any chart. The CSV looks like:
time,point1_name,point2_name,point3_name
time_uom,point1_uom,point2_uom,point3_uom
Time_value, point1_value, point2_value, point3_value
Time_value, point1_value, point2_value, point3_value
DH Manager
To access the DH Manager, select Data Historian from the Tools pull-down menu OR
Click the DH button on the main toolbar. The Manager is displayed as shown below:
Default values for interval and duration are shown. You can change these values. You can
enable or disable export status and select the collection sets over which data needs to be collected.
Some utility methods are provided for easy interaction with the DH. You can sort using right-
click menu on the "Point Name" column header. An entire collection set can be enabled or
disabled through the context menu on its column header.
User Template
This topic includes the following subjects:
• Overview
• Saving a template
• Using a template
Overview
You can save a single model object or multiple model objects as a template. The template retains
all the draw attributes, model parameters, components and method slates of the original model
object. If the target engine or flowsheet does not have the component and method slate saved in
the template, the default component and method slate is used.
Saving a Template
To save a single model object template, right-click a model object and click Save as
Template.
To save a multiple object template, select the desired objects, and then choose Save as
Template from the Edit menu.
Using a Template
To use a template, find it under the User Template node in the Types tab, and drag it to the
canvas. Dropping a template object onto the canvas creates multiple copies of the parent object.
Templates cannot be used if the classes are not supported by the target engine. An error message
appears if you try to use the templates in a DYNSIM engine different from the one in which it
was created.
Templates are saved as XML files containing information about the draw attributes and model
parameters of the parent object, and are saved in the “C:\SIMSCI\DSSxx\User\Template” folder.
The XML files are available across sessions and can be manually transferred to other DYNSIM
installations.
To rename or delete a saved template, right-click the desired template and then choose Rename
or Delete, as necessary.
Note: For more details on template preset nomenclature, see the Auto Naming Rulebook section.
• Overview
• Exceptions to Rules
Overview
The Auto Naming Rulebook allows you to specify rules to automatically generate names of
objects when they are dropped onto the flowsheet. The rules can be specific to the flowsheet, to
the object classes, or to both. The rules can be activated or de-activated as desired.
Rules are specific to the simulation and saved along with the simulation file. If the simulation is
opened in another installation, it has these rules available until they are removed or deactivated.
Rules can be exported as an XML file and can be imported to other simulations if the flowsheet
names match.
On the Options menu, click Edit Autonaming Rules. The Auto Naming Rules window
appears.
1. Flowsheets available in the selected simulation are displayed under Configure the
flowsheet specific tokens.
3. Tokens that you want as prefixes for the object names can be configured under FSIDs.
4. The FSIDs can be referred to while configuring rules specific to the object class.
5. When flowsheet rules are active, the flowsheet tokens added together act as a prefix for
the object names of all the objects dropped onto the flow sheet. This is applicable for all
the classes of objects where a class specific rule is not configured or when all class
specific tokens are blank.
6. When a flowsheet is deleted or does not exist any longer, the corresponding row is
automatically deleted from the list of flowsheets.
Configuration of Object Class Specific Tokens
1. A model connector class (“Process Stream” for Dynsim engines) with blank tokens is
displayed in the table.
2. If no rules are configured for a model or point class, or if they are blank, the prefix is all
FSIDs (configured in flowsheet rules) added together for the corresponding active
flowsheet rule.
3. A Model or point class can be added to the table by double-clicking the selected class in
the Types tree. They can also be added by dragging a class from the Types tree or
Icon Palette to the table. The operation is similar to that of creating an object on the
flowsheet.
4. If rules for the flowsheets or model objects are not active, the DYNSIM default name is
used.
5. The Preview Column displays the auto-generated name for an object class for the first
flowsheet.
6. A “$” symbol configured in the table is substituted for the auto-incremented number for
the model object when created on a flowsheet. If no “$” symbol is specified, the auto-
incremented number is appended at the end.
7. The selected row can be deleted by clicking the Delete button available at the bottom
of the table.
INDEX1 or INDEX2 Keywords for Copying Objects and Templates in Bulk
These special keywords are provided to customize the process of copying objects or templates
that contain multiple object elements. During these operations, generally, the auto-generated
names for the target simulation are used.
If the object name contains INDEX1 or INDEX2 keywords, you can customize the substitute
string for the keywords.
When the name is auto-generated for the objects containing the common strings, the auto-naming
rule is ignored and the common string is replaced with the string provided by the user. For
example, if the object names are PCINDEX1 and PTINDEX1, the auto-generated names are
PC1000 and PT1000, where 1000 is a value provided by the user for INDEX1, irrespective of the
custom rule.
According to the rule precedence, the auto-generated name follows the following order:
1. Names containing the special keywords, INDEX1 and INDEX2.
2. Object class specific rules configured by the user.
3. Flowsheet prefixes configured by the user.
4. Dynsim default name patterns.
Rule Exceptions
The customized rules are applicable only to the objects created on the flowsheet using the GUI.
These rules are not applicable to any other objects, including
• XML restore
• PRO II translation.
• Keyword file import.
Units of Measure
This topic includes the following subjects:
• Overview
• Create/Select/Copy/Rename/Delete a Slate
• UOM Override
Overview
Almost every item of data that you input to a model has a unit of measure associated with it. Most
have alternatives: For example, length can be measured in feet, meters, miles, or kilometers, and
temperature in °F, °C, °R, or K. For the user's convenience, DYNSIM has several pre-defined
units of measure slates including English, Metric, and SI. Each set has predefined units for each
data item. By selecting a set of units, then globally overriding some of the predefined units and
then more specifically overriding those units for any individual data item, the user is afforded a
great deal of input flexibility.
• Slate selection – You can select a slate for use as the unit of measure preferences for
input and reporting.
• Slate management – You can create customized unit-of-measure slates based on existing
slates such as Metric and English.
When a customized unit-of-measure slate is defined for a simulation and the simulation is saved,
the slate is exported to a file UOMSlate.xml. This xml file will be saved as a part of the .s4m file
associated with the simulation if the "Save All UOM slates with s4m file" option is chosen. "Save
All UOM slates with s4m file" is a user preference that persists for each DYNSIM installation
accessible from the Options menu.
This feature gives the user the flexibility to move simulations from one installation to another and
have all the custom UOMSlates available in the new installation as well.
"Restore All UOM slates from s4m file" is a user preference that persists for each DYNSIM
installation accessible from the Options menu. If a simulation file has custom UOM slates saved
with it and the "Restore All UOM slates from s4m file" option is on, the user is given the option
to reset the global UOM slate. If user chooses ‘Yes’, the global UOM slate will be reset to the
UOM slate used at the time of saving the simulation file and the associated custom UOM slates
will be copied. If user chooses ‘No’, the custom slates available with the simulation file will still
be imported to the target installation, but the global UOM slate will not be altered.
"Auto Global UOM Reset" is an option to reset the UOM slate globally for the simulation it is
saved with.
When you move simulations from one installation to another, and if the custom UOM
slates associated with the simulation are already available in the target installation, the slates
existing in the target installation are used. Users can overwrite the slates existing in the target
installation by first deleting them and then re-opening of the simulation, which has the desired
definition for those slates.
Slate Use the pull down list to select a slate for use. The Class and Unit list
is updated to reflect the units-of-measure that will be used for each
unit-of-measure class.
Class Lists the unit-of-measure classes (temperature, pressure, etc.). Any unit
in a class can be converted to another in the same class, but units in one
class cannot be converted to those in another. For example, kPa can be
converted to psia, but kPa cannot be converted to F.
Override A read only checkbox to indicate a unit override is in place for this
slate.
New Slate/Copy Slate Allows the user to Create a new unit-of-measure slate.
Delete Slate Allows the user to Delete active non system slate.
Delete custom slates Allows user to delete custom slates. Upon selection of this button, all
the custom slates associated with the installation with checkbox option
appears as below.
The icons that appear next to each slate name indicate its characteristics:
Locked The slates can be used, but not modified or deleted. It could be either:
• A slate in the system preferences to which the user has only read
access.
Unlocked The slate is in the system preferences and the user has write access.
Note that changing such slates affects other simulations.
Create/Select/Copy/Rename/Delete/Modify a Slate
Select Units of Measure from edit menu or click the UOM icon on the toolbar. The
UOM window is displayed.
2. The New UOM Slate dialog box appears. Enter a Slate name.
3. Used the Based On pull down list to select a basis for the slate.
To select a slate:
1. Use the pull down list to select a slate.
2. Click OK.
To copy a slate:
1. Use the pull down list to select a slate.
2. Click Copy Slate.
The UOM Copy Slate dialog box appears.
3. Enter a Name for the slate.
4. Use the Copy From pull down list to select the basis for the copied slate.
5. Click OK.
Once a slate is copied the individual class item units of measure can be modified.
To rename a slate:
1. Use the pull down list to select a slate.
2. Click Rename Slate.
The UOM Rename Slate dialog box appears.
3. Enter a Rename To name for the slate.
4. Click OK.
Once a slate is renamed, the individual class item units of measure can be modified.
To delete a slate:
1. Use the pull down list to select a slate.
2. Click Delete Slate.
The Delete Confirmation dialog box appears.
3. Click Yes.
To delete custom UOM slates:
1. Click Delete Custom Slates.
The select slates to delete window appears.
2. Upon selection Click Delete.
To modify a unit-of-measure in the current slate:
1. Double-click on the unit-of-measure class you wish to change. The Change Unit-of-
Measure dialog will appear.
2. Select the Default radio button to restore the default Unit-of-Measure. Select
Custom to choose an override Unit-of-Measure.
3. Click the Change button to confirm the choice.
4. If you have selected the Default radio button, the default unit-of-measure will appear
in the Unit column and the read-only Override checkbox will be unchecked. If you have
selected a Custom unit-of-measure, then the read-only Override checkbox will be
checked.
For some slates, the label Custom (Shortened) is used instead of “Custom.” This is to
indicate that, by design, the selection is from a shorter list of choices. For example,
HEXTRANTM based slates have a shorter list of “common” Area choices, limited to ft2 and m2.
You cannot modify the units-of-measure for a locked slate, such as "SI.” To create a
custom set of "SI" units, you must first create a new slate based on "SI.” Then, you can modify
the units-of-measure for the new slate.
UOM Override
DYNSIM allows the users to override the UOM in simulation equations and parameter
assignments. The UOM override feature can be invoked by specifying the abbreviation of the
desired UOM within brackets {} suffixed to the parameter.
In the example, parameter V1.T (temperature) is assigned the UOM degree centigrade. Any
change in the global UOM slate or even changing the slate will not affect the UOM of the point
V1.T.
The UOM override feature is presently available for the following utilities:
• Point Monitor
• Point Reference
The details of the UOM override feature applicable to the utilities are explained below:
In the example, value of TAMBIENT is converted to degree centigrade from the internal
UOM of degree Kelvin before being used in the equation. In the second case, the
parameter V1.T will be converted to degree Fahrenheit from the internal UOM of degree
Kelvin before being used in the equation.
The example entry from the Cross Reference utility, takes two pressures PRES101 and
PRES102 from the DYNSIM engine, converts them to psia from internal UOM of kPa, and
places the pressure difference in parameter PRES201 in units of psia in DYNSIM2 engine.
Point Monitor: UOM override can be specified for a point monitor in a similar way as the
parameter name. The parameter view will always be reported in the override UOM
irrespective of the global UOM slate.
Point Reference: UOM override can be specified for a point reference in the Edit window
of the parameter reference. The parameter will always be displayed in the override UOM
irrespective of the Global UOM slate.
An example of the UOM override in point reference is shown in the figure below.
In this point reference example, the V1.T parameter is displayed as per the global UOM
(DYNSIM Internal Units) on the flowsheet canvas. However, the second point reference
with the UOM override applied will always show the value in degree R irrespective of the
global default UOM.
Syntax
The syntax of specifying the UOM is to suffix the desired valid UOM for a given point or
parameter inside curly brackets without any trailing space between the parameter name and the
curly bracket.
V1.T{C} Correct
V1.T(R) Incorrect
Use of incorrect syntax in an equation block or utility will result in an incorrect syntax
error message.
Search
This topic includes the following subjects:
• Overview
• Search GUI
• Search Criteria
• Examples.
Overview
The “Search” feature locates all occurrences of a model type, parameter name, or string in a
simulation database with an option to display parameters of a model type whose values have not
been modified from their defaults.
Search GUI
Option 1 - By default, the Find in database option is selected. This option locates the
occurrences of a model type, parameter name, or string in the simulation database. The parameter
names located by this search will have non-default values. Use Option 2 to find parameters with
default values and non-default values.
Find What
Typing an input string in the Find What box lists all the occurrences of the input string
with search made over given search specifications.
The search can be narrowed by selecting the input string to be an Object Instance, Model
Type, Parameter Name, or a String. By default, the Object Instance option is checked.
The Whole words only search treats the input string as a whole word, searching for
an exact match of the input string. A whole word is determined by the delimiter of white
space, or any non-alpha or non-numeric character (i.e. decimal point, math operator,
parentheses etc.).
This search will not produce results where the string (e.g. DA) is a subset of another
string (e.g. DATA).
The Simulation and Flowsheet dropdown list boxes allow limiting the search to
a specific open simulation and a flowsheet within the simulation.
Apply
View
Click View to locate the instance of the respective object, model type, and parameter on
the flowsheet.
Close
Option 2 - Select the Find Parameter option to search for all occurrences of a model type or
a parameter name irrespective of the default values or assigned values.
Refer to the use cases in the Examples section for a better understanding.
Table Columns/Tabs
An individual tab for Model Objects, Parameters, Points, Trends, Monitor, TPMs, Malfunctions,
and Cross References is displayed on the right hand side of the GUI. They allow you to view and
edit the search results for the type of option selected. A single line text message at the bottom of
the screen displays the number of matches found.
The Search functionality allows you to edit the search results. Keep in mind the following when
editing cells:
• Editable cells have a white background, while non-editable cells are shaded.
• The edit results are reflected in all locations where the value is used except in the case of
strings.
• Ensure that the value or syntax of the edited cell is correct, since there is no validation
performed on edited values.
Search Criteria
The Search performed using Option 1 (Find in database) satisfies the following search criteria:
Object Instance
Results Shown in Table If any one of the following is a match
• Assignment
• Equation
Points • Name
• Control variable
• Equation
Model Type
Trends
TPMs
Cross Reference
Monitor
Parameter Name
Results Shown in Table If any one of the following is a match
Model Objects
Points
Malfunctions
Trends
TPMs
Cross Reference
Monitor
String
Results Shown in Table If any one of the following is a match
• Comment
Parameters • Comment
Points • Description
• Comment
Malfunctions • Description
TPM Points
Monitor
Examples
Case I: For all instances of a model type, compare the current assignment of a
parameter against its default value and edit the parameter assignment as needed.
For example, you could view the list of Cv values for all the Valve objects in the simulation,
identify those instances where the assignment has not been changed from the default, and make
the desired changes.
Select the Find Parameter option.
1.
2. In the “Model Type” field, enter the model type. Examples: SOURCE, VALVE,
HEATEXCHANGER.
Example 1: VALVE.
In the “Parameter Name” field, enter the complete parameter name. Example: CV.
Entering only “StateOption” or a part of the parameter name will not return any results.
The full parameter name, as it appears in the OEV, has to be specified while using this
search option. However, this restriction does not apply when the search is limited to the
database.
The TB values for all the instances of the model class SOURCE are displayed including
SOURCE object instances whose default TB values have not been changed.
4. Edit the entries under assignment and ensure that the entered values have the same units as
displayed in the Internal UOM column.
5. The message “Assignment value edited. Click Apply to save changes” displays near the
bottom of the screen.
Case II: To look for a specific parameter in an object instance. E.g. XV1.CV
In the “Find What” field, enter a string of the form: OBJNAME.PARAMNAME, e.g.
XV1.CV
1. In the “Find What” field, enter the equation displayed in the Error Message window.
5. The message “Equation value edited. Click Apply to save changes” displays near the bottom
of the screen.
6. Click Apply to save the changes. The message “Applied changes successfully” displays.
Select “Change Password” from the Options menu. DYNSIM prompts you with the following
dialog:
Select View Environment Access from the Options menu. DYNSIM displays a dialog
listing the environments you are permitted to select:
These cases are the only environments you are permitted to use. To change these permissions,
contact the Administrator.
1. Select Configure User Accounts from the Options menu. The following
dialog displays:
From this dialog box, the administrator can Delete a user account, Change a user’s
password, and specify the permissible environments.
2. To create a new account, type the appropriate information into the User Account field
and both password fields, click the checkboxes corresponding to the desired
environments, then click the OK button.
1. Select Configure User Accounts from the Options menu. The dialog box
shown above displays.
To change a password, type the new password into BOTH password fields then click the
Apply button.
Clicking the Apply button applies the changes immediately. Clicking the Cancel
button after clicking Apply does not reverse the changes.
3. To change the environment type, click the boxes for the desired environment(s), then
click the Apply button.
When desired changes have been made, click the OK button. To ignore unapplied
changes, click the Cancel button.
The privileges for each environment are listed in DYNSIM Environment section
This menu option can be used to export the following for all users to an .XML file, which
can be later used to import in to another installation
• User logon
• Password
• Role information.
This feature is particularly useful for retrieving the user security information from an old
installation of DYNSIM to a new installation.
For this to happen , a user with administrative privileges needs to export the security
information before un-installing the software. Otherwise, all the security information is
permanently lost once the product is uninstalled.
Select Export User Security…from the Options menu. The following dialog appears. Choose the
location and name of the file (use Browse button if needed) and click the OK button.
This menu option can be used to import the following from a text file, which is exported
from another installation of DYNSIM.
• User logon
• Password
• Role information.
. Select Import User Security…from the Options menu. The following dialog appears. Click on
browse button to select the XML file containing user security information.
Conflict arises when the file contains password and role information for accounts that already
exist in the current environment. Use “Update existing accounts?” check box to indicate if it is
ok to overwrite password and role information for such accounts using the information contained
in the file. Click on Import button to proceed. Messages from the server on accounts
created/updated are displayed in the message monitor.
Global Database
The global database is maintained in an ASCII file called S4MGlobalData.dat. The database is
accessible under the Input menu.
The global database may be used when running DYNSIM on multiple machines. When you select
or save a global database, this will be distributed to the simulation file for each of the machines
used to run simulations. This distribution is not done automatically when running the simulation
to allow users to maintain the client machines in the original format, similar to the handling of
snapshots for initial conditions.
File Handling operations for the global database is fairly intuitive. The Save option allows the
user to save changes they made to the database. The Restore Default option allows the user to
restore the latest saved database default. The user could also Backup the information from
DYNSIM to data file. The Use Backup option allows the user to open a previously saved database
backup. The Exit option closes the Database window without saving any changes.
If running multiple simulations, the editor will open with the active FS file title. However, only
one editor may stay open. If the user activates a different simulation the title from the previous
FS will still show on the editor’s window. As this may cause confusion, the user should close the
database editor window when they activate a different simulation. This database can be used
across simulations to ensure consistency between projects.
The information from the database can be referenced by the multiple devices such as pipes to
minimize the effort required to set up and change a simulation. The user may add a data row to
the database by right-clicking on the blank tab to the left and choosing to add a row after or
before the designated row.
Upon making changes to the editor, the user must save the updated database using the file menu.
The global database editor will display data in the simulation units of measure. The data file in
file S4MGlobalData.dat is maintained in standard units of measure for customer support. When
viewing data from the global database editor, you may convert the units of measure to allow you
to compare to a reference source. These conversions are temporary and will not be retained as
part of the simulation.
The global database is divided into three sections for easier browsing. The Pipe_Global section
should be used for quick access to the most common pipe types. The Pipe_Extra_Global section
should be used for all the less common pipe types. The Pipe_Surrounding_Global section
contains an extensive set of data which can be referenced if the information is not found in the
first set of data.
The Pipe_Global and Pipe_Extra_Global section contains most common pipe types including
schedule number, nominal size diameter, thickness, inside diameter, conductivity and density.
The density of stainless steel is used as a default (490.8 pounds per cubic foot). The wall
roughness for stainless steel is used as a default (0.0018 inches). If the user decides to reference
the information in the database, the pipe will calculate the volume, heat transfer area, and metal
mass.
The Pipe_Surrounding_Global is another menu item under Group Name. This information is
referenced by the pipe to either specify or calculate the heat transfer coefficients for the
convective heat transfer, conductive heat transfer, and surroundings heat transfer.
References
The default pipe database provided with DYNSIM 5.0 contains information obtained from the
following reference sources:
2. The high temperature insulation material is a product from “Industrial Insulation group”
named Thermo-12 Gold®. For more information visit:
http://www.hamiltongv.com/DataSheets/Thermo12Gold.pdf
3. The information on Arctic Soil is obtained from the journal of Geophysical Research:
Before exporting or importing a thermo case, you must have already defined (set up) the
Simulation, and the Flowsheet.
An engine doesn't have a case until the SIM4ME Thermo GUI is accessed at least once
and saved.
The edit engine does not get refreshed automatically when a SIM4ME Thermo case is
imported so accessing the SIM4ME Thermo GUI after a case has been imported may overwrite
the import.
1. From the Tools drop-down menu, choose SIM4ME Thermo Case Manager
The thermo cases associated with the simulation are displayed in the Thermo Case
Manager. Select the cases(s) to export.
Enter a name for the file and it is stored in the default location \SIMSCI\DSS4x\User\.
If a file with the same name is already present, an overwrite message is displayed.
Before importing a thermo case, it is assumed that the user has added a new flowsheet with a
different engine to the existing simulation.
Importing an Engine
1. From the SIM4ME Thermo Case Manager, click on (select) the newly added engine
and click Import.
The Import From Folder text area indicates the absolute path of the folder
where the exported .slb files for each of the Engine are located. Browse for the .slb
files if present in a non-default location.
Click Yes to associate the thermo case with the new flowsheet (engine).
To validate if the import was successful, click on the flowsheet and open the
SIM4ME Thermo GUI and check whether the data imported gets reflected in all
Tuning Table
Overview
Using the Model Tuning Table, you can adjust the model static parameters to achieve the required
operating condition. The tuning table helps in tuning the model to a required steady-state during
the model building process and reduces the manual effort involved in adjusting the static
parameters such as conductances, heat transfer coefficients, and reaction rates.
The tuning table uses a temporary PID controller that connects the tuned variable (such as flow
rate) and adjusted variable (such as Valve CV). In the tuning table, you can specify both tuned
and adjusted variables and alter their corresponding PID parameters to achieve the required
results for the entire simulation. The parameters can be added from any engine that supports the
Float or Double data type as input.
Once adjusted parameters reach the required values, you can either delete them from the tuning
table or save them in the database.
To tune a model
2. Click Add as Target and select the variable that requires tuning.
3. Click Add as Adjusted and select the parameter that needs adjustment to achieve the
required value for the target variable.
5. Click Apply.
8. Once the steady-state value is achieved, save the values in OEV by clicking Update in
Database.
9. If required, modify the current value of the Adjusted Variable and save it in the OEV by
clicking Update in Database.
10. Click LF for the data type changes to take effect.
11. If required, delete a row by selecting it and clicking Delete.
12. To filter the variables by name, enter the name of the variable in the Filter Text field.
Once saved, the tuning table data is persistent in the simulation in the form of an
XML file (TuningtableData.XML).
• Any changes in parameter type ( STATIC to DYNAMIC or vice versa ) requires LF for
changes to reflect in the running model. Similarly, any changes in the tuning table take
effect only on clicking the Apply button.
• Watch out for active controllers’ conflict. If any actual controller is associated with the
variable, put it in manual if needed.
• Do not provide too loose or too tight bounds on the variables to avoid wild fluctuations or
winding of the controllers.
• Adjust the proportional gain (Kp) for any changes in the limits to avoid unstable or non-
responsive controllers.
Configuring Defaults
This section details the process of assigning defaults to the model parameters and/or drawing
defaults.
Overview
You can configure the defaults for model parameters and/or drawing attributes using the right-
click menu options available in the “Types” tree. Selecting the “Edit Model Defaults” option will
open the OEV for default parameter modification. Selecting ‘Edit Drawing Defaults” will open
the draw attributes window for the class, which can then be configured. While configuring
defaults, please consider the following points.
• The User Configurable Defaults option is not available for User Templates, Trends, XY
Plots, and Object References.
• The user configurable defaults will be used ONLY for objects created through DYNSIM
GUI. Any other means of creation like XML restore, Bulk Configurator, PRO II
Translator etc. will continue to use DYNSIM original defaults.
User Defaults configured for one simulation can be used in other simulations provided that the
Thermo Slates (Component Slate, Method Slates and Local Thermo/Flash options) are
compatible. If configured, Thermo Slates are not available in the target simulation, and the
default slate for the target simulation (as configured in the Thermo GUI) is used.
User Configurable Drawing Defaults for model objects with a configuration dialog (e.g. PID,
Drum) can be configured by specifying the corresponding model configuration parameter in
OEV. For example, specifying the Drum ORIENTATION parameter in OEV as
HORIZONTAL_BOOT will assign the default icon “Horizontal with Boot.” The configuration
dialog will not appear when a model object is dropped onto canvas afterwards.
The configured defaults will only affect new objects dropped to the flow sheet after
configuration. Existing model objects are not affected.
You can change DYNSIM defaults by right clicking model objects available in the “types” tree
and clicking either “Edit model Defaults” or “Edit drawing Defaults.” Once specified, User
Configurable Defaults are applied to new model objects dropped on the canvas. These defaults
are not applied to model objects already on the canvas. For example, the default Cv for a valve is
set to 50 and the default width is set to 35. When a new valve is dropped on the canvas, it will
have a Cv of 50 and a width of 35.
All User Configurable Defaults are saved in the XML format in the User\Defaults folder.
You can restore the original DYNSIM defaults by clicking “Restore DYNSIM Defaults.” This
menu option is available only for classes where DYNSIM defaults are overridden with user
defaults.
You can undo or redo any of the graphical changes done on the flowsheet and also revert the
model data changes done to the objects on the flowsheet using the buttons on the Undo/Redo
pane on the DYNSIM GUI. You can also use the short cut keys Ctrl+Z and Ctrl+Y for undo and
redo respectively.
The Undo Redo pane on the DYNSIM GUI list the actions performed and supported for Undo
Redo. The two radio buttons on the pane list the actions specifically available for Undo or Redo.
A few points to consider while using this feature,
• On clicking the “Undo “button, the most recent changes are undone. The item
will disappear from the undo list.
• On clicking the “Redo “button the most recently undone change will be restored.
The item will again appear in the undo list.
• While doing any edit actions from winodws like OEV/DEW/Draw Attributes etc
, click on the “Apply” button is considered as one action which can be undone.
This is irrespective of the number of changes done on the window before
pressing the “apply” or “OK” button. In this case, undoing will restore number of
changes done on the window in one go.
• For any edit Window like OEV/DEW/Draw Attributes etc, the window has to be
closed and re-opened to see the effect of Undo/redo operations. Otherwise they
will continue to display the old values.
• The undo redo buffer list will be 15. Once the action list exceeds this size, the
oldest action will be flushed out.
• The buffer is available only in the active session of the GUI. Different GUI
attached to the same simulation will not have the same undo buffer available.
Once the simulation is closed, the undo buffer will be cleared.
Limitations/Known Issues
1. Actions performed through external means (other than Dynsim GUI ) like Bulk
Configurator, XML import, keyword import, PRO II translator etc. cannot be undone.
2. None of the run engine operations like load, LF, LE etc are covered in the scope of
Undo/redo
3. This feature will not cover the following edit operations in other Dynsim windows like
Simulation/Engine configuration, Scenario, Malfunction, TPM, XREF,Point Monitor,
Auto name Rulebook, Tuning Table, Thermo Data changes in MT GUI, Edit operations
done for configuring the user defaults.
4. Validate graphics might interfere with the undo/redo buffer giving inconsistent results.
5. Power library objects may have special object connections which may not get fully
restored on undoing certain operations like delete.
Copy/Paste Enhancements
Overview
The GUI has been enhanced to provide better copy / paste capabilities from Excel into DYNSIM
user interfaces - Data Entry Window, Point Monitor, Tower Viewer and TPM Editor.
The copy/paste of data from Excel to both Point Monitor and TPM table is slightly different with
an option to the user to either insert or overwrite the data in the existing table.Insert option would
always put the data at the bottom of the table. Overwrite would replace the data from the point of
selection in the table. Copy/Paste of any duplicate data would be reported and discarded.
DYNSIM provides the facility for password protection of user selected flow sheet(s). This is to
protect the confidential data in some user added models to prevent unauthorized access/use of
such data.
1. The feature is accessible from the following pop-up menu in the instance tree for the flow
sheet.
2. On clicking the “Protect Flowsheet…” menu will prompt the user to set the password for the
flowsheet and user has to retype the password again for confirmation. The strength of the
password is optional. Password should be 1- 20 characters long and they are case sensitive.
3. Once the flow sheet is protected, the following actions will be prevented from DYNSIM GUI
for the protected flowsheets.
a. Attempt to open the flowsheet by any means including flowsheet reference or stream
send/stream receive etc.
b. Attempt to delete/rename the flowsheet
c. Attempt to expand the flowsheet in the instance tree
d. Print the flowsheet
e. Create XML backup of the simulation
f. Export the flowsheet /engine though key words
g. Accessing Bulk Configurator
4. The search tool will not list any of the items searched pertaining to protected flowsheets.
5. The protected flowsheet will appear with a lock icon and in grey background color in the
instance tree as given below.
6. In order to activate these actions the flowsheet(s) need to be unprotected again. This can be
accessed from the above pop-up menu again. The following prompt will appear
7. Once the correct password is provided, the flow sheet will remain unprotected for the session
until the user chooses to protect it again. Once the sheet is unprotected, saving the simulation
will lead to leaving the flow sheet(s) unprotected.
8. If the supplied password does not match, the flow sheet will remain protected. The number of
such failed attempts is unlimited as of now.
9. The protect/unprotect feature will be available only in Engineer/Superuser mode with edit
license. With Instructor and Operator mode as well as with runtime license, the feature will
not be available. Opening an already protected flow sheet in any of those modes will be
prevented
10. In case the user forgets the password after protecting, the simulation can be unlocked through
DYNSIM support only.
11. The protection of a flow sheet doesn’t affect the load or runtime operations of a flow sheet
like saving the IC or triggering malfunctions etc.
DYNSIM provides the facility for displaying simulation speed on GUI. This can be enabled from
Options menu.
The Stream Property Display feature helps user to inspect and control the flow network in a
simulation.This feature enable user to bring up the specific parameter values of properties (such
as temperature, pressure, enthalpy etc.) for streams at any given point of time.User can refresh the
value by clicking the refresh button on each property dialog box or by using shortcut key Shift+R.
1. The user has Menu option to bring up the Display Stream Property dialog which has
predefined parameters.The menu option is available only when Simulation is not in shutdown
mode.
2. After selecting the particular parameter, it brings up the value releted to Stream.These values
are the values available at the simulation time when user selected the parameter.The values
will be displayed on all opened flowsheets.
3. Selecting “none” make the values to disappear.
4. User has various options to decorate the values show in rectangle.These options are available
in Drawing Defaults.User can “Hide/Unhide” the border,the thickness of the border,fill
rectangle etc. configured in drawing defaults.Seperate options available for Model Property
Display.
Cross Reference
Overview
The Cross Reference feature allows communication between simulation engines. It represents the
actual wires from a field device, or transmitter, to the control system as well as a conduit between
various engines.
For DYNSIM simulators that communicate with a Distributed Control System (DCS), a Cross
Reference table is employed to relate model parameters with the DCS Input/Output (I/O) points.
This table resides in the DYNSIM database. A communications application uses the cross
reference data to dynamically update points during runtime. Although a discussion of specific
DCS communications applications, such as Application Program Interface (API) calls, is beyond
the scope of this User Guide, the engineer must understand the format of the table and how to use
it to have a realistic, properly operating simulator.
The Cross Reference data, also referred to by its commonly used name, CrossRef.txt (when in
text-based format), contains one line of information for each stimulated I/O point. Thus, if a DCS
has 3500 I/O points, there are 3500 lines in the Cross Reference data. Each line contains
information for the DCS I/O point, the point to be cross referenced, high and low and signal
clipping limits, scaling coefficients, scale variables, digital thresholds, and a point description
field.
The Cross Reference file can be built, displayed, and edited using the Cross Reference Editor.
For some controls vendors, SimSci has written programs to convert vendor-specific I/O files to an
initial DYNSIM Cross Reference file. Check the documentation for the appropriate emulation
product (i.e., SCP User Guide). You can also generate a Cross Reference file, CrossRef.txt, using
a spreadsheet program that can export in comma-separated-variable format.
Please refer to the chapter Advanced Modeling and topic Equation Utility for a description of
DYNSIM supported equations. When an equation is used, From UOM and To UOM should not
be specified (add) but the {UOM} override feature may be used. For details on UOM override,
refer to the chapter Utilities/Tools and topic Units of Measure.
Data in a new row has to be filled before the row can be enabled.
Cross Reference data entries for analog points differ slightly from those for digital points. Each
is presented separately in the tables below.
Analog Points
Disabled Selecting the disabled option will disable the cross Optional
referencing of this line. After disabling the line,
you must reload the cross-reference database.
From Engine The engine name from which the controls/ Required
points/parameters are cross-referenced.
From Symbol The variable or model parameters or control point Required unless
to be cross-referenced from an Engine specified in
the “From Engine” field. conversion equation
is specified
Model object parameters are accessed using the
syntax: ObjectName.Parameter
From Val Info Some control emulators and interfaces use this Optional
entry for reference purposes only. In SCP
software, it refers to Block Parameters.
To Val Info This column is used for specifying SCP ECB Optional
parameters.
Period The update time for a point. This column is one of Optional
a set of predefined intervals between the "Engine (default=Engine
Time Step" and eight times "Engine Time Step". Time Step)
A maximum of two different frequencies are
allowed.
From UOM This column defines the UOM conversion from Optional
the From Symbol internal UOM to the UOM
specified by this by this entry before minimum
and maximum values are applied.
Low Limit For FOXSCI conversion types, this value is used Required for SCI
to clip the output before SCI conversion. This conversion types
High Limit For FOXSCI conversion types, this value is used Required for SCI
to clip the output before SCI conversion. This conversion types
(Hi Lim) parameter is used for SIMPLE conversion types.
Note: Minimum Scale Value and Maximum Scale Value are NOT used for clipping the output for
simple conversion types.
It is important to note that UOM conversion from the From UOM to the To
UOM does not occur at this step. If UOM conversion is required between X and
Y, it must be specified with an equation.
Step 3. To UOM Conversion
One final unit conversion will take place from To UOM to the From Symbol
internal UOM.
When an equation is specified, the following equation is used in a one step process.
Y = LIMV ( Equation( X ), MinScaleVal , MaxScaleVal )
Please refer to the DYNSIM equation documentation for a description of supported equations.
When an equation is used, From UOM and To UOM should not be specified.
where:
X - Analog Input/Output From Symbol model variable in From UOM
Please refer to the SCP getting started guide for specific conversion types for Foxboro I/A.
Digital Points
Disabled Selecting the disabled option will disable the cross Optional
referencing of this line. After disabling the line,
you must reload the cross-reference database.
From Engine The Engine name from which the controls/object Required
points/parameters are cross-referenced.
From Symbol The variable or model parameters or control point Required unless
to be cross-referenced from an Engine specified in
the “From Engine” field. conversion equation
is specified
For a digital input, this name might be set to a
variable from the DYNSIMEngine. For a digital
output, this name might be set to
compound:block.parameter name for a Foxboro
point.
From Val Info Some control emulators and interfaces use this Optional
entry for reference purposes only. In SCP
software, it refers to Block Parameters.
To Val Info This column is used for specifying SCP ECB Optional
parameters.
Period The update time for a point. This column is one of Optional
a set of predefined intervals between the "Engine
Time Step" and eight times "Engine Time Step".
A maximum of two different frequencies are
allowed.
Refer Host Configuration Editor section of this
manual for definition of "Engine Time Step."
From UOM This column defines the UOM conversion from Optional
the From Symbol internal UOM to the UOM
specified by this by this entry before minimum
and maximum values are applied.
Set Test SET test rule (>, =, etc) for testing the input Required
values with the SET THRESHOLD values.
Set Thresh The SET threshold is the value set for testing the Required
SET TEST rules with the “From Value”.
Reset Test SET test rule (>, =, etc) for testing the RESET Optional
threshold value with the input value.
Reset Thresh The RESET threshold is the value set for testing Optional
the Reset Test rules with the “From Value” field.
Digital Points
Digital Input
A Digital Input is set TRUE (1.0) when a variable meets a SET test, and FALSE (0.0) when the
variable meets a RESET test. These tests are determined by SET and RESET RULE and SET
and RESET THRESHOLD. The two tests on different thresholds allow for deadband
(directional) switches to be modeled. The algorithm for digital inputs is:
else
! No state change
endif
The cross reference inputs for this type of switch are as follows:
The cross reference inputs for this type of switch are as follows:
The RESET entries can be left empty if no deadband is required. The following diagram
describes a normally open switch with no deadband.
The cross reference inputs for this type of switch are as follows:
A normally closed switch with no deadband would have cross reference inputs as follows:
A variety of other switches can be modeled based on the two test and threshold settings.
Digital Output
A Digital Output always comes from the control system as a 1.0 or 0.0. The same parameter
entries used for SET TEST RULE and SET THRESHOLD on Digital Inputs are used for point
conversion parameters on Digital Outputs. The conversion of a Digital Output might be used to
drive a Digital Input as a permissive (open aux cooling water block valve demand inverted, 1 +
X*(-1), clears a valve closed input) or even become the input to an Analog Input conversion. The
algorithm for digital outputs is:
The Cross Reference Editor (for short: XRefEd) is a full-featured editor for building and
maintaining a DYNSIM Cross Reference file.
For some controls vendors, SimSci has written programs to convert vendor- specific
I/O files to an initial DYNSIM Cross Reference file. Check the documentation for the
appropriate emulation product (example: SCP User Guide). You can also build and
maintain a Cross Reference file with a spreadsheet program that imports/exports in comma-
separated-variable (CSV) format.
To invoke XRefEd, click the Cross Reference File button (shown below) on the main DYNSIM
toolbar or select Cross Reference Table from the Tools menu.
The XRefEd screen is illustrated below. Analog points and Digital points are displayed in the
Analog tab and Digital tab respectively. The contents of the constituent fields are described in
the Cross Reference Data topic. Note that the Insert, Delete, Format, and Override buttons are
disabled (grayed) until you click on a line number to select the line.
You can sort the display on any desired column by clicking the corresponding
column heading. To reverse the sort order, click the heading a second time.
To insert a new line, select (click on) the line immediately below where you want the new line,
then click the Insert button.
To delete an existing line, select the line and click the Delete button. DYNSIM asks if you really
want to delete the line. Respond appropriately.
To change the color scheme of an existing line, select the line and click the Format button.
From the popup window you can select the foreground (text) color and the background color
which is useful for visually grouping lines.
To view only lines that meet desired criteria, use the filter feature of XRefEd. Click the Filter
button and specify the criteria.
The options in the Filter window permit you to set up a ‘grid’ through which to filter lines in the
Cross Reference file. Note that the selected options are logically combined together so that the
more options you select the more restrictive the filter. Note also that you can specify a range of
values for some of the numeric fields.
The use of the wildcard character (*) in some of the fields. Wildcards are permitted in fields that
contain an asterisk in the text area.
The Filter option selections are retained as long as XRefEd is active. All options are cleared when
you terminate the editor.
To redisplay all lines in the Cross Reference file, deselect all checkboxes in the Filter window
and click the Apply button. You can obtain the same result by closing the XRefEd window and
starting the editor again.
To edit an existing line in the Cross Reference File, select (click on) the line number, position
the cursor in the appropriate field, then make the desired changes.
To disable an existing line, click the Disabled checkbox for that line. This causes the simulation
to ignore the point, treat it as though it was not in the Cross Reference file.
To override an existing I/O Value, select (click on) the line number, click the Override button,
type the desired override value (or use the spin buttons), then click the appropriate button:
• Close button to dismiss the dialog box. The Close button is disabled when
an override value is in effect. You must deactivate the override to enable
the Close button.
To initiate a malfunction from a displayed line, select the line (click the number at the left end
of the line), then click the Override button. DYNSIM displays a dialog box from which you can
initiate the malfunction. Refer to the Malfunctions topic in this Guide for additional
information.
Additionally, AND/OR operators are available in the XRef filter to view the desired information
in the cross reference table. The AND/OR conditions can be combined together to display the
required information in the cross reference table.
Consider the example where the filter is checked for the condition using AND and OR conditions.
The filter returns a value as shown in the screenshot below. The filter satisfies the condition
where the “To” Engine or “From” Engine has an entry as DYNSIM.
However, if you use the AND condition in the filter instead of OR condition, then the cross
reference table does not display any information as the condition is not met. To explain further,
there is no entry in the XRef table which satisfies the condition where both “To” Engine and
“From” Engine are both DYNSIMs. Load Cross Reference
While loading a simulation defined with cross reference(s) data, a Simulation Option window
with load options for cross referencing is displayed.
Choose “Enable Cross Referencing” option to load the entire cross references present in the Cross
Reference Table.
Choose “Auto disable erroneous rows” option to automatically disable rows with erroneous
entries in the Cross Reference Table. This option will load only the valid cross references.
If any invalid entries are present in the Cross Reference Table, the following error message will
be displayed at the time of loading.
The text file containing details of the X-ref error(s) is saved in the following location
\SIMSCI\DSS43\Simulations\<SimulationName>\ all_xref_errors.txt
Use a Dynamic Double point in DYNSIM to support or diagnose packed integer cross
referencing. Do not use Dynamic Integer or State Integer points for packed integer cross
reference, because it will result in the loss of 32-bit precision.
ddMONyy-hh:mm:ss.xml
where:
dd current day
MON current month in alphabetic form, not numeric form (i.e., APR, not 04, for
April)
hh current hour
mm current minute
ss current second
2. The filename and path can be modified. It is recommended that you keep the absolute
pathway the same so that it will be easier to find the file if you ever need to restore it.
To change the filename, click in the Filename field and edit the contents. After making
the changes, press the BACKUP key. Pressing BACKUP will not initiate the
highlighted BACKUP action.
3. Click the BACKUP button to proceed with the backup, or CANCEL to cancel the
backup operation. The time required to back up the DYNSIM database depends on the
amount of data in the database.
OTS systems are developed in parts by different project engineers after dividing a large model
into smaller sections. Once the modeling is complete for each section, they are merged into a
single simulation file for further work. Currently, the merge is done manually (copy / paste or
manual editing of simulation backup XML files) and is very time-consuming and error-prone.
This tool provides a convenient way to perform the change.
Access the Simulation Merge Tool by clicking ToolsSimulation Merge Tool. The tool
supports a message monitor where the XML merge process, including failures, is recorded. It is
also available as a log file in the “..\SIMSCI\DSS51\User” directory.
After the merge is successful, the merged file is saved in the “..\SIMSCI\DSS51\User” directory
by default, or you may choose an alternate location.
It can merge any number of valid DYNSIM Simulation backup XML files. The tool performs
various validation checks (duplicate names, version check, schema validation, etc.) before
merging the files. It also supports a Message Log.
Features:
• It can merge any number of XML files, provided they are valid simulation back-up files.
• If Engine name provided is same in the XML files, it merges the flowsheets under the
same engine. It checks for duplicate flowsheet names before merging.
• If the engine names provided are different, then the engine ids are regenerated and
assigned to the corresponding flowsheets after being merged. This will re-map the
flowsheets with engines for the merged simulation.
• Before merging, the tool will check for duplicate object and point names. If there are
duplicate objects, the merge will be aborted.
• To merge Thermo data, the tool uses the Thermo data of the first XML file for the
merged simulation, only if the engine names are same. If they are diifferent, then
corresponding engine thermo data is extracted from the XML file and merged into the
Thermo case list under appropriate engine name.
• Among other simulation information, the data historian items and snapshot summary
table are merged into the resultant XML file. However, information like scenario and
TPM table is not merged.
Limitations:
• Even if IC summary table is merged, the actual IC data is not merged. To retain the
steady state, manually merge the <engineName>States.dat file after taking a dump of the
steady state data from the individual simulations.
• The data for TPM and scenario are not merged since they are mostly irrelevant for the
merged simulation.
To Restore the desired file, click the Browse button and select the file (an .xml file).
Give a simulation name in the New Simulation field to which the backup file will be
restored. After making the changes, press the RESTORE key.
2. Click the RESTORE button to proceed with the restoration, or CANCEL to cancel the
restore operation. The time required to restore the database depends on the amount of
data being restored. The restoration details can be viewed in the message monitor.
The restored ".xml" file does not include details of the Initial Conditions or
Backtracks. However, the IC’s or Backtracks data is available in the .s4m file present in
your working directory.
Alternatively, if you have an .xml backup of the simulation, you can restore your
simulation by using the restore feature of DYNSIM.
DYNSIM does not support forward compatibility. In other words, a simulation created
using a newer version of DYNSIM cannot be opened using an older version of DYNSIM
DYNSIM stores all saved simulation data in the database. Graphic canvases for Flowsheets are
stored separately from the model data, allowing you to edit and store a graphic image without
affecting the associated model. This topic is further explored in Graphic Editing Versus Model
Editing.
The name should be a meaningful text string that reflects the identity of the
simulation itself.
3. Clicking the Create button creates the simulation. The new simulation is seen in the
Instances Tree.
The new Simulation is stored in the default file system location (e.g.,
C:\SIMSCI\DSS4X\User) as <simulationname> .s4m file.
Also, the simulation is assigned a default Flowsheet (FS1) and engine (DYNSIM)
as soon as simulation is created.
To add and edit Flowsheet and Engines, refer to Adding a New Flowsheet and Adding a New
Engine, respectively.
1. From the File menu, choose New then choose Custom Simulation.