Run IEEE 118 example file
Opened this issue · 4 comments
Hallo,
i´m trying to run the example file of the IEEE 118 bus system on my computer. I followed your installation guide and installed pomato into an virtual environment. After that, i copied the examples folder into the same working directory and changed the Path within the "run_pomato_ieee.py" file. Unfortunately, the script seems to run eternal.
These are the last lines in my Python Shell:
INFO - [15] run_market_model(data_dir::String, result_dir::String, input_optimizer::Module; return_result::Bool, redispatch::Bool)
INFO - @ MarketModel C:\Users\Rupf.julia\packages\MarketModel\mbwAL\src\main.jl:44
INFO - [16] run_market_model(redisp_arg::Bool)
INFO - @ Main C:\Users\Rupf\Documents\Studium\Project_FBMC\pomato\lib\site-packages\pomato\julia_daemon.jl:76
INFO - [17] top-level scope
INFO - @ C:\Users\Rupf\Documents\Studium\Project_FBMC\pomato\lib\site-packages\pomato\julia_daemon.jl:167
INFO - in expression starting at C:\Users\Rupf\Documents\Studium\Project_FBMC\pomato\lib\site-packages\pomato\julia_daemon.jl:139
/Waiting for processing to complete/
Since I´m not experienced at all with programming in Python and Julia, i was hoping that you could help me with this issue. I think, I installed Julia properly on my system and I´m running the script in PyCharm.
Thank you for your help!
Best regards, Paul
Hi Paul, thank you for your interest in pomato. I can recreate your problem and it stems from JuMP code that was incompadible after JuMP version 21.5, i have changed the installation process to explicitly use a compadible version and you should be able to solve this error by re-installting pomato.
Since the error occured in the julia part of pomato, the model does not conclude. This is something that is on my list to include and i understand that it is quite confusing.
Let me know if you are able to complete the examples, im super happy to help and your input is extremely valuable to me.
Best
Richard
Hi Richard,
thank you for the quick response. Your changes to the installation process worked perfectly. Now I can run the model on my computer. I really admire your work with the tool in general, it is very helpful. Next step is to understand how it runs 😄
Again, thanks a lot!
Paul
Thats great to hear. Let me know if you have any question. The version on the construction branch will become the next release soon, then hopefully with a comprehensive example on FBMC.
Hallo,
i´m trying to run the example file of the IEEE 118 bus system and DE system on my computer.i have the same problem and hope to get your help.my python version is 3.7.9 and julia version is 1.6.7,they are correctly installed on my computer.
These are the last lines in my Pycharm Shell:
INFO - ERROR: LoadError: ArgumentError: Package JSON not found in current path:
INFO - - Run import Pkg; Pkg.add("JSON")
to install the JSON package.
INFO -
INFO - Stacktrace:
INFO - [1] require(into::Module, mod::Symbol)
INFO - @ Base .\loading.jl:893
INFO - in expression starting at C:\Users\Mika\PycharmProjects\pythonProject\pomato\julia_daemon.jl:1
Thank you for your help!