Bayesian inference of parameters in power system dynamic model using trajectory sensitivities