Skip to content

Commit

Permalink
Add test for process heat load in thermal results
Browse files Browse the repository at this point in the history
  • Loading branch information
zolanaj committed May 9, 2024
1 parent 324f738 commit 8007810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reoptjl/test/posts/test_thermal_in_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"doe_reference_name": "Hospital",
"annual_mmbtu": 500.0
},
"ProcessHeatLoad": {
"annual_mmbtu": 100
},
"ExistingBoiler": {
"efficiency": 0.72,
"production_type": "hot_water",
Expand Down
1 change: 1 addition & 0 deletions reoptjl/test/test_job_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def test_thermal_in_results(self):
self.assertIn("ExistingChiller",list(results.keys()))
self.assertIn("ExistingBoiler", list(results.keys()))
self.assertIn("HeatingLoad", list(results.keys()))
self.assertIn("process_heat_thermal_load_series_mmbtu_per_hour", list(results["HeatingLoad"].keys()))
self.assertIn("HotThermalStorage", list(results.keys()))
self.assertIn("ColdThermalStorage", list(results.keys()))
self.assertIn("AbsorptionChiller", list(results.keys()))
Expand Down

0 comments on commit 8007810

Please sign in to comment.