Diesel Generator
Model a diesel backup generator with engine state, electrical load response, fuel depletion, runtime health, and faults for power scenarios.

What it is
A standby diesel generator set. It models engine run state, electrical output (voltage and frequency), fuel burn that follows load, coolant temperature and starter-battery condition.
Used in
commercial-building: standby emergency gensetbackup-power: the three gensets of the data center standby plant
What it tracks
| Member | Description |
|---|---|
running | Engine operating state. |
frequency / voltage | Electrical output. Frequency regulation and voltage stability. |
load_actual | Active power delivered (kW). |
fuel_rate | Live burn rate. Scales with load. |
fuel_level_percent | Tank level, derived from consumption. |
fuel_consumed_total | Cumulative fuel used. |
coolant_temperature | Thermal response to load. |
exhaust_temperature | Combustion and load indicator. |
battery_voltage | Starter battery condition. |
Fault modes
fuel_filter_clogged: needs the degraded stage and load above 50 kW. Load falls ×0.85 and exhaust temperature rises 30 °C for 600 s.coolant_leak: needs the degraded stage and coolant above 90 °C. Coolant rises 15 °C and load falls ×0.9 for 240 s. The engine keeps running.governor_fault: needs the degraded stage, frequency below 49.5 Hz and load above 5 kW. Frequency rises ×1.03 and voltage 12 V for 300 s.starter_battery_weak: needs the advanced_wear stage and load above 50 kW. Battery voltage drops 2 V for 500 s. Starting is not affected.exhaust_thermocouple_failure: open thermocouple: exhaust temperature collapses to the range minimum for 900 s with qualitybad.
Key parameters
| Parameter | Default | Unit |
|---|---|---|
rated_power_kva | 500 | kVA |
rated_voltage_v | 400 | V |
rated_frequency_hz | 50 | Hz |
fuel_capacity_l | 1000 | L |
fuel_rate_full_load_lph | 120 | L/h |
coolant_capacity_l | 50 | L |
fuel_capacity_l scales percentage depletion. Governor bounds follow the rated frequency; voltage follows the nameplate V/Hz ratio. fuel_rate_full_load_lph and coolant_capacity_l are currently metadata, not process coefficients.
Use cases
- Backup power readiness testing, including the start sequence.
- Fuel consumption coupled to a bulk fuel tank.
- Comparing high-hour and low-hour gensets.
- Analytics for a data center backup plant.
Customize
miravo models add diesel-generator --from diesel-generatormiravo models inspect diesel-generatorWas this page useful?
Last updated on
Cleanroom zone
GMP cleanroom suite served by an AHU, with controlled temperature, humidity, positive pressure cascade, air changes, HEPA loading, door events, and particle counts.
Protocols
Read one running Miravo factory over MQTT, OPC UA and Modbus TCP, with the same runtime values behind each protocol.
Miravo