akkudoktoreos.devices.inverter.Inverter
- class akkudoktoreos.devices.inverter.Inverter(parameters: InverterParameters | None = None)
Bases:
DeviceBase- __init__(parameters: InverterParameters | None = None)
Methods
__init__([parameters])process_energy(generation, consumption, hour)setup(parameters)Attributes
Convenience method/ attribute to retrieve the EOS configuration data.
Convenience method/ attribute to retrieve the EOS devices simulation data.
Convenience method/ attribute to retrieve the EOS energy management system.
Compute the end datetime based on the start_datetime and hours.
Convenience method/ attribute to retrieve the EOS prediction data.
Compute the hours from start_datetime to end_datetime.
- __init__(parameters: InverterParameters | None = None)
- process_energy(generation: float, consumption: float, hour: int) tuple[float, float, float, float]
- property config: Any
Convenience method/ attribute to retrieve the EOS configuration data.
- Returns:
The configuration.
- Return type:
- property devices: Any
Convenience method/ attribute to retrieve the EOS devices simulation data.
- Returns:
The devices simulation.
- Return type:
- property ems: Any
Convenience method/ attribute to retrieve the EOS energy management system.
- Returns:
The energy management system.
- Return type:
EnergyManagementSystem
- property end_datetime: DateTime | None
Compute the end datetime based on the start_datetime and hours.
Ajusts the calculated end time if DST transitions occur within the prediction window.
- Returns:
The calculated end datetime, or None if inputs are missing.
- Return type:
Optional[DateTime]
- post_setup() None
- property prediction: Any
Convenience method/ attribute to retrieve the EOS prediction data.
- Returns:
The prediction.
- Return type:
- setup(parameters: DeviceParameters) None
- property total_hours: int | None
Compute the hours from start_datetime to end_datetime.
- Returns:
The duration hours, or None if either datetime is unavailable.
- Return type:
Optional[pendulum.period]