Skip to content

Commit

Permalink
Update power_grid_model_c/power_grid_model/include/power_grid_model/m…
Browse files Browse the repository at this point in the history
…ath_solver/observability.hpp

Co-authored-by: Jerry Guo <[email protected]>
Signed-off-by: Tony Xiang <[email protected]>
  • Loading branch information
TonyXiang8787 and Jerry-Jinfeng-Guo authored Dec 18, 2024
1 parent 43dc814 commit 2ba1023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ inline void necessary_observability_check(MeasuredValues<sym> const& measured_va
// count flow sensors again
Idx const n_flow_sensor_new = std::reduce(flow_sensors.cbegin(), flow_sensors.cend(), Idx{}, std::plus<Idx>{});
if (n_flow_sensor_new < n_bus - 1) {
throw NotObservableError{"The number of power sensors seems to be sufficient, but they are not independent "
throw NotObservableError{"The number of power sensors appears sufficient, but they are not independent "
"enough. The system is still not observable.\n"};
}
}
Expand Down

0 comments on commit 2ba1023

Please sign in to comment.