Small things don’t sell
Take, as an example, a factory with a 200 kWh battery and solar panels on the roof. To the owner that is serious equipment. To the electricity market it is close to nothing: too small to bid, and too small for the grid operator to treat as a resource.
Now picture a hundred such sites with different owners. Together they can push load up or down by an amount that matters, and that can be planned, sold and checked. A virtual power plant is what brings them together. It builds nothing new; it teaches equipment that already exists to act as one plant.
It sounds simple until you connect the first site.
On site, everyone speaks a different language
One maker’s inverter reports power in watts, another’s battery in kilowatts, and a third maker’s meter counts import as a negative number. One speaks Modbus TCP, another Modbus RTU through a converter, another CAN. Feed all of that into the cloud as it is and the optimizer will start mixing up charge and discharge, and sooner or later someone gets a very strange bill.
That is why every site has a Wesfin Edge. It reads the equipment through a separate adapter for each type and translates everything into one model: positive battery power always means discharge, positive power at the grid connection always means import. The maker’s registers stay in the adapter. The cloud never sees them, and that is on purpose.
A new site never starts with control. For the first days Edge only reads. We look at the telemetry, check signs and units against the meter, and see whether the wiring on paper matches the wiring in the cabinet. Sometimes it doesn’t. Better to learn that before anyone switches anything on.
A link that is allowed to fail
Edge opens the connection to the cloud itself, over MQTT with mutual TLS. No inbound ports have to be opened on site, and each controller has its own certificate that can be revoked on its own.
Encryption is not the main point, though. The main point is that we design the system on the assumption that the link will go down. On an industrial site someone flips the wrong breaker, the mobile network has a bad hour, a router in a cabinet overheats in July. When that happens Edge keeps working by its local rules, buffers telemetry and sends it once the link is back.
In the cloud such a site does not become offline. It becomes a site with stale data. The difference looks small, but it decides whether the optimizer tries to count on a battery it has heard nothing from for twenty minutes.
The cloud remembers what it doesn’t know
The cloud has two layers. The first is a registry: who the owner is, where the site is, which assets and meters it has, under which contracts they take part in the portfolio. The second is a digital twin, the last known state of each asset together with the time it was measured.
The twin’s most important rule sounds dull: unknown is not zero. If a meter goes quiet, the twin says the value is unknown. A system that fills missing data with zero will sooner or later sell flexibility that isn’t there.
The registry watches one more thing. A battery can sit in several pools for different services, but its limits and the owner’s reserve are counted once. Otherwise it is very easy to sell the same kilowatts to two buyers at the same moment.
The optimizer counts after every cost
The optimizer takes the real state from the twin and every constraint from the registry: state of charge, the reserve the owner kept for themselves, connection limits, contract terms. From that it works out how much power up and down the portfolio can really give over the next hours.
Then it compares options. Sell on the market, shave a customer’s peak, do nothing. Doing nothing often wins, and that is fine. Every cycle wears the battery, imbalance costs money, and so do fees. We count the result only after all of that, because revenue before costs tells nobody anything.
Nobody takes a command at its word
The plan breaks down into commands for individual sites. Each one has an ID, limits and a moment after which it is no longer valid. If a command reaches Edge late, it is simply not carried out: yesterday’s plan can do harm today.
A command counts as done only once a measurement confirms it. We keep three separate numbers: what was asked, what Edge agreed to do after checking local limits, and what the meter showed. We have a separate article on this, because this is exactly where aggregators most often lose money and trust.
Money follows the official data
At the end of the month someone has to be paid and someone has to pay. Here we keep three sources apart: device telemetry, the independent measurement at the site’s grid connection, and the official market data. Settlement with participants is built on the official data. Telemetry explains what happened, but it is not a basis for payment.
The battery owner sees in the portal when their site took part, what was asked of it and what it delivered. The totals flow into the books for each legal entity separately. No spreadsheets put together late at night before the period closes.
Why we don’t merge it all into one
We could build one big system that reads registers, works out prices and writes invoices. We do the opposite, for a practical reason. When a new inverter comes along, we write a new adapter in Edge and leave the optimizer alone. When market rules change, we change the optimizer, not the firmware on hundreds of sites. And when the cloud is unreachable, the equipment on site is still protected.
The cloud side of Wesfin VPP runs in production with real assets. We don’t publish how many megawatts it manages until clients agree to disclose it. A new client always starts small with us: one site, one battery, one Edge, and a few days of read-only.