Control apparatus (12) for an ultrasonic phacoemulsification handpiece (14) utilizes flow rates and temperature measurements as well as power provided to a handpiece (14) for calculating an energy balance over a time interval and in response thereto, regulating power and/or fluid flow to and from the handpiece (14).