Software

GA BlueSimul

Full system simulation on a PC – test, demonstrate and train without controllers or I/O cards.

BlueSimul at a glance

BlueSimul runs the systems of a BlueEdit project on a Windows PC. Each controller becomes a simulator that runs the BlueDaemon4 runtime with the unmodified application programs. Around the simulators, BlueSimul simulates the I/O cards, the communication partners and, with a process model, the plant.

GA BlueEdit and GA TurWin connect to the simulators just as they connect to the controllers on site.

  • Test an application program before the hardware exists
  • Demonstrate a redundancy switchover at your desk
  • Inject faults with one click that nobody would provoke on a running plant
  • Train operators on the real screens of their plant
BlueSimul Control with two running duplex units in the BlueLine² rack and the system overview
BlueSimul Control running the simulators of a plant project: duplex system, TMR ESD on MPU-M1, TMR control system on ICU-M5 and the SoftSPS.

The highlights

What BlueSimul gives you in day-to-day project work – each shown below with screenshots of real plant projects.

Your project, unchanged

Every CPU of the project runs as a simulator, started from BlueEdit with one menu command – with the configuration and programs you upload to the plant.

A window per controller

Live view of the rack, state, I/O, services, connections, tasks and syslog of every simulator.

Inputs, generators, trends

Inputs in engineering units, function generators with eleven waveforms that run in step across units, and trends with cursors and reference runs.

Realistic faults

Card, channel, MCU, self-test, board voltage, CPU, network, power supply and fan faults – the simulated hardware reacts as its firmware does.

Redundancy you can watch

Duplex, TMR, horizontal CPU pairs and MPU-M1: leading unit, tracking, switchover and settling behave as on the plant.

Virtual test rack

Every field signal of the project, wired to every unit, with per-unit offsets, presets and a test record for the factory acceptance test (FAT).

Scenarios

Save the state of a test under a name, load it again, compare it with the running simulation and pass it on to a colleague.

External partners

BlueSimul Communication simulates the Modbus TCP, Modbus RTU and LAN partners that the programs address, without any configuration.

Process models

The plant as a Python script, with an editor that knows the project, a dry run, an online debugger and a live model window.

Your project, unchanged, on a PC

Open the project in BlueEdit, switch on Loopback mode and choose Simulation > Start CPU simulator. BlueSimul Control opens with the project and draws every rack as BlueEdit’s rack configurator places it: the CPUs, the I/O cards with their LEDs, the switches, power supplies and key switches. Click Start, and the whole project comes to life.

  • One simulator per CPU, and two per MPU-M1, one for each processor. The SoftSPS (soft PLC) of the project runs as BlueDatalog.
  • The real programs: the simulators keep the configuration and programs for the next start, just as a controller keeps them on its memory card.
  • Loopback mode puts every simulator on 127.b.c.d for its project address a.b.c.d. No network adapter, no administrator rights, no firewall rule and no connection to the plant network are needed.
  • Project addresses on request, so that a real HMI or DCS on another PC reaches the simulators at the addresses of the plant.
Status window of a simulated unit with its rack, state tiles, identification and network addresses
The status window of a unit: rack and tiles for mode, leading unit, tracking unit, partners, faults, uptime and CPU load.

Every controller in its own window

Each simulator has a status window that shows what a technician would like to see on a real controller. A colored header per unit shows at a glance whether it is running, in maintenance or not answering, the leading unit, tracking, missing partners and the alerts of the last two minutes.

  • I/O: cards with a lamp per MCU, channels with their names and descriptions from the program. Here you set inputs, inject faults and see what the outputs drive.
  • Services and Connections: every communication service and every connection of the communication tables, with a status dot.
  • Tasks: cycle, job time and peak share of the cycle for each task, so a task taking far longer than the others stands out.
  • Syslog: live, with errors, warnings and recoveries in color, a filter and a pause function.
Two duplex units in maintenance, unit B settling after its restart; system overview and recent alerts on the right
Unit A leads while unit B settles after its restart.

Inputs, function generators and trends

A click on a digital input switches it; a click on an analog input opens a slider and a list of values that exercise the range checks. With Physical units a channel appears in engineering units, such as 50.0 barg or 3515 rpm, while the card receives mA or Hz.

Function generators

A generator drives an input along a defined curve, without a process model: a ramp through 4–20 mA to check limit trips and their hysteresis, a staircase for a loop check, a sine wave for a filter. Eleven waveforms are available, up to a table of up to 1000 points loaded from a CSV file. Sync groups let generators on different units run in step or with a fixed phase shift, which trips a deviation alarm deliberately and at the same moment in every run.

Plant disturbances and trends

Inputs can carry the disturbances of a real plant: card noise including component tolerances, transmitter noise, 50 Hz mains hum, bursts, loose contacts, contact bounce and bus faults. Up to 16 channels per simulator are sampled every 100 ms and kept for 30 minutes – with zoom, two cursors, CSV export and a reference run shown as dashed curves.

