Skip to main content

Energy & Grid templates

Ready-to-deploy state contracts in the Energy & Grid category. Each is a running machine — protocols pre-composed into states and transitions, deployable as-is onto your state machine.

TemplateWhat it does
Grid Frequency StabilityMonitors grid frequency against the nominal band: nominal → deviation → load-shed before an under-frequency event cascades into a blackout.
Carnot Efficiency AuditTHERMO_CARNOT ceiling vs measured efficiency: efficient → degraded as a heat engine's real efficiency drifts below its tier of the Carnot limit. Catches fouling
Solar Yield OptimizerSOLAR_OPTIMIZE on irradiance + temperature: tracking → curtail when output exceeds inverter/grid limits, derate on over-temperature. Maximises captured energy s
Transformer Overload GuardPOWER_LOSS + thermal model: normal → overloaded → trip as winding temperature and loss exceed the unit's rating. Extends asset life, prevents fires.

See the full Templates Library for all categories, or the State Contracts model for how to author your own.