Real-time Pricing in electricity markets