akkudoktoreos.core.coreabc

Abstract and base classes for EOS core.

This module provides foundational classes and functions to access global EOS resources.

Functions

get_adapter([init])

Retrieve the singleton EOS Adapter instance.

get_config([init])

Retrieve the singleton EOS configuration instance.

get_database([init])

Retrieve the singleton EOS database instance.

get_ems([init])

Retrieve the singleton EOS Energy Management System (EMS) instance.

get_measurement([init])

Retrieve the singleton EOS Measurement instance.

get_prediction([init])

Retrieve the singleton EOS Prediction instance.

get_resource_registry([init])

Retrieve the singleton EOS Resource Registry instance.

singletons_init()

Initialize the singletons for adapter, config, measurement, prediction, database, resource registry.

Classes

AdapterMixin()

Mixin class for managing EOS adapter.

ConfigMixin()

Mixin class for managing EOS configuration data.

DatabaseMixin()

Mixin class for managing EOS database access.

EnergyManagementSystemMixin()

Mixin class for managing EOS energy management system.

MeasurementMixin()

Mixin class for managing EOS measurement data.

PredictionMixin()

Mixin class for managing EOS prediction data.

SingletonMixin(*args, **kwargs)

A thread-safe singleton mixin class.

StartMixin()

A mixin to manage the start datetime for energy management.