Optimal bidding strategy for an aggregator of prosumers in energy and secondary reserve markets. (15th March 2019)