Simulation Realization of Lv Svg Control Algorithm Based on Emtdc and C Language Mixed Programming
Yujie Pei,Jinglong Mu,Lei Zhang,Xianfeng Li,Min Jin,Shuhan Wang,Jiayong Chen
DOI: https://doi.org/10.4028/www.scientific.net/amm.651-653.1093
2014-01-01
Applied Mechanics and Materials
Abstract:EMTDC is grid simulation analysis software that is capable of modeling for complex electrical and electronic devices, controllers and non-linear network. PSCAD is a user graphical interface of EMTDC. In PSCAD environment, functional modules can be taken from the element library conveniently to set up a complete set of LV SVG control system for simulation study of operation performances under various work conditions. However, the control program of LV SVG in actual application is written in C language, which has great differences from some functional modules in PSCAD simulation module in terms of data processing approach and calculation precision, so there is a huge gap from the simulation result and the actual result.In this paper, Fortran language is used to write interface function. Control program written in C language is embedded into the simulation module set up by EMTDC. An experiment shows that the simulation model built by EMTDC and C language mixed programming has higher precision than ordinary simulation module, and can be transplanted among LV SVG controllers, so it's more practical.