ZeqSolar — Solar Prediction
Solar irradiance prediction using astrophysics operators + R(t) modulation. Forecasts energy output synced to Zeqond intervals.
| Endpoint | POST /api/energy/solar/predict |
| Auth | api-key |
| Rate limit | 30/min |
| Category | energy |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | Yes | Installation latitude. |
longitude | number | Yes | Installation longitude. |
panelAreaM2 | number | Yes | Total panel area in m². |
efficiency | number | No | Panel efficiency (0–1). Default: 0.20. |
forecastHours | number | No | Forecast horizon (1–72h). Default: 24. |
Returns
{ forecast: [{ hour, irradianceWm2, outputKw, R_t }], totalKwh, peakHour, capacity }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"latitude": 0,
"longitude": 0,
"panelAreaM2": 0,
"efficiency": 0.2,
"forecastHours": 24
}' \
"https://zeqsdk.com/api/energy/solar/predict"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-solar.