Solarο
- class emflow.assets.solar.FixedMount(surface_tilt: float = 0.0, surface_azimuth: float = 0.0)[source]ο
Bases:
object- surface_tilt: float = 0.0ο
- surface_azimuth: float = 0.0ο
- class emflow.assets.solar.SingleAxisTrackerMount(axis_tilt: float = 0.0, axis_azimuth: float = 0.0, max_angle: float | tuple = 90.0, backtrack: bool = True, gcr: float = 0.2857142857142857, cross_axis_tilt: float = 0.0, racking_model: str | None = None, module_height: float | None = None)[source]ο
Bases:
object- axis_tilt: float = 0.0ο
- axis_azimuth: float = 0.0ο
- max_angle: float | tuple = 90.0ο
- backtrack: bool = Trueο
- gcr: float = 0.2857142857142857ο
- cross_axis_tilt: float = 0.0ο
- racking_model: str | None = Noneο
- module_height: float | None = Noneο
- class emflow.assets.solar.PVArray(*, 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 | None = None, surface_azimuth: float | None = None, surface_tilt: float | None = None, surface_area: float | None = None, efficiency: float | None = None, module: str | None = None, module_type: str = 'glass_polymer', module_parameters: dict | pandas.Series | None = None, temperature_model_parameters: dict | pandas.Series | None = None)[source]ο
Bases:
NodeAsset- capacity: float | None = Noneο
- surface_azimuth: float | None = Noneο
- surface_tilt: float | None = Noneο
- surface_area: float | None = Noneο
- efficiency: float | None = Noneο
- module: str | None = Noneο
- module_type: str = 'glass_polymer'ο
- 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.solar.PVSystem(*, 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 | None = None, surface_azimuth: float | None = None, surface_tilt: float | None = None, albedo: float | None = None, surface_type: str | None = None, module_parameters: dict | None = None, inverter_parameters: dict | None = None, module_type: str = 'glass_polymer', racking_model: str = 'open_rack')[source]ο
Bases:
NodeAssetA PV system β an Asset that contains
PVArraymembers.Stored in the inherited
memberslist. Attach arrays explicitly withpv_system.members.append(PVArray(...))or viaadd_child(...)β no auto-creation.- capacity: float | None = Noneο
- surface_azimuth: float | None = Noneο
- surface_tilt: float | None = Noneο
- albedo: float | None = Noneο
- surface_type: str | None = Noneο
- module_parameters: dict | None = Noneο
- inverter_parameters: dict | None = Noneο
- module_type: str = 'glass_polymer'ο
- racking_model: str = 'open_rack'ο
- 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.solar.SolarPowerArea(*, 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)[source]ο
Bases:
NodeAssetA solar-power-potential area.
The areaβs polygon lives in the inherited
geometryfield.- property geojsonο
- 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_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ο