We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f5022 commit 98712fdCopy full SHA for 98712fd
1 file changed
power_grid_model_c/power_grid_model/include/power_grid_model/math_solver/y_bus.hpp
@@ -386,6 +386,10 @@ template <symmetry_tag sym> class YBus {
386
std::views::zip(math_model_param_incrmt.shunt_param_to_change, math_model_param_incrmt.shunt_param)) {
387
math_model_param_.shunt_param[idx_to_change] = params;
388
}
389
+ for (auto const& [idx_to_change, params] :
390
+ std::views::zip(math_model_param_incrmt.source_param_to_change, math_model_param_incrmt.source_param)) {
391
+ math_model_param_.source_param[idx_to_change] = params;
392
+ }
393
394
// process and update affected entries
395
update_admittance_entries(get_affected_admittance_entries(math_model_param_incrmt));
0 commit comments