Active network technology, Distribution system, Distributed flexibility, Local energy market, Market flexibility, Optimal coordination