Skip to content

Commit

Permalink
Define build_components as variable in flowsheet_two_stage
Browse files Browse the repository at this point in the history
  • Loading branch information
wigging committed Apr 5, 2023
1 parent 097b2c7 commit f4586a4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import watertap.examples.flowsheets.full_treatment_train.analysis.flowsheet_single_stage as single_stage
from watertap.examples.flowsheets.full_treatment_train.analysis.flowsheet_single_stage import (
build,
build_components as build_components_single_stage,
scale,
initialize,
report,
Expand All @@ -45,6 +46,8 @@
"RO_level": "detailed",
}

build_components = build_components_single_stage


def set_optimization_components(m, system_recovery, **kwargs):
single_stage.set_optimization_components(m, system_recovery, **kwargs)
Expand Down

0 comments on commit f4586a4

Please sign in to comment.