optiwindnet.typesยถ
Types shared across OptiWindNetโs routing and solver layers.
Module Contentsยถ
- class optiwindnet.types.Topology[source]ยถ
Bases:
enum.StrEnumArchitecture of the subtrees in a solution.
ModelOptionsandTerseLinksaccept the equivalentstrand coerce it. Past them the member itself is what travels: every producer stores it inS.graph['topology']and every consumer branches onis, which an equalstrwould silently fail.Initialize self. See help(type(self)) for accurate signature.
- class optiwindnet.types.FeederRoute[source]ยถ
Bases:
enum.StrEnumIf feeder routes must be
'straight'or can be detoured ('segmented').Initialize self. See help(type(self)) for accurate signature.