Solar microgrid controllers managing energy flow for commercial solar carports with storage and EV charging