Ask Your Question
0

Compile PSSE 32

asked 2019-02-19 08:21:47 -0500

Norte gravatar image

updated 2019-02-19 18:49:28 -0500

jconto gravatar image

Traducir del inglés I am taking my first steps in the compilation of user models in PSS / E 32.

I need to check if the file code compilar.bat is correct

@ECHO OFF
FLECS32 "C: \ Users \ Juan \ Desktop \ Dynamic \ CC.flx" -L NO -F PSS001.FOR -W 132 -F77
IFORT / nologo / Od / Oy- / assume: buffered_io / traceback / libs: dll / threads / c / Qip ^
      / extend_source: 132 / noaltparam / fpscomp: logicals / warn: nodeclarations ^
      / warn: unused / warn: truncated_source / Qauto / Op / iface: cvf / define: DLLI ^
      / include: "C: \ Program Files (x86) \ PTI \ PSSE32 \ PSSLIB" ^
      /object:"CONEC.OBJ "^
      PSS001.FOR
FROM PSS001.FOR
@ECHO OFF
FLECS32 "C: \ Users \ Juan \ Desktop \ Dynamic \ CT.flx" -L NO -F PSS001.FOR -W 132 -F77
IFORT / nologo / Od / Oy- / assume: buffered_io / traceback / libs: dll / threads / c / Qip ^
      / extend_source: 132 / noaltparam / fpscomp: logicals / warn: nodeclarations ^
      / warn: unused / warn: truncated_source / Qauto / Op / iface: cvf / define: DLLI ^
      / include: "C: \ Program Files (x86) \ PTI \ PSSE32 \ PSSLIB" ^
      /object:"CONET.OBJ "^
      PSS001.FOR
FROM PSS001.FOR
@REM
IF "% 1" == "" GOTO SKIP
@REM ---------------- CUT HERE ----------------
FLECS32 "% 1" -L NO -F "% 1.F" -W 132 -F77
IFORT / nologo / Od / Oy- / assume: buffered_io / traceback / libs: dll / threads / c / Qip ^
      / extend_source: 132 / noaltparam / fpscomp: logicals / warn: nodeclarations ^
      / warn: unused / warn: truncated_source / Qauto / Op / iface: cvf / define: DLLI ^
      / include: "C: \ Program Files (x86) \ PTI \ PSSE32 \ PSSLIB" ^
      /object:"%1.OBJ "^
      "% 1.F"
@REM ---------------- CUT HERE ----------------
: SKIP
@ECHO If no errors, run "cload4" example.lib

Thank you

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2019-03-06 10:25:42 -0500

jconto gravatar image

Agree with jfconroy. A minor change if you want to run the above batch file,

change :

FROM PSS001.FOR

to:

del PSS001.FOR

or just comment it, to keep a copy of the translated fortran code, as: rem PSS001.FOR

edit flag offensive delete link more
0

answered 2019-03-06 08:09:01 -0500

jfconroy gravatar image

There should be no need to modify the contents of the "compile.bat" (or "compilar.bat") file that is automatically generated by PSS/E as part of the DRYE function. If you are getting compile errors then these errors are in the Fortran code of your user-defined model.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2019-02-19 08:21:47 -0500

Seen: 346 times

Last updated: Mar 06 '19