Timeseriesο
- class enflow.assets.timeseries.ElectricityDemand(location: energydatamodel.geospatial.GeoLocation | None = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- location: GeoLocation | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο
- enflow.assets.timeseries.ElectricityConsumptionο
alias of
ElectricityDemand
- class enflow.assets.timeseries.ElectricityAreaDemand(area: energydatamodel.geospatial.GeoPolygon | energydatamodel.geospatial.GeoMultiPolygon | NoneType = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- area: GeoPolygon | GeoMultiPolygon | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο
- enflow.assets.timeseries.ElectricityAreaConsumptionο
alias of
ElectricityAreaDemand
- class enflow.assets.timeseries.ElectricitySupply(location: energydatamodel.geospatial.GeoLocation | None = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- location: GeoLocation | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο
- enflow.assets.timeseries.ElectricityProductionο
alias of
ElectricitySupply
- class enflow.assets.timeseries.ElectricityAreaSupply(area: energydatamodel.geospatial.GeoPolygon | energydatamodel.geospatial.GeoMultiPolygon | NoneType = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- area: GeoPolygon | GeoMultiPolygon | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο
- enflow.assets.timeseries.ElectricityAreaProductionο
alias of
ElectricityAreaSupply
- class enflow.assets.timeseries.HeatingDemand(location: energydatamodel.geospatial.GeoLocation | None = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- location: GeoLocation | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο
- enflow.assets.timeseries.HeatingConsumptionο
alias of
HeatingDemand
- class enflow.assets.timeseries.HeatingAreaDemand(area: energydatamodel.geospatial.GeoPolygon | energydatamodel.geospatial.GeoMultiPolygon | NoneType = None, *, name: str | None = None, df: pandas.core.frame.DataFrame | None = None, column_names: str | int | Tuple[str] | Tuple[int] | NoneType = None, filename: str | None = None)[source]ο
Bases:
TimeSeries
- area: GeoPolygon | GeoMultiPolygon | None = Noneο
- column_names: str | int | Tuple[str] | Tuple[int] | None = Noneο
- filename: str | None = Noneο
- geometry_to_geojson(geometry)ο
- get_data() Series ο
Get data from
TimeSeries
as apandas.Series
.- Returns:
The time series data.
- name: str | None = Noneο
- plot(start_date: str | DatetimeIndex, end_date: str | DatetimeIndex) Axes ο
Plots a pandas Series using its built-in plot method.
- Args:
start_date: The start date for the plot. end_date: The end date for the plot.
- Returns:
The Matplotlib Axes object of the plot.
- to_dataframe()ο
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)ο
- to_json(include_none: bool = False) str ο