Skip to content

Commit

Permalink
remove unused import and reset snakemake default
Browse files Browse the repository at this point in the history
  • Loading branch information
GbotemiB committed Jul 15, 2024
1 parent e4da4e7 commit b4c4b74
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions scripts/solve_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import pandas as pd
import pypsa
from helpers import override_component_attrs
from linopy import merge
from pypsa.optimization.abstract import optimize_transmission_expansion_iteratively
from pypsa.optimization.compat import define_constraints, get_var, linexpr
from pypsa.optimization.optimize import optimize
from vresutils.benchmark import memory_logger

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -558,14 +554,14 @@ def add_existing(n):
snakemake = mock_snakemake(
"solve_network",
simpl="",
clusters="10",
clusters="18",
ll="c1.0",
opts="Co2L",
planning_horizons="2030",
sopts="144H",
sopts="24H",
discountrate=0.071,
demand="AB",
h2export="10",
h2export="0",
)

sets_path_to_root("pypsa-earth-sec")
Expand Down

0 comments on commit b4c4b74

Please sign in to comment.