Ask Your Question
1

I'm having difficulty compiling and generating the .dll file with PSS/E 36. Any recommendations or suggestions would be greatly appreciated.

asked 2024-03-21 03:25:06 -0500

Muhammad gravatar image

When it comes to creating a .dll file from a .FLX file in the "Env Mgr" of PSS/E 36, I'm unable to do that, whereas I've had no issues with earlier versions. Is there be any specific procedures or prerequisites to be follow prior to use the particular PSS/E 36V. Is there any doc. or special procedure for PSS/E 36? Thanks

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2024-06-07 11:01:26 -0500

perolofl gravatar image

All user defined models must be rewritten before usage in rev 36. See ReleaseNotes, Chapter 3.5.4.b-d.

The following is taken from the Manual:

*"• UDM will longer have direct access to PSS®E data structures (like bus voltage, model CON, ICON etc.) via COMON4.INS. Instead, UDM will access the PSS®E data structures through dedicated set of APIs (called pssdm API) which are documented in the PSS®E API manual. Starting PSS®E version 36, COMON4.INS will not be available for use in UDM.

• Pre-version 36 UDM must be converted to the new VINDP form. To do this, a Python based UDM converter is provided as part of the Environment Manager (EM) version 10.0 and above. Once the UDM is converted to the VINDP form, as before, the UDM code can be compiled and the dll can be created using the EM. This dll will be version independent, meaning that the dll can be used in PSS®E versions 36 and above as is without the need for recompilation of the UDM code."*

Summary;

  1. Use Environment manager to convert to VINDP form.
  2. Replace WRITE(LPDEV,...) as described in section d.
  3. Replace WRITE(IPRT, ...) with:

    WRITE(DBUF01, ...)

    call reports(getiprt(),DBUF01,numberoflinesof_dbuf01)

    Everyone needing support in this matter should contact Siemens-PTI.

See also files uexsobsolete.for and uexsvindp.for in Example directory for an example on how user defined files should be converted.

edit flag offensive delete link more
0

answered 2024-06-06 11:45:32 -0500

From PSSE 34 and 35 a lot of major changes happened in .dll and Fortran (32bit to 64bit, and many older IVF became obsolete). So, if you jumped from 34(or earlier) to 36 then that could be the issue. However, if you went from 35 to 36 then I don't know what could be the issue.

If you indeed went from 34 or earlier to 36, then you could read more about OneAPI and their updated Fortran compiler, because you would need OneAPI (as opposed to Intel Visual Fortran) to compile your Fortran codes

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

1 follower

Stats

Asked: 2024-03-21 03:25:06 -0500

Seen: 4,253 times

Last updated: Jun 07