Voltmasters Platform
Rule builder
Build your own logic for a Voltmasters EMS project in the rule builder: the nodes per category, saving a draft, publishing, the history, the live view and the limitations.
With the Rule builder you draw your own logic for a project: when this happens, do that. You connect inputs, such as a contact on an IO module or the state of charge of a battery, through functions to actions, such as switching a relay output or overriding a device. The result is a flow that the EMS controller on site runs by itself, also when the internet connection is down.
You find it in a project under Configuration, Rule builder.

The rule builder: the canvas in the middle, the nodes on the right, saving and publishing at the top.
Who can use it
- The installer of the project and the partner the project belongs to can build, save and publish flows.
- Clients and viewers of a project cannot open the rule builder.
- The project needs an EMS controller with a software version that runs flows. Without a controller, or with an older version, the rule builder is not in the menu.
How a flow is built
A flow is made of nodes that you connect from left to right. There are three kinds:
| Kind | What it does |
|---|---|
| Inputs | Bring a value into the flow. An input has no incoming connection. |
| Functions | Combine, compare or delay what comes in and pass the result on. |
| Actions | Do something on the installation. An action has no outgoing connection. |
Add nodes
Drag a node from the Nodes tab on the right onto the canvas, or click it.
Configure each node
Click a node and fill in its settings in the Configuration tab: the device, the port, a threshold or a time window. A node that is not complete yet has a dashed border.
Connect the nodes
Drag from the dot on the right of a node to the dot on the left of the next one. The rule builder refuses a connection that cannot work and tells you why.
Save or publish
Use Save as Draft to keep your work, or Publish to send it to the controller. See Draft and publish.

Click a node to fill in its settings in the Configuration tab.

A node that is not complete yet has a dashed border and a warning mark.
A project can hold several flows. Each flow has its own page: add one with Add page and double-click its name to rename it. All pages are saved and published together as one version.
The nodes
Inputs
| Node | What it gives |
|---|---|
| IO Module | The state of a digital input of an IO module: on or off. |
| Battery | A value of a battery, such as the state of charge. |
| Device measurement | A live measurement of a device in the project, such as power, energy or state of charge. |
| Schedule | On during the time windows you set, per day of the week. A window that ends at 00:00 runs until the end of the day. |
| Incident | On while an incident of the chosen type is active. |
Functions
| Node | What it does |
|---|---|
| AND, OR, XOR | On when all inputs are on, when at least one is on, or when exactly one is on. |
| NOT | Inverts its input. |
| Greater than, Less than, Greater or equal, Less or equal | Compares a number with a fixed threshold or with a second input, and gives on or off. |
| Threshold | Switches on at one value and off at another (hysteresis), so the output does not flicker around a single limit. |
| Switch | Remembers its state: one input switches it on, the other switches it off. Off wins when both are active. |
| Pulse At | Gives a pulse of a set duration at a time of day or on a date. |
| Delay | Waits the set number of seconds before it passes the signal on. |
Actions
| Node | What it does |
|---|---|
| Set Output | Switches a relay output (DO) of an IO module on or off. |
| Incident | Creates an incident of the chosen type, or resolves it. |
| Override | Applies a control override to a device, such as a power limit, for as long as its input is on. |
An action needs an on or off signal. A number, such as a state of charge, first goes through a comparison or a Threshold node.
Examples
Five small flows to start from, as they look on the canvas. Each one reads from left to right: inputs on the left, functions in the middle, actions on the right. The devices, ports and values are examples: choose your own in the configuration of each node.
A contact switches a relay
The simplest flow: an input wired straight to an action. Here a fire alarm contact on a digital input switches a relay output, for example for a signal lamp.

The relay output is on for as long as the contact is closed.
Report a door that stays open
A Delay filters out short signals. The incident is only created when the door contact has been on for a full minute.

Opening the door for a moment does nothing. After 60 seconds an incident appears in the project.
Discharge the battery during the evening peak
Two conditions that must both be true go through an AND. The Threshold turns the state of charge into on or off, with a margin so the battery does not start and stop around one value.

On weekday evenings the battery discharges at 10 kW. It starts once the state of charge is at 40 % and stops when it drops to 25 %.
Charge at night until the battery is full
A comparison followed by a NOT gives not full yet. Together with the night window it decides when to charge.

At night the battery charges at 5 kW until its state of charge reaches 90 %.
Stop charging while the grid limit is exceeded
An incident can also start a flow. Here the battery stops charging for as long as the grid consumption limit is exceeded. The override ends by itself when the incident is resolved.

As long as the incident is active, the charge power of the battery inverter is held at 0 kW.
Draft and publish
| Button | Effect |
|---|---|
| Save as Draft | Keeps your work on the platform. Nothing changes on the installation. A project has one draft at a time. |
| Publish | Checks all flows, sends them to the EMS controller and makes them the version that runs. The previous version moves to the history. |
You can give a version a name before you save or publish it, for example Fire alarm relay. That makes it easier to find back later.
Before publishing, the rule builder checks the flows and lists what is wrong, per node. Until every point is solved, the flows are not published.
A published flow switches real equipment. Check the outputs and overrides of a flow before you publish, and follow the first run in the live view.
History
History lists every version of the project: the draft, the current version and the earlier ones, each with who published it and when.
- View opens an earlier version read only.
- Revert copies an earlier version into the draft. It does not run yet: review it and publish it.
- Delete draft removes the draft. The published version keeps running.
Live view
Switch on Live view to see what the flows do on the controller right now:
- Active nodes get a green outline and inactive nodes fade out.
- A delay that is counting down gets an amber outline.
- Green connections carry an active signal.
- Inputs show the value the controller reads.
The live view shows the published version. Changes you have not published yet are not running, and the rule builder tells you so.
Limitations
- Flows run on the EMS controller. A project without a controller, or with a controller version that does not run flows yet, cannot use the rule builder.
- A relay output that is already used by a controllable load, telecontrol, an alarm signal or the microgrid cannot be switched by a flow. Choose another output.
- Two Override nodes that change the same setting of the same device conflict when both are active. The rule builder warns you: make sure they are never on at the same time.
- A flow may not create the incident type that also triggers it. That would switch the flow on and off endlessly, so it is refused.
- A node that needs a newer controller version than the project has is greyed out in the list, with the version it requires.
- An override from a flow follows its input: it ends when the input goes off.