Skip to content

Commit

Permalink
Update import to idaes_flowsheet_processor
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Dec 11, 2024
1 parent 6c89225 commit d0209e7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@
UI exports for 0D Fixed Bed TSA unit model.
"""
from datetime import datetime
from watertap.ui import fsapi as api
from pyomo.environ import ConcreteModel, SolverFactory, value, units, Var, Expression

from pyomo.environ import ConcreteModel, SolverFactory, value, units, Var, Expression

Check warning on line 19 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused value imported from pyomo.environ

Check warning on line 19 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused Var imported from pyomo.environ

Check warning on line 19 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused Expression imported from pyomo.environ
from idaes.core import FlowsheetBlock
from idaes.core.util.model_statistics import degrees_of_freedom
import idaes.core.util as iutil
from idaes.core.solvers import get_solver

Check warning on line 23 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused get_solver imported from idaes.core.solvers
from idaes.core.util.exceptions import ConfigurationError

Check warning on line 24 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

W0611 (unused-import)

Unused ConfigurationError imported from idaes.core.util.exceptions
import idaes.logger as idaes_log

from idaes_flowsheet_processor import api

Check notice on line 26 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

E0401 (import-error)

Unable to import 'idaes_flowsheet_processor'

Check notice on line 26 in idaes/models_extra/temperature_swing_adsorption/fixed_bed_tsa0d_ui.py

View workflow job for this annotation

GitHub Actions / Pylint

C0411 (wrong-import-order)

third party import "from idaes_flowsheet_processor import api" should be placed before "from idaes.core import FlowsheetBlock"

from idaes.models_extra.temperature_swing_adsorption import (
FixedBedTSA0D,
Expand Down

0 comments on commit d0209e7

Please sign in to comment.