PowerSimulationsDynamics.jl icon indicating copy to clipboard operation
PowerSimulationsDynamics.jl copied to clipboard

Fix NetworkSwitch perturbation tutorial

Open rodrigomha opened this issue 2 years ago • 1 comments

We need to explicitly state to use using PowerNetworkMatrices when creating Ybus.

In addition, we should discuss if NetworkSwitch should ONLY use a SparseMatrix or not. From a user perspective we should allow the user to use directly a dense matrix if they want.

In any case, we need to update the tutorial of Perturbations since it is using Dense Matrices: https://nrel-sienna.github.io/PowerSimulationsDynamics.jl/stable/perturbations/

image

rodrigomha avatar Jul 10 '23 21:07 rodrigomha

I don't think this is a bug. We have always assumed that the user would pass a Bus object which is by default sparse.

jd-lara avatar Jul 11 '23 15:07 jd-lara