Selection guide
Sizing a controller PC for OpenEMS Edge
Short answer
OpenEMS Edge ships no hardware requirements table; it is a modular Java application with an official container image, openems/edge. Take a reported 2 GB deployment as the floor, then qualify candidates with a 72 hour soak of your real Modbus, SunSpec and MQTT load. For a building-scale controller that lands on a fanless mini PC class machine with 4 GB RAM and 64 GB industrial flash, accepted only inside the soak limits.
On this page
Size an OpenEMS Edge controller PC from a measured soak test, not from a forum figure: the project publishes no hardware requirements table. OpenEMS Edge is a modular Java application, also distributed as the openems/edge container image, and it is light enough that one reported field deployment ran it alongside another PLC runtime in 2 GB of RAM. Treat that figure as the floor for a small system, not as your purchase spec. For a building-scale setup — roughly a dozen Modbus/SunSpec devices polled every second with an MQTT feed upstream — the sizing below lands on a fanless mini PC class machine with 4 GB of RAM and 64 GB of industrial flash, and no candidate ships until a 72 hour soak holds CPU at or below half of total capacity, RAM under 60 percent of installed and recovery clean after device drops, service restarts and power cycles.
What OpenEMS Edge actually asks of the hardware #
OpenEMS Edge runs on a Java virtual machine on Linux, on x86-64 or ARM cores, and the project publishes ready container builds as the openems/edge image. That is the whole documented runtime requirement: a CPU that runs the JVM, enough RAM for the JVM plus the OS, and flash for the image, the logs and whatever persistence you enable. No official minimum table for cores, gigabytes or storage types exists, so the requirement that decides your purchase is the workload you configure.
Device communication lives in bridge components. The Modbus bridge, io.openems.edge.bridge.modbus, carries a SunSpec implementation, so SunSpec inverters and meters are polled as Modbus data; MQTT and HTTP/S components feed data upstream. Each bridge you enable adds sockets, timers and heap. Connectivity, in turn, is physical only where your bridges need it: Ethernet for Modbus/TCP and MQTT, serial or CAN only if a device uses them, Wi-Fi rarely on a plant controller. Whether you run the JAR under a service manager or the container, the hardware budget is the same JVM; the operational differences of native versus containerized deployment on an industrial PC are the same ones covered in running Ignition Edge Panel natively or in Docker on an industrial PC.
The 2 GB report is a floor, not a requirement #
The 2 GB figure comes from one reported deployment that ran OpenEMS Edge beside another PLC runtime on a compact controller. As evidence it proves three things: Edge starts and serves devices in memory a desktop would call small, coexistence with a second runtime is practical, and the platform is not a heavyweight. As a specification it proves nothing about your system: it does not say how the RAM was split between the two applications, what reserve remained, how many devices were connected or what happened when all of them reconnected at once.
The number that hurts a controller is never the steady state. It is the reconnect storm — every Modbus/TCP connection re-established, every SunSpec model re-read, every MQTT session re-subscribed — plus the JVM heap growing to hold live data. That peak is what your test has to capture, and no other deployment can capture it for you.
Inventory that decides the size #
Freeze the software scope before hardware:
- the OpenEMS Edge release, the JVM version, the OS image and, if used, the exact container tag — a sizing result is valid for exactly these versions and no others;
- every device with its protocol and role: Modbus/TCP or RTU, SunSpec model where applicable, register count, poll interval, and which values are written back;
- the upstream path: MQTT broker and topics, HTTP/S endpoints, and whether publishing happens on change or on a timer;
- the Edge controllers and services you enable beyond the bridges, plus local persistence and the log level;
- everything else the box runs — a PLC runtime, Node-RED, a historian agent — measured separately;
- physical needs: Ethernet port count, Wi-Fi only where no cable run exists, serial or CAN only if a device requires them, DIN-rail or wall mounting, the 24 V DC supply, and the temperature range of the cabinet;
- flash duty: continuous logging, retention, and whether storage must survive unscheduled power loss — which pushes the choice toward industrial eMMC or an SSD over an SD card.
Worked example: a building controller with 12 Modbus devices #
Example inputs, illustrative and clearly not a universal case: twelve Modbus/TCP devices with SunSpec models — eleven string inverters and one revenue meter — thirty data points each, so 360 points polled every 1 s; MQTT publishing on change; INFO logging; headless Linux; the openems/edge container; a four-core x86 candidate with 4 GB RAM and a 64 GB industrial SSD.
Wire load: 360 reads per second at an example 200 bytes per round trip is 360 × 200 B = 72 kB/s, about 0.58 Mb/s of the 100 Mb/s port — two orders of magnitude below the limit, so network size never enters this decision.
CPU: suppose the soak shows the JVM steady at 15 to 20 percent of a single core and peaking at 40 percent of one core during the reconnect storm. On four cores that peak is 10 percent of total capacity, so at this scale CPU is not the constraint. It becomes one at hundreds of devices, at sub-second polling, or when the box takes a second duty.
RAM: suppose steady state is 400 MB of OS plus 600 MB for the containerized Edge, and the storm pushes total usage to 1.2 GB. On the candidate that peak is 30 percent of installed — comfortable. The same peak on a box with only that floor amount of RAM is already 60 percent before anything else runs, which is exactly why the field report is a floor and not a target.
Flash: INFO logging at an example 10 lines per second of 200 bytes is 2 kB/s. Over a day that is 2,000 B/s × 86,400 s = 172.8 MB, and over a 30-day retention 5.2 GB. Add an example 6 GB for OS and image layers and the install sits near 11.2 GB, under 20 percent of the 64 GB drive. Endurance: 2 kB/s continuous is about 63 GB written over a year, far inside what industrial eMMC or an SSD is rated for — the consumer SD card is the part that dies in this duty, which is why the inventory step pushes you to industrial flash.
Qualify every candidate with the same 72 hour soak #
Run the identical configuration and load on every candidate, and judge against fixed limits:
- Record the exact scope: OpenEMS Edge release, JVM version, OS image, container tag. A pass on one combination says nothing about another.
- Build the production configuration — real devices or a simulator delivering the same register count at the same poll rate — with the bridges, controllers, log level and persistence you will ship.
- Take a baseline of CPU, RAM after startup and disk used, then start the 72 hour soak at full poll and full upstream publishing, sampling every minute.
- Sample temperature too — on Linux, lm-sensors reads the CPU and package sensors, and the method is in reading CPU temperature on a Linux edge PC with lm-sensors. The measured values must stay inside the unit's documented operating range at the cabinet's worst case.
- Drill the failures mid-soak: drop and restore every device link at once, restart the Edge service or container, then cut power at the supply and watch it come back. If you containerize, confirm the published ports answer again after the reboot — that is a documented failure mode covered in why Docker published ports fail after an edge PC reboot.
- Score the run against the table and keep the record with the release and image you tested. A controller that issues control commands such as load shedding goes live only after those actions have been exercised on the isolated rig — never on the strength of a hardware soak alone.
| Metric | Measured during the soak | Accept when | If it fails |
|---|---|---|---|
| Sustained CPU | average over 72 h, all cores | at or below 50 % of total capacity | move up a core class or split bridges across two controllers |
| Peak RAM | high-water mark, reconnect storm included | at or below 60 % of installed RAM | next RAM size, for example 4 GB to 8 GB |
| Flash growth | disk free over time against the logging arithmetic | tracks the arithmetic and ends with at least 20 % free | larger industrial flash or shorter retention |
| Recovery time | reconnect after each drill | devices back and data flowing inside your project's timeout | fix configuration before blaming hardware |
| Temperature | sensor readings at worst-case cabinet heat | inside the datasheet range of the exact unit | cooling, or a wider-rated unit |
Before you replace hardware over a failing score, prove the slowdown is load and not a software fault — the isolation procedure is in how to prove an IPC slowdown is hardware not software.
The decision for each case #
- Building or small-plant energy controller, up to a few dozen Modbus/SunSpec points at 1 s, MQTT upstream, INFO logs, nothing else installed: specify a fanless mini PC class controller with 4 GB of RAM and 64 GB of industrial eMMC or SSD, DIN-rail mounted, rated for the cabinet's temperature — and ship it only after the soak passes. When the test clears, the buy in this class is a fanless industrial mini PC rather than a desktop tower or a hobby board.
- The same box gains a second duty — a PLC runtime, Node-RED, a historian agent: add that duty's measured steady and peak load from its own run to the budget. The field report shows coexistence is possible; only the combined soak says whether yours fits. If combined peak RAM crosses 60 percent of installed or sustained CPU crosses half, step up one size class.
- Hundreds of devices, sub-second polling or heavy local persistence: CPU and flash join the decision, and the same soak on the bigger candidate decides — do not scale by multiplying the worked example.
- Flash fails the growth check: shorten retention or move local history to a server. The arithmetic in the worked example is the budget any new persistence component has to fit, and its write rate is added to the 2 kB/s baseline before you choose the drive.
The verdict is binary: inside the table's limits on the exact release, image and load you will ship — accept. Anything else — test the next size.
Questions asked
Does OpenEMS Edge document minimum CPU, RAM or storage?
No. The project publishes builds, not a hardware table: OpenEMS Edge is a Java application with an official openems/edge container image, and the documentation names supported platforms rather than minimum gigabytes. The 2 GB figure that circulates comes from one reported deployment that also ran a PLC runtime, so treat it as evidence the platform is light, not as a purchase specification. Your soak on the exact release is the requirement.
Can the same controller run OpenEMS Edge in Docker?
Yes, via the openems/edge image, and containerizing changes operations more than the hardware budget: the JVM inside needs the same RAM and CPU your soak measures. Add the image and base OS layers to the flash arithmetic, set a restart policy so the container returns after power loss, and verify after a reboot that the published ports answer and the devices reconnect.
Which production symptoms point to an undersized controller?
Four patterns matter: reconnects that take longer each time they happen, RAM that creeps upward across days instead of settling, flash that fills faster than the logging arithmetic predicts, and CPU that sits above half of capacity during normal polling rather than only during reconnect storms. Confirm the cause is load rather than a software fault, then move up one size class.
Is a hobby-class single-board computer acceptable for OpenEMS Edge?
On the bench it often runs fine, because Edge is light. In production the weak points are storage and environment: a consumer SD card wears out under continuous logging, and a narrow operating range fails in a hot cabinet. Choose industrial flash, a temperature rating that covers the enclosure, and long-term availability — that is what makes a controller-class box, and the same soak applies to it.