Production
The production module serves energy produced, in kWh, as a time series: what a community’s wind turbine or solar panels produced.
Install: pip install "cofy-api[production]", plus the extra of the source you use.
Settings
Section titled “Settings”| Field | What it is |
|---|---|
source |
Where the production comes from. Required. |
formats |
json and csv, the defaults. |
And the settings every module has.
Sources
Section titled “Sources”| Source | Production |
|---|---|
energyid_production |
The production of a meter, from EnergyID |
demo_production |
Generated solar production, to try things out |
A forecast of production, such as Elia’s or NED’s, is served by the timeseries module instead.
Asking for production
Section titled “Asking for production”GET /production/{name}/v1, with the usual time series parameters. Without a resolution, you get the source’s finest one: for EnergyID, steps of 5 minutes.
Example
Section titled “Example”type: productionname: windsource: type: energyid_production api_key: { type: secret, name: energyid_key } record_id: your-record-id