Problem when Compiling and generating dynamic library files
I have written model in conec.flx. Now I want to compile and get dynamic library files dsuse.dll. I put conec.flx in Root directory:PTI/ PSSE/EXAMPLE. And then I open PSS/E Command Prompt and type"compile". And the result is
Your PATH is now set to run PSS-34 programs!
C:\Program Files (x86)\PTI\PSSE34\EXAMPLE>compile
Traceback (most recent call last):
File "C:\Program Files (x86)\PTI\PSSE34\PSSBIN\cmdlusr.py", line 58, in <module>psseenvmanager.compile(major, cmpsources, modsources=modsources)
File "psseenvmanager.pyx", line 5727, in psseenvmanager.compile
File "psseenvmanager.pyx", line 5496, in psseenvmanager.compilelinkmain
File "psseenvmanager.pyx", line 3034, in psseenvmanager.initfindvscmp
File "psseenvmanager.pyx", line 1730, in psseenvmanager.getvsvrnssettings
File "psseenvmanager.pyx", line 2916, in psseenvmanager.writ_log
File "C:\Python27\lib\codecs.py", line 706, in write return self.writer.write(data)
File "C:\Python27\lib\codecs.py", line 369, in write data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 130: ordinal not in range(128)
If no errors, run "cload4"
I don't know how to deal with it.
In the latest versions of PSS/E it is recommended not to write models in CONEC or CONET. https://psspy.org/psse-help-forum/question/5077/explanation-about-conec-and-conet-subroutines/
If the Output Bar shows" Compile models not supplied by PSS/E and create user dll", does it mean that I successfully build a model and add it in .dyr and I can use this model ?
This message means that PSS/E has found a USRMDL in your DYR file and is reminding you that you need to link its DLL to PSS/E (Tools->Model Library->Load Model Library)