Skip to content

Commit

Permalink
Adjust LP files in OffsetConverter test
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Nov 15, 2023
1 parent 0657ea2 commit 195db65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/lp_files/offsetconverter_nonconvex.lp
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,19 @@ c_u_NonConvexFlowBlock_max(diesel_genset_bus_electricity_0_1)_:

c_u_NonConvexFlowBlock_max(diesel_genset_bus_electricity_0_2)_:
1 flow(diesel_genset_bus_electricity_0_2)
-1 NonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_2)
-1 NonConvexFlowBlock_status(diesel_genset_bus_electricity_2)
<= 0

c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_0)_:
+0.5 flow(bus_diesel_diesel_genset_0_0)
-1 flow(diesel_genset_bus_electricity_0_0)
+2.5 NonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_0)
+2.5 NonConvexFlowBlock_status(diesel_genset_bus_electricity_0)
= 0

c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_1)_:
+0.5 flow(bus_diesel_diesel_genset_0_1)
-1 flow(diesel_genset_bus_electricity_0_1)
+2.5 NonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_1)
+2.5 NonConvexFlowBlock_status(diesel_genset_bus_electricity_1)
= 0

c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_2)_:
Expand Down
6 changes: 3 additions & 3 deletions tests/lp_files/offsetconverter_nonconvex_investment.lp
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ c_u_InvestNonConvexFlowBlock_invest_nc_three(diesel_genset_bus_electricity_0_2)_
c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_0)_:
+0.5 flow(bus_diesel_diesel_genset_0_0)
-1 flow(diesel_genset_bus_electricity_0_0)
+2.5 InvestNonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_0)
+2.5 InvestNonConvexFlowBlock_status(diesel_genset_bus_electricity_0)
= 0

c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_1)_:
+0.5 flow(bus_diesel_diesel_genset_0_1)
-1 flow(diesel_genset_bus_electricity_0_1)
+2.5 InvestNonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_1)
+2.5 InvestNonConvexFlowBlock_status(diesel_genset_bus_electricity_1)
= 0

c_e_OffsetConverterBlock_relation(diesel_genset_bus_diesel_bus_electricity_0_2)_:
+0.5 flow(bus_diesel_diesel_genset_0_2)
-1 flow(diesel_genset_bus_electricity_0_2)
+2.5 InvestNonConvexFlowBlock_status_nominal(diesel_genset_bus_electricity_2)
+2.5 InvestNonConvexFlowBlock_status(diesel_genset_bus_electricity_2)
= 0

bounds
Expand Down

0 comments on commit 195db65

Please sign in to comment.