Run sequences in parallel by using multiple AVEVA Process Simulation instances
- Last UpdatedJan 06, 2025
- 2 minute read
Typically, you configure sequences to run on the default script host. This limits the system to run a single backfill at a time. Also, for scheduled runs, when multiple sequences line up to run at the same time, they must be queued so that only one sequence runs on the script host at a time.
However, RTS can run multiple script hosts at the same time, with each script host accessing a separating instance of AVEVA Process Simulation.
Configure a sequence to run on an additional script host
-
Use the rts sc-create command to create a new AVEVA Process Simulation instance.
For example, to create a second AVEVA Process Simulation instance named Inst2, enter rts sc-create Inst2.
Note: You can use the rts sc-list command to list the existing AVEVA Process Simulation instances configured on the system. By default, there's always the default instance of AVEVA Process Simulation named default. You should see the default instance in the list. You can delete a previously created AVEVA Process Simulation instances with the rts sc-delete command.
-
In the sequence folder, open the sequence_settings.json file in a text editor.
-
Update the value of the script_host property to the name of the new script host from step 1 (for example, Inst2).
When you run the sequence as usual, RTS runs a separate ScriptHost process to run the sequence.
Because each ScriptHost process runs a unique instance of an AVEVA Process Simulation server (SimCentral.Server.ConsoleServiceHost.exe), multiple AVEVA Process Simulation servers run at the same time. Each can run independently. They each have their own simulation and Model Library repositories. That is, any simulations that you import in the default instance are not available in the other instances.
Opening the AVEVA Process Simulation UI (client) to connect to one of these other instances requires a two-step process:
-
Ensure that RTS has already started the ScriptHost process and the associated AVEVA Process Simulation server is running.
-
Use the rts sc-start command to open the AVEVA Process Simulation user interface (UI).
Remember to close the AVEVA Process Simulation UI before you stop RTS.
-