Skip to content

Model

fullflow.Model

Collection of alternative component implementations.

Model stores one or more ModelOption objects and builds one selected option into a Network. Only the active option is converted into real components.

Models are useful for trying alternate physical regimes, component formulations, or grouped component implementations between solve attempts.

Parameters

Name Type Description
namestr

Model name

networkNetwork

Network the selected option will be added to *model_options : ModelOption Model options passed positionally

componentslist[ModelOption], optional

Model options passed by keyword

orderlist[str], optional

Option names defining the try order