WO2022110435A1 - Method, system and device for constructing power service simulation environment, and storage medium - Google Patents

Method, system and device for constructing power service simulation environment, and storage medium Download PDF

Info

Publication number
WO2022110435A1
WO2022110435A1 PCT/CN2020/139141 CN2020139141W WO2022110435A1 WO 2022110435 A1 WO2022110435 A1 WO 2022110435A1 CN 2020139141 W CN2020139141 W CN 2020139141W WO 2022110435 A1 WO2022110435 A1 WO 2022110435A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
model
simulation
language model
image
Prior art date
Application number
PCT/CN2020/139141
Other languages
French (fr)
Chinese (zh)
Inventor
朱朝阳
周亮
朱亚运
缪思薇
张晓娟
韩丽芳
应欢
王海翔
Original Assignee
中国电力科学研究院有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国电力科学研究院有限公司 filed Critical 中国电力科学研究院有限公司
Publication of WO2022110435A1 publication Critical patent/WO2022110435A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Definitions

  • the present application relates to the field of electric power simulation environment construction, for example, to a method, system, device and storage medium for electric power service simulation environment construction.
  • the degree of automation of the power grid has been greatly improved. With the large-scale development of renewable energy, the entire power system is also developing in the direction of automation and intelligence. At the same time, the scale of the power grid is increasing, the voltage level is gradually increasing, the functions of the power system are becoming more complex and diverse, and the types and functions of intelligent electronic devices are also increasing. , reliability and stability have a certain impact, so simulation analysis has become the main means of power grid research.
  • the modeling process is very complicated because each simulation device needs to be configured and controlled individually.
  • the intelligence of the power grid depends on the intelligence of intelligent electronic devices, which not only have many types and complex functions, but also have more and more diverse access methods and control forms, which makes intelligent electronic devices (IEDs).
  • IEDs intelligent electronic devices
  • the difficulty of configuration and access is increased. Therefore, software-defined related technologies are introduced into the power grid, and corresponding improvements are made on this basis to achieve centralized control of simulated equipment.
  • the northbound interface contains a large number of interpretation fields, which will reduce the transmission efficiency, and it is difficult to provide effective high-level encapsulation for the asset layer resources of the power system equipment. Therefore, related problems such as high degree of manual operation, difficult automatic configuration, and low operation efficiency are caused.
  • related technologies are mainly oriented to power system simulation, and the simulation of information communication and power industrial control systems is insufficient, and cannot completely and accurately reflect the operation process of the whole environment of power network simulation verification.
  • the present application provides a method, system, equipment and storage medium for constructing a power service simulation environment, with reasonable design and high operation efficiency, and the actual power equipment components and communication equipment components can be flexibly invoked, spliced and automatically configured, and the simulation environment of different power service scenarios can be constructed. flexible.
  • a method for constructing a power service simulation environment including:
  • the image model corresponding to the requirements is called from the image model library to establish a simulation image model instance of the power service;
  • mapping relationship between the image model and the language model corresponding to the image model in the simulation image model instance, call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
  • the software and hardware of the power bottom layer device are configured to construct the power service simulation environment.
  • the language model library is obtained in the following manner:
  • a communication capability model library and a power equipment model library are established according to the classification results, and the communication capability model library and the power equipment model library are combined into the language model library.
  • the language model library is a set of communication capability models and power equipment models represented by a modeling language.
  • an abstract component model under constraints including:
  • the system configuration file is parsed to generate the abstract component model.
  • the image model library is obtained in the following manner:
  • the mapping relationship between the language model and the predefined image model of the power underlying equipment is established to form the image model library.
  • a power service simulation environment construction system including:
  • the application definition layer is set to call the image model corresponding to the demand from the image model library to establish a simulation image model instance of the power service according to the requirements of the power service simulation environment;
  • the northbound interface is configured to, according to the mapping relationship between the image model and the language model, correspond to the image model in the simulation image model instance, and call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
  • the operation control layer is configured to convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the abstraction through functional analysis The software and hardware of the power underlying equipment corresponding to the component model;
  • the power bottom layer device layer is configured to configure the software and hardware of the power bottom layer device according to the requirements of the power business simulation environment to construct the power business simulation environment.
  • the application definition layer is further configured to establish a mapping relationship between the language model and the predefined image model of the underlying power equipment based on model driving to form the image model library.
  • the operation control layer is further configured to discover the power bottom layer equipment and classify it according to the communication equipment and the power equipment;
  • the operation control layer is set to generate an abstract component model under constraints according to the system configuration file in the following manner: parse the system configuration file according to the device information of the discovered device and the predefined constraints, and generate the Abstract component model.
  • the northbound interface is further configured to establish a communication capability model library and a power equipment model library according to the classification result, and combine the communication capability model library and the power equipment model library into the language model library.
  • the power bottom layer device layer is further configured to automatically discover the communication device and the power device through a communication protocol plug-in, and upload the description file of the device to the operation control layer.
  • a power service simulation environment construction device including:
  • memory arranged to store computer programs
  • the processor is configured to implement the method for constructing a power service simulation environment according to any one of the above when executing the computer program.
  • a computer storage medium is also provided, where a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the method for constructing a power service simulation environment according to any one of the above is implemented.
  • FIG. 1 is a framework diagram of a software-defined power grid simulation provided by an embodiment of the present application.
  • FIG. 2 is a structural principle block diagram of an automatic networking orchestration system provided by an embodiment of the present application
  • FIG. 3 is a structural principle block diagram of a simulation controller provided by an embodiment of the present application.
  • FIG. 5 is a structural principle block diagram of an automatic modeling process provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural block diagram of a model-driven northbound interface and application layer interaction provided by an embodiment of the present application
  • FIG. 7 is a flowchart of a method for constructing a power service simulation environment provided by an embodiment of the present application.
  • FIG. 8 is a structural diagram of a power service simulation environment construction system provided by an embodiment of the present application.
  • FIG. 9 is a structural diagram of a device for constructing a power service simulation environment provided by an embodiment of the present application.
  • This application decomposes the entire simulation framework for power services into an application definition layer and an operation control layer by means of a software-defined method through a method for constructing a power service simulation environment based on a software-defined grid framework, aiming at the characteristics of tight coupling between power equipment and power systems.
  • the verification work of the security protection system supports the training of the technical personnel of the network security supplier, and conducts the external evaluation of the network security protection scheme.
  • the present application provides a method for rapidly constructing a power simulation environment.
  • the method includes a software-defined power grid simulation framework and an actual modeling process under the framework.
  • the software-defined power grid simulation framework proposed in the present application combines software The idea of the definition is applied to the rapid construction of the simulation environment of power business, so as to achieve the purpose of rapid construction of the simulation environment of the power business scene.
  • the simulation framework structure and modeling steps are as follows.
  • the software-defined grid simulation framework includes:
  • the application definition layer includes a variety of application models for grid functions and business services customized and constructed by users, including the power business simulation model for providing power business image model instances and the image simulation model library for providing image model libraries. .
  • the main body of the operation control layer is composed of a networking orchestration system.
  • the networking orchestration system is the core and center of the entire software-defined power grid. It collects the device status data in the power grid, decomposes the upper-layer customized applications, and distributes control instructions to the physical device layer. equipment.
  • the network orchestration system includes two parts: abstract component model and simulation controller.
  • the abstract component model is a model that can be understood by the simulation controller, which is transformed by the networking orchestration system.
  • the northbound interface extracts network functional components, power equipment components and component connection models (used to represent the connection relationship between equipment components) in the power business image model, and generates power by calling the mapping relationship between the image model library and the language model library.
  • Business language model (a model constructed by a programming language for the power business image model).
  • the operation control layer generates the corresponding system configuration file according to the power business language model (the expression of the power business language model in the operation control layer).
  • the system configuration file is parsed according to the predefined constraints, and the device information generated by the device self-discovery technology is invoked to generate an abstract component model that the simulation controller can understand.
  • the simulation controller is responsible for the interaction with the power equipment, completes the automatic discovery, automatic configuration, action control, security control and other functions of the primary equipment of the power grid and the secondary equipment of the power grid, and at the same time realizes the configuration of the communication equipment and the optimization of the communication network.
  • the simulation controller is a centralized router for logical power and information transmission and processing.
  • the simulation controller adopts a variety of controller integration methods to achieve precise control of different objects in the simulation model; the decomposition and mapping of components are realized at the interface, and the integration of various functions is carried out through the controller at the control layer.
  • the service sub-layer includes software-defined network (Software Defined Network, SDN) controllers to realize service control, implement device discovery and resource control and other kernel operations in the kernel sub-layer; the system is supported through the driver layer.
  • SDN Software Defined Network
  • the power bottom device layer is also the power virtual/real device layer in the system, including power devices and communication devices.
  • Power equipment includes primary power equipment and secondary power equipment (such as protection equipment and automation equipment) with intelligent capabilities in the power grid, and communication equipment includes network switches. Both types of devices are at the heart of software-defined grids.
  • the model-driven northbound interface technology proposed in this application is used to realize fast mapping between the image model of the power application layer and the language model in the northbound interface.
  • the southbound interface is mainly set to realize automatic discovery and automatic configuration of power equipment and communication equipment, and the southbound interface is realized by the general protocol plug-in. Universal Plug and Play, UPnP) protocol plug-ins, and OpenFlow protocol plug-ins from the power bottom device layer to the operation control layer.
  • Universal Plug and Play, UPnP Universal Plug and Play, UPnP
  • OpenFlow protocol plug-ins from the power bottom device layer to the operation control layer.
  • the simulation controller classifies the discovered devices according to communication devices and power devices, and uploads the classified devices to the northbound interface.
  • a communication capability model library and a power equipment model library are established, and the two model libraries are combined into a language model library (a multi-type equipment model represented by a modeling language). collection).
  • the image model of the related device is predefined, and after the language model library is established on the northbound interface, as shown in Figure 6, the mapping relationship between the image model and the language model is established based on the model-driven idea, and the corresponding Image model library.
  • the user invokes the corresponding image model from the image model library according to the corresponding power service to establish a simulation image model instance of the power service.
  • the simulation image model of the power service is parsed in the northbound interface, and according to the previously established mapping relationship between the image model and the language model, the language model in the language model library is called, and the image model instance is called The language model instance is generated based on the connection relationship in .
  • semantic conversion is performed on the language model instance, the language model is converted into a system configuration file, and the networking orchestration system generates an abstract component model according to the system configuration file.
  • the simulation controller uniformly receives all the component models, calls different sub-controllers to perform functional analysis on the corresponding component models, determines the software and hardware devices of the power bottom layer device layer corresponding to different models, and then analyzes the power bottom layer device layer according to the requirements.
  • the corresponding equipment is automatically configured to realize the physical modeling of the power business model defined by the application definition layer.
  • the rapid construction process of the simulation environment proposed in this application realizes the rapid construction of a power business simulation environment based on the image simulation model constructed by the application definition layer on the basis of automatic discovery and automatic configuration of the underlying equipment.
  • the operation control layer is generally composed of a networking orchestration system.
  • the networking orchestration system is the core and backbone of the entire software-defined power grid. It collects power grid status data, decomposes upper-layer customized applications, and distributes control instructions to devices at the physical device layer.
  • the network orchestration system includes two parts: abstract component model and simulation controller.
  • the automatic networking orchestration system proposed in this application and the simulation controller it includes are at the core of the software-defined power grid simulation framework.
  • the simulation controller is used to perform device discovery and extraction of device description files for the underlying device; on the other hand, the image model instance of the simulation model constructed by the application definition layer is mapped to the northbound interface to generate the corresponding language model instance; simulation control The compiler parses the generated language model instance, obtains the requirements of the application definition layer, and generates instance configuration files of related devices according to the requirements, and configures the corresponding devices.
  • FIG. 7 is a flowchart of a method for constructing a power service simulation environment provided by an embodiment of the present application. As shown in Figure 7, the method includes:
  • FIG. 8 is a structural diagram of a system for constructing a power service simulation environment provided by an embodiment of the present application. As shown in Figure 8, the system includes:
  • the application definition layer 10 is set to call the corresponding image model from the image model library to establish a simulation image model instance of the power service according to the requirements of the power service simulation environment.
  • the northbound interface 20 is set to correspond to the image model in the simulated image model instance according to the mapping relationship between the image model and the language model, and call the corresponding language model in the language model library to generate the simulated language model instance.
  • the operation control layer 30 is configured to convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the power corresponding to the abstract component model through functional analysis The hardware and software of the underlying device.
  • the power bottom layer device layer 40 is configured to configure the software and hardware of the corresponding power bottom layer equipment according to the requirements of the power business simulation environment to construct the power business simulation environment.
  • this application proposes a method for constructing a power service simulation environment.
  • the overall simulation framework oriented to power services is designed in layers.
  • the automatic configuration of power business scenarios realizes flexible invocation, splicing and automatic configuration of actual power equipment components and communication equipment components, and achieves the purpose of flexible construction of simulation environments for different power business scenarios.
  • This application improves the test and verification capabilities of network security technologies and tools. Compared with related technologies, it is more advanced in terms of interactivity and convenience. Relying on this application, a panoramic environment for power network security simulation and verification can be efficiently built, and it has good results transformation applications. prospect.
  • the embodiment of the present application also provides a power service simulation environment construction device, as shown in FIG. 9 , including a memory 101 configured to store a computer program; and a processor 102 configured to implement the computer program in the embodiment of the present application when executing the computer program. Construction method of power business simulation environment.
  • Embodiments of the present application further provide a computer storage medium storing a computer program, and when the computer program is executed by a processor, the method for constructing a power service simulation environment in the embodiments of the present application is implemented.
  • this application separates the control plane and data plane of network equipment in the system based on terminal and protocol emulation, combined with the idea of software definition, and builds an open network through logical centralized control. , Programmable network architecture, to achieve the purpose of rapid construction of power network simulation environment.
  • this application realizes the flexibility of actual power equipment components and communication equipment components through the automatic networking orchestration system and simulation controller at the operation control layer. Call, splicing and automatic configuration, and then realize the flexible deployment of power physics and virtual simulation equipment and the flexible construction of power communication network.
  • the present application uses self-discovery and self-configuration technology to discover underlying devices and generate corresponding device models;
  • the power business language model model is sent to the simulation controller, and the simulation controller automatically configures the underlying equipment according to the model to complete the equipment configuration process.
  • this application designs a model-driven northbound interface, which improves the interaction efficiency between the application definition layer and the operation control layer through the mapping function between the image model and the language model of the northbound interface, and also improves the Modeling scalability.
  • Embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may employ one or more computer-usable storage media (including but not limited to magnetic disk storage, Compact Disk-Read Only Memory, CD-ROM), optical storage media, with computer-usable program code embodied therein. etc.) in the form of a computer program product implemented thereon.
  • computer-usable storage media including but not limited to magnetic disk storage, Compact Disk-Read Only Memory, CD-ROM), optical storage media, with computer-usable program code embodied therein. etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Abstract

