remove taken the minimum of old solar p_nom_max and solar rooftop because no overlap between the potentials
This commit is contained in:
parent
736c7166ac
commit
e1babafa35
@ -678,10 +678,7 @@ def insert_electricity_distribution_grid(network):
|
|||||||
network.generators.loc[solar, "capital_cost"] = costs.at['solar-utility',
|
network.generators.loc[solar, "capital_cost"] = costs.at['solar-utility',
|
||||||
'fixed']
|
'fixed']
|
||||||
# add max solar rooftop potential assuming 1kW/person
|
# add max solar rooftop potential assuming 1kW/person
|
||||||
potential = pd.concat([pop_layout.total.rename(index = lambda x: x + " solar"),
|
potential = pop_layout.total.rename(index = lambda x: x + " solar")
|
||||||
network.generators.loc[solar, "p_nom_max"]],
|
|
||||||
axis=1).min(axis=1)
|
|
||||||
|
|
||||||
|
|
||||||
network.madd("Generator",
|
network.madd("Generator",
|
||||||
solar,
|
solar,
|
||||||
|
Loading…
Reference in New Issue
Block a user