Heatpump
- class enflow.assets.heatpump.HeatPump(capacity: float, cop: float, energy_source: str, *, name: str | None = None, location: GeoLocation | None = None, latitude: float | None = None, longitude: float | None = None, altitude: float | None = None, tz: timezone | None = None, timeseries: TimeSeries | None = None)[source]
Bases:
EnergyAsset
Represents a heat pump in an energy system.
- capacity: float
The heating or cooling capacity of the heat pump in kilowatts (kW).
- cop: float
Coefficient of Performance - the ratio of heating or cooling provided to electrical energy consumed.
- energy_source: str
The primary energy source used, e.g., ‘electricity’, ‘geothermal’.
- altitude: t.Optional[float] = None
- geometry_to_geojson(geometry)
- get_location()
- latitude: t.Optional[float] = None
- location: t.Optional[Location] = None
- longitude: t.Optional[float] = None
- name: t.Optional[str] = None
- plot_timeseries(start_date: str | DatetimeIndex | None = None, end_date: str | DatetimeIndex | None = None) 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.
- timeseries: t.Optional[TimeSeries] = None
- to_dataframe()
Convert data class to a pandas DataFrame.
- to_geojson(exclude_none=True)
- to_json(include_none: bool = False) str
- tz: t.Optional[pytz.timezone] = None