CHP and SteamTurbine defaults logic
Changed
For CHP
and SteamTurbine
, the prime_mover
and/or size_class
is chosen (if not input) based on the average heating load and the type of heating load (hot water or steam).
- This logic replicates the current REopt webtool behavior which was implemented based on CHP industry experts, effectively syncing the webtool and the REopt.jl/API behavior.
- This makes
prime_mover
NOT a required input and avoids a lot of other required inputs ifprime_mover
is not input. - The two functions made for
CHP
andSteamTurbine
are exported inREopt.jl
so they can be exposed in the API for communication with the webtool (or other API users).
Removed
ExistingBoiler.production_type_by_chp_prime_mover
because that is no longer consistent with the logic added above.
- The logic from 1. is such that
ExistingBoiler.production_type
determines theCHP.prime_mover
if not specified, not the other way around. - If
ExistingBoiler.production_type
is not input,hot_water
is used as the default.