| 50 | } |
| 51 | |
| 52 | PlantLoop SizingPlant_Impl::plantLoop() const { |
| 53 | boost::optional<PlantLoop> value = optionalPlantLoop(); |
| 54 | if (!value) { |
| 55 | LOG_AND_THROW(briefDescription() << " does not have a Plant Loop attached."); |
| 56 | } |
| 57 | return value.get(); |
| 58 | } |
| 59 | |
| 60 | std::string SizingPlant_Impl::loopType() const { |
| 61 | boost::optional<std::string> value = getString(OS_Sizing_PlantFields::LoopType, true); |