Model Option
fullflow.ModelOption
Deferred component option used by Model.
ModelOption stores enough information to build either one component or a group of components later. Unlike a normal Component, a ModelOption does not register itself with a Network when it is created.
Model options are useful when a solver should be able to try alternate component implementations without constructing all of them at once.
Parameters
| Name | Type | Description |
|---|---|---|
name | str | Model option name *model_options : ModelOption Grouped model options |
component_ | type, optional | Component class to construct |
kwargs | dict, optional | Keyword arguments passed to the component constructor |
components | list[ModelOption], optional | Grouped model options |