Closed dhoop-iidev closed 8 months ago
Hello @dhoop-iidev! Thanks a lot for reporting.
As a quick workaround, you may set p_threshold_merge_isolated
in your config.yaml
to false
instead of 300
.
Not sure about the reason of this issue. As a double-check: have you cleaned-up results of the previous runs before building the model for Argentina? Could you also please share your config settings?
I'll try to reproduce the issue locally in meantime.
Hello @ekatef ! Thanks for your quick answer. Here is my original config file. I'll try to set it to clean it all and rebuild it from scratch, but I don't think that's the issue. Thanks for the workaround, though I'm afraid I could face the issue during the cluster_network phase. config.txt
@dhoop-iidev thanks for the config!
Unfortunately, I can't reproduce the issue you reported. So, the usual trouble-shooting should hopefully resolve the issue.
As a suggestion, could you please remove all the output and re-run the simulation setting download_osm_data: true
? It may help to fix effects on the data mismatch which sometime happen due to mixing outputs from different runs.
Alright I'll keep you posted if I ever find the solution
Hi dhoop-iidev
Did you find the solution to the problem ?
I ask because I have the same problem.
I look forward to your comments
Thanks
Hello @Javier-Andres-Gonzalez, Not yet, I'll do a deep dive into the equations to try to understand where it goes wrong. But it's nice to see that I'm not alone, it means that there could be a more global issue. Tell me if you found some solutions on your part ! Saludos
Hello @dhoop-iidev
If I can fix the problem, I will share the solution!
I have spent a long time trying to find the problem, but still nothing.
Do you speak spanish?
Yes I live in Uruguay :) But let's continue in English so that the rest of the community can understand
Are you also trying to model Argentina or another country ?
I live in Argentina.
I'm trying to follow the tutorial: (https://pypsa-eur.readthedocs.io/en/latest/tutorial.html)
I am running this command: ( Error)
snakemake -call results/test-elec/networks/elec_s_6_ec_lcopt_Co2L-24H.nc --configfile config/test/config.electricity.yaml
Hello @Javier-Andres-Gonzalez, as discussed, the issue has been connected with different design of PyPSA-Earth and PyPSA-Europe. Since you are interested in modeling Argentina, you need pypsa-earth, which tutorial is available here https://pypsa-earth.readthedocs.io/en/latest/short_tutorial.html
Thanks for reaching out and looking forward to hearing about your progress.
Hello @dhoop-iidev!
Do you have any updates regarding the issue you faced with simplify_network
?
A short trouble-shooting list which may resolve many problems with running the modeling workflow (have added a point to our documentation wish-list on that):
1) remove all the output of the workflow (the whole network
folder and content of resouces
folder, except natura.tiff
);
2) update you local pypsa-earth
repository with git pull
;
3) update pypsa-earth environment with mamba env update --file envs/environment.yaml --prune
Thanks @ekatef, I think I've already done that in some order, but I'll run it again and let you know. If not I'll reinstall the whole thing from scratch.
Alright I delete everything and cloned pypsa earth again from scratch and this time it worked. I don't know what the error was.
Alright I delete everything and cloned pypsa earth again from scratch and this time it worked. I don't know what the error was.
@dhoop-iidev Thanks a lot for notifying! Congratulations with getting the model work 🙂
Checklist
Describe the Bug
Hello everyone, I receive an "Assertion Error" during the simplify_network operation, more precisely when merging isolated nodes. It says that _In Bus cluster bus_id, the values of attribute busid do not agree and then lists some buses.
I want to create a model for Argentina. The only changes I made from the default config.yaml is changing the country to ["AR"], creating a new cutout (ar-2013), and change the snapshot to start: "2013-01-01" and end "2013-02-01". Thanks in advance for your help !
Error Message