Skip to main content

ZeqSolar — Solar Prediction

Solar irradiance prediction using astrophysics operators + R(t) modulation. Forecasts energy output synced to Zeqond intervals.

EndpointPOST /api/energy/solar/predict
Authapi-key
Rate limit30/min
Categoryenergy

Parameters

NameTypeRequiredDescription
latitudenumberYesInstallation latitude.
longitudenumberYesInstallation longitude.
panelAreaM2numberYesTotal panel area in m².
efficiencynumberNoPanel efficiency (0–1). Default: 0.20.
forecastHoursnumberNoForecast 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.