A system for learning actual phacoemulsification energy setpoints at the time of occlusion breaks during ophthalmic surgery. Phacoemulsification energy setpoints may be recorded over different periods of time, such as during current cases and over a lifetime of cases. The recorded data would then be used to determine future phacoemulsification energy setting amounts.