commonpower.extensions.cost_allocation

Module for cost allocation in energy communities.

Classes

BaseShapleySimulator

Base Shapley simulator class, providing internal logic.

CostAllocator

Cost allocator based directly on Shapley values of imperfect knowledge system.

NativeShapleySimulator

This simulator simulates the (possibly) imperfect knowledge system and computes Shapley values based on the realized costs.

POIKCostAllocator

Pareto optimal imperfect knowledge cost allocation, based on the paper [1].

ShapleySimulationResult

Result of a Shapley simulation, containing the realized cost, Shapley values, stand-alone costs, and additional info.

UncertaintyAwareShapleySimulator

This simulator simulates the imperfect knowledge system and computes Shapley values based on the perfect knowledge system.