cse-sim / cse

California Simulation Engine
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

Bug fix: prevent crash due to autosized DHWHEATER tank volume = 0 #480

Closed chipbarnaby closed 5 months ago

chipbarnaby commented 5 months ago

Very small DHW loads could cause derived DHWHEATER tank size to be 0. However, a non-0 tank size is required, so runs encountering this case terminated.

Added code that limits the derived volume to a minimum of 10 gal.

Retested offending case (from user) -- now runs.

No regression test changes.

No documentation changes.