[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1b6e5dc0c2
commit
3549e6843d
@ -18,10 +18,10 @@ from _helpers import (
|
||||
update_config_from_wildcards,
|
||||
)
|
||||
from add_existing_baseyear import add_build_year_to_new_assets
|
||||
from prepare_sector_network import adjust_transport_temporal_agg
|
||||
from pypsa.descriptors import expand_series
|
||||
from pypsa.io import import_components_from_dataframe
|
||||
from six import iterkeys
|
||||
from prepare_sector_network import adjust_transport_temporal_agg
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -522,7 +522,7 @@ if __name__ == "__main__":
|
||||
if isinstance(segments, (int, float)):
|
||||
n = apply_time_segmentation_perfect(n, segments, solver_name=solver_name)
|
||||
adjust_transport_temporal_agg(n)
|
||||
|
||||
|
||||
# adjust global constraints lv limit if the same for all years
|
||||
n = adjust_lvlimit(n)
|
||||
# adjust global constraints CO2 limit
|
||||
|
Loading…
Reference in New Issue
Block a user