How can I resample simulation results for export?

Category:
Scripting
Answer

The simulation results are not always on a fixed time base due to interruptions happening during the simulation. The attached project contains a script which uses first the Comtrade export to get a fixed sampling and then an export to CSV, using the comtrade data. The advantage from this approach is a very short DPL script.

Usage: Import the project, run the simulations of all cases. Select all study cases in the right side of the data manager, right click, then Execute Script. Select the script "Resample_via_comtrade" and execute the script. The script will write for each study case a CSV file to the selected folder.

Back