Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Weather-shift's epw files can not be run in BEopt

asked 2018-10-21 22:11:08 -0600

Siddharth's avatar

updated 2020-01-20 15:04:16 -0600

I tried to run the BEopt with one of the epw files from "weather-shift" and it is generating an error. The same file can be easily opened in DView and used in EnergyPlus. The error statement generated by BEopt is :

10/21/2018 11:02 PM: 1.xml: Warning: Weather data supplied in the xml file is inconsistent with the weather file and will be overridden.

10/21/2018 11:02 PM: 1.xml: Traceback (most recent call last):

10/21/2018 11:02 PM: 1.xml: File "G:\BEopt\Modeling\energyplus.py", line 13803, in <module>

10/21/2018 11:02 PM: 1.xml: y = EnergyPlusInput(xmlfile, cost_file=sys.argv[3])

10/21/2018 11:02 PM: 1.xml: File "G:\BEopt\Modeling\energyplus.py", line 39, in __init__

10/21/2018 11:02 PM: 1.xml: sim = simpy.Sim(filename, sim_engine=Constants.SimEngineEnergyPlus, print_warnings=print_warnings)

10/21/2018 11:02 PM: 1.xml: File "G:\BEopt\Modeling\sim.py", line 1213, in __init__

10/21/2018 11:02 PM: 1.xml: self.site.weather = weatherpy.Process(self.site.EPWfilename)

10/21/2018 11:02 PM: 1.xml: File "G:\BEopt\Modeling\weather.py", line 45, in __init__

10/21/2018 11:02 PM: 1.xml: self._process_epw_text(epwfile, minimal)

10/21/2018 11:02 PM: 1.xml: File "G:\BEopt\Modeling\weather.py", line 131, in _process_epw_text

10/21/2018 11:02 PM: 1.xml: self.data.DailyAvgDrybulbs.add_day(self._fmt(units.C2F(dailydbs[day]), 2))

10/21/2018 11:02 PM: 1.xml: IndexError: list index out of range

Does anybody have any suggestion to solve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-22 08:35:16 -0600

BEopt requires an EPW with exactly 8760 hourly data -- it does not support all the flexibility that EnergyPlus/DView do. If you think your weather file meets that criterion, please upload the file and we can take a look.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2018-10-21 22:11:08 -0600

Seen: 276 times

Last updated: Oct 22 '18