update mocksnakemake
This commit is contained in:
parent
c9ce9190a7
commit
030bf96d32
@ -83,9 +83,10 @@ if __name__ == "__main__":
|
||||
snakemake = mock_snakemake(
|
||||
'add_brownfield',
|
||||
simpl='',
|
||||
clusters=48,
|
||||
clusters="45",
|
||||
opts="",
|
||||
lv=1.0,
|
||||
sector_opts='Co2L0-168H-T-H-B-I-solar3-dist1',
|
||||
sector_opts='Co2L0-168H-T-H-B-I-A-solar3-dist1',
|
||||
planning_horizons=2030,
|
||||
)
|
||||
|
||||
|
@ -450,7 +450,7 @@ def add_heating_capacities_installed_before_baseyear(n, baseyear, grouping_years
|
||||
threshold = snakemake.config['existing_capacities']['threshold_capacity']
|
||||
n.mremove("Link", [index for index in n.links.index.to_list() if str(grouping_year) in index and n.links.p_nom[index] < threshold])
|
||||
|
||||
#%%
|
||||
|
||||
if __name__ == "__main__":
|
||||
if 'snakemake' not in globals():
|
||||
from helper import mock_snakemake
|
||||
|
Loading…
Reference in New Issue
Block a user