|
|
|
@ -1237,12 +1237,12 @@ if (sim_mode)
|
|
|
|
if (voltage[count1] < voltage_min[count1])
|
|
|
|
if (voltage[count1] < voltage_min[count1])
|
|
|
|
voltage_min[count1] = voltage[count1];
|
|
|
|
voltage_min[count1] = voltage[count1];
|
|
|
|
if (current[count1] < current_min[count1])
|
|
|
|
if (current[count1] < current_min[count1])
|
|
|
|
voltage_min[count1] = current[count1];
|
|
|
|
current_min[count1] = current[count1];
|
|
|
|
|
|
|
|
|
|
|
|
if (voltage[count1] > voltage_max[count1])
|
|
|
|
if (voltage[count1] > voltage_max[count1])
|
|
|
|
voltage_max[count1] = voltage[count1];
|
|
|
|
voltage_max[count1] = voltage[count1];
|
|
|
|
if (current[count1] > current_max[count1])
|
|
|
|
if (current[count1] > current_max[count1])
|
|
|
|
voltage_max[count1] = current[count1];
|
|
|
|
current_max[count1] = current[count1];
|
|
|
|
|
|
|
|
|
|
|
|
printf("Vmin %f Vmax %f Imin %f Imax %f \n", voltage_min[count1], voltage_max[count1], current_min[count1], current_max[count1]);
|
|
|
|
printf("Vmin %f Vmax %f Imin %f Imax %f \n", voltage_min[count1], voltage_max[count1], current_min[count1], current_max[count1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|