Integration of power to gas and power to heat systems into the electricity grid by the mean of flexibility service for the aggregators