Look up the matching tier level for a value based on discrete boundaries.
Let's say the highest power peak for a certain month (monthly-power-peak) is 150 kW. That means it falls into the second tier, since 150 kW >= boundary between the first and second tier (100 kW). The monthly-fixed-fee for that month becomes 5000 SEK (level of the matching tier).
Tier boundaries. N contiguous tiers have N-1 boundaries: [0, b1), [b1, b2), ..., [bN-1, ∞).
1[100]Level value for each of the N tiers.
2[3000, 5000]Output Dataset produced by this function, a local name used by subsequent functions to reference this result
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}Reference used to select the matching tier. Each value in here is used to find a matching tier level to produce as output
{
"id": "quarter-hourly-energy-offtake",
"resolution": "quarter_hourly",
"unit": "kWh"
}Unit shared by all level values.
A, kV, kW, kWh, hours, SEK, NOK, SEK_per_kWh, SEK_per_kW, % "lookup"