CN113807627A - Micro-service architecture server, method and system for clearing electric power spot case - Google Patents

Micro-service architecture server, method and system for clearing electric power spot case Download PDF

Info

Publication number
CN113807627A
CN113807627A CN202010556476.9A CN202010556476A CN113807627A CN 113807627 A CN113807627 A CN 113807627A CN 202010556476 A CN202010556476 A CN 202010556476A CN 113807627 A CN113807627 A CN 113807627A
Authority
CN
China
Prior art keywords
service
micro
clearing
calculation
case
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010556476.9A
Other languages
Chinese (zh)
Inventor
施雄华
顾全
陈根军
蒲桂林
徐晓亮
邹大云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering Co Ltd
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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN202010556476.9A priority Critical patent/CN113807627A/en
Publication of CN113807627A publication Critical patent/CN113807627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00004Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the power network being locally controlled
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/008Circuit arrangements for ac mains or ac distribution networks involving trading of energy or energy transmission rights
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/10Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Power Engineering (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Primary Health Care (AREA)
  • Educational Administration (AREA)
  • Public Health (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a micro-service architecture server for electric power spot case clearing, including: the case clearing micro-service module is used for receiving the structured calculation request information and the calculation setting information, distributing calculation resources according to the calculation request information to set cases, carrying out clearing calculation on the setting cases according to the calculation setting information, and feeding back the structured result of the clearing calculation to the client; and the case management micro-service module is used for providing storage and extraction services of case data. The micro-service architecture server performs multi-case service on the power spot inventory calculation and the modules thereof.

Description

Micro-service architecture server, method and system for clearing electric power spot case
Technical Field
The application relates to the field of power systems, in particular to a micro-service architecture server, a method and a system for clearing power spot cases.
Background
With the continuous deepening of the reform of the Chinese electric power system, the construction of the electric power spot market is already developed in the test points of China, and the corresponding technical support system is in the key stage of research and development. The clearing calculation is a core business function of the electric power spot market technical support system, and the application scene comprises long-period unit combination, day-ahead market clearing, daily planning, real-time market clearing, market analysis, simulation deduction and the like, and covers the whole operation process of the electric power spot market.
Multiple processes of the electric power spot market operation need to be developed simultaneously, and the clearing boundary data often needs to be modified, so that multiple cases are formed.
The statements in the background section merely represent techniques known to the public and are not intended to represent prior art in the field.
Disclosure of Invention
The application relates to a micro-service architecture server for clearing electric power spot cases, which performs multi-case service on electric power spot clear calculation and modules thereof.
According to one aspect of the application, the micro-service architecture server for electric power spot case clearing comprises: the case clearing micro-service module is used for receiving the structured calculation request information and the calculation setting information, distributing calculation resources according to the calculation request information to set cases, carrying out clearing calculation on the setting cases according to the calculation setting information, and feeding back the structured result of the clearing calculation to the client; and the case management micro-service module is used for providing storage and extraction services of case data.
According to some embodiments of the present application, the micro-service architecture server for power spot case clearing further includes the following modules that can be called by the case clearing micro-service module: the power grid model micro-service module is used for providing a power grid model comprising physical parameters and connection relations of the power grid primary equipment; the clearing boundary data micro-service module is used for providing boundary data required by case clearing; the data checking micro-service module is used for checking and preprocessing the power grid model and the clearing boundary data and providing the checked power grid model and the clearing boundary data; a future mode generation micro-service module, which generates the future mode of the power grid in each clearing time period according to the power grid model and the clearing boundary data, wherein the clearing boundary data comprises: load prediction data, inter-area tie line plans, unit quotations, maintenance plans and section limit values; the optimization calculation micro-service module is used for establishing an optimization model and performing optimization calculation by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information to generate a unit power generation plan and node electricity price in each clearing period; and the safety checking micro-service module is used for checking the safety of the power grid under the ground state and the expected fault by combining the future mode of the power grid and the power generation plan of the unit, and providing checking results comprising out-of-limit information, sensitivity information and a node branch model.
According to some embodiments of the present application, the following modules that the optimized computing microservice module can call are also included: the network constraint generation micro-service module is used for generating network constraints according to the out-of-limit information and the corresponding node branch models and sensitivity information; the safety constraint unit combination micro-service module is used for generating an optimization model by combining the checked clearing boundary data and the network constraint, and performing safety constraint unit combination calculation to obtain unit combinations in each clearing time period; and the safety constraint economic dispatching micro-service module is used for combining the checked clearing boundary data and the network constraint, fixing a unit start-stop plan according to unit combination, generating an optimization model and performing safety constraint economic dispatching calculation to obtain a unit power generation plan and node power price in each clearing period.
According to some embodiments of the present application, the following modules that can be called by the security check microservice module are further included: the topology analysis micro-service module is used for forming a node branch model for calculation and analysis according to the primary equipment connection relation and the switch disconnecting link state; the load flow calculation micro-service module is used for calculating the load flow distribution of the power grid based on the node branch model by combining the power generation and load conditions of the power grid and providing the out-of-limit conditions of equipment and sections; and the sensitivity calculation micro-service module is used for calculating and providing the sensitivity of the setting unit to the setting equipment or the section.
According to another aspect of the present application, there is also provided a micro-service architecture based power spot multi-case clearing service method, including: the server calls a case clearing micro-service, receives structured calculation request information and calculation setting information, distributes calculation resources and sets cases according to the calculation request information, and calls a plurality of micro-services with independent functions to clear the setting cases according to the calculation setting information; and according to the calculation result, the server organizes and sends a service response to the client in a structured mode.
According to some embodiments of the present application, the electric power spot multi-case clearing service method includes: the client organizes data according to interface specifications in a structured mode, wherein the structured data comprises calculation request information and calculation setting information; and the client sends the organized structured data to the server.
According to some embodiments of the present application, the electric power spot multi-case clearing service method further includes: the server provides a case data storage and extraction service by using the case management micro-service.
According to some embodiments of the present application, the case clearing microservice performs the following operations; calling a power grid model micro-service to obtain a power grid model which is provided by the power grid model micro-service and comprises power grid primary equipment physical parameters and a connection relation; calling a clearing boundary data micro-service to obtain clearing boundary data required by case clearing provided by the clearing boundary micro-service; calling data checking micro-service, checking and preprocessing the power grid model and the clearing boundary data, and if the data checking does not pass, ending the case clearing micro-service calling; if the data passes the verification, a future mode is called to generate micro-service, and a power grid future mode of each clearing time period is generated according to the power grid model and the clearing boundary data; calling an optimized calculation micro-service, and establishing an optimized model and performing optimized calculation by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information to generate a unit power generation plan and node electricity prices in each clearing period; calling safety check micro-service, checking the safety of the power grid under the ground state and the expected fault by combining the future mode of the power grid and the power generation plan of the unit, providing check results comprising out-of-limit information, sensitivity information and a node branch model, and if the safety check is passed, clearing the case and ending the micro-service calling; and if the safety check does not pass, calling the optimized computation microservice and the safety check microservice again according to the safety check result until the safety check passes, and finishing the calling of the case clearing microservice.
According to some embodiments of the present application, the invoking the future manner to generate the microservice comprises: and calling a future mode to generate micro-service, and generating the future mode of the power grid in each clearing period according to the power grid model and the clearing boundary data.
According to some embodiments of the present application, the invoking an optimized computing microservice comprises: calling network constraint to generate micro service, and generating network constraint according to the out-of-limit information and the corresponding node branch model and sensitivity information; calling a safety constraint unit combination micro-service, combining the checked clearing boundary data and the network constraint, generating an optimization model containing the network constraint, and optimizing to obtain a unit combination of each clearing time period; and calling safety constraint economic dispatching micro-service, combining the checked clearing boundary data and the network constraint, fixing a unit start-stop plan according to unit combination, generating an optimization model again, and optimizing to obtain a unit output plan and a node electricity price in each clearing period.
According to some embodiments of the present application, the invoking the security check microservice comprises: calling topology analysis micro-service, and generating a node branch model of the power grid under a set basic state or a certain expected fault in a set clear time period according to the primary equipment connection relation and the switch disconnecting link state; calling a load flow calculation micro-service to obtain a set ground state of a set clearing time period or a power grid load flow condition under a certain expected fault, judging whether equipment or a section is out of limit, and if no equipment or the section is out of limit, safely checking that the micro-service is called to be ended; if the equipment or the section is out of limit, the sensitivity calculation micro-service is called, the sensitivity of each unit to the out-of-limit equipment or the section under the set ground state or a certain expected fault is calculated and set in the clearing time period, and the safety check micro-service calling is finished.
According to yet another aspect of the present application, there is also provided a system for power spot multi-case clearing service, comprising: the client is used for organizing and sending data in a structured mode and receiving service response; the server is used for realizing the electric power spot multi-case clearing service method.
According to some embodiments, the micro-service architecture adopted by the application performs multi-instance service on the power spot inventory calculation and the sub-modules thereof, provides micro-service with unified interfaces, not only solves the problem of multi-case concurrence of the power spot inventory calculation, but also realizes the efficient sharing of the power spot inventory calculation function and the sub-functions thereof.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a method for electric power spot multi-case clearing service based on micro-service architecture according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method of case clearing microservice execution operation according to an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method of optimizing computing microservice execution operations according to an exemplary embodiment of the present application;
FIG. 4A is a flowchart of a method of security check microservice execution operation according to an exemplary embodiment of the present application;
FIG. 4B is a schematic diagram illustrating the components of a ground state and expected failure security check microservice in accordance with an exemplary embodiment of the present application;
FIG. 5 is a system for power spot multi-case checkout microservice according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of a micro service architecture server according to an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of modules that may be invoked by the case statement microservice module in accordance with an illustrative embodiment of the present application;
FIG. 8 is a schematic diagram of modules that may be invoked by an optimized compute microserver module in accordance with an illustrative embodiment of the present application;
fig. 9 is a schematic diagram of modules that may be called by a security check microservice module according to an exemplary embodiment of the present application.
Detailed Description
The following detailed description of the present application, taken in conjunction with the accompanying drawings and examples, is provided to enable the aspects of the present application and its advantages to be better understood. However, the specific embodiments and examples described below are for illustrative purposes only and are not limiting of the present application.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The micro-service architecture is adopted, multi-instance service is carried out on the electric power spot shipment calculation and sub-modules, and micro-service with unified interfaces is provided.
The electric power spot shipment calculation is a typical multi-case concurrent calculation mode and is very suitable for service. Meanwhile, the interior of the electric power spot shipment calculation is divided into a plurality of sub-modules, and if the electric power spot shipment calculation is served, the electric power spot shipment calculation can be shared by other analysis applications, so that the software reuse rate is improved.
The micro-service architecture is an emerging software architecture, which is a loosely-coupled service-oriented architecture with a certain bounded context. Each service has its own processing and lightweight communication mechanism, and may be deployed on a single or multiple servers. The microservice architecture creates applications around business domain components that can be developed, managed, and iterated independently. The purpose of the micro-service is to effectively split the application, split a complete application into a plurality of service functions, and realize agile development, rapid deployment and service reuse.
The present application will be described with reference to specific examples.
Fig. 1 is a flowchart of a method for performing a power spot multi-case clearing service based on a micro-service architecture according to an exemplary embodiment of the present application.
Referring to fig. 1, according to an exemplary embodiment, in S101, a server invokes a case out microservice. In the embodiment, the first-layer service of the micro-service architecture-based power spot multi-case clearing service method includes a case clearing micro-service and a case management micro-service.
In S103, the structured calculation request information and the calculation setting information are received. According to some embodiments, the client organizes data according to the interface specification in a structured manner, and then sends the organized structured data to the server. In the present embodiment, the structured data includes calculation request information and calculation setting information. In this embodiment, the calculation setting includes power grid model version information and clearing boundary data information. The clearing boundary data information includes system load prediction information, bus load prediction information, inter-area link plan information, maintenance plan information, and the like.
In S105, a calculation resource is allocated and a case is set according to the calculation request information. According to some embodiments, a server processes a computing request.
In S107, a plurality of function-independent microservices are called to perform a clearing calculation on the setting case according to the calculation setting information. According to some embodiments, the server processes the calculation request to allocate calculation resources, performs case clearing calculation according to calculation settings, and provides case data storage and extraction services by using a case management microservice.
In S109, according to the calculation result, the server organizes and sends the service response to the client in a structured manner. According to an exemplary embodiment, the service response includes case clearing success or failure calculation information, a unit power generation plan, node power rates, and the like. In this embodiment, the client receives the result returned by the server.
Fig. 2 is a flowchart of a method for executing operations of a case clearing microservice according to an exemplary embodiment of the present application.
Referring to fig. 2, according to an exemplary embodiment, in S202, a power grid model micro service is called, and a power grid model provided by the power grid model micro service and including physical parameters and connection relationships of primary devices of a power grid is obtained.
In S204, a clearing boundary data microservice is called to obtain clearing boundary data required for case clearing provided by the clearing boundary data microservice.
In S206, a data checking micro-service is called, and checking and preprocessing are performed on the power grid model and the clearing boundary data.
In S208, it is determined whether the data check passes. If the data check is passed, the process proceeds to S210. If the data check is not passed, the step S218 is carried out, and the micro-service calling is cleared.
In S210, a future mode is called to generate micro-services, and the power grid future mode of each clearing period is generated according to the power grid model and the clearing boundary data. According to some embodiments, a future mode is invoked to generate microservices, and a grid future mode for each clearing period is generated according to a grid model and clearing boundary data, wherein the clearing boundary data comprises: load prediction data, inter-area tie line plans, unit quotations, maintenance plans and section limit values.
In S212, an optimization calculation micro-service is called, an optimization model is established and optimized calculation is carried out by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information, and a unit power generation plan and node electricity price in each clearing period are generated.
In S214, the safety check micro-service is called, the grid safety under the ground state and the expected fault is checked by combining the future mode of the grid and the generation plan of the unit, and check results including out-of-limit information, sensitivity information and a node branch model are provided.
In S216, it is determined whether the security check passes. And if the security check is passed, the step S218 is carried out, and the case clearing micro-service calling is finished. And if the safety check does not pass, calling the optimized calculation micro-service and the safety check micro-service again according to the safety check result until the safety check passes, and finishing the calling of the case clearing micro-service.
According to some embodiments, the microservice invoked by the operation method of case-out microservice execution may be viewed as a second tier service of the power-in-stock multi-case-out servitization method based on microservice architecture.
FIG. 3 is a flowchart of a method for optimizing computing microservice execution operations according to an exemplary embodiment of the present application.
Referring to fig. 3, according to some embodiments, after the invocation of the optimized computation microservice begins, a network constraint generation microservice is invoked in S302, and a network constraint is generated according to the out-of-limit information and the node branch model and sensitivity information corresponding thereto.
In S304, a safety constraint unit combination micro-service is called, and an optimization model containing network constraint is generated and optimized by combining the checked clearing boundary data and the network constraint, so that a unit combination in each clearing period is obtained.
In S306, the safety constraint economic dispatching micro-service is called, the checked clearing boundary data and network constraint are combined, the set start-stop plan is fixed according to the set combination, the optimization model is generated again and optimized, and the set output plan and the node electricity price in each clearing period are obtained. Subsequently, invoking the optimized compute microservice ends.
FIG. 4A is a flowchart of a method for performing operations by a security check microservice according to an example embodiment of the present application.
As shown in fig. 4A, in S402, a topology analysis microserver is invoked, and a node branch model of the power grid under a set clear time period set ground state or a certain expected fault is generated according to the primary device connection relationship and the switch disconnecting link state.
In S404, a power flow calculation micro-service is called to obtain the power flow situation of the power grid under the set ground state or a certain expected fault in the set clear time period.
In S406, it is determined whether the device or the cross section is out of limit, and if no device or cross section is out of limit, the security check microservice call is ended. If there is a device or the cross section is out of limit, the process proceeds to S408.
In S408, if there is an equipment or a section out of limit, the sensitivity calculation microserver is invoked, the sensitivity of each unit to the out-of-limit equipment or the section under the set ground state or a certain expected fault is calculated and set in the clear period, and the invocation of the security check microserver is finished. The safety check needs to be performed on all the k-numbered discharge periods of the power grid under the expected failure and the n-numbered set fault, as shown in the schematic composition diagram of the k-numbered discharge periods and the safety check microservices under the expected failure in fig. 4B. The safety checks are performed in parallel by calling the safety check service, so that the safety check time is shortened, and the whole case clearing process is accelerated.
According to some embodiments, the microservices invoked by invoking the operation methods executed by the optimized compute microservices and the security check microservices may be considered as a third tier of services based on the microservice architecture's power-on-demand multi-case clearing servizations method.
According to some embodiments, the embodiment of the application adopts a micro-service architecture, multi-instance services are performed on the services of the three layers, and the Protobuf is used as a data carrier to provide micro-services with uniform interfaces. It should be noted that Protobuf is a mixed language data standard in Google corporation, is a light and efficient structured data storage format, and can be used for language-independent, platform-independent and extensible serialized structured data formats in the fields of communication protocols, data storage and the like.
According to an exemplary embodiment, taking case clearing service as an example, a service request description file is defined by Protobuf, as shown in the following table:
Figure BDA0002544487340000101
according to some embodiments, taking case clearing service as an example, a service response description file is defined by Protobuf, as shown in the following table:
Figure BDA0002544487340000111
according to the illustrative embodiment, the micro-services of the application all make corresponding container images, and after receiving a service request, the server generates corresponding containers through the images to instantiate the service, so that the rapid deployment of the service instances is realized. In addition, after the server receives the service request, the service conditions of resources such as a CPU (central processing unit), a memory and the like of each server are automatically checked, and the service is deployed to the most appropriate server according to the resource quantity required by the service, so that the elastic expansion of the service instance is realized.
Fig. 5 is a system for power spot multi-case clearing service according to an exemplary embodiment of the present application.
In the system, each client is used for organizing and sending data in a structured mode and receiving service response. The client side organizes data from users 501, 502, 503 and the like in a structured mode respectively, and transmits a calculation request and calculation setting to the micro service architecture server for electric power stock multi-case clearing, so as to realize the electric power stock multi-case clearing service method.
As shown in fig. 5, the service end in the embodiment of the present application includes three layers of services:
first-level service: case clearing service and case management service;
second-level service: the system comprises a power grid model service, a clearing boundary data service, a data checking service, a future mode generation service, an optimized calculation service and a safety checking service;
third-level service: the method comprises a network constraint generation service, a safety constraint unit combination service, a safety constraint economic dispatching service, a topology analysis service, a load flow calculation service and a sensitivity calculation service.
According to some embodiments, the method for the power spot shipment multi-case clearing service based on the micro-service architecture provided by the application is adopted to perform multi-instance service on the power spot shipment calculation and the sub-modules thereof, and provide micro-service with uniform interfaces, so that the problem of concurrence of multiple cases in the power spot shipment calculation is solved, and the efficient sharing of the power spot shipment calculation function and the sub-functions thereof is realized.
Fig. 6 is a schematic structural diagram of a microservice architecture server according to an exemplary embodiment of the present application.
Referring to fig. 6, a microservice architecture server 600 for power spot case clearing includes a case clear microservice module 602 and a case management microservice module 604, according to some embodiments. In this embodiment, case clear micro-service module 602 and case management micro-service module 604 may serve as the first layer of services for micro-service architecture server 600.
As shown in fig. 6, according to some embodiments, the case clearing micro-service module 602 is configured to receive structured computation request information and computation setting information from the client, allocate computation resources to set cases according to the computation request information, perform clearing computation on the set cases according to the computation setting information, and feed back a structured result of the clearing computation to the client.
As shown in fig. 6, the case management micro-service module 604 is used to provide a storage and extraction service for case data. According to some embodiments, after the case clearing is completed, a case management service is invoked to save the current computing case.
Fig. 7 is a schematic diagram of modules that may be invoked by the case statement microserver module according to an exemplary embodiment of the present application.
As shown in fig. 7, according to an exemplary embodiment, the modules that may be invoked by the case clearing microservice module include a grid model microservice module 702, a clearing boundary data microservice module 704, a data check microservice module 706, a future generation microservice module 708, an optimized computation microservice module 710, and a security check microservice module 712. In this embodiment, the case manifest microservice module includes a plurality of sub-services with independent functions, which can be used as a second layer service of the server 700.
According to some embodiments, the grid model microservice module 702 is configured to provide a grid model including grid primary equipment physical parameters and connection relationships. And a clearing boundary data micro-service module 704 for providing boundary data required by case clearing. And the data checking micro-service module 706 is used for checking and preprocessing the power grid model and the clearing boundary data and providing the checked power grid model and the clearing boundary data. A future mode generation microservice module 708 for including: and generating a power grid future mode of each clearing time period according to the power grid model and the clearing boundary data. And the optimization calculation micro-service module 710 is used for establishing an optimization model and performing optimization calculation by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information, and generating a unit power generation plan and node electricity prices in each clearing period. And the safety checking micro-service module 712 is used for checking the safety of the power grid under the ground state and the expected fault by combining the future mode of the power grid and the power generation plan of the unit, and providing checking results including out-of-limit information, sensitivity information and a node branch model.
FIG. 8 is a block diagram illustrating modules that may be invoked by an optimized compute microserver module according to an illustrative embodiment of the present application.
Referring to fig. 8, the microservice architecture server invoked optimized computation microservice module 810 may also invoke, again hierarchically, a network constraint generation microservice module 802, a security constraint block assembly microservice module 804, and a security constraint economic dispatch microservice module 806, according to an exemplary embodiment.
According to some embodiments, the network constraint generating microservice module 802 is configured to generate network constraints based on the out-of-limit information and its corresponding node branch model and sensitivity information. And the safety constraint unit combination micro-service module 804 is used for generating an optimization model by combining the checked clearing boundary data and network constraint, and performing safety constraint unit combination calculation to obtain a unit combination in each clearing time period. And the safety constraint economic dispatching micro-service module 806 is used for combining the checked clearing boundary data and network constraint, fixing the unit start-stop plan according to the unit combination, generating an optimization model, and performing safety constraint economic dispatching calculation to obtain the unit power generation plan and the node power price in each clearing period.
Fig. 9 is a schematic diagram of modules that may be called by a security check microservice module according to an exemplary embodiment of the present application.
Referring to fig. 9, the microservice architecture server invoked security check microservice module 912 may also be invoked hierarchically again including a topology analysis microservice module 902, a load flow calculation microservice module 904, and a sensitivity calculation microservice module 906, according to an example embodiment.
According to some embodiments, the topology analysis microservice module 902 is configured to form a node branch model for computational analysis according to a primary device connection relationship and a switch state. And the load flow calculation micro-service module 904 is used for calculating the load flow distribution of the power grid by combining the power generation and load conditions of the power grid based on the node branch model, and providing the out-of-limit conditions of equipment and sections. And a sensitivity calculation microservice module 906 for calculating and providing the sensitivity of the setting unit to the setting device or section.
According to some embodiments, the electric power spot case clearing micro-service architecture realizes cloud service, can use cloud architecture and platform type deployment in dispersed modules, and realizes agile development, rapid deployment and service reuse of application functions.
It should be understood that the above examples are only for clearly illustrating the present application and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of this invention may be made without departing from the spirit or scope of the invention.

Claims (12)

1. A microservice architecture server for power spot case clearance, comprising:
the case clearing micro-service module is used for receiving the structured calculation request information and the calculation setting information, distributing calculation resources according to the calculation request information to set cases, carrying out clearing calculation on the setting cases according to the calculation setting information, and feeding back the structured result of the clearing calculation to the client;
and the case management micro-service module is used for providing storage and extraction services of case data.
2. The microservice architecture server of claim 1, further comprising the following modules that the case-out microservice module can invoke:
the power grid model micro-service module is used for providing a power grid model comprising physical parameters and connection relations of the power grid primary equipment;
the clearing boundary data micro-service module is used for providing boundary data required by case clearing;
the data checking micro-service module is used for checking and preprocessing the power grid model and the clearing boundary data and providing the checked power grid model and the clearing boundary data;
a future mode generation micro-service module, configured to generate a future mode of the power grid in each clearing period according to the power grid model and the clearing boundary data, where the clearing boundary data includes: load prediction data, inter-area tie line plans, unit quotations, maintenance plans and section limit values;
the optimization calculation micro-service module is used for establishing an optimization model and performing optimization calculation by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information to generate a unit power generation plan and node electricity price in each clearing period;
and the safety checking micro-service module is used for checking the safety of the power grid under the ground state and the expected fault by combining the future mode of the power grid and the power generation plan of the unit, and providing checking results comprising out-of-limit information, sensitivity information and a node branch model.
3. The microservice architecture server of claim 2, further comprising the following modules that the optimized computing microservice module can invoke:
the network constraint generation micro-service module is used for generating network constraints according to the out-of-limit information and the corresponding node branch models and sensitivity information;
the safety constraint unit combination micro-service module is used for generating an optimization model by combining the checked clearing boundary data and the network constraint, and performing safety constraint unit combination calculation to obtain unit combinations in each clearing time period;
and the safety constraint economic dispatching micro-service module is used for combining the checked clearing boundary data and the network constraint, fixing a unit start-stop plan according to unit combination, generating an optimization model and performing safety constraint economic dispatching calculation to obtain a unit power generation plan and node power price in each clearing period.
4. The microservice architecture server of claim 2, further comprising the following modules that the security check microservice module can invoke:
the topology analysis micro-service module is used for forming a node branch model for calculation and analysis according to the primary equipment connection relation and the switch disconnecting link state;
the load flow calculation micro-service module is used for calculating the load flow distribution of the power grid based on the node branch model by combining the power generation and load conditions of the power grid and providing the out-of-limit conditions of equipment and sections;
and the sensitivity calculation micro-service module is used for calculating and providing the sensitivity of the setting unit to the setting equipment or the section.
5. A multi-case clearing service method for electric power spot goods based on a micro-service architecture is characterized by comprising the following steps:
the server calls a case clearing micro-service, receives structured calculation request information and calculation setting information, distributes calculation resources and sets cases according to the calculation request information, and calls a plurality of micro-services with independent functions according to the calculation setting information to clear the setting cases;
and according to the calculation result, the server organizes and sends a service response to the client in a structured mode.
6. The power spot multi-case shipment servitization method according to claim 5, comprising:
the client organizes data according to interface specifications in a structured mode, wherein the structured data comprises calculation request information and calculation setting information;
and the client sends the organized structured data to the server.
7. The power spot multi-case shipment servitization method according to claim 5, further comprising:
the server provides a case data storage and extraction service by using the case management micro-service.
8. The power spot multi-case clearing servization method according to claim 5, wherein the case clearing microservice performs the following operations:
calling a power grid model micro-service to obtain a power grid model which is provided by the power grid model micro-service and comprises power grid primary equipment physical parameters and a connection relation;
calling a clearing boundary data micro-service to obtain clearing boundary data required by case clearing provided by the clearing boundary data micro-service;
calling data checking micro-service, checking and preprocessing the power grid model and the clearing boundary data, and if the data checking does not pass, ending the case clearing micro-service calling;
if the data passes the verification, a future mode is called to generate micro-service, and a power grid future mode of each clearing time period is generated according to the power grid model and the clearing boundary data;
calling an optimized calculation micro-service, and establishing an optimized model and performing optimized calculation by combining the checked clearing boundary data, the node branch model, the out-of-limit information and the sensitivity information to generate a unit power generation plan and node electricity prices in each clearing period;
calling safety check micro-service, checking the safety of the power grid under the ground state and the expected fault by combining the future mode of the power grid and the power generation plan of the unit, providing check results comprising out-of-limit information, sensitivity information and a node branch model, and if the safety check is passed, clearing the case and ending the micro-service calling;
and if the safety check does not pass, calling the optimized computation microservice and the safety check microservice again according to the safety check result until the safety check passes, and finishing the calling of the case clearing microservice.
9. The power spot multi-case shipment servitization method according to claim 8, wherein said invoking future mode generation microservice comprises:
and calling a future mode to generate micro-service, and generating the future mode of the power grid in each clearing period according to the power grid model and the clearing boundary data.
10. The power spot multi-case shipment servitization method according to claim 8, wherein said invoking an optimized computing microservice comprises:
calling network constraint to generate micro service, and generating network constraint according to the out-of-limit information and the corresponding node branch model and sensitivity information;
calling a safety constraint unit combination micro-service, combining the checked clearing boundary data and the network constraint, generating an optimization model containing the network constraint, and optimizing to obtain a unit combination of each clearing time period;
and calling safety constraint economic dispatching micro-service, combining the checked clearing boundary data and the network constraint, fixing a unit start-stop plan according to unit combination, generating an optimization model again, and optimizing to obtain a unit output plan and a node electricity price in each clearing period.
11. The power spot multi-case shipment servitization method according to claim 8, wherein said invoking a security check microservice comprises:
calling topology analysis micro-service, and generating a node branch model of the power grid under a set basic state or a certain expected fault in a set clear time period according to the primary equipment connection relation and the switch disconnecting link state;
calling a load flow calculation micro-service to obtain a set ground state of a set clearing time period or a power grid load flow condition under a certain expected fault, judging whether equipment or a section is out of limit, and if no equipment or the section is out of limit, safely checking that the micro-service is called to be ended;
if the equipment or the section is out of limit, the sensitivity calculation micro-service is called, the sensitivity of each unit to the out-of-limit equipment or the section under the set ground state or a certain expected fault is calculated and set in the clearing time period, and the safety check micro-service calling is finished.
12. A system for power spot multi-case shipment service, comprising:
the client is used for organizing and sending data in a structured mode and receiving service response;
the server according to any one of claims 1 to 4, configured to implement the power spot multi-case discharge service method according to any one of claims 5 to 11.
CN202010556476.9A 2020-06-17 2020-06-17 Micro-service architecture server, method and system for clearing electric power spot case Pending CN113807627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010556476.9A CN113807627A (en) 2020-06-17 2020-06-17 Micro-service architecture server, method and system for clearing electric power spot case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010556476.9A CN113807627A (en) 2020-06-17 2020-06-17 Micro-service architecture server, method and system for clearing electric power spot case

Publications (1)

Publication Number Publication Date
CN113807627A true CN113807627A (en) 2021-12-17

Family

ID=78943274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010556476.9A Pending CN113807627A (en) 2020-06-17 2020-06-17 Micro-service architecture server, method and system for clearing electric power spot case

Country Status (1)

Country Link
CN (1) CN113807627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543634A (en) * 2022-11-21 2022-12-30 中国电力科学研究院有限公司 Inter-provincial electric power spot transaction clearing method, system and medium based on parallel computing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318391A (en) * 2014-10-24 2015-01-28 中国南方电网有限责任公司 Method for implementing plan security check on basis of power grid operation service bus
CN105137756A (en) * 2015-08-31 2015-12-09 南京南瑞继保电气有限公司 Coordination control method and system for power grid of iron and steel enterprise
US20180026445A1 (en) * 2012-12-31 2018-01-25 Battelle Memorial Institute Distributed hierarchical control architecture for integrating smart grid assets during normal and disrupted operations
CN110543697A (en) * 2019-08-15 2019-12-06 南方电网科学研究院有限责任公司 electric power market simulation operation system
CN110659288A (en) * 2019-09-17 2020-01-07 中国南方电网有限责任公司 Case statement calculation method, system, device, computer equipment and storage medium
CN110751423A (en) * 2019-11-18 2020-02-04 广东电网有限责任公司 State estimation service system, micro-service architecture and state estimation method
CN110865801A (en) * 2019-11-08 2020-03-06 南瑞集团有限公司 Micro-service-based electric power transaction platform business center platform and application method thereof
CN110874692A (en) * 2019-11-05 2020-03-10 中国南方电网有限责任公司 Alternating current-direct current hybrid regional power grid spot market clearing calculation optimization method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180026445A1 (en) * 2012-12-31 2018-01-25 Battelle Memorial Institute Distributed hierarchical control architecture for integrating smart grid assets during normal and disrupted operations
CN104318391A (en) * 2014-10-24 2015-01-28 中国南方电网有限责任公司 Method for implementing plan security check on basis of power grid operation service bus
CN105137756A (en) * 2015-08-31 2015-12-09 南京南瑞继保电气有限公司 Coordination control method and system for power grid of iron and steel enterprise
CN110543697A (en) * 2019-08-15 2019-12-06 南方电网科学研究院有限责任公司 electric power market simulation operation system
CN110659288A (en) * 2019-09-17 2020-01-07 中国南方电网有限责任公司 Case statement calculation method, system, device, computer equipment and storage medium
CN110874692A (en) * 2019-11-05 2020-03-10 中国南方电网有限责任公司 Alternating current-direct current hybrid regional power grid spot market clearing calculation optimization method and device
CN110865801A (en) * 2019-11-08 2020-03-06 南瑞集团有限公司 Micro-service-based electric power transaction platform business center platform and application method thereof
CN110751423A (en) * 2019-11-18 2020-02-04 广东电网有限责任公司 State estimation service system, micro-service architecture and state estimation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴云亮 等: "面向现货市场出清的条件断面约束模型化处理方法", 电网技术, 28 May 2020 (2020-05-28), pages 1 - 10 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115543634A (en) * 2022-11-21 2022-12-30 中国电力科学研究院有限公司 Inter-provincial electric power spot transaction clearing method, system and medium based on parallel computing
CN115543634B (en) * 2022-11-21 2023-03-10 中国电力科学研究院有限公司 Provincial electric power spot transaction clearing method, system and medium based on parallel computing

Similar Documents

Publication Publication Date Title
CN112132447B (en) Block chain-based algorithm for evaluating and guaranteeing trust of computing power network
CN109559258B (en) Educational resource public service system
CN113448721A (en) Network system for computing power processing and computing power processing method
CN108665365B (en) Mixed block chain architecture system, processing method and processing system
CN110891094A (en) Terminal software supporting platform based on middle platform
CN110661842B (en) Resource scheduling management method, electronic equipment and storage medium
CN111800434A (en) Multi-channel asset docking platform and working method thereof
CN110493304A (en) Edge calculations system and transaction system
CN108897854A (en) A kind of monitoring method and device of overtime task
CN110430068A (en) A kind of Feature Engineering method of combination and device
CN113377344B (en) Complex information system comprehensive integration method
CN110780856B (en) Electricity data release platform based on micro-service
CN107292598A (en) One kind pays method for routing and pays route middleware
CN115002681A (en) Computing power sensing network and using method and storage medium thereof
CN110515741A (en) A kind of degradation processing method and device based on local task queue
CN113807627A (en) Micro-service architecture server, method and system for clearing electric power spot case
Lin et al. Research on building an innovative electric power marketing business application system based on cloud computing and microservices architecture technologies
US6779186B2 (en) Method for operating and maintenance by base station using remote procedure call in IMT-2000 system
CN112486666A (en) Model-driven reference architecture method and platform
Zhang et al. A SOA-BPM-based architecture for intelligent power dispatching system
Kovalenko Analysis of productivity of distributed systems with service oriented architecture under conditions of limited link and buffer resources of telecommunication network
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
CN111683148B (en) Service processing system and method, service publishing method
US8904369B2 (en) Method and system for automated process distribution
CN102497384B (en) Authentication method and system for accessing cloud computing service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination