In general, user-written software included with PSS®E, e.g. Conec, Conet, user-written dynamics models, and programs that call the Saved Case Data Extraction Routines (USRCAS), should be compiled with the version of the compiler used to create that version of the PSS®E product. We cannot provide support for problems that arise when mixing code from different compilers.
最近看到很多研究者在研究如何使用PSSE自定义功能,其实吧,本人也是小菜鸟,在使用这个功能的时候走了很多弯路,希望大家可以避免!: W4 H8 Z0 s7 U
首先,核对自己使用的是什么版本的PSSE,: a" Z$ X, t, r
其次再安装对应的编译器。具体规格如下:" m1 S0 H7 m# ?
& [/ f4 ?5 @ t4 s* `8 H+ O How PSS®E was built ) F7 v# s! h6 J% W$ EPSS®E 29 was built with the Compaq Visual Fortran (CVF) 6.6B compiler, and the Microsoft C/C++ (MSC) version 6 compiler (corresponds with Visual Studio version 6, released in 1998). Only these compilers can be used. (Note: Compaq Visual Fortran is no longer commercially available). " Q9 ]& ^: u R: j PSS®E 30 (all releases except 30.3.3 IVF) was built with the CVF 6.6B and MSC 6 Compilers. Only these compilers can be used. (Note: Compaq Visual Fortran is no longer commercially available). + S/ m9 z; P8 j: ]3 {( _PSS®E 31 was built with the Intel Visual Fortran (IVF) 9.1 compiler, and the MSC version 8 compiler (corresponds with Visual Studio 2005). Later releases of IVF can be used. MSC 9 can be used. ( p- l) S; V9 A1 FPSS®E 32 was built with the IVF 10.1 compiler and the MSC version 9 compiler (corresponds with Visual Studio 2008). Later releases of IVF can be used, as can IVF 9.1. MSC 8 can be used. % k7 f& r. v: X) }' F' j/ G PSS®E 33 was built with the IVF 12.0 compiler and the MSC version 10 compiler (corresponds with Visual Studio 2010). Only these compilers can be used. 3 B9 K% K7 U2 h. @: R7 v9 u PSS®E 30.3.3 IVF was built with the IVF 9.1 and MSC 8 compilers. Later releases of IVF can be used. MSC 9 can be used. 1 M4 n7 L7 d* `' p- \ Multiple PSS®E versions ) e( h& T; l, K* x0 Y& d+ Q5 Q
If you have multiple PSS®E versions that use different compilers, there is a program available for download called the PSS®E Environment Manager that can assist in switching between versions./ b* o3 H7 J* m& }( E7 j7 A5 z0 ^# L
6 L1 @2 _8 i, x1 c5 p
网络来源:https://www.pti-us.com/pti/software/psse/pc_compiler_issue.cfm