void function ( int arg0 ) { temperature = arg0 ; long loc0 = powerArray [ 0 ] ; for ( int loc1 = 0 ; loc1 < powerArray . length ; loc1 ++ ) { powerArray [ loc1 ] -= loc0 ; powerArray [ loc1 ] += tempArray [ TEMP_OFFSET + arg0 ] ; } }
removing average static consumption from debug data and replacing with `` real '' static consumption from debug table by temperature concode_field_sep int ACC_OFFSET concode_elem_sep double soc concode_elem_sep double CAPACITY concode_elem_sep int[][] driveFrequency concode_elem_sep int temperature concode_elem_sep long[] tempArray concode_elem_sep int ACC_MAP_SIZE concode_elem_sep long[] powerArray concode_elem_sep int TEMP_AREA concode_elem_sep int[][] staticConsumption concode_elem_sep int TEMP_OFFSET concode_elem_sep int[][] driveConsumption concode_field_sep void preparePowerMap concode_elem_sep double getRemainingEnergy concode_elem_sep void setSoc concode_elem_sep double getPowerConsumptionAtSpeed concode_elem_sep void addStaticConsumption concode_elem_sep int calculateDutyCycle concode_elem_sep long calculatePowerAtSpeed