Skip to content

Commit

Permalink
refactor: format import statement for PVSurrogate in watertap_reflo_c…
Browse files Browse the repository at this point in the history
…osting_package.py
  • Loading branch information
zacharybinger committed Nov 18, 2024
1 parent da51862 commit e61a480
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,10 @@ def _get_electricity_generation_unit(self):
"""
Get the electricity generating unit on the flowsheet, if present.
"""
from watertap_contrib.reflo.solar_models.surrogate.pv.pv_surrogate import PVSurrogate
from watertap_contrib.reflo.solar_models.surrogate.pv.pv_surrogate import (
PVSurrogate,
)

elec_gen_unit = None
for b in self.model().component_objects(pyo.Block):
if isinstance(
Expand Down

0 comments on commit e61a480

Please sign in to comment.