UDM Compile by Environment Manager
I am quite new to PSS/E Xplore 34 and want to use User Defined Model in dynamic simulation. I have found a .flx file written for an excitation system. I want to use it.
The procedure as I learned (please correct me if I am wrong):
- .flx or .for file need to be compiled to make a .dll file
- Load Model Library from PSS/E and use it
To make the .dll file in Environment manager(EM) I have specified the file in User Model Fortran Source Files and tried Compile and dll --> There are lots of errors ...
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PBUFFR]
USE DBUFFR
error #6423: This name has already been used as an external function name. [STATE]
STATE(K+1)=CON(J+3)
...
and many more like that...
I think there is an issue with any paths. But I couldn't fix it. Please help me to correct. Another thing is that I can't open EM form PSS/E GUI Create Model Library It shows-
AttributeError: 'Button' object has no attribute 'SetBitmap'
So, I opened it running the run_envmgr_py27 batch file in Python27 internal folder.
------------- PSS(R)E 34 Environment settings
Fortran PATH paths (IVF 15.0.108):
c:\program files (x86)\intel\composer xe 2015\bin\ia32
c:\program files (x86)\intel\composer xe 2015\redist\ia32\compiler
Visual Studio PATH paths (VS 2013):
c:\program files (x86)\microsoft visual studio 12.0\vc\bin
C:\Program Files (x86)\windows kits\8.1\bin\x86
Fortran LIB paths (IVF 15.0.108):
c:\program files (x86)\intel\composer xe 2015\compiler\lib\ia32
Visual Studio LIB paths (VS 2013):
c:\program files (x86)\microsoft visual studio 12.0\vc\lib
C:\Program Files (x86)\windows kits\8.1\Lib\winv6.3\um\x86
Successfully added PSSE paths to local PATH and LIB environment.
Please help me,
- What's wrong with?
Thanks in advance.