Skip to content

Commit

Permalink
day_ahead_prices: Add price configs
Browse files Browse the repository at this point in the history
  • Loading branch information
borg42 committed Jul 18, 2024
1 parent bb13113 commit 3977654
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions software/src/modules/day_ahead_prices/day_ahead_prices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 3977654

Please sign in to comment.