Energy trading optimization of a virtual power plant on electricity market