Do you have an example for an EMT simulation using stochastic switching?
Refer to the detailed answer.
The attached example demonstrates the use of stochastic switching in PowerFactory, including a description on how to use it. The study case contains a DPL script "Stochastic Switching" which simulates the energization of a line with different voltage angles for the closing. This script is also available in the "Scripts" subfolder of the global "Library". A complete description of the script is available in the "Description" page of the script "Edit" dialogue. By default, several reporting spreadsheet files are automatically generated in the path "C:\Temp". If you want to change the path, adapt the string variable "path" from the Input Parameters field of the script's edit dialogue.