0

User Defined Model Development

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?

rsko's avatar
11
rsko
asked 2017-07-24 08:57:56 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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.

jconto's avatar
2.9k
jconto
answered 2017-07-26 12:52:41 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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) )

EBahr's avatar
420
EBahr
answered 2017-07-25 10:50:35 -0500
edit flag offensive 0 remove flag delete link

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's avatar wassup_doc (2019-06-24 11:04:32 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer