DeltaV SimulatePro adds capability to the DeltaV Simulate environment. Use DeltaV SimulatePro to coordinate the execution of modules executing in PlantWeb in a PC environment with process simulation packages. From the SimulatePro interface you can do several things:
SimulatePro includes a user interface from which these actions can be performed. These features can also be accessed by applications through OPC.
Be sure that Area_A is assigned to the ProfessionalPLUS workstation's Alarms and Events subsystem. If Area_A is not assigned, the current state of the simulation cannot be saved to a file.
After you download the modules to a workstation, launch the SimulatePro interface from the Start menu by selecting .
If the SimulatePro interface is already running when you download, you must close and reopen it to update the information within SimulatePro.
The following figure shows the application opened to the Setup tab.
The tree view in the left pane of the application window contains a hierarchical view of the simulation nodes in the system. The tree view does not include controllers.
In the tree view you can select the entire Control System or individual nodes. The selection in the tree view determines the node or nodes affected by actions you take in the right pane.
The right pane contains the following tabbed dialogs: Setup, IO Blocks, IO References, and Other.
The following functions are found on the SimulatePro File menu:
The following functions are found on the DeltaV SimulatePro Applications menu:
The following functions are found on the DeltaV SimulatePro Options menu:
These options must be defined following the installation of SimulatePro. The current value for each option is shown on the status bar. If a function is selected that requires the Enable Simulation and Setup Mode information and the options have not yet been defined, the application prompts the user to define the information.
The SimulatePro Setup tab contains the following buttons and controls.
In the Setup: Control Network area:
Before restoring the simulation, download any changes made after saving.
In the Real-Time Execution Multiplier area:
The modules' configured execution period and the Real-Time Execution Multiplier determine the execution rate of modules running in the workstation. Time-dependent function blocks use the actual configured execution period in their calculations. Thus, the behavior of the blocks is such that their calculations are done faster or slower than real time, depending on the Real-Time Execution Multiplier.
In the Playback Operator Changes area:
Operator changes can be played back after restoration from a saved file. The changes are played back at the rate specified by the Real-Time Execution Multiplier.
The IO Blocks tab contains two grids: The Summary Module grid and the Summary Details grid.
The Summary Module grid shows simulation, status, and mode information for all of the modules in the currently connected simulation node.
Click a column heading to sort the items in the column.
The Summary Details grid shows detailed information for blocks within a selected module. Choose a specific module by selecting that module in the Module Summary grid. For these details, the light gray background indicates fields that do not apply to that particular block's connection configuration. The red value indicates failure to go to the desired state for simulation.
Values in the Selected Module grid are changed by right-clicking the desired cell, and then selecting Edit from the context menu, or by double-clicking the desired value to change.
Click a column heading to sort the items in the column.
The IO References tab contains two grids: The Module grid and the Parameter Details grid. This tab is useful only if your configuration contains external references that have been converted using the Simulate Conversion utility.
The Module grid lists the modules that have external I/O references that have been converted. The number of parameters converted in each module is shown.
The Parameter Details grid shows the following information for each converted reference in the module selected in the summary grid:
The module parameters that are created for the converted references may be changed from this interface or through OPC.
The Other tab contains the Other Module Summary grid.
The Other Module Summary grid lists the modules that do not have external I/O references that have been converted. Some control modules and most equipment and unit modules appear on the Other Module Summary grid.
All modules that do not appear on the IO Blocks tab or IO References tab are listed on the Other Module Summary grid.
You must run the Simulate Conversion utility on the workstation before you run your simulation if your configuration contains:
The Simulate Conversion utility converts modules in the database so that fieldbus blocks and I/O references can be simulated for operator training and control system checkout. Function blocks that have been assigned to fieldbus devices are replaced with their equivalent DeltaV blocks. The block name, parameter values, and links to other blocks are preserved. If an equivalent block does not exist, as is the case for the FFMAI block, a composite block is substituted to support off-line simulation in Operator Interface and Control Studio. Parameters and function block expressions that perform I/O references are converted to external parameter references. When the Simulate Conversion utility is run, a module named M_nodename is automatically created under the workstation's Assigned Modules container. M_nodename is populated with parameters that are referenced by the converted modules' parameter and function block expressions' I/O references.
Modules can be downloaded to the workstation after conversion. Converted function blocks perform just like blocks assigned to fieldbus. For example, the logical and dynamic behavior of converted blocks is the same as assigned blocks. To simulate values that would normally be supplied through the I/O, the user or process simulation application can write to the newly created external parameter references that replaced the original I/O references.
To access the Simulate Conversion utility, right-click the workstation to which modules have been assigned in DeltaV Explorer, and then select Simulate Conversion.
After the Simulate Conversion utility runs, Control Studio can be used to view the changes made in the module. The assigned modules must be downloaded to view the converted module operation in Operator Interface, Control Studio, or SimulatePro.
The Simulate Conversion utility modifies the modules in the simulation system database. No utility is provided to reverse this conversion. The simulation system should be created from a copy of the actual system configuration.
The following sections provide more detail on the conversions.
Modules that contain function blocks such as AI, PID, AO that are assigned to a fieldbus device will not execute in DeltaV SimulatePro. The Simulate Conversion utility converts these blocks to the equivalent DeltaV function block so they will execute in SimulatePro. The following example shows the impact of a conversion on blocks assigned to fieldbus devices.
If a module contains fieldbus blocks for which no equivalent DeltaV block exists, the fieldbus blocks are replaced with composite blocks that support execution in a simulation environment. For example, the fieldbus function blocks FF_MAI, FFMDI, and FFMDO have no equivalent DeltaV blocks. Therefore, the Simulate Conversion utility substitutes the composite blocks MAI_SIM, MDI_SIM, and MDO_SIM for the fieldbus function blocks. Modules containing the substituted composite blocks cannot be accessed online using the SimulatePro interface. The composite blocks that support the conversion reside in the Simulation folder in the DeltaV Explorer Library/Composite Templates container. The simulation composite blocks are designed for use in a simulation environment only and are not meant for use in an online system.
The converted blocks contain SIMULATE_INx parameters that can be used to set the simulated OUTx parameters. The following images shows a module containing fieldbus blocks before and after conversion. Notice the SIMULATE_INx parameters after conversion and also notice that the block names and connections between parameters are not changed by the conversion.
After conversion, a process simulation tool can write to the SIMULATE_IN parameters and simulate the value and status that is normally provided by the I/O.
Parameters and function block expressions such as a Calc/Logic block expression that directly references I/O channels will have Bad status when the associated module is assigned to a workstation. Also, the value and status cannot be written. The Simulate Conversion utility allows these parameters to be used for training and checkout. The conversion changes the I/O references to parameter references. A module called M_nodename that contains the reference parameters is automatically created on the workstation. Nodename is the name of the workstation on which the Simulate Conversion utility executed.
Note that the name of the module that is created by conversion is limited in length to 16 characters. Make sure that the node names in your configuration that will be converted will result in unique module names after truncation (if the workstation name is longer than 14 characters). Also, the references must refer to valid existing I/O parameters in the database before you run the Simulate Conversion utility.
For example, if a module assigned to the node NIGHTENGALE contains the parameter MYREF1, an I/O reference to CTLR2/IO1/CH05/OVERRANGE_PCT, after conversion this I/O reference parameter is changed to an external parameter reference. For this example, the path to the reference parameter is set to M_NIGHTENGALE/C02CH05OVERRAN1. The name of the parameter referenced in M_NIGHTENGALE is automatically created from the original I/O path definition (slashes are removed and the controller, card, channel, and parameter names are combined and shortened to 16 characters and given a unique name). After the I/O reference is converted, applications can read or write the converted external reference parameter to simulate the values and status normally provided by the I/O. The referenced parameters are automatically defined in the M_NIGHTENGALE module and can be accessed online using the SimulatePro interface.
The following example shows a module that contains parameter I/O references and expressions in a Calc/Logic block that also reference I/O.
The following image shows the impact on the blocks after the Simulate Conversion utility is run on the workstation that contains this module.
These converted I/O references can be accessed by examining the M_Nodename module or by selecting the IO Reference tab in the SimulatePro application as shown in the following figure.
To create a training system from a configuration with fieldbus function blocks or parameters or function block expressions that reference I/O, you must run the Simulate Conversion utility once on every node. If new modules are added to the node, the Simulate Conversion utility can be re-run and any new parameters created to replace I/O references will automatically be added to the existing M_Nodename module.
The conversion modifies the configuration database on the workstation. SimulatePro does not include a utility to convert training system files back. The Simulate Conversion utility performs a one way transfer in which the actual system configuration is always the master configuration. The training system configuration can always be easily and quickly created from the actual configuration using the Simulate Conversion utility.
You can use DeltaV Simulate to support the testing of an application program's OPC interface to the DeltaV system. Using this capability, you can verify the ability to read and write DeltaV parameters.
Full DeltaV OPC functionality is available in DeltaV Simulate. Executing modules in the computer allows an OPC interface to be checked out completely. You can use this feature to develop applications that will execute in the Application Station. The design of this OPC interface is illustrated in the following figure.