This paper presents a proposal for a microgrid test rig for laboratory use. It aims at high flexibility using a modular approach with a common hardware for most of the tasks. The proposed framework for laboratory scale microgrid addresses the requirements for teaching and research. https://www.truvisionhealthftp.com/