Reading PSOut With Python in PSCAD (V5.0+)

In this video, we demonstrate how to use the PSCAD Python library to read and process .psout files. This tutorial provides a step-by-step guide on converting simulation data into a CSV format, including how to navigate the file's data structure and apply specific filters to your results.

Key Topics Covered:

00:55 Installing the Library: How to use PIP to install the package and access the full API documentation.

01:48 Getting Started: Importing the library and setting up a functional entry point for your Python script.

02:19 Opening the File: Using the "with" statement to safely manage file objects and ensure proper data handling.

03:24 Accessing Data Structures: Navigating the zero-indexed run objects and understanding the tree-like call structure of PSCAD files.

07:32 Reading and Processing Values: Writing trace data and time-domain information into a comma-separated format for external analysis.

09:54 Running the Script: A final test to verify the conversion and view the output CSV file.

Please refer to the Help System for further information. 

Videos

Reading PSOut With Python in PSCAD V5

Please accept marketing-cookies to watch this video.

Back