From da200a12b3af28a7cfa81f607841f78efcf66eaa Mon Sep 17 00:00:00 2001 From: Roman Bolgaryn Date: Tue, 17 Dec 2024 14:18:59 -0700 Subject: [PATCH] small change --- src/newton_ac_powerflow.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/newton_ac_powerflow.jl b/src/newton_ac_powerflow.jl index e44d9aa..2d42855 100644 --- a/src/newton_ac_powerflow.jl +++ b/src/newton_ac_powerflow.jl @@ -177,8 +177,6 @@ function _newton_powerflow( tol = get(nlsolve_kwargs, :tol, DEFAULT_NR_TOL) i = 0 - pf = PolarPowerFlow(data) - # Find indices for each bus type ref = findall(x -> x == PowerSystems.ACBusTypesModule.ACBusTypes.REF, data.bus_type) pv = findall(x -> x == PowerSystems.ACBusTypesModule.ACBusTypes.PV, data.bus_type)