Font Size: a A A

Development Of Modeling And Simulation Platform Based On DEVS

Posted on:2021-04-29Degree:MasterType:Thesis
Country:ChinaCandidate:Z P WangFull Text:PDF
GTID:2392330626455401Subject:Electrical engineering
Abstract/Summary:PDF Full Text Request
Since entering the new century,in order to provide clean,low-carbon,efficient,high-quality and reliable energy supply,the development concept of smart grid has been put forward.With the wide application of intelligent control based on network communication and computer technology,smart grid will become a typical information physical integration system,called information physical integration power system(CPPS).In CPPS,the interdependence between the physical system and the information control system is closer,and the interaction and interaction are more complicated.Therefore,the demand for integrated modeling and simulation of the physical system and the information control system is put forward.From the point of view of simulation,CPPS is hybird-systems,which includes both physical processes with continuous system characteristics and information systems with discrete event system characteristics.The difficulty of this system simulation lies in how to solve the synchronization problem of simulation clocks between two different systems.At present,a large number of power system simulation tools and software in application focus on modeling and simulation of power system physical processes.Some of them consider the actions of relay protection or automatic devices as known events and their effects on physical processes.Most of them basically do not involve process simulation of information systems such as communication systems,decision support systems,relay protection and automatic devices,and cannot meet the needs of smart grid development.Some researches attempt to combine physical process simulation software and communication system simulation software to form a co-simulation environment to analyze smart grid problems,but due to inherent deficiencies,there are difficulties that are difficult to overcome.Discrete Event System Simulation Specification(DEVS)is a modular and hierarchical formal mechanism designed with object-oriented ideas todescribe the dynamic behavior of systems.It can be used to build simulation models of discrete event systems and continuous systems.In particular,it perfectly unifies the simulation clocks of continuous systems and discrete event systems,and provides a technical path for the integrated information physics modeling and simulation of smart grid CPPS.This paper is based on DEVS and uses Visual Studio C++ and QT as tools to develop the Block Link on DEVS simulation platform.The simulation platform is characterized by universality and expandability.Users can expand the model base at will,thus conducting simulation tests for different systems and different purposes.Developing such a simulation platform is a complex system engineering.This paper has done the most basic work for the realization of the platform,mainly including:(1)Analyze the problems that need to be solved in modeling and simulation of information physical fusion system,and convert them into business requirements.The requirements of the whole simulation platform are analyzed from the aspects of simulation engine,functional requirements and non-functional requirements.(2)Design the API class library and simulation engine of the simulation platform on the basis of requirement analysis.The API class library provides a unified abstract base class for the underlying modules and simplifies the development of the model library.In the simulation engine,an atomic model scheduling table is designed to schedule atomic model state transition.In addition,the simulation engine realizes the direct connection between atomic models through flattening algorithm.Compared with the traditional DEVS simulator,it saves the link of event transmission through coupling model and improves the efficiency of simulation operation.(3)The main functions of the simulation platform are designed and implemented on the basis of requirement analysis.Modular modeling of graphical drag and drop and connection modes is realized respectively.Tree hierarchical management of the model;Model editing,specifically including saving,loading,saving as,copying,cutting,deleting,pasting,etc.Simulationoperation control,including operation,pause,stop and step-by-step operation.The paper elaborates the design and implementation of the function through use case diagram,flow chart,timing chart and other charts,and gives some screenshots after the realization of the simulation platform function.(4)Test the function of each module in the simulation platform,build Buck circuit and inverter circuit simulation examples in the simulation platform,and compare with the simulation results in MATLAB/Simulink to verify the effectiveness of the simulation platform.
Keywords/Search Tags:DEVS, Modeling and Simulation, Simulation tools, Hybrid systems, QT framework
PDF Full Text Request
Related items