UCEF Thermostat Control Sim Solar & Outdoor Temperature from EPW - SCU-Smart-Grid-CPS/smart-grid-energy-simulation-research GitHub Wiki
Obtaining the 5-minute data needed to run the home energy thermostat control simulations to match the Energy Plus weather files.
Prerequisites
- EPW weather file (.epw)
- Working stand-alone simulation .idf for that location
Set Dates
Go to Run Period. Set the dates for the starting day of the simulation to one day AFTER the simulation should end. This is because the UCEF optimizers need to get data for a few hours ahead of time, so stopping at the same time the simulation stops will cause data not found problems in the Python.
Ensure correct outputs
Go to Output:Variable. Set Site Outdoor Air Drybulb Temperature and Site Direct Solar Radiation Rate per Area with frequency of timestep as shown. Leave other variables as-is.
Post Processing
- Find & open the csv with the same name as the idf file.
- Delete the design days (1-7 days at the top that are not on the run period)
- Delete all but the columns for Site Outdoor Air Drybulb Temperature and Site Direct Solar Radiation Rate per Area. Keep the single row of header. Save and name this sheet based on run period and location.
- Copy the sheet to Solar.xlsx and delete the temperature column.
- Copy to OutdoorTemp.xlsx and delete the radiation column
The result should look something like this: