A study of CO2 storage integrity with rate allocation in multi-layered aquifer