In recent years consumers have started producing their own electricity using small-scale facilities, and effectively controlling their consumption, as well as actively taking advantage of electricity storage devices. This research describes a possible marketplace where the system operators could effectively buy services from end-users (using intermediary agents) in the most cost-effective way.