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???
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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???
Asked: 2024-01-21 10:14:07 -0500
Seen: 311 times
Last updated: Jan 21
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)