Ehull of layered oxides

Hello,
I am calculating the E_above_hull of a complex oxide and it works fine in the PhaseDiagram. However, I want to decompose it into multiple oxides and keep getting errors when calculating with the Compound PhaseDiagram. How can I approach it? The code is as follows