Disclosed are a method, system and device for constructing a power service simulation environment, and a storage medium. The method for constructing a power service simulation environment comprises: according to a requirement for a power service simulation environment and from an image model library, calling an image model corresponding to the requirement, so as to establish a simulation image model instance of a power service; according to a mapping relationship between an image model and a language model and in correspondence with the image model in the simulation image model instance, calling a language model, which corresponds to the image model, in a language model library, so as to generate a simulation language model instance; translating the language model in the simulation language model instance into a system configuration file by means of semantic translation; according to the system configuration file, generating an abstract component model under a constraint condition; obtaining, by means of functional analysis, software and hardware of a power underlying device corresponding to the abstract component model; and configuring the software and hardware of the power underlying device according to the requirement for the power service simulation environment, so as to construct the power service simulation environment.

Description

电力业务仿真环境构建方法、系统、设备及存储介质Method, system, device and storage medium for constructing power service simulation environment
本申请要求在2020年11月27日提交中国专利局、申请号为202011351605.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202011351605.7 filed with the China Patent Office on November 27, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及电力仿真环境构建领域,例如涉及一种电力业务仿真环境构建方法、系统、设备及存储介质。The present application relates to the field of electric power simulation environment construction, for example, to a method, system, device and storage medium for electric power service simulation environment construction.
背景技术Background technique
电网的自动化程度已经有了很大的提高,随着可再生能源的大规模发展,整个电力系统也在向着自动化智能化的方向发展。同时电网的规模不断增大,电压等级逐渐提高,电力系统功能愈发复杂多样,智能电子设备种类与功能也在不断地增多,若在实际电网中进行相应的实验分析,会对电网的安全性、可靠性、稳定性造成一定的影响,因此仿真分析已成为电网研究的主要手段。The degree of automation of the power grid has been greatly improved. With the large-scale development of renewable energy, the entire power system is also developing in the direction of automation and intelligence. At the same time, the scale of the power grid is increasing, the voltage level is gradually increasing, the functions of the power system are becoming more complex and diverse, and the types and functions of intelligent electronic devices are also increasing. , reliability and stability have a certain impact, so simulation analysis has become the main means of power grid research.
然而在电力系统仿真中,由于需要对每一个仿真设备进行单独的配置与控制,使得建模过程复杂性高。同时电网的智能化依赖于智能电子设备的智能化,而这些设备不仅种类多、功能复杂,而且接入方式和控制形式也越来越多样化,这使得智能电子设备(Intelligent Electronic Device,IED)的配置、接入方面的工作难度增大。因此,在电网中引入软件定义的相关技术,在此基础之上进行相应的改进实现仿真设备的集中控制。However, in the power system simulation, the modeling process is very complicated because each simulation device needs to be configured and controlled individually. At the same time, the intelligence of the power grid depends on the intelligence of intelligent electronic devices, which not only have many types and complex functions, but also have more and more diverse access methods and control forms, which makes intelligent electronic devices (IEDs). The difficulty of configuration and access is increased. Therefore, software-defined related technologies are introduced into the power grid, and corresponding improvements are made on this basis to achieve centralized control of simulated equipment.
虽然有将软件定义技术应用于电网当中的研究,但是软件定义技术仍存在一定的局限性。例如北向接口中含有大量的解释字段会降低传输效率,其难以对电力系统设备资产层资源提供有效的高级封装。因此,导致了人工操作专业度高,自动配置难,操作效率低等相关问题。并且相关技术中,主要面向电力系统仿真,对于信息通信和电力工控系统的仿真不足,无法完整准确反映电力网络仿真验证全环境的运行过程。Although there are studies on the application of software-defined technology to power grids, there are still some limitations in software-defined technology. For example, the northbound interface contains a large number of interpretation fields, which will reduce the transmission efficiency, and it is difficult to provide effective high-level encapsulation for the asset layer resources of the power system equipment. Therefore, related problems such as high degree of manual operation, difficult automatic configuration, and low operation efficiency are caused. In addition, related technologies are mainly oriented to power system simulation, and the simulation of information communication and power industrial control systems is insufficient, and cannot completely and accurately reflect the operation process of the whole environment of power network simulation verification.
发明内容SUMMARY OF THE INVENTION
本申请提供一种电力业务仿真环境构建方法、系统、设备及存储介质,设计合理,操作效率高,实际电力设备组件、通信设备组件能够灵活调用、拼接和自动配置,不同电力业务场景仿真环境构建灵活。The present application provides a method, system, equipment and storage medium for constructing a power service simulation environment, with reasonable design and high operation efficiency, and the actual power equipment components and communication equipment components can be flexibly invoked, spliced and automatically configured, and the simulation environment of different power service scenarios can be constructed. flexible.
提供一种电力业务仿真环境构建方法,包括:A method for constructing a power service simulation environment is provided, including:
根据电力业务仿真环境的需求,从图像模型库中调用与所述需求对应的图像模型建立电力业务的仿真图像模型实例;According to the requirements of the power service simulation environment, the image model corresponding to the requirements is called from the image model library to establish a simulation image model instance of the power service;
根据图像模型和语言模型的映射关系,对应所述仿真图像模型实例中的图像模型,调用语言模型库中与所述图像模型对应的语言模型生成仿真语言模型实例;According to the mapping relationship between the image model and the language model, corresponding to the image model in the simulation image model instance, call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
将所述仿真语言模型实例中的语言模型通过语义转换,转换为系统配置文件;根据所述系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到所述抽象组件模型对应的电力底层设备的软硬件;Convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the power bottom layer corresponding to the abstract component model through functional analysis the hardware and software of the device;
根据所述电力业务仿真环境的需求,对所述电力底层设备的软硬件进行配置,构建所述电力业务仿真环境。According to the requirements of the power service simulation environment, the software and hardware of the power bottom layer device are configured to construct the power service simulation environment.
可选的,所述的语言模型库由如下方式得到:Optionally, the language model library is obtained in the following manner:
对电力底层设备进行发现,并按照通信设备及电力设备进行分类;Discover the underlying power equipment and classify them according to communication equipment and power equipment;
根据分类结果建立通信能力模型库及电力设备模型库,将所述通信能力模型库及所述电力设备模型库合并为所述语言模型库。A communication capability model library and a power equipment model library are established according to the classification results, and the communication capability model library and the power equipment model library are combined into the language model library.
可选的,所述的语言模型库为由建模语言表示的通信能力模型及电力设备模型的集合。Optionally, the language model library is a set of communication capability models and power equipment models represented by a modeling language.
可选的,根据系统配置文件,在约束条件下生成抽象组件模型,包括:Optionally, according to the system configuration file, generate an abstract component model under constraints, including:
根据发现设备的设备信息和预定义的约束条件,对所述系统配置文件进行解析,生成所述抽象组件模型。According to the device information of the discovered device and the predefined constraints, the system configuration file is parsed to generate the abstract component model.
可选的,所述的图像模型库由如下方式得到:Optionally, the image model library is obtained in the following manner:
基于模型驱动,建立语言模型与预定义的电力底层设备图像模型之间的映射关系,形成所述图像模型库。Based on the model-driven, the mapping relationship between the language model and the predefined image model of the power underlying equipment is established to form the image model library.
还提供一种电力业务仿真环境构建系统,包括:Also provided is a power service simulation environment construction system, including:
应用定义层,设置为根据电力业务仿真环境的需求,从图像模型库中调用与所述需求对应的图像模型建立电力业务的仿真图像模型实例;The application definition layer is set to call the image model corresponding to the demand from the image model library to establish a simulation image model instance of the power service according to the requirements of the power service simulation environment;
北向接口,设置为根据图像模型和语言模型的映射关系,对应所述仿真图像模型实例中的图像模型,调用语言模型库中与所述图像模型对应的语言模型生成仿真语言模型实例;The northbound interface is configured to, according to the mapping relationship between the image model and the language model, correspond to the image model in the simulation image model instance, and call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
运行控制层,设置为将所述仿真语言模型实例中的语言模型通过语义转换,转换为系统配置文件;根据所述系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到所述抽象组件模型对应的电力底层设备的软硬件;The operation control layer is configured to convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the abstraction through functional analysis The software and hardware of the power underlying equipment corresponding to the component model;
电力底层设备层,设置为根据所述电力业务仿真环境的需求,对所述电力底层设备的软硬件进行配置,构建所述电力业务仿真环境。The power bottom layer device layer is configured to configure the software and hardware of the power bottom layer device according to the requirements of the power business simulation environment to construct the power business simulation environment.
可选的,所述应用定义层,还设置为基于模型驱动,建立语言模型与预定义的电力底层设备图像模型之间的映射关系,形成所述图像模型库。Optionally, the application definition layer is further configured to establish a mapping relationship between the language model and the predefined image model of the underlying power equipment based on model driving to form the image model library.
可选的,所述运行控制层,还设置为对电力底层设备进行发现,并按照通信设备及电力设备进行分类;Optionally, the operation control layer is further configured to discover the power bottom layer equipment and classify it according to the communication equipment and the power equipment;
所述运行控制层是设置为通过如下方式根据所述系统配置文件,在约束条件下生成抽象组件模型:根据发现设备的设备信息和预定义的约束条件,对系统配置文件进行解析,生成所述抽象组件模型。The operation control layer is set to generate an abstract component model under constraints according to the system configuration file in the following manner: parse the system configuration file according to the device information of the discovered device and the predefined constraints, and generate the Abstract component model.
可选的,所述北向接口,还设置为根据分类结果建立通信能力模型库及电力设备模型库,将所述通信能力模型库及所述电力设备模型库合并为所述语言模型库。Optionally, the northbound interface is further configured to establish a communication capability model library and a power equipment model library according to the classification result, and combine the communication capability model library and the power equipment model library into the language model library.
可选的,所述电力底层设备层,还设置为通过通信协议插件,对通信设备及电力设备进行自动化发现,将设备的描述文件上传到所述运行控制层。Optionally, the power bottom layer device layer is further configured to automatically discover the communication device and the power device through a communication protocol plug-in, and upload the description file of the device to the operation control layer.
还提供一种电力业务仿真环境构建设备,包括:Also provided is a power service simulation environment construction device, including:
存储器,设置为存储计算机程序;memory, arranged to store computer programs;
处理器,设置为执行所述计算机程序时实现如上述任一项所述电力业务仿真环境构建方法。The processor is configured to implement the method for constructing a power service simulation environment according to any one of the above when executing the computer program.
还提供一种计算机存储介质,所述计算机存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述电力业务仿真环境构建方法。A computer storage medium is also provided, where a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the method for constructing a power service simulation environment according to any one of the above is implemented.
附图说明Description of drawings
图1为本申请实施例提供的一种基于软件定义的电网仿真框架图;1 is a framework diagram of a software-defined power grid simulation provided by an embodiment of the present application;
图2为本申请实施例提供的一种自动组网编排系统的结构原理框图;FIG. 2 is a structural principle block diagram of an automatic networking orchestration system provided by an embodiment of the present application;
图3为本申请实施例提供的一种仿真控制器的结构原理框图;3 is a structural principle block diagram of a simulation controller provided by an embodiment of the present application;
图4为本申请实施例提供的一种自发现自配置的流程框图;4 is a flowchart of a self-discovery and self-configuration provided by an embodiment of the present application;
图5为本申请实施例提供的一种自动建模过程的结构原理框图;5 is a structural principle block diagram of an automatic modeling process provided by an embodiment of the present application;
图6为本申请实施例提供的一种基于模型驱动的北向接口与应用层交互的结构原理框图;6 is a schematic structural block diagram of a model-driven northbound interface and application layer interaction provided by an embodiment of the present application;
图7为本申请实施例提供的一种电力业务仿真环境构建方法的流程图;7 is a flowchart of a method for constructing a power service simulation environment provided by an embodiment of the present application;
图8为本申请实施例提供的一种电力业务仿真环境构建系统的结构图;FIG. 8 is a structural diagram of a power service simulation environment construction system provided by an embodiment of the present application;
图9为本申请实施例提供的一种电力业务仿真环境构建设备的结构图。FIG. 9 is a structural diagram of a device for constructing a power service simulation environment provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合具体的实施例对本申请进行说明。The present application will be described below with reference to specific embodiments.
本申请通过基于软件定义电网框架的电力业务仿真环境构建方法,针对电力设备与电力系统紧密耦合的特性,通过软件定义的方式,将整个面向电力业务的仿真框架分解为应用定义层、运行控制层和电力底层设备层三个层次,实现电力底层设备层设备的自动化发现以及电力业务场景的自动化配置。可解决电力网络安全仿真过程中人工操作专业度高、自动配置难、操作效率低等相关问题,通过仿真环境快速构建方法,实现多类电力业务环境的软硬件资源灵活配置和管控,能够支撑网络安全防护体系的验证工作,支撑网络安全供方技术人员的培训工作,并对外开展网络安全防护方案的测评工作。This application decomposes the entire simulation framework for power services into an application definition layer and an operation control layer by means of a software-defined method through a method for constructing a power service simulation environment based on a software-defined grid framework, aiming at the characteristics of tight coupling between power equipment and power systems. There are three layers of power bottom device layer and power bottom device layer to realize automatic discovery of power bottom device layer devices and automatic configuration of power business scenarios. It can solve the related problems of high degree of manual operation, difficult automatic configuration, and low operation efficiency in the process of power network security simulation. Through the rapid construction method of simulation environment, it can realize flexible configuration and control of software and hardware resources of multiple types of power business environment, and can support network The verification work of the security protection system supports the training of the technical personnel of the network security supplier, and conducts the external evaluation of the network security protection scheme.
本申请提供了一种电力仿真环境快速构建的方法,该方法包括了基于软件定义的电网仿真框架以及在该框架下的实际建模过程,本申请提出的基于软件定义的电网仿真框架,将软件定义的思想应用于电力业务的仿真环境的快速构建之中,达到电力业务场景的仿真环境快速构建的目的。如图1所示,仿真框架结构以及建模步骤如下。The present application provides a method for rapidly constructing a power simulation environment. The method includes a software-defined power grid simulation framework and an actual modeling process under the framework. The software-defined power grid simulation framework proposed in the present application combines software The idea of the definition is applied to the rapid construction of the simulation environment of power business, so as to achieve the purpose of rapid construction of the simulation environment of the power business scene. As shown in Figure 1, the simulation framework structure and modeling steps are as follows.
所述基于软件定义电网仿真框架包括:The software-defined grid simulation framework includes:
1.应用定义层包括了多种由用户定制和构建的电网功能和业务服务的应用模型,包括用于提供电力业务图像模型实例的电力业务仿真模型和用于提供图像模型库的图像仿真模型库。1. The application definition layer includes a variety of application models for grid functions and business services customized and constructed by users, including the power business simulation model for providing power business image model instances and the image simulation model library for providing image model libraries. .
2.运行控制层主体由组网编排系统构成,组网编排系统是整个软件定义电网的核心和中枢,汇集电网中的设备状态数据,同时分解上层定制的应用,分发控制指令给物理设备层的设备。其中组网编排系统包括了抽象组件模型与仿真控制器两部分。2. The main body of the operation control layer is composed of a networking orchestration system. The networking orchestration system is the core and center of the entire software-defined power grid. It collects the device status data in the power grid, decomposes the upper-layer customized applications, and distributes control instructions to the physical device layer. equipment. The network orchestration system includes two parts: abstract component model and simulation controller.
2.1.抽象组件模型是仿真控制器可以理解的模型,其通过组网编排系统进行转换。北向接口提取电力业务图像模型中的网络功能组件、电力设备组件以及组件连接模型(用来表示设备组件之间的连接关系),通过调用图像模型库与语言模型库之间的映射关系,生成电力业务语言模型(电力业务图像模型通过编程语言构建的模型)。运行控制层根据电力业务语言模型生成相应的系统配置文件(电力业务语言模型在运行控制层的表达)。如图2所示,在组网编排系统中,根据预定义的约束条件对系统配置文件进行解析,同时调用设备自发 现技术生成的设备信息,生成仿真控制器可以理解的抽象组件模型。2.1. The abstract component model is a model that can be understood by the simulation controller, which is transformed by the networking orchestration system. The northbound interface extracts network functional components, power equipment components and component connection models (used to represent the connection relationship between equipment components) in the power business image model, and generates power by calling the mapping relationship between the image model library and the language model library. Business language model (a model constructed by a programming language for the power business image model). The operation control layer generates the corresponding system configuration file according to the power business language model (the expression of the power business language model in the operation control layer). As shown in Figure 2, in the networking orchestration system, the system configuration file is parsed according to the predefined constraints, and the device information generated by the device self-discovery technology is invoked to generate an abstract component model that the simulation controller can understand.
2.2.仿真控制器负责与电力设备的交互,完成电网一次设备、电网二次设备的自动发现、自动配置、动作控制、安全控制等功能,同时实现通信设备的配置以及通信网络的优化。如图3所示,仿真控制器是逻辑上的电能和信息传输、处理的集中路由器。仿真控制器采用多种控制器集成的方式实现对仿真模型中的不同对象进行精确控制;在接口呈实现组件的分解与映射,在控制层通过控制器进行多种功能的集成,其在控制层的服务子层包括了软件定义网络(Software Defined Network,SDN)控制器等实现服务控制,在内核子层实现设备发现和资源控制等等内核操作;通过驱动层对系统进行支持。2.2. The simulation controller is responsible for the interaction with the power equipment, completes the automatic discovery, automatic configuration, action control, security control and other functions of the primary equipment of the power grid and the secondary equipment of the power grid, and at the same time realizes the configuration of the communication equipment and the optimization of the communication network. As shown in Figure 3, the simulation controller is a centralized router for logical power and information transmission and processing. The simulation controller adopts a variety of controller integration methods to achieve precise control of different objects in the simulation model; the decomposition and mapping of components are realized at the interface, and the integration of various functions is carried out through the controller at the control layer. The service sub-layer includes software-defined network (Software Defined Network, SDN) controllers to realize service control, implement device discovery and resource control and other kernel operations in the kernel sub-layer; the system is supported through the driver layer.
3.电力底层设备层也是系统中的电力虚拟/实际设备层,包括电力设备和通信设备。电力设备包括电网中具备智能能力的电力一次设备、电力二次设备(如保护设备、自动化设备),通信设备包括网络交换机等。这两类设备都是软件定义电网的核心设备。3. The power bottom device layer is also the power virtual/real device layer in the system, including power devices and communication devices. Power equipment includes primary power equipment and secondary power equipment (such as protection equipment and automation equipment) with intelligent capabilities in the power grid, and communication equipment includes network switches. Both types of devices are at the heart of software-defined grids.
4.连接应用定义层与运行控制层的北向接口,设置为应用定义层获取电网状态数据以及运行控制层分解上层定制应用;其中,北向接口由应用程序接口实现。4. Connect the northbound interface between the application definition layer and the operation control layer, and set the application definition layer to obtain power grid status data and the operation control layer to decompose the upper-layer customized application; wherein, the northbound interface is implemented by the application program interface.
本申请提出的基于模型驱动的北向接口技术,用于实现电力应用层的图像模型与北向接口中的语言模型之间的快速映射。The model-driven northbound interface technology proposed in this application is used to realize fast mapping between the image model of the power application layer and the language model in the northbound interface.
5.如图4所示,连接运行控制层与电力底层设备层的南向接口,设置为运行控制层获取底层设备的信息,同时对底层设备进行配置。南向接口主要设置为实现电力设备与通信设备的自动发现与自动配置,南向接口由通用协议插件实现,本可选实例中采用由运行控制层到电力底层设备层的通用即插即用(Universal Plug and Play,UPnP)协议插件,以及由电力底层设备层到运行控制层的OpenFlow协议插件。5. As shown in Figure 4, connect the southbound interface between the operation control layer and the power bottom layer equipment layer, and set the operation control layer to obtain the information of the bottom layer equipment and configure the bottom layer equipment at the same time. The southbound interface is mainly set to realize automatic discovery and automatic configuration of power equipment and communication equipment, and the southbound interface is realized by the general protocol plug-in. Universal Plug and Play, UPnP) protocol plug-ins, and OpenFlow protocol plug-ins from the power bottom device layer to the operation control layer.
在所述的电网仿真框架之下,如图5所示,可对相关的电力业务进行快速的仿真建模。电力业务的实际建模过程描述如下:Under the described power grid simulation framework, as shown in FIG. 5 , rapid simulation modeling can be performed on related power services. The actual modeling process of the power business is described as follows:
S1.通过相关通信协议插件,对电力底层设备层的通信设备及电力设备进行自动化发现,将设备的描述文件上传到运行控制层的仿真控制器当中。S1. Through the relevant communication protocol plug-ins, automatically discover the communication devices and power devices of the power bottom device layer, and upload the device description file to the simulation controller of the operation control layer.
S2.仿真控制器将发现的设备按照通信设备及电力设备进行分类,将分类后的设备上传到北向接口当中。在北向接口中,根据仿真控制器完成的通信设备及电力设备分类,建立通信能力模型库及电力设备模型库,将两个模型库合并为语言模型库(由建模语言表示的多类设备模型的集合)。S2. The simulation controller classifies the discovered devices according to communication devices and power devices, and uploads the classified devices to the northbound interface. In the northbound interface, according to the classification of communication equipment and power equipment completed by the simulation controller, a communication capability model library and a power equipment model library are established, and the two model libraries are combined into a language model library (a multi-type equipment model represented by a modeling language). collection).
S3.在应用定义层,预定义相关设备的图像模型,在北向接口建立语言模型 库之后,如图6所示,基于模型驱动的思想建立图像模型与语言模型之间的映射关系,生成对应的图像模型库。S3. In the application definition layer, the image model of the related device is predefined, and after the language model library is established on the northbound interface, as shown in Figure 6, the mapping relationship between the image model and the language model is established based on the model-driven idea, and the corresponding Image model library.
S4.在完成图像模型库的构建之后,用户根据相应的电力业务从图像模型库中调用相应的图像模型来建立电力业务的仿真图像模型实例。S4. After completing the construction of the image model library, the user invokes the corresponding image model from the image model library according to the corresponding power service to establish a simulation image model instance of the power service.
S5.如图6所示,在北向接口中解析电力业务的仿真图像模型,根据先前建立的图像模型与语言模型之间的映射关系,对语言模型库中的语言模型进行调用,在图像模型实例中的连接关系的基础之上生成语言模型实例。S5. As shown in Figure 6, the simulation image model of the power service is parsed in the northbound interface, and according to the previously established mapping relationship between the image model and the language model, the language model in the language model library is called, and the image model instance is called The language model instance is generated based on the connection relationship in .
S6.在运行控制层,对语言模型实例进行语义转换,将语言模型转换成为系统配置文件,组网编排系统根据系统配置文件生成抽象组件模型。仿真控制器统一接收所有的组件模型,调用不同的子控制器对相应的组件模型进行功能性分析,确定不同的模型所对应的电力底层设备层的软硬件设备,随后根据需求对电力底层设备层的相应设备进行自动化配置,实现对应用定义层定义的电力业务模型的实物化建模。S6. In the operation control layer, semantic conversion is performed on the language model instance, the language model is converted into a system configuration file, and the networking orchestration system generates an abstract component model according to the system configuration file. The simulation controller uniformly receives all the component models, calls different sub-controllers to perform functional analysis on the corresponding component models, determines the software and hardware devices of the power bottom layer device layer corresponding to different models, and then analyzes the power bottom layer device layer according to the requirements. The corresponding equipment is automatically configured to realize the physical modeling of the power business model defined by the application definition layer.
本申请提出的仿真环境快速构建流程,在对底层设备进行自动化发现和自动化配置的基础之上,实现基于应用定义层构建的图像仿真模型的电力业务仿真环境快速构建。The rapid construction process of the simulation environment proposed in this application realizes the rapid construction of a power business simulation environment based on the image simulation model constructed by the application definition layer on the basis of automatic discovery and automatic configuration of the underlying equipment.
运行控制层总体由组网编排系统构成,组网编排系统是整个软件定义电网的核心和中枢,汇集电网状态数据,同时分解上层定制的应用,分发控制指令给物理设备层的设备。组网编排系统包括了抽象组件模型与仿真控制器两部分。本申请提出的自动组网编排系统以及其包含的仿真控制器,在该软件定义电网仿真框架中处于核心地位。一方面,利用仿真控制器对底层设备进行设备发现、提取设备描述文件的操作;另一方面,应用定义层所构建仿真模型的图像模型实例,通过北向接口映射生成对应的语言模型实例;仿真控制器解析生成的语言模型实例,获取应用定义层的需求并根据需求生成相关设备的实例配置文件,对相应设备进行配置。The operation control layer is generally composed of a networking orchestration system. The networking orchestration system is the core and backbone of the entire software-defined power grid. It collects power grid status data, decomposes upper-layer customized applications, and distributes control instructions to devices at the physical device layer. The network orchestration system includes two parts: abstract component model and simulation controller. The automatic networking orchestration system proposed in this application and the simulation controller it includes are at the core of the software-defined power grid simulation framework. On the one hand, the simulation controller is used to perform device discovery and extraction of device description files for the underlying device; on the other hand, the image model instance of the simulation model constructed by the application definition layer is mapped to the northbound interface to generate the corresponding language model instance; simulation control The compiler parses the generated language model instance, obtains the requirements of the application definition layer, and generates instance configuration files of related devices according to the requirements, and configures the corresponding devices.
图7为本申请实施例提供的一种电力业务仿真环境构建方法的流程图。如图7所示,所述方法包括:FIG. 7 is a flowchart of a method for constructing a power service simulation environment provided by an embodiment of the present application. As shown in Figure 7, the method includes:
S10.根据电力业务仿真环境的需求,从图像模型库中调用相应的图像模型建立电力业务的仿真图像模型实例。S10. According to the requirements of the power service simulation environment, call the corresponding image model from the image model library to establish a simulation image model instance of the power service.
S20.根据图像模型和语言模型的映射关系,对应仿真图像模型实例中的图像模型,调用语言模型库中对应的语言模型生成仿真语言模型实例。S20. According to the mapping relationship between the image model and the language model, corresponding to the image model in the simulated image model instance, call the corresponding language model in the language model library to generate the simulated language model instance.
S30.将仿真语言模型实例中的语言模型通过语义转换,转换为系统配置文件;根据系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到抽象 组件模型对应的电力底层设备的软硬件。S30. Convert the language model in the simulated language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the software and hardware of the underlying power equipment corresponding to the abstract component model through functional analysis .
S40.根据电力业务仿真环境需求,对相应电力底层设备的软硬件进行配置,构建电力业务仿真环境。S40. According to the requirements of the power business simulation environment, configure the software and hardware of the corresponding power bottom layer equipment, and construct the power business simulation environment.
图8为本申请实施例提供的一种电力业务仿真环境构建系统的结构图。如图8所示,所述系统包括:FIG. 8 is a structural diagram of a system for constructing a power service simulation environment provided by an embodiment of the present application. As shown in Figure 8, the system includes:
应用定义层10,设置为根据电力业务仿真环境的需求,从图像模型库中调用相应的图像模型建立电力业务的仿真图像模型实例。The application definition layer 10 is set to call the corresponding image model from the image model library to establish a simulation image model instance of the power service according to the requirements of the power service simulation environment.
北向接口20,设置为根据图像模型和语言模型的映射关系,对应仿真图像模型实例中的图像模型,调用语言模型库中对应的语言模型生成仿真语言模型实例。The northbound interface 20 is set to correspond to the image model in the simulated image model instance according to the mapping relationship between the image model and the language model, and call the corresponding language model in the language model library to generate the simulated language model instance.
运行控制层30,设置为将仿真语言模型实例中的语言模型通过语义转换,转换为系统配置文件;根据系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到抽象组件模型对应的电力底层设备的软硬件。The operation control layer 30 is configured to convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the power corresponding to the abstract component model through functional analysis The hardware and software of the underlying device.
电力底层设备层40,设置为根据电力业务仿真环境需求,对相应电力底层设备的软硬件进行配置,构建电力业务仿真环境。The power bottom layer device layer 40 is configured to configure the software and hardware of the corresponding power bottom layer equipment according to the requirements of the power business simulation environment to construct the power business simulation environment.
本申请为解决网络安全仿真验证环境的快速构建难题,提出一种电力业务仿真环境构建方法,基于软件定义将面向电力业务的整体仿真框架进行分层设计,通过电力底层设备层设备的自动化发现以及电力业务场景的自动化配置,实现实际电力设备组件、通信设备组件灵活调用、拼接和自动配置,达到不同电力业务场景仿真环境灵活构建的目的。本申请提升了网络安全技术和工具的试验验证能力,相比相关技术,在交互性和便利性等方面较为先进;依托本申请可高效搭建电力网络安全仿真验证全景环境,具备良好的成果转化应用前景。In order to solve the problem of rapid construction of a network security simulation verification environment, this application proposes a method for constructing a power service simulation environment. Based on software definition, the overall simulation framework oriented to power services is designed in layers. The automatic configuration of power business scenarios realizes flexible invocation, splicing and automatic configuration of actual power equipment components and communication equipment components, and achieves the purpose of flexible construction of simulation environments for different power business scenarios. This application improves the test and verification capabilities of network security technologies and tools. Compared with related technologies, it is more advanced in terms of interactivity and convenience. Relying on this application, a panoramic environment for power network security simulation and verification can be efficiently built, and it has good results transformation applications. prospect.
本申请实施例还提供一种电力业务仿真环境构建设备,如图9所示,包括存储器101,设置为存储计算机程序;处理器102,设置为执行所述计算机程序时实现本申请实施例中的电力业务仿真环境构建方法。The embodiment of the present application also provides a power service simulation environment construction device, as shown in FIG. 9 , including a memory 101 configured to store a computer program; and a processor 102 configured to implement the computer program in the embodiment of the present application when executing the computer program. Construction method of power business simulation environment.
本申请实施例还提供一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例中的电力业务仿真环境构建方法。Embodiments of the present application further provide a computer storage medium storing a computer program, and when the computer program is executed by a processor, the method for constructing a power service simulation environment in the embodiments of the present application is implemented.
本申请针对电力底层设备与电力系统紧密耦合的特性,在终端和协议仿真的基础上,结合软件定义的思想将系统中网络设备的控制平面和数据平面分离,通过逻辑上的集中控制构建开放的、可编程的网络体系结构,达到电力网络仿真环境的快速构建的目的。为了解决建模方式中建模过程复杂,业务模型的设计和部署时间长等问题,本申请在运行控制层,通过自动组网编排系统以及仿真控制器,实现实际电力设备组件、通信设备组件灵活调用、拼接和自动配置, 进而实现电力物理、虚拟仿真设备的灵活调配以及对电力通信网络的柔性搭建。针对智能电子设备种类多,功能复杂,配置繁琐的问题,本申请通过自发现自配置技术来发现底层设备,生成相应的设备模型;根据用户定义的电力业务图像模型生成对应的电力业务语言模型,将电力业务语言模型模型发送给仿真控制器,仿真控制器再根据模型对底层设备进行自动化配置,完成设备的配置过程。针对北向接口传输效率较低的特点,本申请设计了基于模型驱动的北向接口,通过北向接口图像模型与语言模型的映射功能,提高了应用定义层与运行控制层的交互效率,同时也提高了建模的可拓展性。Aiming at the characteristics of tight coupling between power bottom equipment and power system, this application separates the control plane and data plane of network equipment in the system based on terminal and protocol emulation, combined with the idea of software definition, and builds an open network through logical centralized control. , Programmable network architecture, to achieve the purpose of rapid construction of power network simulation environment. In order to solve the problems of complicated modeling process and long design and deployment time of business models in the modeling method, this application realizes the flexibility of actual power equipment components and communication equipment components through the automatic networking orchestration system and simulation controller at the operation control layer. Call, splicing and automatic configuration, and then realize the flexible deployment of power physics and virtual simulation equipment and the flexible construction of power communication network. Aiming at the problems of many types of intelligent electronic devices, complex functions and cumbersome configuration, the present application uses self-discovery and self-configuration technology to discover underlying devices and generate corresponding device models; The power business language model model is sent to the simulation controller, and the simulation controller automatically configures the underlying equipment according to the model to complete the equipment configuration process. In view of the low transmission efficiency of the northbound interface, this application designs a model-driven northbound interface, which improves the interaction efficiency between the application definition layer and the operation control layer through the mapping function between the image model and the language model of the northbound interface, and also improves the Modeling scalability.
本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、光盘只读存储器(Compact Disk-Read Only Memory,CD-ROM)、光学存储器等)上实施的计算机程序产品的形式。Embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may employ one or more computer-usable storage media (including but not limited to magnetic disk storage, Compact Disk-Read Only Memory, CD-ROM), optical storage media, with computer-usable program code embodied therein. etc.) in the form of a computer program product implemented thereon.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生设置为实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce an arrangement Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

