Open TimToernes opened 1 year ago
Agree. By the way, @TimToernes you can link directly code lines by clicking on the line - > three points icon -> copy permalink For example: https://github.com/martavp/pypsa-eur-sec-to-ipcc/blob/25df35651034c338caca764f9c5677131c4bc73c/pypsa_to_IPCC.py#L103
The link works even when code changes
I think the following line only works if we have one node per country:
Line 103 in pypsa_to_IPCC.py
var['Capacity|Electricity|Solar|PV'] =0.001*n.generators.p_nom_opt[country + ' solar'] if country + ' solar' in n.generators.index else 0