Absent values
All datasets in this API are fixed resolution. For an hourly dataset, there is some “slot” for each hour’s value. However, some operations - Select for instance - can remove values from datasets, leaving “holes” or absent values behind. This is used for instance to select only weekends or certain times of year, “clearing” the rest of the dataset. We leave it up to users of the API to decide how they wish to represent absent values. A common strategy is to useNaN to represent absent values, another common option is bit masking.
Registered datasets
These are “well known” datasets that Tariff Components take as inputs. These you need to provide “from the outside” to the calculation to determine the cost. Note that most calculations only use a subset of these - and for some metering points a dataset may not exist, in which case you can safely skip the dataset.| Name | Resolution | Unit | Description |
|---|---|---|---|
| quarter-hourly-energy-offtake | quarter_hourly | kWh | Energy consumed (imported) per quarter hour |
| quarter-hourly-energy-injection | quarter_hourly | kWh | Energy exported (injected) per quarter hour |
| yearly-firm-subscribed-offtake-capacity | yearly | kW | Firm subscribed power offtake capacity |
| yearly-firm-subscribed-injection-capacity | yearly | kW | Firm subscribed power injection capacity |
| quarter-hourly-day-ahead-price-se1 | quarter_hourly | SEK_per_kWh | Day-ahead spot price, zone SE1 |
| quarter-hourly-day-ahead-price-se2 | quarter_hourly | SEK_per_kWh | Day-ahead spot price, zone SE2 |
| quarter-hourly-day-ahead-price-se3 | quarter_hourly | SEK_per_kWh | Day-ahead spot price, zone SE3 |
| quarter-hourly-day-ahead-price-se4 | quarter_hourly | SEK_per_kWh | Day-ahead spot price, zone SE4 |