Replies: 2 comments
-
Addition: I have ran Solar Radiation, shedule maker and all modules necessary for that. Additionally I am working with modified datasets from GIS software, not the default OSM data. City Energy Analyst version 3.32.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I close this discussion as the same content has been discussed under Issue #3368 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Everyone!
When using the demand calculation tool for my district, I keep on getting this error: see below. Apparently there is a NaN in the building data where CEA expects a float to convert it to an integer. I would love to find the place or the reason why its like that to be able to change it. But I am struggling to read the error-message. Can somebody help and tell me whats wrong? Thanks in advance!
Error Message:
__Building No. 187 completed out of 349: DENILD1513150232765_33292410
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\User\miniconda3\envs\cea\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\User\miniconda3\envs\cea\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "c:\users\User\documents\cityenergyanalyst\cea\utilities\parallel.py", line 131, in __apply_func_with_worker_stream
result = func(*args)
File "c:\users\User\documents\cityenergyanalyst\cea\demand\thermal_loads.py", line 142, in calc_thermal_loads
tsd = hotwater_loads.calc_Qww_sys(bpr, tsd) # system (incl. losses)
File "c:\users\User\documents\cityenergyanalyst\cea\demand\hotwater_loads.py", line 102, in calc_Qww_sys
Qww_dis_ls_r_W = np.vectorize(calc_Qww_dis_ls_r)(T_int_C, tsd['Qww'].copy(), Lsww_dis, Lcww_dis, Y[1], Qww_nom_W,
File "C:\Users\User\miniconda3\envs\cea\lib\site-packages\numpy\lib\function_base.py", line 2113, in call
return self._vectorize_call(func=func, args=vargs)
File "C:\Users\User\miniconda3\envs\cea\lib\site-packages\numpy\lib\function_base.py", line 2200, in _vectorize_call
res = array(outputs, copy=False, subok=True, dtype=otypes[0])
ValueError: cannot convert float NaN to integer
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\User\documents\cityenergyanalyst\cea\worker.py", line 146, in worker
run_job(config, job, server)
File "c:\users\User\documents\cityenergyanalyst\cea\worker.py", line 108, in run_job
script(config=config, **parameters)
File "c:\users\User\documents\cityenergyanalyst\cea\api.py", line 60, in call
self.runner.call(*args, **kwargs)
File "c:\users\User\documents\cityenergyanalyst\cea\api.py", line 38, in script_runner
script_module.main(config)
File "c:\users\User\documents\cityenergyanalyst\cea\demand\demand_main.py", line 145, in main
demand_calculation(locator=locator, config=config)
File "c:\users\User\documents\cityenergyanalyst\cea\demand\demand_main.py", line 106, in demand_calculation
calc_thermal_loads(
File "c:\users\User\documents\cityenergyanalyst\cea\utilities\parallel.py", line 96, in wrapper
result = map_result.get()
File "C:\Users\User\miniconda3\envs\cea\lib\multiprocessing\pool.py", line 771, in get
raise self.value
ValueError: cannot convert float NaN to integer
Building No. 188 completed out of 349: DENILD1513150232765_33292729
Beta Was this translation helpful? Give feedback.
All reactions