ai optimization perovskite solvent