Doc
#
E149701
B-51
B: Modbus Map and Retrieving Logs
Electro
Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro
Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Sample Calibration Ia = 7329
Sample Calibration Vb = 29183
The desired result would be:
Primary RMS Va = ((4505 * 42049) / 1000000) * (1200V/120 V) = 1894.3 V
//
Convert rms values to primary values
public static double GetPrimaryValue(int adc_value, double calibration,
double ratio)
{
return ( (adc_value * calibration) / 1000000 ) * ratio;
}
double primary_rms_va = GetPrimaryValue(rms_va, calibration_va, pt_ra-
tio);
double primary_rms_ia = GetPrimaryValue(rms_ia, calibration_ia, ct_ra-
tio);
double primary_rms_vb = GetPrimaryValue(rms_vb, calibration_vb, pt_ra-
tio);
double primary_rms_ib = GetPrimaryValue(rms_ib, calibration_ib, ct_ra-
tio);
double primary_rms_vc = GetPrimaryValue(rms_vc, calibration_vc, pt_ra-
tio);
double primary_rms_ic = GetPrimaryValue(rms_ic, calibration_ic, ct_ra-
tio);
//
Convert raw sample data values to primary values
public static List<double> GetPrimaryValues(int[] adc_value, double cal-
ibration, double ratio)
{
double temp;
Summary of Contents for Shark 200
Page 1: ...V 1 24 March 15 2018 ...