akkudoktoreos.core.coreabc.EnergyManagementSystemMixin

class akkudoktoreos.core.coreabc.EnergyManagementSystemMixin

Bases: object

Mixin class for managing EOS energy management system.

This class serves as a foundational component for EOS-related classes requiring access to global energy management system. It provides a ems property that dynamically retrieves the energy management system instance, ensuring up-to-date access to energy management system control.

Usage:

Subclass this base class to gain access to the ems attribute, which retrieves the global EnergyManagementSystem instance lazily to avoid import-time circular dependencies.

ems

Property to access the global EOS energy management system.

Type:

EnergyManagementSystem

Example

```python class MyOptimizationClass(EnergyManagementSystemMixin):

def analyze_myprediction(self):

ems_data = self.ems.the_ems_method() # Perform analysis

```

__init__()

Methods

__init__()

Attributes

ems

ems = EnergyManagement(start_datetime=DateTime(2025, 11, 9, 8, 0, 0, tzinfo=Timezone('Etc/UTC')), last_run_datetime=None)