Skip to content

Commit

Permalink
fix units in ElectricHeater test
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed Aug 25, 2023
1 parent 1a6254f commit b418e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_with_xpress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ end
results = run_reopt(m, p)

#first run: Boiler produces the required heat instead of the electric heater - electric heater should not be purchased
@test results["ElectricHeater"]["size_kw"] 0.0 atol=0.1
@test results["ElectricHeater"]["size_mmbtu_per_hour"] 0.0 atol=0.1
@test results["ElectricHeater"]["annual_thermal_production_mmbtu"] 0.0 atol=0.1
@test results["ElectricHeater"]["annual_electric_consumption_kwh"] 0.0 atol=0.1
@test results["ElectricUtility"]["annual_energy_supplied_kwh"] 87600.0 atol=0.1
Expand Down

0 comments on commit b418e90

Please sign in to comment.