error in Beopt 2.7 when modeling ASHP, MSHP,and GSHP

asked 2018-10-28 16:19:25 -0600

lolo gravatar image

updated 2018-10-29 12:25:06 -0600

Hi, I am running the same model in 4 cities in Ontario. When I am ruining the same model for Ottawa, i got errors for ASHP, MSHP and GSHP. Below the errors:

" 0/17/2018 3:57 PM:  107.xml:  self._processFinalize(sim, mj8, weather, geometry, unit)
10/17/2018 3:57 PM:  107.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sizing.py", line 2189, in _processFinalize
10/17/2018 3:57 PM:  107.xml:  self._processHeatPumpAdjustment(sim, mj8, weather, geometry, unit)
10/17/2018 3:57 PM:  107.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sizing.py", line 2103, in _processHeatPumpAdjustment
10/17/2018 3:57 PM:  107.xml:  duct_load_heating = self._calc_heating_duct_load(sim, mj8, weather, geometry, unit, load_inter, dse_Tamb_heating)
10/17/2018 3:57 PM:  107.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sizing.py", line 1546, in _calc_heating_duct_load
10/17/2018 3:57 PM:  107.xml:  dse_DEcorr_heating, _dse_dTe_heating = self._calc_dse(sim, mj8, unit, heating_cfm, HeatingLoad_Inter_Prev, T_amb, dse_As, dse_Ar, mj8.heating_setpoint, mj8.dse_Fregain, None, IsCooling=False)
10/17/2018 3:57 PM:  107.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sizing.py", line 2663, in _calc_dse
10/17/2018 3:57 PM:  107.xml:  dse_dT = T_setpoint - dse_Tamb
10/17/2018 3:57 PM:  107.xml:  TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
10/17/2018 3:58 PM:  111.xml:  Traceback (most recent call last):
10/17/2018 3:58 PM:  111.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\energyplus.py", line 12879, in <module>
10/17/2018 3:58 PM:  111.xml:  y = EnergyPlusInput(xmlfile, cost_file=sys.argv[3])
10/17/2018 3:58 PM:  111.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\energyplus.py", line 40, in __init__
10/17/2018 3:58 PM:  111.xml:  sim.process(cost_file)
10/17/2018 3:58 PM:  111.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sim.py", line 1368, in process
10/17/2018 3:58 PM:  111.xml:  self._processSystemSizing(geometry, unit, weather)
10/17/2018 3:58 PM:  111.xml:  File "C:\Program Files (x86)\NREL\BEopt_2.7.0\Modeling\sim.py", line 9572, in _processSystemSizing
edit retag flag offensive close merge delete

Comments

Can you email your project file to beopt@nrel.gov?

shorowit gravatar imageshorowit ( 2018-10-29 12:25:31 -0600 )edit

I emailed you the project files after I tried many times and it did not work.

lolo gravatar imagelolo ( 2018-11-05 21:56:38 -0600 )edit

Thanks, I got it. I just realized that you said this occurs in BEopt 2.7. Any chance you can open your project in BEopt 2.8 and see if it's already been fixed? There were numerous bugfixes in that release. If you still hit the bug in 2.8, I will take a look.

shorowit gravatar imageshorowit ( 2018-11-06 09:40:44 -0600 )edit

2.8 does not run simulation for me. It gives me the Kiva error, even though I changed in "sim.py" from True to False. my files in 2.7 does not open in 2.8 as well.

lolo gravatar imagelolo ( 2018-11-06 18:11:44 -0600 )edit