Skip to content

Commit

Permalink
SDD: Add support for water heater fuel type
Browse files Browse the repository at this point in the history
[#79969370]
  • Loading branch information
kbenne committed Oct 31, 2014
1 parent 5d1c5dd commit e9c4e29
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions openstudiocore/src/sdd/MapHVAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5713,6 +5713,18 @@ boost::optional<openstudio::model::ModelObject> ReverseTranslator::translateWtrH
waterHeaterMixed.setPartLoadFactorCurve(hirfPLRCrv.get());
}

// FuelSrc
auto fuelSrcElement = element.firstChildElement("FuelSrc");
waterHeaterMixed.setHeaterFuelType(fuelSrcElement.text().toStdString());

// OffCycleFuelSrc
auto offCycleFuelSrcElement = element.firstChildElement("OffCycleFuelSrc");
waterHeaterMixed.setOffCycleParasiticFuelType(offCycleFuelSrcElement.text().toStdString());

// OnCycleFuelSrc
auto onCycleFuelSrcElement = element.firstChildElement("OnCycleFuelSrc");
waterHeaterMixed.setOnCycleParasiticFuelType(onCycleFuelSrcElement.text().toStdString());

return waterHeaterMixed;
}

Expand Down

4 comments on commit e9c4e29

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

81583558-SetpointManagerWarmestTemperatureFlow (kbenne) - x86_64-Linux-Ubuntu-14.04-clang-3.5: OK (2128 of 2146 tests passed)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

81583558-SetpointManagerWarmestTemperatureFlow (kbenne) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed)

Build Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

81583558-SetpointManagerWarmestTemperatureFlow (kbenne) - x86_64-MacOS-10.9-clang: OK (2125 of 2146 tests passed)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

81583558-SetpointManagerWarmestTemperatureFlow (kbenne) - i386-Windows-7-VisualStudio-12: OK (2129 of 2146 tests passed)

Build Badge Test Badge

Please sign in to comment.