replace print with logger.info
This commit is contained in:
parent
a9be2825ec
commit
541e267a83
@ -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])
|
||||
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user