Conversation
|
Hi, A warning for a mismatch between the updated pypsa-earth submodule and the version specified in pypsa-distribution/config.pypsa-earth.yaml An error (string indices must be integers, not 'str') for agg_p_nom_limits dictionary. The current problem is I cannot run the subworkflow. I was expecting after clearing those error the subworkflow should run but I could not yet. I am trying to figure out where this issue stems from. If you have any ideas for the issue I would be very happy to implement the changes that you would suggest. Thank you in advance. |
|
Hello, I have some good news and bad news for the subworkflow. I was able to run the subworkflow. Actually, why it did not start at first still unclear for me. But changing the bundles_to_download list in retrieve_databundle rule helped me to run the subworkflow and download the inital data. The last issue I have experienced was in pypsa-distribution/solve_network.py script in the line https://github.com/Emre-Yorat89/pypsa-distribution/blob/fd88dd351b0729e4d55feb4fcde5966c377ba49d/scripts/solve_network.py#L43
I would like to also mention that I was able to solve the network (networks/elec.nc) in a jupyter notebook using the new environment with n.optimize() function. I could not yet figure out why n.optimize() function is not working inside the solve_network.py script.
The last issue is about the changes I have made to the pypsa-earth submodule and pushed to my submodule_and_environment_update branch. The problem here is since I have changed some parts in the submodule I cannot no longer create local copies of this branch with the command in CMD "git clone --branch submodule_and_environment_update --recurse-submodules https://github.com/Emre-Yorat89/pypsa-distribution.git" The error I get on the terminal is "fatal: remote error: upload-pack: not our ref d1e1c0d7965b79d7ac22f5c9e1197a772efad99d So I probably need to open a new branch and inside it I again repeat the same solution steps except changing the pypsa-earth/Snakefile. After fixing the problem in solve_network.py. May be we can search for the ways to change some parts of the submodule before releasing the version. Thank you for your suggestions in advance. |
…y using n.optimize()
…/Emre-Yorat89/pypsa-distribution into submodule_and_environment_update





Closes # (if applicable).
Changes proposed in this Pull Request
Hello,
I have updated pypsa-earth submodule and also fetched changes after the Version 0.0.2 is published. I hope this is okay. If not I can do correction to this pull requests. Beside this, I am going to try to create new environment using pypsa-earth/envs/linux-64.lock.yaml.
I will let you know how the process is going on.
Thank you.
Checklist
config.default.yamlandconfig.tutorial.yaml.test/(note tests are changing the config.tutorial.yaml)doc/configtables/*.csvand line references are adjusted indoc/configuration.rstanddoc/tutorial.rst.doc/release_notes.rstis amended in the format of previous release notes, including reference to the requested PR.