MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / lastOpenStudioModel

Method lastOpenStudioModel

src/measure/OSRunner.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 boost::optional<openstudio::model::Model> OSRunner::lastOpenStudioModel() const {
72 if (m_lastOpenStudioModel) {
73 return m_lastOpenStudioModel;
74 }
75
76 if (m_lastOpenStudioModelPath) {
77 m_lastOpenStudioModel = model::Model::load(*m_lastOpenStudioModelPath);
78 }
79
80 return m_lastOpenStudioModel;
81 }
82
83 boost::optional<openstudio::Workspace> OSRunner::lastEnergyPlusWorkspace() const {
84 if (m_lastEnergyPlusWorkspace) {

Callers 14

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected