Windο
- class emflow.assets.wind.WindTurbine(*, id: uuid.UUID = <factory>, name: str | None = None, timeseries: list[timedatamodel.timeseries.TimeSeries] = <factory>, geometry: shapely.geometry.base.BaseGeometry | None = None, extra: dict = <factory>, lat: dataclasses.InitVar[float | None] = None, lon: dataclasses.InitVar[float | None] = None, commissioning_date: datetime.date | None = None, members: list[energydatamodel.element.Element] = <factory>, tz: datetime.tzinfo | None = None, capacity: float | pandas.DataFrame | None = None, hub_height: float | None = None, rotor_diameter: float | None = None, turbine_model: str | None = None, power_curve: pandas.DataFrame | dict | None = None, power_coefficient_curve: pandas.DataFrame | dict | None = None)[source]ο
Bases:
NodeAsset- hub_height: float | None = Noneο
- rotor_diameter: float | None = Noneο
- turbine_model: str | None = Noneο
- property centroid: Point | Noneο
Centroid of
geometry, orNoneif no geometry.
- children() listο
Child elements for tree walking. Override in subclasses with children.
- commissioning_date: date | None = Noneο
- geometry: BaseGeometry | None = Noneο
- geometry_to_geojson(geometry)ο
- index()ο
Build a
dict[UUID, Element]index of the subtree rooted at self.Use to resolve
Referenceobjects against this tree.
- lat: InitVar[float | None] = Noneο
- property latitude: float | Noneο
Latitude, if
geometryis a shapelyPoint; elseNone.
- lon: InitVar[float | None] = Noneο
- property longitude: float | Noneο
Longitude, if
geometryis a shapelyPoint; elseNone.
- name: str | None = Noneο
- to_dataframe()ο
- to_geojson(exclude_none: bool = True)ο
- to_json(*, exclude_fields: set | None = None) dictο
Serialize to a JSON-compatible dict.
- to_properties() dictο
Domain-specific fields as a dict (excludes infra + children fields).
- to_tree() strο
Return the hierarchy rendered as an indented tree string.
Use
print(element.to_tree())to display it. In a notebook, printing the element directly (element) also renders the tree via__repr__.
- tz: datetime.tzinfo | None = Noneο
- members: list[Element]ο
- id: UUIDο
- timeseries: list[TimeSeries]ο
- extra: dictο
- class emflow.assets.wind.WindFarm(*, id: ~uuid.UUID = <factory>, name: str | None = None, timeseries: list[~timedatamodel.timeseries.TimeSeries] = <factory>, geometry: ~shapely.geometry.base.BaseGeometry | None = None, extra: dict = <factory>, lat: dataclasses.InitVar[float | None] = None, lon: dataclasses.InitVar[float | None] = None, commissioning_date: ~datetime.date | None = None, members: list[~energydatamodel.element.Element] = <factory>, tz: ~datetime.tzinfo | None = None, capacity: float | ~pandas.DataFrame | None = None, farm_efficiency: ~pandas.DataFrame | None = None)[source]ο
Bases:
NodeAssetA wind farm β an Asset that contains
WindTurbinemembers.Members are stored in the inherited
memberslist. Real wind farms can also contain met masts, transformers and substations, so children arenβt restricted toWindTurbineβ anyElementis accepted.- property centroid: Point | Noneο
Centroid of
geometry, orNoneif no geometry.
- children() listο
Child elements for tree walking. Override in subclasses with children.
- commissioning_date: date | None = Noneο
- geometry: BaseGeometry | None = Noneο
- geometry_to_geojson(geometry)ο
- index()ο
Build a
dict[UUID, Element]index of the subtree rooted at self.Use to resolve
Referenceobjects against this tree.
- lat: InitVar[float | None] = Noneο
- property latitude: float | Noneο
Latitude, if
geometryis a shapelyPoint; elseNone.
- lon: InitVar[float | None] = Noneο
- property longitude: float | Noneο
Longitude, if
geometryis a shapelyPoint; elseNone.
- name: str | None = Noneο
- to_dataframe()ο
- to_geojson(exclude_none: bool = True)ο
- to_json(*, exclude_fields: set | None = None) dictο
Serialize to a JSON-compatible dict.
- to_properties() dictο
Domain-specific fields as a dict (excludes infra + children fields).
- to_tree() strο
Return the hierarchy rendered as an indented tree string.
Use
print(element.to_tree())to display it. In a notebook, printing the element directly (element) also renders the tree via__repr__.
- tz: datetime.tzinfo | None = Noneο
- members: list[Element]ο
- id: UUIDο
- timeseries: list[TimeSeries]ο
- extra: dictο
- class emflow.assets.wind.WindPowerArea(*, id: ~uuid.UUID = <factory>, name: str | None = None, timeseries: list[~timedatamodel.timeseries.TimeSeries] = <factory>, geometry: ~shapely.geometry.base.BaseGeometry | None = None, extra: dict = <factory>, lat: dataclasses.InitVar[float | None] = None, lon: dataclasses.InitVar[float | None] = None, commissioning_date: ~datetime.date | None = None, members: list[~energydatamodel.element.Element] = <factory>, tz: ~datetime.tzinfo | None = None, capacity: float | ~pandas.DataFrame | None = None, area: float | None = None, farm_efficiency: ~pandas.DataFrame | None = None)[source]ο
Bases:
NodeAssetA wind-power-potential area (e.g. offshore zone).
The areaβs polygon lives in the inherited
geometryfield. Constituent turbines or farms (if any) live in the inheritedmemberslist.- area: float | None = Noneο
- property centroid: Point | Noneο
Centroid of
geometry, orNoneif no geometry.
- children() listο
Child elements for tree walking. Override in subclasses with children.
- commissioning_date: date | None = Noneο
- geometry: BaseGeometry | None = Noneο
- geometry_to_geojson(geometry)ο
- index()ο
Build a
dict[UUID, Element]index of the subtree rooted at self.Use to resolve
Referenceobjects against this tree.
- lat: InitVar[float | None] = Noneο
- property latitude: float | Noneο
Latitude, if
geometryis a shapelyPoint; elseNone.
- lon: InitVar[float | None] = Noneο
- property longitude: float | Noneο
Longitude, if
geometryis a shapelyPoint; elseNone.
- name: str | None = Noneο
- to_dataframe()ο
- to_geojson(exclude_none: bool = True)ο
- to_json(*, exclude_fields: set | None = None) dictο
Serialize to a JSON-compatible dict.
- to_properties() dictο
Domain-specific fields as a dict (excludes infra + children fields).
- to_tree() strο
Return the hierarchy rendered as an indented tree string.
Use
print(element.to_tree())to display it. In a notebook, printing the element directly (element) also renders the tree via__repr__.
- tz: datetime.tzinfo | None = Noneο
- members: list[Element]ο
- id: UUIDο
- timeseries: list[TimeSeries]ο
- extra: dictο