Claims (12)

  1. 一种电力业务仿真环境构建方法,包括:A method for constructing a power service simulation environment, comprising:
    根据电力业务仿真环境的需求,从图像模型库中调用与所述需求对应的图像模型建立电力业务的仿真图像模型实例;According to the requirements of the power service simulation environment, the image model corresponding to the requirements is called from the image model library to establish a simulation image model instance of the power service;
    根据图像模型和语言模型的映射关系,对应所述仿真图像模型实例中的图像模型,调用语言模型库中与所述图像模型对应的语言模型生成仿真语言模型实例;According to the mapping relationship between the image model and the language model, corresponding to the image model in the simulation image model instance, call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
    将所述仿真语言模型实例中的语言模型通过语义转换,转换为系统配置文件;根据所述系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到所述抽象组件模型对应的电力底层设备的软硬件;Convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the power bottom layer corresponding to the abstract component model through functional analysis the hardware and software of the device;
    根据所述电力业务仿真环境的需求,对所述电力底层设备的软硬件进行配置,构建所述电力业务仿真环境。According to the requirements of the power service simulation environment, the software and hardware of the power bottom layer device are configured to construct the power service simulation environment.
  2. 根据权利要求1所述的方法,其中,所述语言模型库由如下方式得到:The method of claim 1, wherein the language model library is obtained by:
    对电力底层设备进行发现,并按照通信设备及电力设备进行分类;Discover the underlying power equipment and classify them according to communication equipment and power equipment;
    根据分类结果建立通信能力模型库及电力设备模型库,将所述通信能力模型库及所述电力设备模型库合并为所述语言模型库。A communication capability model library and a power equipment model library are established according to the classification results, and the communication capability model library and the power equipment model library are combined into the language model library.
  3. 根据权利要求2所述的方法,其中,所述语言模型库为由建模语言表示的通信能力模型及电力设备模型的集合。The method of claim 2, wherein the language model library is a collection of communication capability models and power equipment models represented by a modeling language.
  4. 根据权利要求2所述的方法,其中,所述根据所述系统配置文件,在约束条件下生成抽象组件模型,包括:The method according to claim 2, wherein the generating an abstract component model under constraints according to the system configuration file comprises:
    根据发现设备的设备信息和预定义的约束条件,对所述系统配置文件进行解析,生成所述抽象组件模型。According to the device information of the discovered device and the predefined constraints, the system configuration file is parsed to generate the abstract component model.
  5. 根据权利要求1所述的方法,其中,所述图像模型库由如下方式得到:The method according to claim 1, wherein the image model library is obtained by:
    基于模型驱动,建立语言模型与预定义的电力底层设备图像模型之间的映射关系,形成所述图像模型库。Based on the model-driven, the mapping relationship between the language model and the predefined image model of the power underlying equipment is established to form the image model library.
  6. 一种电力业务仿真环境构建系统,包括:An electric power business simulation environment construction system, comprising:
    应用定义层,设置为根据电力业务仿真环境的需求,从图像模型库中调用与所述需求对应的图像模型建立电力业务的仿真图像模型实例;The application definition layer is set to call the image model corresponding to the demand from the image model library to establish a simulation image model instance of the power service according to the requirements of the power service simulation environment;
    北向接口,设置为根据图像模型和语言模型的映射关系,对应所述仿真图像模型实例中的图像模型,调用语言模型库中与所述图像模型对应的语言模型生成仿真语言模型实例;The northbound interface is configured to, according to the mapping relationship between the image model and the language model, correspond to the image model in the simulation image model instance, and call the language model corresponding to the image model in the language model library to generate the simulation language model instance;
    运行控制层,设置为将所述仿真语言模型实例中的语言模型通过语义转换, 转换为系统配置文件;根据所述系统配置文件,在约束条件下生成抽象组件模型;通过功能分析得到所述抽象组件模型对应的电力底层设备的软硬件;The operation control layer is configured to convert the language model in the simulation language model instance into a system configuration file through semantic conversion; generate an abstract component model under constraints according to the system configuration file; obtain the abstraction through functional analysis The software and hardware of the power underlying equipment corresponding to the component model;
    电力底层设备层,设置为根据所述电力业务仿真环境的需求,对所述电力底层设备的软硬件进行配置,构建所述电力业务仿真环境。The power bottom layer device layer is configured to configure the software and hardware of the power bottom layer device according to the requirements of the power business simulation environment to construct the power business simulation environment.
  7. 根据权利要求6所述的系统,其中,所述应用定义层,还设置为基于模型驱动,建立语言模型与预定义的电力底层设备图像模型之间的映射关系,形成所述图像模型库。The system according to claim 6, wherein the application definition layer is further configured to establish a mapping relationship between the language model and a predefined image model of the power underlying equipment based on model driving to form the image model library.
  8. 根据权利要求6所述的系统,其中,所述运行控制层,还设置为对电力底层设备进行发现,并按照通信设备及电力设备进行分类;The system according to claim 6, wherein, the operation control layer is further configured to discover power underlying devices and classify them according to communication devices and power devices;
    所述运行控制层是设置为通过如下方式根据所述系统配置文件,在约束条件下生成抽象组件模型:根据发现设备的设备信息和预定义的约束条件,对系统配置文件进行解析,生成所述抽象组件模型。The operation control layer is configured to generate an abstract component model under constraints according to the system configuration file in the following manner: parse the system configuration file according to the device information of the discovered device and the predefined constraints, and generate the Abstract component model.
  9. 根据权利要求8所述的系统,其中,所述北向接口,还设置为根据分类结果建立通信能力模型库及电力设备模型库,将所述通信能力模型库及所述电力设备模型库合并为所述语言模型库。The system according to claim 8, wherein the northbound interface is further configured to establish a communication capability model library and a power equipment model library according to the classification result, and combine the communication capability model library and the power equipment model library into the Describe the language model library.
  10. 根据权利要求6所述的系统,其中,所述电力底层设备层,还设置为通过通信协议插件,对通信设备及电力设备进行自动化发现,将设备的描述文件上传到所述运行控制层。The system according to claim 6, wherein the power bottom layer device layer is further configured to automatically discover the communication device and the power device through a communication protocol plug-in, and upload the description file of the device to the operation control layer.
  11. 一种电力业务仿真环境构建设备,包括:A power service simulation environment construction device, comprising:
    存储器,设置为存储计算机程序;memory, arranged to store computer programs;
    处理器,设置为执行所述计算机程序时实现如权利要求1至5中任一项所述电力业务仿真环境构建方法。The processor is configured to implement the method for constructing a power service simulation environment according to any one of claims 1 to 5 when executing the computer program.
  12. 一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述电力业务仿真环境构建方法。A computer storage medium storing a computer program, when the computer program is executed by a processor, the method for constructing a power service simulation environment according to any one of claims 1 to 5 is implemented.
