Skip to main content
A named timeseries with known resolution and unit. Used both for describing registered datasets (see below) as well as for naming the intermediate results that get created by each step in a function pipeline.

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 use NaN 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.
NameResolutionUnitDescription
quarter-hourly-energy-offtakequarter_hourlykWhEnergy consumed (imported) per quarter hour
quarter-hourly-energy-injectionquarter_hourlykWhEnergy exported (injected) per quarter hour
yearly-firm-subscribed-offtake-capacityyearlykWFirm subscribed power offtake capacity
yearly-firm-subscribed-injection-capacityyearlykWFirm subscribed power injection capacity
quarter-hourly-day-ahead-price-se1quarter_hourlySEK_per_kWhDay-ahead spot price, zone SE1
quarter-hourly-day-ahead-price-se2quarter_hourlySEK_per_kWhDay-ahead spot price, zone SE2
quarter-hourly-day-ahead-price-se3quarter_hourlySEK_per_kWhDay-ahead spot price, zone SE3
quarter-hourly-day-ahead-price-se4quarter_hourlySEK_per_kWhDay-ahead spot price, zone SE4