Tech4Biz Wiki

Suryamon: health monitoring for solar power plants

From inverter to dashboard in one Docker command: Modbus telemetry, IEC 61724-1 indicators and string anomaly alerts.

Suryamon
Class Solar plant monitoring stack
Language Python
Protocol Modbus TCP, SunSpec models 1, 103 and 160
Standard IEC 61724-1
Licence Apache 2.0
Repository published July 2026
Source GitHub

Inverters report power, temperature and energy every few seconds, but many operators of small and mid-size plants never see the data. Dust on one section, a blown fuse or an overheating inverter can reduce output for months unnoticed. Suryamon reads the data, computes health indicators and raises an alert that names the likely physical cause.

Architecture

Six small services run under Docker Compose.

  1. Inverters Modbus / SunSpec
  2. Collector Polls every 10 seconds
  3. VictoriaMetrics Time-series storage
  4. Analytics and alerts Indicators every 5 minutes; rules every 60 seconds
  5. Operator Grafana, email, Slack or webhook
Figure 1. From the inverter to the operator.

Design decisions

Decision Reason
Prometheus metric model Telemetry is time-series data, so storage, queries and dashboards are inherited
Collector holds no state It can be restarted at any time
Analytics runs as a batch loop The indicators are periodic totals
Performance Ratio only with irradiance data The system never invents a figure it cannot compute
Simulator included Every feature can be shown without hardware

Indicators

Indicator Meaning
Performance Ratio Share of the available solar energy that was captured
Capacity utilisation factor Energy delivered against continuous full-power output
Specific yield Energy per kilowatt-peak installed
String anomaly score How far each panel string departs from its peers

Built-in alerts

Alert Fires when Likely cause
Inverter offline No successful poll for 5 minutes Network down or inverter off
String underperforming Anomaly score above 0.15 for 30 minutes Soiling, shading or connector fault
String dead Score above 0.90 for 15 minutes Blown fuse, connector or isolation fault
Performance degraded Daily ratio below 0.75 for 2 hours Soiling, curtailment or clipping
Soiling drift 3-day average 5% below the 3-week baseline Dust accumulation
Over temperature Cabinet above 65 °C for 10 minutes Blocked ventilation or failed fan

Testing

Indicator calculations are checked against IEC 61724-1 reference cases. The simulator and collector exchange data over real TCP in the tests, every alert and dashboard query is parsed, and a second stage runs the whole Docker stack.

Roadmap

Planned: Modbus RTU, MQTT ingest, satellite irradiance, better inverter views, a multi-plant view and an open-hardware data logger.

Sources