List of function generators with a staircase copied to unit 1.B, both in one sync group
Function generators: a staircase copied to unit 1.B, both in one sync group.
Trend window with the staircase curve of a temperature input
A staircase generator in the trend window of a unit.

Realistic hardware faults

BlueSimul injects the faults of real hardware, and the simulated card or CPU reacts as its firmware does: it reports the fault to the program, to BlueEdit and to the syslog, and switches the outputs off where the firmware does. The application sees the fault as it would on the plant, which makes BlueSimul the right place to test diagnostics and fault reactions.

Every fault is written to the syslog and saved with a scenario, and all faults except a halted application persist across a restart. With Blinking LEDs switched on, the rack shows the code of a fault reaction on the LEDs of the MCU, as the real card does.

Context menu raising a fault reaction on MCU-A of an MCDOT-S card
Raising a fault reaction on MCU-A of an MCDOT-S.
WhereFaults
CardsCard pulled, MCU-A or MCU-B failed, bus faults
ChannelsOpen circuit, short circuit, underrange, overrange, channel fault, deviation of an output current; a detected fault is latched until an error reset, as on the real card
MCU-S firmwareFault reactions A, B, C, D and G, every self-test and power-on test, board voltages and temperature out of tolerance, the 24 V supply of an MCDOT-S
CPUEvery warning and error bit of the SYS block, failure of one or all networks, halted application
RackPower supply 1 or 2 failed, cooling fan failed

Redundancy you can watch

The simulators of a duplex or TMR system exchange their data over the simulated networks as the controllers do: they choose the leading unit, track each other and take over when a unit fails. The hot-standby output cards decide among themselves which card drives the outputs. This lets you test the redundancy of an application on the PC, including the behavior of the HMI and the Modbus masters during a switchover.

To testDo this in BlueSimul Control
Failure of the leading unitClick Stop in the header of the leading unit
Failure of the leading-slot cardPull the card in the leading slot
Program that does not runChoose Application halted in the menu of the unit
Network failureFail one network of the unit, or all of them
Failed MCU of an output cardChoose MCU-A failed or MCU-B failed in the menu of the card
  • Return of a unit: a restarted unit goes through a 60-second settling period in which it tracks the leading unit, as on the plant.
  • TMR systems run three simulators, so you can test one stopped unit, two failed units or a split network.
  • Horizontal redundancy: two CPUs share one I/O bus; when the active CPU stops, the other takes over the bus and the cards at once, and the outputs keep their values.
  • MPU-M1: each of the two processors runs as a simulator of its own on its own network. The MCU-S cards exist once for both, and MPU-B receives the card data as it does over the dual-port RAM of the MPU-M1.

The virtual test rack

Before commissioning, a project is tested on a test rack: a potentiometer for every transmitter, a switch for every contact, a lamp for every output. The virtual test rack simulates this panel. It knows the field signals of the project and how each one is wired to the cards of the units: one value set for a transmitter reaches every card input it is wired to, on every unit of the system.

It does what a physical rack cannot:

  • Per-unit offsets – one unit reads a different value from the other, to test a deviation alarm.
  • Field and wire faults – open circuit, short circuit, underrange, overrange and frozen (a stuck transmitter) for every unit, or an open or short circuit on the wire to one unit only.
  • Who drives? – the outputs table shows a dot for each unit that drives the output, so the active card of a hot-standby pair is visible during a switchover.
  • Presets such as “Ready to start” or “Trip on low oil pressure” set every signal at once.
  • Test record – every action and every change of an output is logged with its time and tag in a daily CSV file, the record that a FAT requires.
  • Several screens or a rack PC – where a physical test rack would stand.
Virtual test rack with the signal tree by plant group, the inputs table and the detail pane of a pressure transmitter
The test rack by plant group, with the detail pane of a pressure transmitter driven by the process model.

Scenarios

A test session builds up state: cards pulled, faults injected, inputs set, generators running, key switches turned, signals forced from BlueEdit. A scenario saves all of this under a name for every simulator of the project, on request including the forces and the uploaded programs. Loading a scenario takes effect on the running simulators without a restart.

  • The Scenario button lights up while the simulation still matches the scenario, and its tooltip names the first difference.
  • Compare lists the differences between two scenarios, or between a scenario and the running simulation.
  • Search by name, note, tags, card types and signal names; copy scenarios to a colleague’s folder or a network share.
  • Overview writes the scenarios to a single HTML page for the test record.

Typical uses are a clean starting point before each test, the same fault pattern for every run, a quick way back after a program change, and prepared exercises for training.

Scenario Explorer with the list of saved scenarios and their contents
The Scenario Explorer shows what each scenario holds and whether it still fits the project.

