Describes some component of the cost of energy of a Tariff, like peak tariffs, taxes, fixed monthly fees etc.
Tariff components describe how to transform some Datasets through a series of Functions, arriving at a cost dataset.
When tariffs are changed, as they frequently are, a new Tariff Component is created, and the applicable_from/applicable_to fields are set to represent when the switch-over occurred.
This allows you to model historic cost as well as upcoming transitions to new tariffs.
Input datasets, these are all Registered Datasets that must be supplied to the function pipeline
This is describes the core function pipeline - ordered Functions that transform the input dataset(s) to the final output cost dataset. Each step produces a named output Dataset that subsequent Functions may take as inputs or that become the final output
1Emit a constant value at a given resolution.
{
"function": "constant",
"output": {
"id": "cost",
"resolution": "monthly",
"unit": "SEK"
},
"resolution": "monthly",
"value": { "unit": "SEK", "value": 500 }
}Timezone in which time-dependent functions (filtering, grouping) are evaluated. Typically local time, but can also be a fixed UTC offset.
"Europe/Stockholm"
"UTC+01:00"
ISO 8601 formatted datetime from when the tariff component becomes applicable, if any. If null or not included, applicable immediately.
"2025-01-01T00:00:00+01:00"
ISO 8601 formatted datetime after which the tariff component ceases to be applicable. If null or not included, applicable until further notice.
"2026-01-01T00:00:00+01:00"