Ask Your Question
0

User Defined Model Development

asked 2017-07-24 08:57:56 -0500

rsko gravatar image

Hello,

I am attempting to build user defined models in PSSE with Fortran. Unfortunately when I look through some examples, they all have functions that I cannot find documentation on. Are there any sources on the functions available within PSSE?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-07-25 10:50:35 -0500

EBahr gravatar image

Rsko, I would suggest looking at the available Dynamic Simulation Arrays in section 13.4.2 in the Program Application Guide Volume 2 (PAGV2.pdf) for internal arrays/variables that are available to you (also 21.1.2 in the Program Operation Manual (POM.pdf)). Section 24 in the same document will give you an idea of how to model transfer functions in Fortran. The Model Writing section in the POM also has some good information, which I am guessing is what you are looking at now. Finally, most (all?) API routines are available in Fortran. If you take a look at the Application Program Interface document (API.pdf), the Fortran command syntax is listed for each individual API. (i.e. CALL BRANCH_CHNG(IBUS, JBUS, CKT, INTGAR, REALAR, IERR) )

edit flag offensive delete link more

Comments

@EBahr You said: "Finally, most (all?) API routines are available in Fortran." Do you know how to tell which functions are and are not available? I am trying to use MDLIND fortran version within a user-model, and get failure on Linking....

wassup_doc gravatar imagewassup_doc ( 2019-06-24 11:04:32 -0500 )edit
0

answered 2017-07-26 12:52:41 -0500

jconto gravatar image

Check the posting "User Defined Models".

The demo exciter model in the PSSe manual, uexc, with a full data set using the case savnw.sav is posted at my google drive site

The 'uexc_tutorial' text file provides the steps to follow to produce a UDM dll for a dynamic run.

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: 2017-07-24 08:57:56 -0500

Seen: 2,598 times

Last updated: Jul 26 '17