We are developing an open and scalable experimental platform (SmartGridLab) for empirical investigations and testing of algorithms and concepts developed in this project. SmartGridLab integrates the hardware testbed with a software emulator so that software virtual nodes can interact with physical nodes in the testbed. Software modules that emulate an interface between the physical grid and the cloud are developed. The proposed research and education platform enables the evaluation of performance and scalability under realistic communication constraints.