Skip to content

Commit

Permalink
fix(model): wrong frequency for hydro energy credits matrices (#1708)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle authored Aug 30, 2023
1 parent 5091be8 commit 16eeb32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MatrixInfo(TypedDict, total=False):
MATRICES_INFO: List[MatrixInfo] = [
{
"name": "maxpower",
"freq": MatrixFrequency.HOURLY,
"freq": MatrixFrequency.DAILY,
"start_version": 0,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# noinspection SpellCheckingInspection
BEFORE_650 = {
# fmt: off
"maxpower_en": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"maxpower_fr": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"maxpower_en": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"maxpower_fr": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"reservoir_en": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"reservoir_fr": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
# fmt: on
Expand All @@ -39,8 +39,8 @@
"creditmodulations_fr": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"inflowPattern_en": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"inflowPattern_fr": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"maxpower_en": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"maxpower_fr": {"default_empty": [[]], "freq": MatrixFrequency.HOURLY, "nb_columns": None},
"maxpower_en": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"maxpower_fr": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"reservoir_en": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"reservoir_fr": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
"waterValues_en": {"default_empty": [[]], "freq": MatrixFrequency.DAILY, "nb_columns": None},
Expand Down

0 comments on commit 16eeb32

Please sign in to comment.