| With the rapid development and application of new energy and distributed generation technology,the power electronization degree of modern power system is getting higher and higher,while fields related to distributed generation are under great attention and research.In the simulation study of the system including DG,electromagnetic transient detailed switch modeling is adopted for high accuracy and wider application range.However,there are also problems such as high requirements for step size and large amounts of computation,which bring great challenges to the implementation of real-time simulation.Therefore,based on the independently constructed CPU-FPGA platform,the research on the electromagnetic transient modeling and real-time simulation application of various kinds of DGs is carried out in the paper.Firstly,the algorithm flow of Electro-Magnetic Transient Program(EMTP)is optimized,and then the CPU-FPGA real-time simulation platform based on NI-PXI system is built for the algorithm implementation,which can ensure the accuracy and real-time performance of real-time simulation.Then,detailed electromagnetic transient modeling for photovoltaic,energy storage battery,wind power and research on supporting control strategies are carried out,later the effectiveness of the above models and corresponding control strategies are verified on the real-time simulation platform above.Finally,considering the real time simulation under the application scenario containing multiple DGs,the real time simulation implementation of smart nanogrid in residential home is conducted as example.Besides,the above simulation algorithm and control scheme are further improved and optimized,which are verified by later real time simulation analysis.The above research results show that the optimized EMTP algorithm flow and the CPU-FPGA real-time simulation heterogeneous platform proposed in this paper can be used for multi-DGs electromagnetic transient modeling and real-time simulation of multi-scenes application,with high reliability and effectiveness. |