Skip to content

Commit

Permalink
add directly the LinearMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Jul 8, 2024
1 parent cd493ee commit e0f4790
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_case10_staticbranches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0f4790

Please sign in to comment.