Experimental evaluation of a real time energy management system for stand-alone microgrids in day-ahead markets