Co-Design Method for Energy Management Systems in Vehicle–Grid-Integrated Microgrids From HIL Simulation to Embedded Deployment | Synapse