| 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(); |
nothing calls this directly
no test coverage detected