Error in rule simplify_network for Kenya #878
-
Hi, I tried to run pypsa-earth for Kenya many times, and it keep failed in the step of simplify_network, showing "NameError: name 'config' is not defined" and "errors in rule simply_network" . I run the the same approach for Madagascar which is fine. I am wondering: are there any issues for the data of Kenya? Does anyone has the experience or suggestion on how to solve it? The information about the errors in the terminal is as the follows:...... NameError: name 'config' is not defined ERROR:snakemake.logging:Error in rule simplify_network: RuleException:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hello @Haiping007! |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for fixing simplify_link bug. I rerun the pypsa-earth for Kenya. The step of simplify_network and cluster_network went through, but there are some errors with the step of prepare_network that showing "KeyError: 'automatic_emission'" and "Error in rule prepare_network". Do you have any suggestion on how to solve it? The information about the errors in the terminal is as the follows:INFO:snakemake.logging: ERROR:snakemake.logging:Error in rule prepare_network: RuleException: |
Beta Was this translation helpful? Give feedback.
-
Hello @Haiping007! Regarding the new issue, most likely it can be resolved by if you update you your configuration file, using |
Beta Was this translation helpful? Give feedback.
Hello @Haiping007!
Sorry to hear that you are having troubles, and thanks a lot for the detailed report.
I can reproduce this issue. That is a bug linked with some recent changes in the project. We'll fix it during the next couple of days. Thanks a lot for notifying!