Abstract

C source codes can be embedded into custom simulation models in PSCAD. Choosing this interface technology can realize closed-loop simulation at source code level for digital relays. The paper improves both calling interface and data interface, which are two keys of interface technology. The calling interface is implemented by calling a FORTRAN function in the script of custom modules. It makes debugging C source codes much simpler. The data interface is implemented directly by the input and output ports of custom modules, which avoids the use of complex public arrays. The proposed method is especially suitable for the transition stage from principle study to device development. An actual distance relay module written in C language is taken for an instance. The test case shows that the method can be used to verify C source codes in an actual relay flexibly and simply. Developers can validate the source codes independent of a physical device, which will enhance the efficiency greatly.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.