Code (python) for energy allocation for a collection of houses to a set of aggregators.