/// <summary> /// A constructor for the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/> class which requires the <see cref="LinearStateEstimator.Modeling.INetworkDescribable"/> parameters, the impedance of the device, and the output measurement key for reporting the status and the internal id of the parent transmission line. /// </summary> /// <param name="internalID">An integer identifier for each <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/> which is intended to be unique among other objects of the same type.</param> /// <param name="number">A descriptive integer for the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>. There are no restrictions on uniqueness. </param> /// <param name="name">The string name of the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="description">A string description of the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="impedance">The <see cref="LinearStateEstimator.Modeling.Impedance"/> of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="parentTransmissionLineID">The <see cref="LinearStateEstimator.Modeling.INetworkDescribable.InternalID"/> of the <see cref="LinearStateEstimator.Modeling.LineSegment.ParentTransmissionLine"/>.</param> /// <param name="measurementKey">The output measurement key for returning the <see cref="LinearStateEstimator.Modeling.SeriesCompensatorStatus"/> of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> public SeriesCompensator(int internalID, int number, string name, string description, Impedance impedance, int parentTransmissionLineID, string measurementKey) : base(internalID, number, name, description, impedance) { m_outputMeasurementKey = measurementKey; m_status = SeriesCompensatorStatus.Bypassed; m_type = SeriesCompensatorType.Capacitor; this.RawImpedanceParameters.ParentElement = this; }
/// <summary> /// A constructor for the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/> class which requires the <see cref="LinearStateEstimator.Modeling.INetworkDescribable"/> parameters, the impedance of the device, and the output measurement key for reporting the status. /// </summary> /// <param name="internalID">An integer identifier for each <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/> which is intended to be unique among other objects of the same type.</param> /// <param name="number">A descriptive integer for the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>. There are no restrictions on uniqueness. </param> /// <param name="name">The string name of the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="description">A string description of the instance of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="impedance">The <see cref="LinearStateEstimator.Modeling.Impedance"/> of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> /// <param name="measurementKey">The output measurement key for returning the <see cref="LinearStateEstimator.Modeling.SeriesCompensatorStatus"/> of the <see cref="LinearStateEstimator.Modeling.SeriesCompensator"/>.</param> public SeriesCompensator(int internalID, int number, string name, string description, Impedance impedance, string measurementKey) : this(internalID, number, name, description, impedance, 0, measurementKey) { m_status = SeriesCompensatorStatus.Bypassed; }