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 |
|---|---|---|
name | str | Model name |
network | Network | Network the selected option will be added to *model_options : ModelOption Model options passed positionally |
components | list[ModelOption], optional | Model options passed by keyword |
order | list[str], optional | Option names defining the try order |