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

Revision history [back]

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

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?

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

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?

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

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?