0% found this document useful (0 votes)
100 views3 pages

How To Run The Pscad Lightning Example Using Gfortran 4.2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views3 pages

How To Run The Pscad Lightning Example Using Gfortran 4.2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

How to Run the PSCAD Lightning Example using GFortran 4.

This document provides instructions to set up your environment to compile the Lightning Studies example that
comes bundled with the Lightning Studies Webinar using GFortran 4.2.

1. Setting up the GFortran 4.2 Software


a. Install GFortran as per this article, and ensure to log out then log back in on your machine.
b. Test your setup as per this article.
o If there are any issues with your setup, please refer to Step 1 of this article for troubleshooting
tips.
o If the matter persists, please obtain assistance from our Support Desk as per Step 2 of this article.

2. Downloading the Lightning Example Files


a. Download the Lightning Example files from this article.
b. Unzip and save the files to your machine, on a local drive.
Notes

1. Do not save the files to “D” drive.


2. Do not save the files to a network drive.

3. Loading the Lightning example into PSCAD


a. Launch PSCAD, and load “Lightning_example.pscx”:

b. The Lightning_example project will display in the Workspace:

Initial 1
How to Run the PSCAD Lightning Example using GFortran 4.2

4. Linking the Lightning example object files into PSCAD


a. Right-click on Lightning_example, and select “Project Settings”:

b. Click on the Link tab, and delete any text in the field as shown:

c. Select “Browse” in the above view, and when the Windows browser displays the downloaded
Lightning example folder, open the gf421 folder:

d. Select the Lightning.Library.lib, then select Open:

e. Close the Project Settings dialog.

Initial 2
How to Run the PSCAD Lightning Example using GFortran 4.2

5. Running the Lightning example


a. Run the case:

b. If properly set up, the simulation should run with no errors in the Build Messages pane nor in the
Runtime Messages pane.

Copyright © 2020 Manitoba Hydro International Ltd. All Rights Reserved.

Initial 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy