Skip to content

Commit

Permalink
End-to-end simple tests : we don't need any scenario builder when onl…
Browse files Browse the repository at this point in the history
…y 1 year is run
  • Loading branch information
guilpier-code committed Jul 26, 2023
1 parent b2a5766 commit 41542d1
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_link_direct_capacity_to_90)

double rhsValue = 90.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();
Expand All @@ -128,9 +125,6 @@ BOOST_AUTO_TEST_CASE(weekly_BC_restricts_link_direct_capacity_to_50)
double rhsValue = 50.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();

Expand All @@ -152,9 +146,6 @@ BOOST_AUTO_TEST_CASE(daily_BC_restricts_link_direct_capacity_to_60)
double rhsValue = 60.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();

Expand All @@ -175,9 +166,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_link_direct_capacity_to_less_than_90)
double rhsValue = 90.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();

Expand All @@ -197,9 +185,6 @@ BOOST_AUTO_TEST_CASE(Daily_BC_restricts_link_direct_capacity_to_greater_than_80)
double rhsValue = 80.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();

Expand All @@ -224,9 +209,6 @@ BOOST_AUTO_TEST_CASE(Hourly_BC_restricts_cluster_generation_to_90)
double rhsValue = 90.;
bcRHSconfig.fillRHStimeSeriesWith(0, rhsValue);

BCgroupScenarioBuilder bcGroupScenarioBuilder(study);
bcGroupScenarioBuilder.yearGetsTSnumber(BC->group(), 0, 0);

simulation->create();
simulation->run();

Expand Down

0 comments on commit 41542d1

Please sign in to comment.