From e0f47908c026ca90672d2149d7d7f9b65c7ccb91 Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Mon, 8 Jul 2024 12:57:33 -0700 Subject: [PATCH] add directly the LinearMatrix --- test/test_case10_staticbranches.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_case10_staticbranches.jl b/test/test_case10_staticbranches.jl index 648c17c42..b841b6a2e 100644 --- a/test/test_case10_staticbranches.jl +++ b/test/test_case10_staticbranches.jl @@ -74,15 +74,14 @@ Ybus_change = NetworkSwitch( for row in eachrow(reduced_jacobian) println(row) end - eigen_vals, R_eigen_vect = - PSID._get_eigenvalues(reduced_jacobian, sim.multimachine) + eigen_vals, R_eigen_vect = LinearAlgebra.eigen(Matrix(reduced_jacobian)) println("eigvals:") for eig in eigen_vals println(eig) end println("eigvecs") for row in eachrow(R_eigen_vect) - println(R_eigen_vect) + println(row) end end eigs = small_sig.eigenvalues