From 39776541bebb7bb6eb9874ced5b895bb066bba83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olaf=20L=C3=BCke?= Date: Thu, 18 Jul 2024 17:44:03 +0200 Subject: [PATCH] day_ahead_prices: Add price configs --- software/src/modules/day_ahead_prices/day_ahead_prices.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/software/src/modules/day_ahead_prices/day_ahead_prices.cpp b/software/src/modules/day_ahead_prices/day_ahead_prices.cpp index e90017fc5..80d133fd2 100644 --- a/software/src/modules/day_ahead_prices/day_ahead_prices.cpp +++ b/software/src/modules/day_ahead_prices/day_ahead_prices.cpp @@ -57,6 +57,9 @@ void DayAheadPrices::pre_setup() {"region", Config::Uint(REGION_DE, REGION_DE, REGION_LU)}, {"resolution", Config::Uint(RESOLUTION_15MIN, RESOLUTION_15MIN, RESOLUTION_60MIN)}, {"cert_id", Config::Int(-1, -1, MAX_CERT_ID)}, + {"grid_costs_and_taxes", Config::Uint(0, 0, 99000)}, // in ct/1000 per kWh + {"supplier_markup", Config::Uint(0, 0, 99000)}, // in ct/1000 per kWh + {"supplier_base_fee", Config::Uint(0, 0, 99000)}, // in ct per month }), [this](Config &update, ConfigSource source) -> String { String api_url = update.get("api_url")->asString();