Merge pull request #814 from yerbol-akhmetov/no_gas_gen
No gas generators
This commit is contained in:
commit
ba928bf839
@ -467,6 +467,9 @@ def add_carrier_buses(n, carrier, nodes=None):
|
|||||||
* costs.at[carrier, "discount rate"], # preliminary value to avoid zeros
|
* costs.at[carrier, "discount rate"], # preliminary value to avoid zeros
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if carrier == "gas":
|
||||||
|
return
|
||||||
|
|
||||||
n.madd(
|
n.madd(
|
||||||
"Generator",
|
"Generator",
|
||||||
nodes,
|
nodes,
|
||||||
|
Loading…
Reference in New Issue
Block a user