Local electricity market involving end-user distributed storage system