Title :
A Simulated Training System of Power Based on Interaction between C# Programs and Simulink
Author :
Bu LePing ; Liu Kaipei ; Cai Lun
Author_Institution :
Sch. of Electr. Eng., Wuhan Univ., Wuhan, China
Abstract :
A new method of data interaction between C# program and Simulink model is presented for the power systematic three-dimensional simulated training system. By establishing shared memory to be medi-location of data, Simulink model read or write from share memory through program in S-function. C# program uses Win32 API function to accomplish writing programmed segment for establishing shared memory and controlling Simulink model starting. Thus, the interaction of data is realized. Experiments demonstrated this method offered a new mix program solution to take each advantage of C# Language and Matlab.
Keywords :
C language; application program interfaces; power system simulation; C# language; C# programs; Matlab; S-function; Simulink model; Win32 API function; data interaction; power systematic three-dimensional simulated training system; Data models; Mathematical model; Object oriented modeling; Power systems; Real time systems; Solid modeling; Training;
Conference_Titel :
Power and Energy Engineering Conference (APPEEC), 2011 Asia-Pacific
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-6253-7
DOI :
10.1109/APPEEC.2011.5748612