PCT/CN2020/139141 2020-11-27 2020-12-24 Method, system and device for constructing power service simulation environment, and storage medium WO2022110435A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011351605.7 2020-11-27
CN202011351605.7A CN112153165B (en) 2020-11-27 2020-11-27 Power service simulation environment construction method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022110435A1 true WO2022110435A1 (en) 2022-06-02

Family

ID=73887208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139141 WO2022110435A1 (en) 2020-11-27 2020-12-24 Method, system and device for constructing power service simulation environment, and storage medium

Country Status (2)

Country Link
CN (1) CN112153165B (en)
WO (1) WO2022110435A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242706A (en) * 2022-09-26 2022-10-25 中电运行(北京)信息技术有限公司 Operation management method of electric power system information network simulation platform
CN115277790A (en) * 2022-09-19 2022-11-01 国网湖北省电力有限公司电力科学研究院 Plug-and-play self-registration communication method for distributed power supply
CN116431103A (en) * 2023-04-26 2023-07-14 北京计算机技术及应用研究所 Digital DevOps platform design method for embedded software
CN116562050A (en) * 2023-06-06 2023-08-08 四川盛世融合科技有限公司 Visual modeling method of distributed simulation platform and distributed simulation platform
CN116644580A (en) * 2023-05-29 2023-08-25 苏州异格技术有限公司 Electronic product model design automation method, device, equipment and medium
WO2024074082A1 (en) * 2022-10-08 2024-04-11 哈尔滨工程大学 Model-based nuclear power device evaluation simulation method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393074B (en) * 2021-04-12 2022-12-20 广西大学 Model construction method for power generation extension planning considering flexibility of external network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341294A (en) * 2017-06-15 2017-11-10 苏州同元软控信息技术有限公司 Spacecraft Information System Modeling emulation mode based on Modelica language
CN107704687A (en) * 2017-10-11 2018-02-16 北京航空航天大学 Video monitoring system Computer Aided Design and appraisal procedure
CN108732939A (en) * 2017-04-14 2018-11-02 北京空间技术研制试验中心 Spacecraft ring heat control system modeling and simulating method based on Modelica language
WO2019113508A1 (en) * 2017-12-07 2019-06-13 Fractal Industries, Inc. A system and methods for multi-language abstract model creation for digital environment simulations
CN111898305A (en) * 2020-08-05 2020-11-06 北京航空航天大学 Modelica language-based modeling simulation method for on-missile electrical system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002015105A1 (en) * 2000-08-18 2002-02-21 Lear Automotive (Eeds) Spain, S.L. Computer-implemented system for simulating short-circuit situations in automotive electrical and electronic architectures with two different voltage levels
US8321194B2 (en) * 2009-10-01 2012-11-27 Power Analytics Corporation Real time microgrid power analytics portal for mission critical power systems
CN103838894B (en) * 2012-11-26 2017-05-24 北京华大九天软件有限公司 Method for achieving automatic PDK testing
CN103279358B (en) * 2013-06-08 2016-04-27 北京首钢自动化信息技术有限公司 A kind of explanation type Service Component dynamic fixing method of Industry-oriented application
US10817035B1 (en) * 2018-10-19 2020-10-27 Facebook, Inc. Electrical system stability
CN110188385A (en) * 2019-04-26 2019-08-30 中国电力科学研究院有限公司 A kind of method and system for electric system simulation scene modeling

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108732939A (en) * 2017-04-14 2018-11-02 北京空间技术研制试验中心 Spacecraft ring heat control system modeling and simulating method based on Modelica language
CN107341294A (en) * 2017-06-15 2017-11-10 苏州同元软控信息技术有限公司 Spacecraft Information System Modeling emulation mode based on Modelica language
CN107704687A (en) * 2017-10-11 2018-02-16 北京航空航天大学 Video monitoring system Computer Aided Design and appraisal procedure
WO2019113508A1 (en) * 2017-12-07 2019-06-13 Fractal Industries, Inc. A system and methods for multi-language abstract model creation for digital environment simulations
CN111898305A (en) * 2020-08-05 2020-11-06 北京航空航天大学 Modelica language-based modeling simulation method for on-missile electrical system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LI FENGKAI;ZHANG YALI;XIA YINBEN: "NEMO: A Declarative Network Programming and Service Customization Language", INFORMATION AND COMMUNICATIONS TECHNOLOGIES, 15 August 2016 (2016-08-15), pages 65 - 74, XP055935696 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277790A (en) * 2022-09-19 2022-11-01 国网湖北省电力有限公司电力科学研究院 Plug-and-play self-registration communication method for distributed power supply
CN115277790B (en) * 2022-09-19 2022-12-09 国网湖北省电力有限公司电力科学研究院 Plug-and-play self-registration communication method for distributed power supply
CN115242706A (en) * 2022-09-26 2022-10-25 中电运行(北京)信息技术有限公司 Operation management method of electric power system information network simulation platform
CN115242706B (en) * 2022-09-26 2022-11-29 中电运行(北京)信息技术有限公司 Operation management method of electric power system information network simulation platform
WO2024074082A1 (en) * 2022-10-08 2024-04-11 哈尔滨工程大学 Model-based nuclear power device evaluation simulation method and system
CN116431103A (en) * 2023-04-26 2023-07-14 北京计算机技术及应用研究所 Digital DevOps platform design method for embedded software
CN116431103B (en) * 2023-04-26 2023-09-26 北京计算机技术及应用研究所 Digital DevOps platform design method for embedded software
CN116644580A (en) * 2023-05-29 2023-08-25 苏州异格技术有限公司 Electronic product model design automation method, device, equipment and medium
CN116644580B (en) * 2023-05-29 2024-01-19 苏州异格技术有限公司 Electronic product model design automation method, device, equipment and medium
CN116562050A (en) * 2023-06-06 2023-08-08 四川盛世融合科技有限公司 Visual modeling method of distributed simulation platform and distributed simulation platform
CN116562050B (en) * 2023-06-06 2024-01-09 四川盛世融合科技有限公司 Visual modeling method of distributed simulation platform and distributed simulation platform

Also Published As

Publication number Publication date
CN112153165A (en) 2020-12-29
CN112153165B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2022110435A1 (en) Method, system and device for constructing power service simulation environment, and storage medium
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
EP3143511B1 (en) Method and apparatus for affinity-based network configuration
Rampfl Network simulation and its limitations
Petrovic et al. SMADA-Fog: Semantic model driven approach to deployment and adaptivity in fog computing
CN110198247A (en) Interface test method and system
KR101548160B1 (en) Interacting system and method for wargame model
CN103634154A (en) Simulation system and simulation method for network state
Pujol-Perich et al. Ignnition: Bridging the gap between graph neural networks and networking systems
Franceschini et al. DEVS-Ruby: a Domain Specific Language for DEVS Modeling and Simulation
Neema et al. Simulation integration platforms for cyber-physical systems
Montecchi et al. A DSL-supported workflow for the automated assembly of large stochastic models
Qiao et al. Analysis of Evolutionary Model of DIKW Based on Cloud Resource Allocation Management
Yang et al. Smart intent-driven network management
Mendes et al. Experiment lab server architecture: A web services approach to supporting interactive LabVIEW-based remote experiments under MIT's iLab shared architecture
KR102188044B1 (en) Framework system for intelligent application development based on neuromorphic architecture
Neema Large-scale integration of heterogeneous simulations
US20060004790A1 (en) Method and apparatus for providing an interface between system architect and OPNET
US20230041718A1 (en) Automated code generation based on pseudo-code
Vassev et al. Modeling the Image-processing Behavior of the NASA Voyager Mission with ASSL
CN112882696B (en) Full-element model training system based on supercomputer
KR102553366B1 (en) Spiking Neural Network-Based Component Generating System for Intelligent Application IoT
Starks et al. Dcep-sim: An open simulation framework for distributed cep: Introduction for users and prospective developers
US9871667B2 (en) Interaction protocol for interacting computer systems
Cavalieri et al. Improving engineering process in Smart Grid by IEC 61850 SCL and OPC UA integration

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.09.2023).

122 Ep: pct application non-entry in european phase

Ref document number: 20963323

Country of ref document: EP

Kind code of ref document: A1