MPP-Tracking, Charge Algorithm, Power measurement, safety functions for the LEV-Charger's AVR