src/workflow/RunEnergyPlusMeasures.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "OSWorkflow.hpp" | ||
| 7 | |||
| 8 | #include "../utilities/idf/Workspace.hpp" | ||
| 9 | |||
| 10 | #include "../utilities/filetypes/WorkflowJSON.hpp" | ||
| 11 | #include "../utilities/filetypes/RunOptions.hpp" | ||
| 12 | #include "../utilities/core/Filesystem.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | |||
| 16 | 12 | void OSWorkflow::runEnergyPlusMeasures() { | |
| 17 | 12 | state = State::EnergyPlusMeasures; | |
| 18 | |||
| 19 | // Weather file is handled in runInitialization | ||
| 20 | |||
| 21 |
5/5✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
|
12 | LOG(Info, "Beginning to execute EnergyPlus Measures."); |
| 22 |
2/2✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
|
12 | applyMeasures(MeasureType::EnergyPlusMeasure, ApplyMeasureType::Regular); |
| 23 |
5/5✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
|
12 | LOG(Info, "Finished applying EnergyPlus Measures."); |
| 24 | |||
| 25 | 12 | communicateMeasureAttributes(); | |
| 26 | 12 | saveIDFToRootDirIfDebug(); | |
| 27 | 12 | } | |
| 28 | } // namespace openstudio | ||
| 29 |