From 1f6b5cc605336b6a2fe490970277481379a462f1 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Fri, 21 Feb 2025 15:44:16 +0100 Subject: [PATCH] update cucumber test --- .../modeler-features/epic2/us2.8.feature | 53 ++++++---- .../common_steps/modeler_output_handler.py | 3 +- .../steps/common_steps/modeler_utils.py | 5 + .../features/steps/common_steps/steps.py | 7 -- .../1_1/input/data-series/gen1_max_p_1_1.tsv | 1 + .../input/data-series/gen1_prop_cost_1_1.tsv | 1 + .../1_1/input/data-series/gen2_max_p_1_1.tsv | 1 + .../input/data-series/gen2_prop_cost_1_1.tsv | 1 + .../1_1/input/data-series/load_1_1.tsv | 1 + .../input/model-libraries/lib_example_1_1.yml | 2 +- .../resources/modeler/1_1/input/system.yml | 14 ++- .../resources/modeler/1_1/parameters.yml | 4 +- .../input/data-series/gen1_prop_cost_1_2.tsv | 1 + .../1_2/input/data-series/gen2_max_p_1_2.tsv | 1 + .../resources/modeler/1_2/input/system.yml | 12 ++- .../resources/modeler/1_2/parameters.yml | 4 +- .../resources/modeler/1_3/input/system.yml | 2 +- .../resources/modeler/1_3/parameters.yml | 4 +- .../resources/modeler/1_4/input/system.yml | 16 +-- .../resources/modeler/1_4/parameters.yml | 2 +- .../resources/modeler/1_5/parameters.yml | 4 +- .../input/data-series/gen1_prop_cost_1_6.tsv | 100 ++++++++++++++++++ .../1_6/input/data-series/gen2_max_p_1_6.tsv | 100 ++++++++++++++++++ .../input/model-libraries/lib_example_1_6.yml | 36 +++++++ .../resources/modeler/1_6/input/system.yml | 40 +++++++ .../resources/modeler/1_6/parameters.yml | 6 ++ 26 files changed, 371 insertions(+), 50 deletions(-) create mode 100644 src/tests/resources/modeler/1_6/input/data-series/gen1_prop_cost_1_6.tsv create mode 100644 src/tests/resources/modeler/1_6/input/data-series/gen2_max_p_1_6.tsv create mode 100644 src/tests/resources/modeler/1_6/input/model-libraries/lib_example_1_6.yml create mode 100644 src/tests/resources/modeler/1_6/input/system.yml create mode 100644 src/tests/resources/modeler/1_6/parameters.yml diff --git a/src/tests/cucumber/features/modeler-features/epic2/us2.8.feature b/src/tests/cucumber/features/modeler-features/epic2/us2.8.feature index 2297daacce..cd1d7bd6ae 100644 --- a/src/tests/cucumber/features/modeler-features/epic2/us2.8.feature +++ b/src/tests/cucumber/features/modeler-features/epic2/us2.8.feature @@ -1,46 +1,55 @@ -Feature: 2.8 +Feature: 1 - Simple end-to-end tests to test temporal expression management - Scenario: 2.8.1: One model with one load and two generators, one timestep + Scenario: 1.1: One model with one load and two generators, two timesteps Given the study path is "modeler/1_1" When I run antares modeler - Then the modeler simulation succeeds - And the objective value is 160 - And the optimal value of variable node1.gen1_p_0 is 80 - And the optimal value of variable node1.gen2_p_0 is 20 + Then the simulation succeeds + And the objective value is 320 + And the optimal values of the variables are + | component | variable | timestep | value | + | node1 | gen1_p | 0-1 | 80 | + | node1 | gen2_p | 0-1 | 20 | - Scenario: 2.8.1: One model with one load and two generators, mix of constant and time dependent parameter, one timestep. + Scenario: 1.2: One model with one load and two generators, two timesteps ; mix of constant parameters and timeseries Given the study path is "modeler/1_2" When I run antares modeler - Then the modeler simulation succeeds - And the objective value is 160 - And the optimal value of variable node1.gen1_p_0 is 80 - And the optimal value of variable node1.gen2_p_0 is 20 + Then the simulation succeeds + And the objective value is 320 + And the optimal values of the variables are + | component | variable | timestep | value | + | node1 | gen1_p | 0-1 | 80 | + | node1 | gen2_p | 0-1 | 20 | - Scenario: 2.8.1: Exception handling: time series of different lengths. + Scenario: 1.3: One model with one load and two generators, one timestep ; fails because of timeseries of different lengths Given the study path is "modeler/1_3" When I run antares modeler Then the simulation fails - Scenario: 2.8.1: Mixture of constant parameters and time series (2 time steps), With booleans type. + + Scenario: 1.4: test system with one load (100 MW) and two generators in the same node (with Pmax_1 = 80 MW & Pmax_2 = 200 MW) ; gen1 has a fixed switch on cost. Two timesteps. Given the study path is "modeler/1_4" When I run antares modeler - Then the modeler simulation succeeds + Then the simulation succeeds And the objective value is 765 And the optimal values of the variables are - | component | variable | timestep | value | - | node1 | gen1_p | 0-1 | 80-0 | - | node1 | gen2_p | 0-1 | 20-100 | + | component | variable | timestep | value | + | node1 | gen1_p | 0 | 80 | + | node1 | gen2_p | 0 | 20 | + | node1 | gen1_p | 1 | 0 | + | node1 | gen2_p | 1 | 100 | + | node1 | on_off_gen1_p | 0 | 1 | + | node1 | on_off_gen1_p | 1 | 0 | + - Scenario: 2.8.1: Exception handling: given time serie for a constant in time parameter. + Scenario: 1.5: One model with one load and two generators, one timestep ; fails because of timeseries given for parameter with time_dependant = false Given the study path is "modeler/1_5" When I run antares modeler Then the simulation fails - - Scenario: 2.8.1: Mixture of constant parameters and time series (10 time steps) - Given the study path is "modeler/1_7" + Scenario: 1.6: One model with one load and two generators, 100 timesteps + Given the study path is "modeler/1_6" When I run antares modeler - Then the modeler simulation succeeds + Then the simulation succeeds And the objective value is 16000 And the optimal values of the variables are | component | variable | timestep | value | diff --git a/src/tests/cucumber/features/steps/common_steps/modeler_output_handler.py b/src/tests/cucumber/features/steps/common_steps/modeler_output_handler.py index 3a9ca2faa5..1fb410c9ca 100644 --- a/src/tests/cucumber/features/steps/common_steps/modeler_output_handler.py +++ b/src/tests/cucumber/features/steps/common_steps/modeler_output_handler.py @@ -18,7 +18,8 @@ def __read_csv(self, file_name) -> pd.DataFrame: return pd.read_csv(absolute_path, header=None, sep=' ', low_memory=False) def get_optimal_value(self, var : str) -> float: + for row in self.results.iterrows(): if row[1][0] == var: return row[1][1] - raise ValueError("Variable not found") \ No newline at end of file + raise ValueError(f"Variable '{var}' not found") diff --git a/src/tests/cucumber/features/steps/common_steps/modeler_utils.py b/src/tests/cucumber/features/steps/common_steps/modeler_utils.py index 639e07e497..9c350c62c5 100644 --- a/src/tests/cucumber/features/steps/common_steps/modeler_utils.py +++ b/src/tests/cucumber/features/steps/common_steps/modeler_utils.py @@ -2,6 +2,7 @@ import subprocess import os +from common_steps.modeler_output_handler import modeler_output_handler def run_modeler(context): @@ -18,6 +19,10 @@ def run_modeler(context): print("*********************** Begin stderr ***********************") print(err.replace(b'\r\n', b'\n').decode('utf-8')) print("*********************** End stderr ***********************") + else: + context.output_path = os.path.join(context.study_path, + "output") # TODO : fixme parse_output_folder_from_logs(out) + context.moh = modeler_output_handler(context.output_path) context.return_code = process.returncode diff --git a/src/tests/cucumber/features/steps/common_steps/steps.py b/src/tests/cucumber/features/steps/common_steps/steps.py index bcb32cd1a3..60e6d6cc8e 100644 --- a/src/tests/cucumber/features/steps/common_steps/steps.py +++ b/src/tests/cucumber/features/steps/common_steps/steps.py @@ -9,7 +9,6 @@ from common_steps.simulator_utils import run_simulation from features.steps.common_steps.assertions import assert_double_close -from common_steps.modeler_output_handler import modeler_output_handler @@ -36,12 +35,6 @@ def simu_success(context): assert context.return_code == 0 -@then('the modeler simulation succeeds') -def simu_success(context): - print(f"context.return_code = {context.return_code} ***********************") - assert context.return_code == 0 - context.output_path = os.path.join(context.study_path, "output") # TODO : fixme parse_output_folder_from_logs(out) - context.moh = modeler_output_handler(context.output_path) diff --git a/src/tests/resources/modeler/1_1/input/data-series/gen1_max_p_1_1.tsv b/src/tests/resources/modeler/1_1/input/data-series/gen1_max_p_1_1.tsv index d15a2cc44e..069d3115bc 100644 --- a/src/tests/resources/modeler/1_1/input/data-series/gen1_max_p_1_1.tsv +++ b/src/tests/resources/modeler/1_1/input/data-series/gen1_max_p_1_1.tsv @@ -1 +1,2 @@ 80 +80 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_1/input/data-series/gen1_prop_cost_1_1.tsv b/src/tests/resources/modeler/1_1/input/data-series/gen1_prop_cost_1_1.tsv index 2eb3c4fe4e..1b8d79d334 100644 --- a/src/tests/resources/modeler/1_1/input/data-series/gen1_prop_cost_1_1.tsv +++ b/src/tests/resources/modeler/1_1/input/data-series/gen1_prop_cost_1_1.tsv @@ -1 +1,2 @@ 0.5 +0.5 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_1/input/data-series/gen2_max_p_1_1.tsv b/src/tests/resources/modeler/1_1/input/data-series/gen2_max_p_1_1.tsv index 08839f6bb2..e94847ae52 100644 --- a/src/tests/resources/modeler/1_1/input/data-series/gen2_max_p_1_1.tsv +++ b/src/tests/resources/modeler/1_1/input/data-series/gen2_max_p_1_1.tsv @@ -1 +1,2 @@ 200 +200 diff --git a/src/tests/resources/modeler/1_1/input/data-series/gen2_prop_cost_1_1.tsv b/src/tests/resources/modeler/1_1/input/data-series/gen2_prop_cost_1_1.tsv index 1e8b314962..91dea2c76e 100644 --- a/src/tests/resources/modeler/1_1/input/data-series/gen2_prop_cost_1_1.tsv +++ b/src/tests/resources/modeler/1_1/input/data-series/gen2_prop_cost_1_1.tsv @@ -1 +1,2 @@ 6 +6 diff --git a/src/tests/resources/modeler/1_1/input/data-series/load_1_1.tsv b/src/tests/resources/modeler/1_1/input/data-series/load_1_1.tsv index 29d6383b52..e58e9764b3 100644 --- a/src/tests/resources/modeler/1_1/input/data-series/load_1_1.tsv +++ b/src/tests/resources/modeler/1_1/input/data-series/load_1_1.tsv @@ -1 +1,2 @@ 100 +100 diff --git a/src/tests/resources/modeler/1_1/input/model-libraries/lib_example_1_1.yml b/src/tests/resources/modeler/1_1/input/model-libraries/lib_example_1_1.yml index 7394fbe2b1..8c687a7bc1 100644 --- a/src/tests/resources/modeler/1_1/input/model-libraries/lib_example_1_1.yml +++ b/src/tests/resources/modeler/1_1/input/model-libraries/lib_example_1_1.yml @@ -4,7 +4,7 @@ library: models: - id: node_2gen_1load - description: A simple node with two generators and one load + description: A simple node with two generators and one load, two timesteps parameters: - id: load time-dependent: true diff --git a/src/tests/resources/modeler/1_1/input/system.yml b/src/tests/resources/modeler/1_1/input/system.yml index cfc335f91d..d69c7f218c 100644 --- a/src/tests/resources/modeler/1_1/input/system.yml +++ b/src/tests/resources/modeler/1_1/input/system.yml @@ -1,6 +1,18 @@ system: id: sys_example_1_1 - description: test system + description: > + A single component containing 2 generators and a consumption of 100MW, two timesteps + The generators have no Pmin constraint. + Generator 1 costs 0.5 €/MW and has a Pmax of 80 MW. + Generator 2 costs €6/MW and has a maximum output of 200 MW. + + Solution : + node1.gen1_p[0] = 80 + node1.gen2_p[0] = 20 + node1.gen1_p[1] = 80 + node1.gen2_p[1] = 20 + Objective function value: 320 + model-libraries: lib_example_1_1 components: diff --git a/src/tests/resources/modeler/1_1/parameters.yml b/src/tests/resources/modeler/1_1/parameters.yml index 6fcce86b75..c52ebe32f0 100644 --- a/src/tests/resources/modeler/1_1/parameters.yml +++ b/src/tests/resources/modeler/1_1/parameters.yml @@ -1,6 +1,6 @@ -solver: sirius +solver: xpress solver-logs: true solver-parameters: THREADS 1 no-output: false first-time-step: 0 -last-time-step: 0 \ No newline at end of file +last-time-step: 1 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_2/input/data-series/gen1_prop_cost_1_2.tsv b/src/tests/resources/modeler/1_2/input/data-series/gen1_prop_cost_1_2.tsv index 2eb3c4fe4e..7905ff43d8 100644 --- a/src/tests/resources/modeler/1_2/input/data-series/gen1_prop_cost_1_2.tsv +++ b/src/tests/resources/modeler/1_2/input/data-series/gen1_prop_cost_1_2.tsv @@ -1 +1,2 @@ 0.5 +0.5 diff --git a/src/tests/resources/modeler/1_2/input/data-series/gen2_max_p_1_2.tsv b/src/tests/resources/modeler/1_2/input/data-series/gen2_max_p_1_2.tsv index 08839f6bb2..e5aa84f573 100644 --- a/src/tests/resources/modeler/1_2/input/data-series/gen2_max_p_1_2.tsv +++ b/src/tests/resources/modeler/1_2/input/data-series/gen2_max_p_1_2.tsv @@ -1 +1,2 @@ 200 +200 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_2/input/system.yml b/src/tests/resources/modeler/1_2/input/system.yml index 0e4dfe790c..736ff139c2 100644 --- a/src/tests/resources/modeler/1_2/input/system.yml +++ b/src/tests/resources/modeler/1_2/input/system.yml @@ -1,6 +1,16 @@ system: id: sys_example_1_2 - description: test system + description: > + A single component containing 2 generators and a consumption of 100MW, two timesteps + The generators have no Pmin constraint. + Generator 1 costs 0.5 €/MW and has a Pmax of 80 MW. + Generator 2 costs €6/MW and has a maximum output of 200 MW. + + Solution : node1.gen1_p[0] = 80 + node1.gen2_p[0] = 20 + node1.gen1_p[1] = 80 + node1.gen2_p[2] = 20 + Objective function value: 320 model-libraries: lib_example_1_2 components: diff --git a/src/tests/resources/modeler/1_2/parameters.yml b/src/tests/resources/modeler/1_2/parameters.yml index 6fcce86b75..c52ebe32f0 100644 --- a/src/tests/resources/modeler/1_2/parameters.yml +++ b/src/tests/resources/modeler/1_2/parameters.yml @@ -1,6 +1,6 @@ -solver: sirius +solver: xpress solver-logs: true solver-parameters: THREADS 1 no-output: false first-time-step: 0 -last-time-step: 0 \ No newline at end of file +last-time-step: 1 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_3/input/system.yml b/src/tests/resources/modeler/1_3/input/system.yml index afc3e7d965..2058d1758f 100644 --- a/src/tests/resources/modeler/1_3/input/system.yml +++ b/src/tests/resources/modeler/1_3/input/system.yml @@ -1,6 +1,6 @@ system: id: sys_example_1_3 - description: test system + description: Bugged system because of timeseries of different sizes model-libraries: lib_example_1_3 components: diff --git a/src/tests/resources/modeler/1_3/parameters.yml b/src/tests/resources/modeler/1_3/parameters.yml index d3e9d910ec..693af633d3 100644 --- a/src/tests/resources/modeler/1_3/parameters.yml +++ b/src/tests/resources/modeler/1_3/parameters.yml @@ -1,6 +1,6 @@ -solver: sirius +solver: xpress solver-logs: true solver-parameters: THREADS 1 no-output: false first-time-step: 0 -last-time-step: 2 +last-time-step: 2 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_4/input/system.yml b/src/tests/resources/modeler/1_4/input/system.yml index ef3f2ece67..97a01b81fd 100644 --- a/src/tests/resources/modeler/1_4/input/system.yml +++ b/src/tests/resources/modeler/1_4/input/system.yml @@ -1,13 +1,15 @@ system: id: sys_example_1_4 description: > - test system with one load (100 MW) and two generators in the same node (with Pmax_1 = 80 MW & Pmax_2 = 200 MW) ; gen1 has a fixed cost. Two time steps. - t=1 : gen1_prop_cost = 0.5 €/MW, gen1_fixed_cost = 5 €, gen1_prop_cost = 6 €/MW - t = 2 : gen1_prop_cost = 0.5 €/MW, gen1_fixed_cost = 1000 €, gen1_prop_cost = 6 €/MW - - Solutions - t = 1, gen1_p = 80, gen2_p = 20 - t = 2, gen1_p = 0, gen2_p = 100 + test system with one load (100 MW) and two generators in the same node (with Pmax_1 = 80 MW & Pmax_2 = 200 MW) ; gen1 has a fixed cost. Two time steps. + t=0 : gen1_prop_cost = 0.5 €/MW, gen1_fixed_cost = 5 €, gen1_prop_cost = 6 €/MW + t = 1 : gen1_prop_cost = 0.5 €/MW, gen1_fixed_cost = 1000 €, gen1_prop_cost = 6 €/MW + + Solutions + t = 0, gen1_p = 80, gen2_p = 20, on_off_gen1_p = 1 + t = 1, gen1_p = 0, gen2_p = 100, on_off_gen1_p = 0 + + Objective function : 765 model-libraries: lib_example_1_4 diff --git a/src/tests/resources/modeler/1_4/parameters.yml b/src/tests/resources/modeler/1_4/parameters.yml index 7f0ec730b0..c52ebe32f0 100644 --- a/src/tests/resources/modeler/1_4/parameters.yml +++ b/src/tests/resources/modeler/1_4/parameters.yml @@ -1,4 +1,4 @@ -solver: sirius +solver: xpress solver-logs: true solver-parameters: THREADS 1 no-output: false diff --git a/src/tests/resources/modeler/1_5/parameters.yml b/src/tests/resources/modeler/1_5/parameters.yml index 6fcce86b75..c52ebe32f0 100644 --- a/src/tests/resources/modeler/1_5/parameters.yml +++ b/src/tests/resources/modeler/1_5/parameters.yml @@ -1,6 +1,6 @@ -solver: sirius +solver: xpress solver-logs: true solver-parameters: THREADS 1 no-output: false first-time-step: 0 -last-time-step: 0 \ No newline at end of file +last-time-step: 1 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_6/input/data-series/gen1_prop_cost_1_6.tsv b/src/tests/resources/modeler/1_6/input/data-series/gen1_prop_cost_1_6.tsv new file mode 100644 index 0000000000..8f819f7923 --- /dev/null +++ b/src/tests/resources/modeler/1_6/input/data-series/gen1_prop_cost_1_6.tsv @@ -0,0 +1,100 @@ +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 +0.5 diff --git a/src/tests/resources/modeler/1_6/input/data-series/gen2_max_p_1_6.tsv b/src/tests/resources/modeler/1_6/input/data-series/gen2_max_p_1_6.tsv new file mode 100644 index 0000000000..81cef5530d --- /dev/null +++ b/src/tests/resources/modeler/1_6/input/data-series/gen2_max_p_1_6.tsv @@ -0,0 +1,100 @@ +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 +200 \ No newline at end of file diff --git a/src/tests/resources/modeler/1_6/input/model-libraries/lib_example_1_6.yml b/src/tests/resources/modeler/1_6/input/model-libraries/lib_example_1_6.yml new file mode 100644 index 0000000000..221a2e79d0 --- /dev/null +++ b/src/tests/resources/modeler/1_6/input/model-libraries/lib_example_1_6.yml @@ -0,0 +1,36 @@ +library: + id: lib_example_1_6 + description: test model library + + models: + - id: node_2gen_1load + description: A simple node with two generators and one load + parameters: + - id: load + time-dependent: false + scenario-dependent: false + - id: gen1_max_p + time-dependent: false + scenario-dependent: false + - id: gen1_prop_cost + time-dependent: true + scenario-dependent: false + - id: gen2_max_p + time-dependent: true + scenario-dependent: false + - id: gen2_prop_cost + time-dependent: false + scenario-dependent: false + variables: + - id: gen1_p + lower-bound: 0 + upper-bound: gen1_max_p + variable-type: continuous + - id: gen2_p + lower-bound: 0 + upper-bound: gen2_max_p + variable-type: continuous + constraints: + - id: balance + expression: gen1_p + gen2_p - load = 0 + objective: gen1_p * gen1_prop_cost + gen2_p * gen2_prop_cost diff --git a/src/tests/resources/modeler/1_6/input/system.yml b/src/tests/resources/modeler/1_6/input/system.yml new file mode 100644 index 0000000000..7378c1f8ef --- /dev/null +++ b/src/tests/resources/modeler/1_6/input/system.yml @@ -0,0 +1,40 @@ +system: + id: sys_example_1_6 + description: > + In this example, we have a single component containing 2 generators and a power consumption of 100MW. 100 identical time steps. + The generators have no Pmin constraint. + Generator 1 costs 0.5 €/MW and has a Pmax of 80 MW. + Generator 2 costs €6/MW and has a Pmax of 200 MW. + + Solution : for all time steps t + node1.gen1_p[t] = 80 + node1.gen2_p[t] = 20 + Objective function value: 16,000 + + model-libraries: lib_example_1_6 + + components: + - id: node1 + model: lib_example_1_6.node_2gen_1load + scenario-group: sg + parameters: + - id: load + time-dependent: false + scenario-dependent: false + value: 100 + - id: gen1_max_p + time-dependent: false + scenario-dependent: false + value: 80 + - id: gen1_prop_cost + time-dependent: true + scenario-dependent: false + value: gen1_prop_cost_1_6 + - id: gen2_max_p + time-dependent: true + scenario-dependent: false + value: gen2_max_p_1_6 + - id: gen2_prop_cost + time-dependent: false + scenario-dependent: false + value: 6.0 diff --git a/src/tests/resources/modeler/1_6/parameters.yml b/src/tests/resources/modeler/1_6/parameters.yml new file mode 100644 index 0000000000..218ac3f17d --- /dev/null +++ b/src/tests/resources/modeler/1_6/parameters.yml @@ -0,0 +1,6 @@ +solver: xpress +solver-logs: true +solver-parameters: THREADS 1 +no-output: false +first-time-step: 0 +last-time-step: 99 \ No newline at end of file