How to write a Fortran-wrapper for C-code and attached it to the PSSE model?

I have a control code in C language. How can I write a wrapper for this c code, build the DLL, and attach it to the PSSE model? Any example please???

CPReddy's avatar
1
CPReddy
asked 2024-01-21 10:14:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

It's not a perfect example, but if you have access to PSCAD, there's a DLL_Interface example in the Examples folder that might be a good starting point. (ref PSCAD 5.0)

Alex P's avatar Alex P (2024-01-23 15:08:41 -0500) edit
add a comment see more comments