Update add_extra_components.py
This commit is contained in:
parent
56b6718ba6
commit
d9f9d4853a
@ -57,6 +57,7 @@ import pandas as pd
|
|||||||
import pypsa
|
import pypsa
|
||||||
from _helpers import configure_logging
|
from _helpers import configure_logging
|
||||||
from add_electricity import (
|
from add_electricity import (
|
||||||
|
add_missing_carrier,
|
||||||
_add_missing_carriers_from_costs,
|
_add_missing_carriers_from_costs,
|
||||||
add_nice_carrier_names,
|
add_nice_carrier_names,
|
||||||
load_costs,
|
load_costs,
|
||||||
@ -252,6 +253,8 @@ if __name__ == "__main__":
|
|||||||
attach_stores(n, costs, elec_config)
|
attach_stores(n, costs, elec_config)
|
||||||
attach_hydrogen_pipelines(n, costs, elec_config)
|
attach_hydrogen_pipelines(n, costs, elec_config)
|
||||||
|
|
||||||
|
add_missing_carrier(n)
|
||||||
|
|
||||||
add_nice_carrier_names(n, snakemake.config)
|
add_nice_carrier_names(n, snakemake.config)
|
||||||
|
|
||||||
n.meta = dict(snakemake.config, **dict(wildcards=dict(snakemake.wildcards)))
|
n.meta = dict(snakemake.config, **dict(wildcards=dict(snakemake.wildcards)))
|
||||||
|
Loading…
Reference in New Issue
Block a user