Thanks for your reply, Paul. I have built a customized model of a Li-ion battery and have the same issue (more energy discharged than charged). I tried using the custom Li-ion option and also using LFP and simply editing some of the inputs to eliminate degradation, for example. The problem persists in both cases.
Yes, I am attaching the file here. The last two tabs are the cases that I mention where I tried to customize the Li-ion model to resemble a vanadium redox flow battery but get more energy discharged than charged.