Hi everyone, i am making optimization for energy management system of EV charging station. I established the mathematical model objective function (minimization of electricity cost) and constraints then i made a Python simulation. In the simulation results, i got the charging station load profile (power profile and energy profile) the energy charged in the car is discharged later on in the charging station and i got in the end 0 cars charged. Anyone can help with ideas on how i limit the energy discharged to be equal only to the initial amount of the car and not every EV charged it discharge later. Thank you.