soma.cell

Programs: energy

15 verified Soma programs in the energy domain. Each page shows the source and what soma check, soma test, soma verify and soma run printed on it.

ProgramLinesUses
Anti-islanding — a solar inverter must never energize a "dead" line107a state machine, a memory invariant, try / catch
Battery dispatch — the charge window is a wall, not a setpoint83a memory invariant, try / catch
Black start — you cannot boot a power plant from a dead grid out of order118a state machine, a memory invariant, try / catch
Recloser — a trip is permanent until a human walks the line94a state machine, a memory invariant, try / catch
Demand response — no payment before measurement, and settlement is final124a state machine, a memory invariant, try / catch
Ev charging — no current before the handshake, no session past the cap124a state machine, a memory invariant, try / catch
Gas turbine light-off — purge before every ignition attempt, no exceptions134a state machine, a memory invariant, try / catch
Generator paralleling — sync-check before the breaker, always137a state machine, a memory invariant, try / catch
Load shedding — the transformer's nameplate is a wall, hospitals shed last112a memory invariant, try / catch
Meter billing — you are billed exactly what the meter read, once115a state machine, a memory invariant, match, try / catch
Spillway gates — a dam may never lose its last release path121a state machine, a memory invariant, try / catch
Spinning reserve — every megawatt you sell must claim real iron109a memory invariant, try / catch
Lockout-tagout — test before touch, and nobody re-energizes over a lock137a state machine, a memory invariant, try / catch
Transformer emergency loading — overload only with every fan running134a state machine, a memory invariant, try / catch
Wind turbine overspeed — after an emergency brake, inspection or nothing136a state machine, a memory invariant, try / catch