Testing Your Setup

Once the PSCAD and compiler software have been installed, your setup should be tested before compiling and running any of your own cases.

Testing may be performed by trying to run a simple example. If your PSCAD, FORTRAN compiler, and machine are properly set up, the case should successfully compile and run.

1. Testing your Setup

  • Ensure you have signed out and signed back in on the machine, following the installation of the FORTRAN compiler.

  • Launch PSCAD, and select the compiler as shown below.

    • For PSCAD V5:
      Selecting compiler V5.png (174 KB)

    • For PSCAD X4:


    • Troubleshooting - If the Intel compiler is not available for selection in the application, PSCAD has not been able to detect the compiler for some reason. Please see "Troubleshooting", below.

  • Test your Fortran Compiler:

    • Load the simple example, simpleac.pscx:

      - For PSCAD V5:
      PSCAD V5.0 - Select simpleac.jpg (364 KB)
      - For PSCAD X4
      PSCAD V4.6 - Select simpleac.jpg (121 KB)

    • The simpleac project will be listed in the Workspace:
      PSCAD V5.0 - SimpleacInWorkspace.jpg (150 KB)

    • Select the “Run” button:
                 PSCAD V5.0 - RunSimpleac.jpg (158 KB)         

    • If the setup is good, then the build will be successful, as demonstrated by the populated graphs and the creation of the executable file (simpleac.exe). The executable file and all other build messages may be viewed in the Build Messages pane.

            PSCAD V5.0 - SimpleacBuildSucceeded.jpg (914 KB)

    • Following a successful build, the run will be launched.

      If the run is successful, the Status code in the Runtime Messages pane will be "0", with runtime messages similar to the following:

           EMTDC run completed.
           ...
                     Input file: simpleac.map
           Simulation has ended. Status code = 0


    • Troubleshooting - If the build  fails, there is some sort of setup issue. Please see "Troubleshooting", below.

  • If you will be using C-code in your models, test your C-Compiler as follows:

    • Load one of the c projects from the following location:
      C:\Users\Public\Documents\<VERSION>\Examples x64\CInterface\

    • Try bulding the project.

    • If there are no build errors during compiling, your setup is good, and you may run your own cases using this compiler.

    • Troubleshooting - See Troubleshooting below.

2. Troubleshooting

If you experience any issues with selecting a compiler in the PSCAD application, or with building a simple project, you can try to troubleshoot this as per Step 1 of this article.

If the matter persists, please send in the following to our support desk:

  • Items listed in Steps 2.c and 2.f of this article
  • A description of the problem
  • Your PSCAD license number

Back