First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Model writing and Create User DLL

asked Mar 3 '19

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.

2 answers

Sort by » oldest newest most voted
0

answered Mar 3 '19

marilyn3 gravatar image

updated Mar 3 '19

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

link

Comments

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

Gloria.Z gravatar imageGloria.Z (Mar 4 '19)

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 (Mar 6 '19)

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

Gloria.Z gravatar imageGloria.Z (Mar 7 '19)

@marilyn3 I have a question that how to get the initial value of the STATE(K)? for example the PI block and the G/(1+ST) block? Thank you.

Gloria.Z gravatar imageGloria.Z (Apr 22 '19)
0

answered Mar 3 '19

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.

link

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 (Mar 4 '19)

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 (Mar 6 '19)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Mar 3 '19

Seen: 1,872 times

Last updated: Mar 03 '19