Ask Your Question
0

Model writing and Create User DLL

asked 2019-03-03 09:22:51 -0500

Gloria.Z gravatar image

Hello, I use PSS/E 33.12 1. which Visual Stuido version and IVF version can I use to wirte a model? any download link? VS2013 and IVF 15.0 is OK? 2. How to compile the debug model through the Create User DLL and see the output of each step? 3.What's the function or effect of the MODE1/2/3/4/5/6/7/8? 4. Any example code for VSC-HVDC ? Thank you.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-03-03 16:28:41 -0500

marilyn3 gravatar image

updated 2019-03-03 16:31:17 -0500

You can find the use of modes 1 through 8 in chapter 23, Program operation manual, i believe its called model writting, and i think you should use the same IVF for pss e 33, i dont know which one is, but i believe there's information on the Siemens web site if you look about compilers for pss e, i Will later send you the link if you like

edit flag offensive delete link more

Comments

@marilyn3 Thank you dear Marilyn. How to use the Environment Manager?How to debug the model?

Gloria.Z gravatar imageGloria.Z ( 2019-03-04 09:22:16 -0500 )edit

You can send me your email Id to tamojit91@gmail.com and I will be more than glad to help with your questions

txc gravatar imagetxc ( 2019-03-05 21:32:27 -0500 )edit

@txc Thank you very much. I will send you email.

Gloria.Z gravatar imageGloria.Z ( 2019-03-07 07:47:35 -0500 )edit
0

answered 2019-03-03 17:10:09 -0500

jconto gravatar image

For PSSe v. 33, you need Intel Fortran and Visual Studio to compile your code.

Fortran PATH paths (IVF 12.1.325):
    c:\program files (x86)\intel\composer xe 2011 sp1\bin\ia32
    c:\program files (x86)\intel\composer xe 2011 sp1\redist\ia32\compiler

 Visual Studio PATH paths (VS 2010):
    c:\program files (x86)\microsoft visual studio 10.0\intel fortran\microsoft files\vc\bin
    c:\program files (x86)\microsoft visual studio 10.0\common7\ide

Once you have all tools needed, you should be able to re-create the example in the POM model writing section. Use the search box (on UDM, user written model or user defined model) to get forum knowlwedge.

edit flag offensive delete link more

Comments

@jconto Thank you. Could you tell me. How to use the Environment Manager and how to debug the model? like how to use the WRITE(LPDEV,*) I want to know every step of the STATE(k) OK? Thank you.

Gloria.Z gravatar imageGloria.Z ( 2019-03-04 09:23:12 -0500 )edit

Instead of using lpdev use the DBUF statement which writes into a buffer and format statements. So if you need to put the value of state(k), your code should be like this Write (DBUF01,107) state(k) Format statement would be 107 FORMAT(F12.4)

txc gravatar imagetxc ( 2019-03-05 21:28:52 -0500 )edit

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: 2019-03-03 09:22:51 -0500

Seen: 85 times

Last updated: Mar 03