Skip to content
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

Theoretical/Real Capacity Factor|Electricity|Solar reported as -Inf on zero installed capacity (and Inf is not a valid value in .mif files) #643

Open
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q
Copy link
Member

# solar real capacity factor (before curtailment)
tmp <- mbind(tmp,setNames(
output[r,,"SE|Electricity|Solar (EJ/yr)"] / output[r,,"Cap|Electricity|Solar (GW)"] / TWa_2_EJ * 1000 * 100,
"Theoretical Capacity Factor|Electricity|Solar (%)"))
# solar capacity factor (with curtailment considered)
tmp <- mbind(tmp,setNames(
(output[r,,"SE|Electricity|Solar (EJ/yr)"] - output[r,,"SE|Electricity|Curtailment|Solar (EJ/yr)"]) /
output[r,,"Cap|Electricity|Solar (GW)"] / TWa_2_EJ * 1000 * 100, "Real Capacity Factor|Electricity|Solar (%)"))

$ sed -n '1 p; /Inf/ p' /p/projects/ariadne/remind/output/EU27_NZ_CCS100Mt_2024-06-18_11.48.37/REMIND_generic_EU27_NZ_CCS100Mt.mif\
    | column -ts ';' | cut -c -112
Model   Scenario          Region  Variable                                       Unit  2005  2010   2015        
REMIND  EU27_NZ_CCS100Mt  ECS     Real Capacity Factor|Electricity|Solar         %     -Inf  14.62  14.9300005  
REMIND  EU27_NZ_CCS100Mt  ECS     Theoretical Capacity Factor|Electricity|Solar  %     -Inf  14.62  14.9300005 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants