structfs.tests.flash_flowsheet

structfs.tests.flash_flowsheet#

Simple Flash flowsheet for use in testing.

Module Contents#

Functions#

build_model

Build the model.

set_operating_conditions

Set operating conditions.

init_model

“Initialize the model.

set_solver

Set the solver.

solve

Perform the initial model solve.

Data#

FS

API#

structfs.tests.flash_flowsheet.FS

‘FlowsheetRunner(…)’

structfs.tests.flash_flowsheet.build_model(ctx)

Build the model.

structfs.tests.flash_flowsheet.set_operating_conditions(ctx)

Set operating conditions.

structfs.tests.flash_flowsheet.init_model(ctx)

“Initialize the model.

structfs.tests.flash_flowsheet.set_solver(ctx)

Set the solver.

structfs.tests.flash_flowsheet.solve(ctx)

Perform the initial model solve.