Coalitional games in energy and analytics markets