Dynamic simulation API
com.powsybl.dynamicsimulation.DynamicSimulation is the main entry point to run dynamic simulation. It provides the static methods
runAsync. These methods will run the computation and only differ in the way they return the results. The
run method returns the results directly and can be used in most cases. The
runAsync returns a
CompletableFuture and can be used when a non-blocking computation is prefered. The
DynamicSimulation class doesn’t implement the computation directly, but instead relies on a
com.powsybl.dynamicsimulation.DynamicSimulationProvider to implement it. This allows to use different dynamic simulation implementations with the same code. Both the
runAsync use the globally configured dynamic simulation provider.
DynamicSimulation also has a
find method that allows to use a specific dynamic simulation provider for this computation.
Note: PowSyBl provides an implementation to run dynamic simulations with Dynawo.