2 pvpanel fix

PFPanelSimulation fixed... 
Also solved some buges in BatterySimulationTest