-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with build_powerplants #358
Comments
@Hazem-IEG thanks it fixed also now my new environment :) Just one note. The Just as reminder, we actually work with a fork from @davide-f (https://github.com/davide-f/powerplantmatching/tree/new_pypsa_africa). I am adding a fix there in the meantime. |
I merged the issue, but have you tested that it works with that fix? I'll work a bit on that as well Update Moving energy_source to energy_source_level1 may lead to unexpected behaviors: in my debugging, both energy_source and energy_source_level1 are available: I reverted the PR |
I've uninstalled the environment and reinstalled it. |
Hey Carlos, Graphviz just got added in the last 3 days. See environment.yaml. We also added the fix to davides fork so people don't suffer from the energy_source issue. :)
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: carlosfv92 ***@***.***>
Sent: Sunday, June 5, 2022 10:08:07 PM
To: pypsa-meets-africa/pypsa-africa ***@***.***>
Cc: PARZEN Maximilian ***@***.***>; Comment ***@***.***>
Subject: Re: [pypsa-meets-africa/pypsa-africa] Problem with build_powerplants (Issue #358)
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
Hi everyone! I just experienced this very same error while trying to run a model for Argetina, Bolivia and Peru (AR, BO, PE) from scratch. I applied the fix proposed by @Hazem-IEG<https://github.com/Hazem-IEG> and the error has dissappear 💯 !!!
I don't think I did anything different than with other cases (using other countries in Africa or running the model only for AR in south america) however this was the first time I got this specific error. Given that I erased the local repo and environment a couple of times (just to discard the problem was a "bad installation") I think you could use the steps I followed while making the model to reproduce the error (I'm working on windows) :
-I made a local clone of the pypsa-africa repo from github (02/06/22)
-created the pypsa-africa environment (had to add the graphviz library with conda which was missing)
-I copied the config.default.yaml file as a base for the config.yaml file and changed the following parameters:
*countries: ["AR","BO","PE"]
*scenario:
simpl: ['']
ll: ['copt']
clusters: [10]
opts: [Co2L-3H]
*enable:
retrieve_databundle: true
download_osm_data: true
build_natura_raster: true
build_cutout: true
-I used the command "snakemake -j 1 solve_all_networks --forceall"
—
Reply to this email directly, view it on GitHub<#358 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOYZENOPXNF37OZTVA5UCCDVNUJLPANCNFSM5XNVD2QA>.
You are receiving this because you commented.Message ID: ***@***.***>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
|
Max, I reverted the issue because that needs to be investigated better. |
P.S. having the datasources down may play a role as well... |
Ahh good to know. Would make sense. Btw. where do you see the GEO status? Can you share the link?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Davide Fioriti ***@***.***>
Sent: Sunday, June 5, 2022 11:44:31 PM
To: pypsa-meets-africa/pypsa-africa ***@***.***>
Cc: PARZEN Maximilian ***@***.***>; Comment ***@***.***>
Subject: Re: [pypsa-meets-africa/pypsa-africa] Problem with build_powerplants (Issue #358)
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
P.S. having the datasources down may play a role as well...
—
Reply to this email directly, view it on GitHub<#358 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOYZENOBAG4VRM2QSDOLMEDVNUUU7ANCNFSM5XNVD2QA>.
You are receiving this because you commented.Message ID: ***@***.***>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
|
This is the link that is crashing: https://vfs.fias.science/f/3f4cc3876f/?raw=1 |
Now the host of GEO and GPD is back on :) we go back to the normal CI |
@Hazem-IEG and @carlosfv92 I still cannot reproduce the issue unfortunately. I am unsure whether this issue is due to corrupted input files stored by powerplantmatching. To eliminate such option, I'd recommend the following procedure:
Then, please try to execute the workflow again and write here if there are news. In the last days, the sever where GEO and GPD data are stored was offline, not sure if this has led somehow to issues. |
@Hazem-IEG @carlosfv92 , is this still an issue or can we close it? |
It's done for me |
@Hazem-IEG Super! |
Works fine after I follow option 2 here:
|
Thank you hazem for confirmation. I'll close the issue then @carlosfv92 , if you still experience the same issue, I recommend to do as described. In case that doesn't solve your issue, please post again and we reopen this issue. |
Welcome back error. Hazem and @davide-f suggestions didn't help. Running on a fresh pypsa-africa installation, brand new environment and the config.test1.yaml. Installed the environment with WEIRD is that the CI works. I will check to run everything with miniconda instead of mamba
|
@pz-max the environment has always taken long to install in my case but I never measured it. BTW, we need a reproducible procedure to be able to reproduce it. have you tested the mentioned procedure from clean and/or using a different pc? |
It worked now.
I used mamba which just took 10min to install (conda install takes at least a couple of hours):
|
Deleted some responses to avoid wrong answers. Thanks @EmreYorat for reporting this confusion |
Hi everyone! after a while this problem showed up again so I thought I could share the "fix" I found:
|
Problem was that we required a new release for powerplantmatching since only the master of ppm was working for us. Davide just added now a new release. We hope this issue is gone for a while. Thanks for reporting a solution @carlosfv92. This will help anyone experience a similar issue in future |
Checklist
main
branch or the latest release. Please indicate.pypsa-africa
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
The issue appear even with a new clean repo and environment.
Error Message
If applicable, paste any terminal output to help illustrating your problem.
In some cases it may also be useful to share your list of installed packages:
conda list
.The text was updated successfully, but these errors were encountered: