Skip to content

Commit 95c749e

Browse files
authored
Merge pull request #1056 from PowerGridModel/docs/add-invalid-values-current-sensor
Current Sensor: Mention invalid measured values in docs
2 parents 8e54b73 + 40a91d2 commit 95c749e

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

docs/user_manual/components.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,11 @@ See the documentation on [state estimation calculation methods](calculations.md#
985985
per method on how the variances are taken into account for both the global and local angle measurement types and for the
986986
individual phases.
987987

988+
```{note}
989+
The combination of `i_measured=0` and `i_angle_measured=nπ/2` renders the current sensor invalid for PGM.
990+
See [State estimate sensor transformations](calculations.md#state-estimate-sensor-transformations).
991+
```
992+
988993
##### Steady state output
989994

990995
```{note}
@@ -1016,7 +1021,9 @@ Global angle current measurements require at least one voltage angle measurement
10161021
As a sign convention, the angle is the phase shift of the current relative to the reference angle, i.e.,
10171022

10181023
$$
1019-
\underline{I} = \text{i_measured} \cdot e^{j \text{i_angle_measured}} \text{ .}
1024+
\begin{eqnarray}
1025+
\underline{I} = \text{i}_{\text{measured}} \cdot e^{j \text{i}_{\text{angle,measured}}} \text{ .}
1026+
\end{eqnarray}
10201027
$$
10211028

10221029
```{warning}
@@ -1033,8 +1040,8 @@ As a result, the global current phasor depends on the local voltage phase offset
10331040
formula.
10341041

10351042
$$
1036-
\underline{I} = \underline{I}_{\text{local}}^{*} \frac{\underline{U}}{|\underline{U}|}
1037-
= \text{i_measured} \cdot e^{\mathrm{j} \left(\theta_{U} - \text{i_angle_measured}\right)}
1043+
\underline{I} = \underline{I}_{\text{local}}^{*} \frac{\underline{U}}{|\underline{U}|}
1044+
= \text{i}_{\text{measured}} \cdot e^{\mathrm{j} \left(\theta_{U} - \text{i}_{\text{angle,measured}}\right)}
10381045
$$
10391046

10401047
```{note}

tests/benchmark_cpp/benchmark.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ MathSolverDispatcher const& get_math_solver_dispatcher() {
2020
return math_solver_dispatcher;
2121
}
2222

23-
auto const get_benchmark_run_title(Option const& option, MainModelOptions const& model_options, Idx batch_size) {
23+
auto get_benchmark_run_title(Option const& option, MainModelOptions const& model_options) {
2424
auto const mv_ring_type = option.has_mv_ring ? "meshed grid" : "radial grid";
2525
auto const sym_type =
2626
model_options.calculation_symmetry == CalculationSymmetry::symmetric ? "symmetric" : "asymmetric";
@@ -84,7 +84,7 @@ struct PowerGridBenchmark {
8484
generator.generate_grid(option, 0);
8585
InputData const& input = generator.input_data();
8686

87-
std::cout << get_benchmark_run_title(option, model_options, batch_size) << '\n';
87+
std::cout << get_benchmark_run_title(option, model_options) << '\n';
8888

8989
auto const run = [this, &model_options, &info](Idx batch_size_) {
9090
switch (model_options.calculation_type) {

0 commit comments

Comments
 (0)