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

Method netSourceEnergy

src/model/Facility.cpp:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }
175
176 OptionalDouble Facility_Impl::netSourceEnergy() const {
177 OptionalSqlFile mySqlFile = model().sqlFile();
178 if (mySqlFile && mySqlFile->connectionOpen()) {
179 return mySqlFile->netSourceEnergy();
180 }
181 return {};
182 }
183
184 // pass in "Electric", "NaturalGas", or "Other"
185 OptionalDouble Facility_Impl::annualTotalCost(const FuelType& fuel) const {

Callers

nothing calls this directly

Calls 2

sqlFileMethod · 0.80
connectionOpenMethod · 0.45

Tested by

no test coverage detected