A Novel Multiagent Flexibility Aggregation Framework