urbanopt / geojson-modelica-translator

GeoJSON to Modelica Translator that is focused on district energy system design and analysis.
https://www.nrel.gov/buildings/urbanopt.html
Other
18 stars 11 forks source link

modelica weather file not found #638

Open tanushree04 opened 2 months ago

tanushree04 commented 2 months ago

I am running urbanopt cli installer 0.12.0, commands I ran :

uo create -p project --ghe uo create -s project/example_project_with_ghe.json uo run -s project/baseline_scenario.csv -f project/example_project_with_ghe.json uo process -s project/baseline_scenario.csv -f project*/example_project_with_ghe.json -d uo des_params -y urbanopt_ghe/system_parameter.json -s urbanopt_ghe/baseline_scenario.csv -f urbanopt_ghe/example_project_with_ghe.json

$ uo des_create -y urbanopt_ghe/system_parameter.json -f urbanopt_ghe/example_project_with_ghe.json -s urbanopt_ghe/baseline_scenario.csv -n urbanopt_ghe/modelica

error received:

Traceback (most recent call last): File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\urbanopt-cli-0.12.0\gems\ruby\2.7.0\gems\urbanopt-cli-0.12.0\example_files\python_deps\python-3.10\Scripts\uo_des.exe__main.py", line 7, in File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\click\core.py", line 1130, in call return self.main(*args, kwargs) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\click\core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\click\core.py", line 760, in invoke return callback(*args, **kwargs) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\management\uo_des.py", line 169, in create_model gmt.to_modelica() File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\geojson_modelica_translator\geojson_modelica_translator.py", line 187, in to_modelica self._district.to_modelica() File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\geojson_modelica_translator\model_connectors\districts\district.py", line 72, in to_modelica model.to_modelica(self._scaffold) File "C:\urbanopt-cli\example_files\python_deps\python-3.10\lib\site-packages\geojson_modelica_translator\model_connectors\plants\cooling_plant.py", line 38, in to_modelica raise FileNotFoundError( FileNotFoundError: Missing MOS weather file for CoolingPlant: C:\Users\tcharan\urbanopt_ghe\urbanopt_ghe\USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.mos