architecture-building-systems / CityEnergyAnalyst

The City Energy Analyst (CEA)
https://www.cityenergyanalyst.com/
MIT License
194 stars 61 forks source link

Error using the simplified radiation model #3519

Closed yameima closed 5 months ago

yameima commented 5 months ago

Describe the bug A clear and concise description of what the bug is. the report : ModuleNotFoundError: No module named 'cea.resources.radiation.simplified'

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour because when i use other choose to simulate the radiation, my computer always can't work,so I want use the simplified radiation model to help me finish this simulation of energy demand Screenshots If applicable, add screenshots to help explain your problem. image

Hardware (please complete the following information):

Mar-Ges commented 5 months ago

Hi @yumeima, as I learned from #3517 - the simplified radiation model needs a selection of buildings (at least one must be unselected). Have you tried this?

ShiZhongming commented 5 months ago

Thanks @Mar-Ges The issue of @yameima seems to be an older one happned in V3.34.0. Did you install an older version of CEA on this computer before?

yameima commented 5 months ago

thanks @Mar-Ges,I've tried, but it doesn't work,the same error occurred @ShiZhongming, I didn't install an older version of CEA, this is the first version I installed,V3.35.3 image

yameima commented 5 months ago

Hi, @ShiZhongming , this is the script running error, may I ask how to solve this problem? Does this need to be addressed by providing missing files, or I still need to reinstall the software, but the version I installed is 3.35.3. I don't know why this happens

Traceback (most recent call last): File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 146, in worker run_job(config, job, server) File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 108, in run_job script(config=config, *parameters) File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 60, in call self._runner.call(args, **kwargs) File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 65, in getattribute self._runner = script_wrapper(self._cea_script) File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 16, in script_wrapper script_module = importlib.import_module(module_path) File "D:\CEA\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\importlib__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 961, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'cea.resources.radiation.simplified'