battery sizing calculation for inverter
nearest neighbor downsampling