Apologies if this is the wrong way to do this, I haven’t used forums before! I can delete it/move it if requested.
I’m trying to follow the Basic Run tutorial from the EnergyScope website but I get an OSError when I try to run it. I’m not if maybe I didn’t download the right thing or if I’m missing a dataset and it can’t find it? I copied the lines from the website and used them in Powershell. I was going to share a screenshot but I can’t add an image.
>>> es_infra_ch.export_ampl(mod_filename=‘tutorial_output/AMPL_infrastructure_ch_2050.mod’,dat_filename=‘tutorial_ou\tput/AMPL_infrastructure_ch_2050.dat’)
Traceback (most recent call last):
File “”, line 1, in
es_infra_ch.export_ampl(mod_filename=‘tutorial_output/AMPL_infrastructure_ch_2050.mod’,dat_filename=‘tutorial_output/AMPL_infrastructure_ch_2050.dat’)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\moana\AppData\Local\Programs\Python\Python313\Lib\site-packages\energyscope\energyscope.py”, line 98, in export_ampl
self.es_model.export_model(mod_filename)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File “amplpy/ampl.pyx”, line 938, in amplpy.ampl.AMPL.export_model
File “amplpy/util.pxi”, line 27, in amplpy.ampl.PY_AMPL_CALL
OSError: