PV loop simulator closed-loop time-varying elastance model