Hi, Matthew -
I'm following up after reviewing the model you kindly shared with me. I do see the problem you reported. It looks like the issue ultimately stems from a corruption in the time slice data in your LEAP area. It's not clear what caused the corruption, but my best guess is that it might have occurred when you upgraded your area from an older version of LEAP.
In any event, you should be able to correct the problem by regenerating your time slices. In LEAP, go to General -> Time Slices -> Setup, and recreate the time slice configuration you want (for the model you shared, the configuration is Detailed -> 4 Seasons -> No Daily Detail -> 24 Hours).
When you do this, LEAP will automatically regenerate any yearly shapes that you loaded with hourly data. You'll have to reload values for any other yearly shapes (I found one such shape in your model for EVs).
Then try rerunning the optimization. You should find a very different solution - one that respects the carryover settings and other storage constraints.
I hope this helps! Please let me know if you have any other questions.
Thanks,
Jason