diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index f5eecf3d..f6f41876 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -3323,7 +3323,7 @@ def remove_h2_network(n): def remove_solar_tracking(n): for tech in ["solar-hsat"]: - print("removing " + tech) + logger.info("removing " + tech) n.mremove("Generator", n.generators.index[n.generators.carrier == tech]) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index 665274b7..b0cef3ca 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -292,7 +292,7 @@ def add_solar_potential_constraints(n, config): .sum() ) - print("adding solar rooftop constraints...") + logger.info("Adding solar potential constraint.") n.model.add_constraints(lhs <= rhs, name="solar_potential")