From b418e90e773f22cd472bcb5f45044e9ba78c2420 Mon Sep 17 00:00:00 2001 From: zolanaj Date: Fri, 25 Aug 2023 11:10:16 -0600 Subject: [PATCH] fix units in ElectricHeater test --- test/test_with_xpress.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_with_xpress.jl b/test/test_with_xpress.jl index 062bd0b81..9753ea679 100644 --- a/test/test_with_xpress.jl +++ b/test/test_with_xpress.jl @@ -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