Calculate energy imbalance for a clearing period.
Compares the scheduled values (from submitted schedules) against the actual metering values (from MSCONS messages) for each day of the clearing period. The imbalance cost uses the reBAP price (Regelenergiebilanzausgleichspreis) received via PRICAT from the TSO.
Returns total scheduled/actual MWh, total imbalance MWh and cost EUR, and a per-day breakdown.