Open Pierre-VF opened 11 months ago
An alternative way to model capacity in the endpoints (see https://github.com/carbon-data-specification/Power-Systems-Data/blob/main/specifications/cdsc-wg2-03.md )
The current way to display is:
{ "id": "US-WECC-CISO", "imports": [ { "startDatetime": "2021-06-01 00:00:00+00", "endDatetime": "2021-06-01 01:00:00+00", "measurement": 10.5, "unit": "MWh", "importByConnectedPSR": [ { "connectedPSR": "US-WECC-LADWP", "measurement": 5.5 }, { "connectedPSR": "US-WECC-BANC", "measurement": 10.5 }, },... },... ], "next": null, "previous": null }
A shortened way would be:
{ "id": "US-WECC-CISO", "imports": [ { "startDatetime": "2021-06-01 00:00:00+00", "endDatetime": "2021-06-01 01:00:00+00", "measurement": 10.5, "unit": "MWh", "importByConnectedPSR": { "US-WECC-LADWP": 5.5, "US-WECC-BANC": 10.5, }, } ], "next": null, "previous": null }
And this could be generalised to other similar endpoints.
Upsides:
Downsides:
An alternative way to model capacity in the endpoints (see https://github.com/carbon-data-specification/Power-Systems-Data/blob/main/specifications/cdsc-wg2-03.md )
The current way to display is:
A shortened way would be:
And this could be generalised to other similar endpoints.
Upsides:
Downsides: