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

Method totalSourceEnergy

src/model/Facility.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 OptionalDouble Facility_Impl::totalSourceEnergy() const {
169 OptionalSqlFile mySqlFile = model().sqlFile();
170 if (mySqlFile && mySqlFile->connectionOpen()) {
171 return mySqlFile->totalSourceEnergy();
172 }
173 return {};
174 }
175
176 OptionalDouble Facility_Impl::netSourceEnergy() const {
177 OptionalSqlFile mySqlFile = model().sqlFile();

Callers

nothing calls this directly

Calls 2

sqlFileMethod · 0.80
connectionOpenMethod · 0.45

Tested by

no test coverage detected