/// <summary> /// The designated constructor for the <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/> class. /// </summary> /// <param name="magnitudeKey">The openPDC input measurement key for the <see cref="LinearStateEstimator.Measurements.PhasorBase.Magnitude"/> of the <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/>.</param> /// <param name="angleKey">The openPDC input measurement key for the <see cref="LinearStateEstimator.Measurements.PhasorBase.AngleInDegrees"/> of the <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/>.</param> /// <param name="type">Specifies whether the phasor measurement is a current phasor or a /// voltage phasor or complex power with the <see cref="LinearStateEstimator.Measurements.PhasorType"/> enumeration, either <see cref="LinearStateEstimator.Measurements.PhasorType.VoltagePhasor"/>, /// <see cref="LinearStateEstimator.Measurements.PhasorType.CurrentPhasor"/>, or <see cref="LinearStateEstimator.Measurements.PhasorType.ComplexPower"/>.</param> /// <param name="baseKV">The <see cref="LinearStateEstimator.Modeling.VoltageLevel"/> of the phasor measurement.</param> /// <param name="variance">The measurement variance in per unit.</param> /// <param name="rcf">The <b>Ratio Correction Factor (RCF)</b> for the measurement.</param> /// <param name="pacf">The <b>Phase Angle Correction Factor (PACF)</b> for the measurement in degrees.</param> /// <param name="calibrationSetting">The <see cref="LinearStateEstimator.Calibration.CalibrationSetting"/> type for the <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/>. Determines how the measurement is included in the calibration algorithm.</param> public PhasorMeasurement(string magnitudeKey, string angleKey, PhasorType type, VoltageLevel baseKV, double variance, double rcf, double pacf, CalibrationSetting calibrationSetting) : base(magnitudeKey, angleKey, type, baseKV) { m_measurementVariance = variance; m_rcf = rcf; m_pacf = pacf; m_calibrationSetting = calibrationSetting; }
public override ToolsSettingUnit GetSettingUnit() { if (settingUnit == null) { settingUnit = new CalibrationSetting(this); } return(settingUnit); }
private void PicBoxCalibration_Click(object sender, EventArgs e) { CalibrationSetting.Singleton().ShowDialog(); }