{
"name": "Peak power fee",
"applicable_from": "2026-01-01T00:00:00+01:00",
"applicable_to": "2027-01-01T00:00:00+01:00",
"timezone": "Europe/Stockholm",
"datasets": [
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}
],
"functions": [
{
"type": "aggregate",
"input": {
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
},
"resolution": "hourly",
"aggregation_function": "sum",
"output": {
"id": "hourly-energy-offtake",
"resolution": "hourly",
"unit": "kWh"
}
},
{
"type": "divide",
"numerator": {
"id": "hourly-energy-offtake",
"resolution": "hourly",
"unit": "kWh"
},
"denominator": {
"value": 1.0,
"unit": "hours"
},
"output": {
"id": "hourly-power-offtake",
"resolution": "hourly",
"unit": "kW"
}
},
{
"type": "select",
"input": {
"id": "hourly-power-offtake",
"resolution": "hourly",
"unit": "kW"
},
"condition": {
"type": "highest",
"n": 3,
"resolution": "monthly"
},
"output": {
"id": "top3-power-per-month",
"resolution": "hourly",
"unit": "kW"
}
},
{
"type": "aggregate",
"input": {
"id": "top3-power-per-month",
"resolution": "hourly",
"unit": "kW"
},
"resolution": "monthly",
"aggregation_function": "mean",
"output": {
"id": "monthly-peak",
"resolution": "monthly",
"unit": "kW"
}
},
{
"type": "multiply",
"left": {
"id": "monthly-peak",
"resolution": "monthly",
"unit": "kW"
},
"right": {
"value": 50.0,
"unit": "SEK_per_kW"
},
"output": {
"id": "cost",
"resolution": "monthly",
"unit": "SEK"
}
}
],
"cost": {
"id": "cost",
"resolution": "monthly",
"unit": "SEK"
}
}