Skip to content

Commit 0eccbb5

Browse files
committed
add readme
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
1 parent bfeb97d commit 0eccbb5

File tree

2 files changed

+53
-0
lines changed
  • tests/data/state_estimation/current-sensor

2 files changed

+53
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!--
2+
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
3+
4+
SPDX-License-Identifier: MPL-2.0
5+
-->
6+
7+
# Power sensor from Global Current Sensor test case
8+
9+
This test case is used to validate the output values from the global current sensor. To verify the correctness of the results, the input from the global current sensor is transformed into power sensor input. At the time of writing, the power sensor component has already been validated. However, keep in mind that for state estimation using the iterative linear method, there may be small discrepancies between the results obtained from the current sensor and those from the power sensor due to the approximate nature of the calculation method.
10+
11+
## Conversion from Global Current Sensor to Power Sensor
12+
13+
To convert the input of a global current sensor to a power sensor, use the following relations:
14+
15+
$$
16+
S = I_g^* V \sqrt(3), \quad
17+
p = \Re(S), \quad
18+
q = \Im(S),
19+
$$
20+
21+
where:
22+
- \( S \) is the complex power,
23+
- \( I_g \) is the global complex current,
24+
- \( V \) is the complex voltage at the adjacent node where the sensor is located,
25+
- \( p \) and \( q \) are the measured active and reactive powers, respectively,
26+
- \( \sqrt(3) \) comes from the neutral-line change of frame of reference.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!--
2+
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
3+
4+
SPDX-License-Identifier: MPL-2.0
5+
-->
6+
7+
# Power sensor from Local Current Sensor test case
8+
9+
This test case is used to validate the output values from the local current sensor. To verify the correctness of the results, the input from the local current sensor is transformed into power sensor input. At the time of writing, the power sensor component has already been validated. However, keep in mind that for state estimation using the iterative linear method, there may be small discrepancies between the results obtained from the current sensor and those from the power sensor due to the approximate nature of the calculation method.
10+
11+
## Conversion from Local Current Sensor to Power Sensor
12+
13+
To convert the input of a local current sensor to a power sensor, use the following relations:
14+
15+
$$
16+
S = I_l e^{-i \theta} V \sqrt(3), \quad
17+
p = \Re(S), \quad
18+
q = \Im(S),
19+
$$
20+
21+
where:
22+
- \( S \) is the complex power,
23+
- \( I_l \) is the local complex current,
24+
- \( V \) is the complex voltage at the adjacent node where the sensor is located,
25+
- \( e^{-i \theta} \) is the phase shift with respect to the voltage angle of the adjacent node,
26+
- \( p \) and \( q \) are the measured active and reactive powers, respectively,
27+
- \( \sqrt(3) \) comes from the neutral-line change of frame of reference.

0 commit comments

Comments
 (0)