I hope you're doing well. I'm currently working on a small-scale laboratory prototype of a microgrid. To do this, I've used a photovoltaic emulator with a photovoltaic inverter, a network simulator that simulates the public power grid, as well as the Victron Multiplus with batteries, which is the key element of this prototype. My goal is to implement an intelligent energy management system to control the microgrid. I would like to know if it's possible to control the Victron Multiplus with an external control card to operate it either in charger mode or in inverter mode, depending on the needs of the energy management system. Thank you in advance for your answers and advice.