External communication partners

Devices outside the project, such as a DCS, an overspeed protection unit, a vibration monitor, a managed switch or a neighboring plant, are simulated by BlueSimul Communication. It derives them from the programs on the simulators and therefore needs no configuration of its own: Modbus TCP servers and clients, Modbus RTU slaves and masters, SoE clients and the partners of LAN messages.

  • Every signal carries the name the program gives it, together with the raw register words as listed in the partner’s documentation.
  • Set values, pulse a command bit, save value sets and export the register list that a DCS supplier asks for.
  • Partner faults: a server that never answers, answers late or returns an exception code, a wrong CRC or checksum – for all units or for one unit alone.
  • At the FAT, BlueSimul Communication on its own stands in for the missing partners of the real controllers, with writes only after explicit arming, a COM port per unit and a time-stamped CSV record.
BlueSimul Communication with the device list and the registers of a simulated managed switch
BlueSimul Communication simulating a managed switch, with the names from the program.

Process models: the plant in the loop

Without a plant, every input holds the value that was last set. That is enough to test a trip or an interlock, but not a control loop. A process model closes the loop: a Python script reads the outputs of the simulated cards, computes how the plant responds and sets the inputs accordingly, typically every 50 ms and in engineering units. One model can simulate the plant of a whole project across systems, and it can also act as the operator or the DCS over Modbus TCP.

The process model window is generated from what the model declares: its signals with a trend, its parameters, plant faults such as a stuck valve, and one-shot actions. Pause freezes the plant, and Step advances it one step at a time.

Process model window with parameters and the trend of a compressor surging and recovering
An action makes the compressor surge; after recovery, the controller closes the valves again.

An editor that knows the project

The model editor completes the tags of the project’s channels and shows their units and live values. It checks the script as you type and offers fixes, such as the nearest existing tag.

  • Dry run: up to 30 minutes of model time within seconds, without simulators.
  • Apply restarts the running model with the new script, but only if the check passes.
  • Online debugger with breakpoints, stepping and variables; log points show a value as a trend without halting the plant.
Model editor with a Python script, project tags and a dry-run trend
Dry run of a model in the model editor: both blow-off valves open after 60 s, and the flow rises.

HMI and DCS in the loop

The simulators serve the HMI and the DCS as the controllers do, through the Modbus TCP server and the Modbus TCP I/O service. GA TurWin 4.0.0 or later, started in loopback mode, runs the unchanged RUN file of the plant against the simulators – for operator training on the real screens or to test the screens before commissioning. A DCS reaches the simulators from its own PC at the project addresses; if no DCS is available, BlueSimul Communication simulates it as an external master.

Simulated I/O loop check

Before a plant is commissioned, every signal is checked from the field terminal to the place where it is displayed or used. On a physical test rack this takes a day of turning potentiometers per system. The simulated loop check does the same with the simulators, signal by signal, against the I/O list, the Modbus lists and the TurWin RUN file:

  • Static cross-check of the documents with each other before anything runs – it finds most errors, such as a range that differs between the program and the Modbus list.
  • Dynamic check: drive each analog input to 0, 50 and 100 % and below its range, switch each digital input, force each output – and at every station (I/O block, Modbus register, HMI field, DCS field) verify that no other signal moves.
  • The customer’s inspector follows the check on a web page, either as an automatic run or signal by signal in witness mode.
  • The test report lists every signal with its result, the witness and any remarks, as an HTML page that prints to PDF and as a copy of the I/O list with result columns.
Web page of the simulated loop check with the check steps of a pressure input at 12 mA and the signal list with results
The loop check page during the 12 mA step of a pressure input.

Note: the simulated loop check is a service of GEBHARDT Automation and not part of the BlueSimul product. It proves that the program, the HMI configuration and the DCS interface agree with the documents; the field wiring is still verified by the physical loop check.

What BlueSimul proves

BlueSimul runs the same runtime and the same programs as the controllers on site, so what it shows about the application also holds on site: logic, sequences, limits, voting, switchovers and communication tables. It does not prove the hardware and wiring, the timing of the controller, the plant beyond its model, or the plant network. The loop check and commissioning on site are still required, but with far fewer surprises.

System requirements

Operating systemWindows 10 or 11, 64 bit
LicenseCryptoBox with the BlueSimul license, plus the BlueDatalog license for a project with a SoftSPS
EngineeringGA BlueEdit 03.23.00 or later, the first version with Loopback mode built in
HMIGA TurWin 4.0.0 or later, the first version with Loopback mode built in
Process modelsPython 3.10 or later with its standard library
InstallationUnpack the archive and install the Microsoft Visual C++ runtime (x86); no setup program, and no administrator rights in loopback mode

See BlueSimul with your own project

For a demonstration with your own project or for training, please get in touch.

Get in touch All software