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.nacrack.com/great-pick-Refurbished-Sawgrass-Virtuoso-SG500-Complete-Sublijet-Sublimation-Printer-Kit-flash-buy/