Two-Stage Optimal Operation of Smart Homes Participating in Competitive Electricity Markets | IEEE Conference Publication | IEEE Xplore