-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Support current measurement in state estimation #547
Comments
@TonyXiang8787 you mention that a sym/asym |
I agree with you and will adjust the issue. Also we might want to support current phasors, and this interface can be re-used. |
Cfr. offline discussion: the above workout for the current sensor statistics is approved |
Background
Currently the state estimation supports two types of sensors:
voltage_sensor
andpower_sensor
. Their meaning is self explanatory. In distribution grids, we have also many current measurements. Supporting current magnitude measurement is difficult since we do not know the direction of active/reactive power. To decouple the current, we need the voltage as a reference, with which we can calculate power. Therefore, we only support power measurements as this moment.Current measurement with relative phase angle to the local voltage
Sometimes we have both voltage and current measurements in practice. However, certain voltage magnitude measurement has prohibitable high error margin which makes the calculated power value useless. Meanwhile, the phase angle between the voltage and current is actually accurately measured. In this case, we have current magnitude + relative phase angle measurement.
Current measurement using PMU with global phase angle
If we install PMU current measurement in the grid, we can measure the current magnitude and the global phase angle with regarding the reference angle in the HV/MV substation. In this way we measure the current phasor.
Feature request
This issue proposes to support decoupled current measurement into PGM state estimation. Concretely, the following tasks:
sym_current_sensor
andasym_current_sensor
.i_measured
andi_angle_measured
, representing the current magnitude and angle.angle_measurement_type
which is an enumeration oflocal
andglobal
.local
, this is a relative angle to the local voltage.global
, this is a PMU current phasor with the global angle to the reference angle in the HV/MV substation.power_sensor
.branch
andbranch3
Mathematics
In all variance equations below, the following approximation is used that holds for both real and complex functions, as well as complex and vector-valued functions of multiple parameters
This allows us to treat the imaginary and real components separately, and then combine the two again using$$\text{Var}(z) = \text{Var}(\Re(z)) + \text{Var}(\Im(z))$$ , which in turn also is a special case of the above equation.
Symmetric current sensors
As intermediate calculation parameters, we model the independent measurements of the magnitude and angle to a single complex measurement with (assumed to be) independent real and imaginary components. Note that this is an approximation. The variances are calculated as follows. (cfr. #861 (comment) )
Symmetric calculations
This amounts to a box that weighs the extrapolated error bars to obtain the corners.
Asymmetric calculations
Let$$p\in{a,b,c}$$ be the phase index
Global angle measurement
For global angle measurements, the following needs to be done:
Local angle measurement
For local angle measurement, no phase shift should be introduced
Asymmetric calculations on symmetric sensors with local current measurements are, therefore, component-wise the same as for symmetric calculations.
Asymmetric current sensors
The measurements are$$I_p$$ and $$\theta_p$$ for phases $$p$$ $$\text{Var}(I_p) \equiv \text{Var}(I_m)$$ and $$\text{Var}(\theta_p)\equiv \text{Var}(\theta_m)$$ , $$\forall p$$
We assume the variance for the magnitude and the angle to be the same for all phases:
Symmetric calculations
Global angle measurement
For global angle measurements, the symmetric current and phase are those of the positive sequence current.
Under the assumption mentioned above that all phases have equal angle and magnitude variance, this reduced to the following.
The outer$$\frac{1}{3}$$ gives rise to the typical $$\frac{1}{\sqrt{3}}$$ often encountered in statistics when aggregating values.
Local angle measurements
For local angle measurements, the angle was obtained asymmetrically and, therefore, the phase shift to obtain the positive sequence has already been accounted for. As a result, the measured values of the different phases can be interpreted as multiple measurements of the same value. Therefore,$$\underline{I}$$ can be interpreted as the mean value of the different measurements:
Under the assumption mentioned above that all phases have equal angle and magnitude variance, this reduced to the following.
The value and variances for symmetric calculations for asymmetric current sensors are therefore the component-wise (phase-wise) aggregation of those for asymmetric calculations (see below).
Asymmetric calculations
Under the assumption mentioned above that all phases have equal angle and magnitude variance, this reduced to the following.
The text was updated successfully, but these errors were encountered: