Skip to content

CHP and SteamTurbine defaults logic

Compare
Choose a tag to compare
@Bill-Becker Bill-Becker released this 31 Oct 14:04
· 2288 commits to master since this release

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 if prime_mover is not input.
  • The two functions made for CHP and SteamTurbine are exported in REopt.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 the CHP.prime_mover if not specified, not the other way around.
  • If ExistingBoiler.production_type is not input, hot_water is used as the default.