diff --git a/VERSION b/VERSION index 810ee4e91..d3bdbdf1f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6 +1.7 diff --git a/docs/user_manual/calculations.md b/docs/user_manual/calculations.md index 80770dc0b..3f789b530 100644 --- a/docs/user_manual/calculations.md +++ b/docs/user_manual/calculations.md @@ -467,10 +467,6 @@ The algorithm will assume angles to be zero by default (see the details about vo #### Newton-Raphson state estimation -```warning -At the time of writing, this feature is still experimental and is not yet publicly available. -``` - Algorithm call: {py:class}`CalculationMethod.newton_raphson ` The Newton-Raphson state estimation considers the problem as a system of real, non-linear equations. diff --git a/power_grid_model_c/power_grid_model_c/src/model.cpp b/power_grid_model_c/power_grid_model_c/src/model.cpp index 16f126c9a..b264734a8 100644 --- a/power_grid_model_c/power_grid_model_c/src/model.cpp +++ b/power_grid_model_c/power_grid_model_c/src/model.cpp @@ -90,11 +90,6 @@ void PGM_calculate(PGM_Handle* handle, PGM_PowerGridModel* model, PGM_Options co } break; case PGM_state_estimation: - if (calculation_method == CalculationMethod::newton_raphson && - opt->experimental_features == PGM_experimental_features_disabled) { - // this option is experimental and should not be exposed to the user - throw MissingCaseForEnumError{"CalculationType", opt->calculation_type}; - } if (opt->symmetric != 0) { handle->batch_parameter = model->calculate_state_estimation( opt->err_tol, opt->max_iter, calculation_method, exported_output_dataset, exported_update_dataset, diff --git a/tests/data/state_estimation/1os2msr-no-angle/params.json b/tests/data/state_estimation/1os2msr-no-angle/params.json index f1098ee0b..1d7d48e33 100644 --- a/tests/data/state_estimation/1os2msr-no-angle/params.json +++ b/tests/data/state_estimation/1os2msr-no-angle/params.json @@ -1,10 +1,5 @@ { "calculation_method": ["iterative_linear", "newton_raphson"], "rtol": 1e-8, - "atol": 1e-8, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } - } + "atol": 1e-8 } \ No newline at end of file diff --git a/tests/data/state_estimation/1os2msr/params.json b/tests/data/state_estimation/1os2msr/params.json index e1f1c9498..d81ae8997 100644 --- a/tests/data/state_estimation/1os2msr/params.json +++ b/tests/data/state_estimation/1os2msr/params.json @@ -4,10 +4,5 @@ "atol": { "default": 1e-8, ".+_residual": 5e-4 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file diff --git a/tests/data/state_estimation/distribution-case/params.json b/tests/data/state_estimation/distribution-case/params.json index 6a3db639f..f6e9b381b 100644 --- a/tests/data/state_estimation/distribution-case/params.json +++ b/tests/data/state_estimation/distribution-case/params.json @@ -1,10 +1,5 @@ { "calculation_method": ["iterative_linear", "newton_raphson"], "rtol": 1e-6, - "atol": 1e-6, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } - } + "atol": 1e-6 } \ No newline at end of file diff --git a/tests/data/state_estimation/dummy-test-sym/params.json b/tests/data/state_estimation/dummy-test-sym/params.json index a52ff20fb..32b76118a 100644 --- a/tests/data/state_estimation/dummy-test-sym/params.json +++ b/tests/data/state_estimation/dummy-test-sym/params.json @@ -4,10 +4,5 @@ "atol": { "q.*": 1e-1, "default": 1e-6 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file diff --git a/tests/data/state_estimation/high-variance-measurement/params.json b/tests/data/state_estimation/high-variance-measurement/params.json index d983b73a1..2d93057ce 100644 --- a/tests/data/state_estimation/high-variance-measurement/params.json +++ b/tests/data/state_estimation/high-variance-measurement/params.json @@ -1,10 +1,5 @@ { "calculation_method": ["iterative_linear", "newton_raphson"], "rtol": 1e-5, - "atol": 1e-5, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } - } + "atol": 1e-5 } \ No newline at end of file diff --git a/tests/data/state_estimation/node-injection-sensor-and-zero-injection/params.json b/tests/data/state_estimation/node-injection-sensor-and-zero-injection/params.json index 1f1eff152..dbd591dd1 100644 --- a/tests/data/state_estimation/node-injection-sensor-and-zero-injection/params.json +++ b/tests/data/state_estimation/node-injection-sensor-and-zero-injection/params.json @@ -1,10 +1,5 @@ { "calculation_method": ["iterative_linear", "newton_raphson"], "rtol": 1e-8, - "atol": 1e-8, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } - } + "atol": 1e-8 } \ No newline at end of file diff --git a/tests/data/state_estimation/residual-test/params.json b/tests/data/state_estimation/residual-test/params.json index 7f4b8236d..22ff24a54 100644 --- a/tests/data/state_estimation/residual-test/params.json +++ b/tests/data/state_estimation/residual-test/params.json @@ -4,10 +4,5 @@ "atol": { "default": 1e-8, ".+_residual": 1e-4 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file diff --git a/tests/data/state_estimation/sensor-update-nr/params.json b/tests/data/state_estimation/sensor-update-nr/params.json index ce0ce1648..10f5b5b7f 100644 --- a/tests/data/state_estimation/sensor-update-nr/params.json +++ b/tests/data/state_estimation/sensor-update-nr/params.json @@ -4,10 +4,5 @@ "atol": { "default": 1e-8, ".+_residual": 5e-4 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file diff --git a/tests/data/state_estimation/three_winding_transformer/params.json b/tests/data/state_estimation/three_winding_transformer/params.json index 1aa57b6ee..b06a9cf94 100644 --- a/tests/data/state_estimation/three_winding_transformer/params.json +++ b/tests/data/state_estimation/three_winding_transformer/params.json @@ -1,10 +1,5 @@ { "calculation_method": ["iterative_linear", "newton_raphson"], "rtol": 1e-4, - "atol": 1e-5, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } - } + "atol": 1e-5 } \ No newline at end of file diff --git a/tests/data/state_estimation/transmission-case/params.json b/tests/data/state_estimation/transmission-case/params.json index c656bb005..8bef9b6e0 100644 --- a/tests/data/state_estimation/transmission-case/params.json +++ b/tests/data/state_estimation/transmission-case/params.json @@ -4,10 +4,5 @@ "atol": { "default": 1e-05, ".+_residual": 0.1 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file diff --git a/tests/data/state_estimation/unbalanced-power-measurements-newton-raphson/params.json b/tests/data/state_estimation/unbalanced-power-measurements-newton-raphson/params.json index e28eefbaa..f4a36d80b 100644 --- a/tests/data/state_estimation/unbalanced-power-measurements-newton-raphson/params.json +++ b/tests/data/state_estimation/unbalanced-power-measurements-newton-raphson/params.json @@ -4,10 +4,5 @@ "atol": { "default": 1e-8, ".+_residual": 1e-7 - }, - "extra_params": { - "newton_raphson": { - "experimental_features": "enabled" - } } } \ No newline at end of file