Distributed energy resources management system that monitors, forecasts, aggregates, optimises and automatically dispatches flexible assets (consumers, renewables, storage) and connects them to balancing, flexibility and power markets.