Energy management method and device for new energy power system

By obtaining new energy power system fault information, determining fault events and correlations, generating fault correlation trees and identifying fault types, formulating and executing recovery strategies, the problem of long troubleshooting cycles for new energy power systems is solved, and the operation of the system is improved. Stability and failure recovery efficiency.

CN118282041BActive Publication Date: 2024-09-13HAINAN BRANCH OF CHINA NATIONAL OFFSHORE OIL (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410380156.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-30
Publication Date
2024-09-13
Estimated Expiration
2044-03-30

AI Technical Summary

Technical Problem

When a fault occurs in the new energy power system, due to its wide distribution range and diverse modules, the troubleshooting cycle is long and the system abnormal operation time is long, which reduces the operational stability of the power system.

Method used

By obtaining system fault information, determine the abnormal correlation between the fault event and its address information, generate a fault correlation tree, and input it into the fault classification model for identification, determine the target fault type, formulate and issue a fault recovery strategy to implement the fault recover.

Benefits of technology

Using big data to predict the fault type of faulty nodes and implement fault recovery strategies improves the operational stability and fault recovery efficiency of the new energy power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118282041B
    Figure CN118282041B
Patent Text Reader

Abstract

The present invention discloses an energy management method and device for a new energy power system, and relates to the technical field of energy management. The method includes obtaining system fault information when it is determined that a system operation fault occurs, and then determining multiple fault events based on the system fault information, and determining the abnormal correlation between the address information corresponding to the multiple fault events. Based on the abnormal correlation, a fault association tree corresponding to multiple fault events is generated, and the fault association tree is respectively input into a fault classification model for identification, so as to determine the target fault type corresponding to the system fault information. Finally, a fault recovery strategy associated with the target fault type is determined, and the fault recovery strategy is sent to multiple slave servers so that the slave servers execute the fault recovery strategy. Therefore, the fault type corresponding to the fault node can be predicted through big data, and the fault recovery strategy is executed according to the fault type, thereby improving the operational stability of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy management technology, and in particular to an energy management method, device and system for a new energy power system. Background Art

[0002] At present, the application mode of new energy power generation generally adopts power generation, charging, inversion and power consumption. In addition, when the new energy power generation cannot fully charge the battery, the peak and valley power will be used to supplement the battery. However, since there are many modules involved in the working modes of power generation, charging, inversion and power consumption, the operation workload of the new energy power system is large.

[0003] Moreover, after any of the above operating nodes has an abnormality, manual on-site troubleshooting is required. Due to the wide distribution range of the new energy power system, there are many operating nodes that need to be troubleshooted, resulting in a long troubleshooting cycle, abnormal system operation or even long shutdown time, which greatly reduces the operating stability of the power system. Summary of the invention

[0004] In view of the above problems, the present invention is proposed to provide an energy management method and device for a new energy power system that overcomes the above problems or at least partially solves the above problems.

[0005] According to a first aspect of the present invention, there is provided an energy management method for a new energy power system, the method comprising:

[0006] When it is determined that the system has an operational failure, obtaining system failure information;

[0007] Determining multiple fault events according to the system fault information;

[0008] Determine abnormal correlation between address information corresponding to multiple fault events;

[0009] Generating at least one fault correlation tree corresponding to a plurality of the fault events according to the abnormal correlation;

[0010] Inputting at least one fault association tree into a fault classification model for identification, and determining a target fault type corresponding to the system fault information;

[0011] determining a fault recovery strategy associated with the target fault type;

[0012] The fault recovery strategy is issued to multiple slave servers so that the slave servers execute the fault recovery strategy.

[0013] In an optional invention, the system fault information includes a server identifier, and the determining of multiple fault events based on the system fault information includes:

[0014] Query the locally stored server identification library;

[0015] Performing matching of the server identifier in the system fault information in the server identifier library to determine a fault mapping relationship associated with the server identifier;

[0016] The fault identifier in the system fault information is used to match the fault mapping relationship to determine multiple fault events.

[0017] In an optional invention, the system fault information includes a server identifier, and the determining of multiple fault events based on the system fault information includes:

[0018] When the number of identifications identified by the server meets a preset identification condition, generating a fault query instruction including the fault identification;

[0019] Sending the fault query instruction to the slave servers associated with each server identifier, so that each slave server matches the locally stored fault mapping relationship according to the fault identifier of the fault query instruction, determines the fault event and provides feedback;

[0020] Receive the multiple fault events fed back from the server.

[0021] In an optional invention, the generating of the fault query instruction including the fault identifier includes:

[0022] The fault identifier is encrypted using a first encryption formula to obtain an encrypted fault identifier, wherein the first encryption formula is as follows:

[0023]

[0024] K=n*b

[0025] In the above formula, J is the ciphertext matrix corresponding to the encrypted fault identification; S kk Refers to the value corresponding to the kth row and kth column in the encryption matrix; C kk refers to the plain code value corresponding to the kth row and kth column in the plain code matrix; a refers to the encryption weight; wherein, b refers to the number of bits corresponding to the plain code value corresponding to the fault identifier; n refers to a positive integer greater than or equal to 1; k refers to the encryption order corresponding to the fault identifier;

[0026] Generate a fault query instruction based on the encrypted fault identifier.

[0027] In an optional invention, the determining of abnormal correlation between address information corresponding to a plurality of fault events includes:

[0028] Querying a connection topology diagram of the new energy power system, wherein the connection topology diagram is used to characterize the physical connection relationship between each address node in the new energy power system;

[0029] According to the address information associated with the multiple fault events, performing node matching on the connection topology diagram with the address nodes associated with the address information;

[0030] If there is a connection edge between the address nodes associated with the address information of any two fault events, it is determined that there is an abnormal correlation between the two fault events;

[0031] If there is no connection edge between the address nodes corresponding to any two fault events, it is determined that there is no abnormal association between the two fault events.

[0032] An optional invention content, generating at least one fault correlation tree corresponding to the plurality of fault events according to the abnormal correlation, includes:

[0033] Arrange the fault events associated with the anomaly in time sequence, and create a parent node based on the fault event at the beginning of the time sequence;

[0034] Creating a child node according to a fault event abnormally associated with the parent node;

[0035] An association edge is created between the parent node and the child node to determine a fault association tree, wherein the fault association tree includes at least one parent node.

[0036] An optional invention content, wherein the inputting at least one fault association tree into a fault classification model for identification, and determining a target fault type corresponding to the system fault information, includes:

[0037] Inputting at least one fault association tree into a plurality of identical fault classification models for identification, and determining the predicted fault type and probability distribution information of each fault association tree;

[0038] Perform weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types;

[0039] According to the weighted probability value, a target fault type corresponding to the system fault information is determined.

[0040] An optional invention content, performing weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types, includes:

[0041] Determining a weight coefficient of each predicted fault type according to the probability distribution information corresponding to the fault association tree;

[0042] The predicted fault type, weight coefficient and probability distribution information corresponding to each fault association tree are weighted according to a weighting formula to determine the weighted probability values ​​corresponding to different predicted fault types, wherein the weighting formula includes:

[0043] Muz=I1z*P1z+I2z*P2z+...+Iuz*Puz

[0044] Among them, Muz refers to the weighted probability value corresponding to the zth predicted fault type in the uth fault association tree, and Iuz refers to the weight coefficient corresponding to the zth predicted fault type in the uth fault tree; Puz refers to the predicted probability value in the probability distribution information corresponding to the zth predicted fault type in the uth fault tree; wherein Iuz is a pre-set weight coefficient.

[0045] Determining the target fault type corresponding to the system fault information according to the weighted probability value includes:

[0046] The predicted fault type corresponding to the maximum weighted probability value is determined as the target fault type corresponding to the system fault information.

[0047] In an optional embodiment of the invention, the method further comprises:

[0048] If the probability distribution information does not meet the preset probability condition, abnormal fault information is generated according to the system fault information, and sent to the user terminal for display;

[0049] Receiving a newly added fault type fed back by the user terminal based on the abnormal fault information, and updating the fault classification model structure;

[0050] And according to the historical sample data and the abnormal fault information of the newly added fault types, the fault classification model with updated structure is trained;

[0051] When the loss function value of the fault classification model after the updated structure meets the preset loss condition, a trained fault classification model is determined.

[0052] According to a second aspect of the present invention, there is provided an energy management device for a new energy power system, the device comprising:

[0053] A fault information acquisition module is used to acquire system fault information when it is determined that the system has an operating fault;

[0054] A fault event determination module, used to determine multiple fault events based on the system fault information;

[0055] A correlation determination module, used to determine abnormal correlation between address information corresponding to multiple fault events;

[0056] A fault tree generation module, used for generating at least one fault correlation tree corresponding to a plurality of the fault events according to the abnormal correlation;

[0057] A fault type determination module, used to input at least one fault association tree into a fault classification model for identification, and determine a target fault type corresponding to the system fault information;

[0058] A strategy determination module, used to determine a fault recovery strategy associated with the target fault type;

[0059] The strategy issuing module is used to issue the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy.

[0060] In the scheme of the present invention, first, when it is determined that the system has an operational failure, the system fault information can be obtained, and then based on the system fault information, multiple fault events can be determined, and the abnormal correlation between the address information corresponding to the multiple fault events can be determined. Then, based on the abnormal correlation, at least one fault association tree corresponding to the multiple fault events is generated, and at least one fault association tree is respectively input into the fault classification model for identification, so as to determine the target fault type corresponding to the system fault information. Finally, the fault recovery strategy associated with the target fault type is determined, and the fault recovery strategy is sent to multiple slave servers so that the slave servers execute the fault recovery strategy. In this way, the fault type corresponding to the fault node can be predicted through big data, and the fault recovery strategy can be executed according to the fault type, thereby improving the operational stability of the power system.

[0061] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.

[0063] In the attached picture:

[0064] Figure 1 It is a flowchart of the steps of an energy management method for a new energy power system provided by an embodiment of the present invention;

[0065] Figure 2 is a flowchart of another energy management method for a new energy power system provided by an embodiment of the present invention;

[0066] Figure 3 It is a block diagram of an energy management device for a new energy power system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0067] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0068] Reference Figure 1 , shows a flowchart of the steps of an energy management method for a new energy power system provided by an embodiment of the present invention, the method may include:

[0069] S101. When it is determined that an operation failure occurs in the system, obtain system failure information.

[0070] In an embodiment of the present invention, the new energy power system may include a master server and a plurality of slave servers communicatively connected to the master server, wherein the slave servers are distributed in different power module areas of the system, for example, the first slave server is mainly used for data transmission and processing involved in the power generation module of the power system. The second slave server is mainly used for data transmission and processing involved in the charging module of the power system. The third slave server is mainly used for data transmission and processing involved in the inverter module of the power system. The fourth slave server is mainly used for data transmission and processing involved in the power consumption module of the power system. The master server is used to monitor the working status of all slave servers.

[0071] Therefore, when the master server monitors that a thread of one of the slave servers is in an abnormal state, it determines that the new energy power system has a fault, thereby obtaining the corresponding system fault information. Among them, the system fault information refers to a collection of relevant traceability information of the system failure in the current time period. For example, the traceability information may include a fault identifier, which is used to distinguish different fault events of all running nodes in the system. Alternatively, the traceability information may also include a server identifier. The server identifier can be used to trace back to the slave server where the fault event occurred, and the fault identifier can be used to trace back to the fault event that occurred in the power module area involved in this slave server.

[0072] In the embodiment of the present invention, those skilled in the art may determine the number of slave servers according to the distribution scale of the new energy power system. For example, each slave server may also be a server cluster formed by a collection of multiple sub-servers, which is not further limited herein.

[0073] S102: Determine multiple fault events according to the system fault information.

[0074] In the embodiment of the present invention, after acquiring the system fault information, the main server can also determine the fault event corresponding to the system fault information through the fault identifier in the system fault information. Thus, multiple fault events can be determined.

[0075] In some implementations, when the system fault information includes a server identifier, a locally stored server identifier library may be queried, and then the server identifier in the system fault information is matched in the server identifier library to determine the fault mapping relationship associated with the server identifier. Finally, the fault identifier in the system fault information is used to match the fault mapping relationship to determine multiple fault events.

[0076] S103: Determine abnormal correlation between address information corresponding to multiple fault events.

[0077] S104: Generate at least one fault correlation tree corresponding to the plurality of fault events according to the abnormal correlation.

[0078] In the embodiment of the present invention, considering that a failure on a certain node may cause a failure of a node connected to it, the abnormal correlation between the address information corresponding to the multiple fault events can be determined. The abnormal correlation can include two association attributes: yes and no. Thus, according to the different attributes corresponding to the abnormal correlation, at least one fault correlation tree corresponding to the multiple fault events is generated. Therefore, for each fault critical group, it includes at least one fault event.

[0079] S105: Input at least one fault association tree into a fault classification model for identification, and determine a target fault type corresponding to the system fault information.

[0080] In an embodiment of the present invention, the fault classification model is used to predict the target fault type corresponding to the fault event. In some implementations, the fault classification model may be a CNN (Convolutional Neural Network) model, etc. Thus, at least one fault association tree is input into the fault classification model for identification, and the target fault type corresponding to the system fault information is determined.

[0081] S106: Determine a fault recovery strategy associated with the target fault type.

[0082] S107: Send the fault recovery strategy to multiple slave servers, so that the slave servers execute the fault recovery strategy.

[0083] In an embodiment of the present invention, the fault recovery strategy can be understood as the necessary measures taken to resolve the fault event of the target fault type. It can be pre-set by a technician in this field according to different fault events. After determining the target fault type, the fault recovery strategy associated with the target fault type can be matched. Thus, the fault recovery strategy can be sent to the slave server so that the slave server executes the fault recovery strategy. Thereby, the fault recovery efficiency of the new energy power system can be improved, and the operation stability of the power system can be improved.

[0084] In summary, an energy management method for a new energy power system provided by an embodiment of the present invention may include first obtaining system fault information when determining that the system has an operational fault, and then determining multiple fault events based on the system fault information, and determining the abnormal correlation between the address information corresponding to the multiple fault events. Then, based on the abnormal correlation, generate at least one fault association tree corresponding to the multiple fault events, and input at least one fault association tree into the fault classification model for identification, and determine the target fault type corresponding to the system fault information. Finally, determine the fault recovery strategy associated with the target fault type, and send the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy. In this way, the fault type corresponding to the fault node can be predicted through big data, and the fault recovery strategy can be executed according to the fault type, thereby improving the operational stability of the power system.

[0085] Reference Figure 2, shows a flowchart of the steps of another energy management method for a new energy power system provided by an embodiment of the present invention, the method may include:

[0086] S201. When it is determined that an operation failure occurs in the system, obtain system failure information.

[0087] In the embodiment of the present invention, the description of step S201 refers to the description of the above step S101.

[0088] S202: Determine multiple fault events according to the system fault information.

[0089] In an embodiment of the present invention, after obtaining the system fault information, the main server can also determine the fault event corresponding to the system fault information through the server identifier in the system fault information. When the number of identifiers of the server identifier meets the preset identification condition, a fault query instruction including the fault identifier is generated. The preset identification condition may include a preset identification threshold. When the server identifier corresponding to the system fault is greater than or equal to the preset identification threshold, it is determined that there are many slave servers involved in the current system fault. When determining the fault event, more running memory of the main server will be occupied, thereby reducing the speed of determining the fault event. Therefore, a corresponding fault query instruction can be generated based on the fault identifier. And the fault query instruction is issued to the slave servers associated with each server identifier.

[0090] In some optional implementations, the main server may use a first encryption formula to encrypt the fault identifier to obtain an encrypted fault identifier during the process of generating the fault query instruction including the fault identifier, wherein the first encryption formula is as follows:

[0091]

[0092] K=n*b Formula (2)

[0093] In the above formula, J is the ciphertext matrix corresponding to the encrypted fault identification; S kk Refers to the value corresponding to the kth row and kth column in the encryption matrix, S 11 -S kk Construct the corresponding encryption matrix; C kk Refers to the plain code value corresponding to the kth row and kth column in the plain code matrix, C 11 -C kkConstitute the corresponding plaintext matrix; a refers to the encryption weight; wherein, b refers to the number of bits corresponding to the plain code value corresponding to the fault identification; n refers to a positive integer greater than or equal to 1. Those skilled in the art can determine the value of n according to actual design requirements. For example, the larger n is, the higher the corresponding encryption order is, and the stronger the data security of the encrypted fault identification is; k refers to the encryption order corresponding to the fault identification.

[0094] Thereby, the security of data transmission can be guaranteed after a system failure occurs. Finally, a fault query instruction is generated based on the encrypted fault identifier, and is sent to the slave server associated with the corresponding server identifier. In the above case, by occupying the computing resources of each slave server, after each slave server obtains the fault query instruction, it synchronously matches the locally stored fault mapping relationship based on the fault identifier in the fault query instruction, determines the fault event and provides feedback. Finally, multiple fault events fed back by the slave server are received. Thus, the amount of computation required for fault event determination can be shared by processing data in parallel by multiple slave servers, thereby improving the fault determination speed of the system. The fault mapping relationship may include the corresponding relationship between the fault identifier and the fault event in the power module area involved in this slave server.

[0095] S203: According to the address information associated with the multiple fault events, perform node matching on the connection topology graph with the address nodes associated with the address information.

[0096] In the embodiment of the present invention, considering that a failure on a certain node may cause a failure in a node connected to it, the abnormal correlation between address information corresponding to multiple failure events can be determined. The abnormal correlation can include two correlation attributes: yes or no.

[0097] In some implementations, when the new energy power system is being laid, a physical link tree corresponding to the new energy power system may be simultaneously established, wherein the physical link tree is used to represent the physical connection relationship between each address sub-node in the new energy power system.

[0098] In some implementations, when laying the new energy power system, a connection topology diagram corresponding to the new energy power system can be simultaneously established. The connection topology diagram is used to characterize the physical connection relationship between each address node in the new energy power system. That is to say, when constructing the connection topology diagram, the address information corresponding to each power module or power unit corresponding to the new energy power system can be used as each address node, and a connection edge between two address nodes can be constructed to characterize the physical connection relationship between two power modules or two power units.

[0099] Therefore, according to the address information associated with a plurality of fault events, node matching of the connection topology diagram with the address nodes associated with the address information can be performed.

[0100] S204: If there is a connection edge between the address nodes associated with the address information of any two fault events, it is determined that there is an abnormal association between the two fault events.

[0101] S205: If there is no connection edge between the address nodes corresponding to any two fault events, it is determined that there is no abnormal association between the two fault events.

[0102] In the embodiment of the present invention, if there is a connection edge between address nodes associated with address information of any two fault events, it is determined that there is an abnormal association between the two fault events, and it is further determined that the two current fault events are associated.

[0103] If there is no connection edge between the address nodes associated with the address information of any two fault events, it is determined that the power faults occurring in the corresponding power modules and power units are independent of each other and are not associated with each other. Similarly, the abnormal correlation between any two fault events among the multiple fault events is determined respectively.

[0104] S206: Generate at least one fault correlation tree corresponding to the plurality of fault events according to the abnormal correlation.

[0105] In the embodiment of the present invention, after determining the abnormal correlation between any two fault events, at least one fault correlation tree corresponding to the multiple fault events is generated according to different attributes corresponding to the abnormal correlation. Thus, at least two fault events with abnormal correlation can be classified into one category, and fault events with no abnormal correlation with any other fault events can be classified into one category. And fault correlation trees are constructed for multiple fault events respectively.

[0106] In some implementations, a fault event that has no abnormal association with any other fault event is used as a parent node of a corresponding fault association tree to obtain a fault association tree. That is, for an independent fault event, its corresponding fault association tree has only one parent node.

[0107] In other embodiments, for multiple fault events with abnormal association, the fault events with abnormal association can be arranged in the time sequence of fault occurrence, and a parent node is created based on the fault event at the beginning of the time sequence (the fault event that fails first). In other words, the fault event that fails first may be the main cause of other fault events with abnormal association. Therefore, a child node can be created based on the fault event with abnormal association with the parent node.

[0108] In one embodiment, the child node may include a first child node and a second child node, and other fault events that are abnormally associated with the fault event that firstly fails are created as the first child node of the corresponding parent node. And an association edge is created between the parent node and the child node. The fault event that is abnormally associated with the other fault events is created as the second child node of the corresponding first child node. Thus, by analogy, at least one fault association tree corresponding to multiple fault events is determined, wherein the fault association tree includes at least one parent node.

[0109] S207: Input at least one fault association tree into a fault classification model for identification, and determine a target fault type corresponding to the system fault information.

[0110] In an embodiment of the present invention, the fault classification model is used to predict the target fault type corresponding to the fault event. In some embodiments, the fault classification model may use a CNN (Convolutional Neural Network) model or the like. Thus, at least one fault association tree is input into the fault classification model for identification, and the target fault type corresponding to the system fault information is determined. Considering that some fault types in the energy management system are similar, and in order to improve the recognition accuracy of the fault type, multiple fault classification models with the same network structure may be set.

[0111] Thus, at least one fault association tree can be input into multiple identical fault classification models for identification, and the predicted fault type and probability distribution information of each fault association tree can be determined. The probability distribution information is a one-dimensional vector, which is used to characterize the probability value distribution corresponding to different predicted fault types. The predicted fault type predicted output in the fault classification model is the fault type with the largest corresponding predicted probability value. The cumulative sum of the predicted probability values ​​corresponding to each fault type in the probability distribution information is 1.

[0112] Then, weighted statistics are performed on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types. The weighted probability value is used to evaluate the fault similarity between the predicted fault type and the actual fault event. Therefore, the target fault type corresponding to the system fault information can be determined based on the weighted probability value. In some optional embodiments of the invention, it can be determined based on the weighted probability value whether the target fault type corresponding to the system fault information can be accurately identified by the fault classification model. If the weighted probability value is large, it means that the fault similarity between the current fault event and the fault event corresponding to the predicted fault type is extremely high, and the target fault type corresponding to the system fault information is determined to have the largest weighted probability value.

[0113] If the weighted probability value is too small, it means that the possibility that the current fault event is a fault event of a fault type other than the predicted fault type increases, and thus the system does not preset a corresponding fault recovery strategy. Therefore, a weighted probability threshold can be preset. When the weighted probability value is greater than or equal to the weighted probability threshold, it can be determined that the fault similarity between the current fault event and the fault event corresponding to the predicted fault type is extremely high. Those skilled in the art can determine the specific weighted probability threshold according to actual design requirements, and no excessive restrictions are made here.

[0114] When the weighted probability value is less than the weighted probability threshold, abnormal fault information is generated based on the system fault information and sent to the user terminal for display. The main server can also provide a control page to the user terminal for the abnormal fault information and provide a control control. Based on the user's editing operation on the control control on the control page, at least one fault type and fault recovery record are obtained.

[0115] The receiving user terminal updates the structure of the fault classification model based on the newly added fault types fed back by the abnormal fault information, that is, the fault classification model of N fault types is updated to the fault classification model of N+1 fault types, and the fault classification model after the updated structure is trained according to the historical sample data and the abnormal fault information of the newly added fault types. That is, each time the sample fault association tree corresponding to the abnormal fault information is input into the fault classification model for classification, and the corresponding loss function value is determined based on the predicted fault type identified by the fault classification model and the actual fault type to which it belongs, and the model parameters of the fault classification model are adjusted according to the loss function value. When the loss function value of the fault classification model after the updated structure meets the preset loss condition, the trained fault classification model is determined. For example, the preset loss condition can be that the decrease in the loss function value is very small, or it remains basically unchanged.

[0116] The method further includes, after acquiring the fault type and the fault recovery record, storing the fault recovery record corresponding to the newly added fault type based on the fault recovery record, updating the corresponding fault recovery strategy based on the fault recovery record, and establishing a strategy correspondence between the fault recovery strategy and the newly added fault type, so as to facilitate the subsequent matching of the fault recovery strategy associated with the target fault strategy.

[0117] In an optional embodiment of the invention, performing weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types may include:

[0118] The weight coefficient of each predicted fault type is determined according to the probability distribution information corresponding to the fault association tree.

[0119] The predicted fault type, weight coefficient and probability distribution information corresponding to each fault association tree are weighted according to a weighting formula to determine the weighted probability values ​​corresponding to different predicted fault types, wherein the weighting formula includes:

[0120] Muz=I1z*P1z+I2z*P2z+...+Iuz*Puz formula (3)

[0121] Among them, Muz refers to the weighted probability value corresponding to the zth predicted fault type in the uth fault association tree, and Iuz refers to the weight coefficient corresponding to the zth predicted fault type in the uth fault tree; Puz refers to the predicted probability value in the probability distribution information corresponding to the zth predicted fault type in the uth fault tree; wherein Iuz is a pre-set weight coefficient.

[0122] In an embodiment of the present invention, the weight coefficients of the predicted fault types of multiple fault classification models can be determined based on the probability distribution information corresponding to the fault association tree. The main function of setting the weight coefficient is to amplify the predicted probability value corresponding to the predicted fault type output by the fault classification model and reduce the predicted probability value corresponding to other fault types except the predicted fault type in the fault classification model, so that the influence of the accidental distribution of the predicted probability value on the accuracy of the target fault type can be reduced in the weighting process. Therefore, for the same fault type in different fault association trees, the corresponding weight coefficients can be different.

[0123] In some embodiments, for a fault association tree, the weight coefficient of each predicted fault type can be determined based on the probability distribution information output by it. For example, the probability distribution information corresponding to the first fault association tree is (0.07, 0.13, 0.1, 0.21, 0.49), then the corresponding weight coefficient can be (0, 0.2, 0.1, 0.8, 1.1). For example, the probability distribution information corresponding to the second fault association tree is (0.07, 0.1, 0.11, 0.21, 0.51), then the corresponding weight coefficient can be (0, 0.1, 0.2, 0.8, 1.1). In other words, the weight coefficient can be distributed according to the predicted probability values ​​in the probability distribution information output by the critical fault tree. The higher the predicted probability value, the larger the corresponding weight coefficient, and they are in direct proportion.

[0124] S208: Determine a fault recovery strategy associated with the target fault type.

[0125] S209: Send the fault recovery strategy to multiple slave servers, so that the slave servers execute the fault recovery strategy.

[0126] In an embodiment of the present invention, the fault recovery strategy can be understood as the necessary measures taken to resolve the fault event of the target fault type. It can be pre-set by a technician in this field according to different fault events. After determining the target fault type, the fault recovery strategy associated with the target fault type can be matched. Thus, the fault recovery strategy can be sent to the slave server so that the slave server executes the fault recovery strategy. Thereby, the fault recovery efficiency of the new energy power system can be improved, and the operation stability of the power system can be improved.

[0127] In an optional embodiment of the invention, before sending the fault recovery strategy to multiple slave servers, the method may further include:

[0128] Send heartbeat information to the slave server, the heartbeat information is used to periodically detect the communication connection status between the slave server and the slave server. In the case of not receiving a response result of the heartbeat information within a timeout period, determine that the communication with the slave server related to the heartbeat information is disconnected. Send the fault recovery strategy and communication abnormality information to the user terminal for display, so that the user terminal can remind the user based on the communication abnormality information.

[0129] In order to ensure that the master server and the slave server can still communicate normally after a system failure occurs, a heartbeat message can be sent to the slave server after the system failure information is detected. The heartbeat message may include the current sending time and the server identifier corresponding to the slave server. The heartbeat message is used to periodically detect the communication connection status with the slave server, and the corresponding receiving status bit of the heartbeat message is set on the master server. The value corresponding to the receiving status bit can be calculated according to the following formula:

[0130]

[0131] In an embodiment of the present invention, r refers to the value corresponding to the receiving state bit, f refers to a constant, and t refers to the detection duration corresponding to the heartbeat information, which is determined based on the response result of receiving the heartbeat information. Therefore, since the above formula (4) presents a sinusoidal fluctuation trend, when the receiving state bit is 0, it is determined that the response result of the heartbeat information can be received at this moment. If the response result of the heartbeat information from the server is not received for Y consecutive times at the receiving state bit. It is determined that the heartbeat information is not received due to timeout. In the case where the response result of the heartbeat information is not received due to timeout, it is determined that the communication from the server related to the heartbeat information is disconnected. The fault recovery strategy and communication abnormality information are sent to the user terminal for display, so that the user terminal reminds the user based on the communication abnormality information. Thereby, the user can be reminded to restore the communication connection of the new energy power system as soon as possible.

[0132] In summary, an energy management method for a new energy power system provided by an embodiment of the present invention may include first obtaining system fault information when determining that the system has an operational fault, and then determining multiple fault events based on the system fault information, and determining the abnormal correlation between the address information corresponding to the multiple fault events. Then, based on the abnormal correlation, generate at least one fault association tree corresponding to the multiple fault events, and input at least one fault association tree into the fault classification model for identification, and determine the target fault type corresponding to the system fault information. Finally, determine the fault recovery strategy associated with the target fault type, and send the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy. In this way, the fault type corresponding to the fault node can be predicted through big data, and the fault recovery strategy can be executed according to the fault type, thereby improving the operational stability of the power system.

[0133] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0134] Reference Figure 3 , shows an energy management device for a new energy power system provided by an embodiment of the present invention, the device may include:

[0135] The fault information acquisition module 301 is used to acquire system fault information when it is determined that the system has an operation fault.

[0136] The fault event determination module 302 is used to determine a plurality of fault events according to the system fault information.

[0137] The correlation determination module 303 is used to determine the abnormal correlation between the address information corresponding to multiple fault events.

[0138] The fault tree generating module 304 is configured to generate at least one fault correlation tree corresponding to the plurality of fault events according to the abnormal correlation.

[0139] The fault type determination module 305 is used to input at least one fault association tree into the fault classification model for identification, and determine the target fault type corresponding to the system fault information.

[0140] The strategy determination module 306 is used to determine a fault recovery strategy associated with the target fault type.

[0141] The policy issuing module 307 is used to issue the fault recovery policy to multiple slave servers so that the slave servers execute the fault recovery policy.

[0142] In an optional embodiment of the invention, the fault event determination module 302 may include:

[0143] The identification library query submodule is used to query the server identification library stored locally.

[0144] The mapping relationship determination submodule is used to perform matching of the server identifier in the system fault information in the server identifier library to determine the fault mapping relationship associated with the server identifier.

[0145] The fault event determination submodule is used to use the fault identifier in the system fault information to match the fault mapping relationship to determine multiple fault events.

[0146] In an optional embodiment of the invention, the system fault information includes a server identifier, and the fault event determination module 302 may include:

[0147] The instruction generation submodule is used to generate a fault query instruction including the fault identifier when the number of identifiers identified by the server meets a preset identifier condition.

[0148] The instruction issuing submodule is used to issue the fault query instruction to the slave servers associated with each server identifier, so that each slave server matches the locally stored fault mapping relationship according to the fault identifier of the fault query instruction, determines the fault event and provides feedback;

[0149] The fault event acquisition submodule is used to receive the multiple fault events fed back from the server.

[0150] In an optional embodiment of the invention, the instruction generation submodule may also be used for:

[0151] The fault identifier is encrypted using a first encryption formula to obtain an encrypted fault identifier, wherein the first encryption formula is as follows:

[0152]

[0153] K=n*b

[0154] In the above formula, J is the ciphertext matrix corresponding to the encrypted fault identification; S kk Refers to the value corresponding to the kth row and kth column in the encryption matrix; C kk It refers to the plain code value corresponding to the kth row and kth column in the plain code matrix; a refers to the encryption weight; wherein, b refers to the number of bits corresponding to the plain code value corresponding to the fault identifier; n refers to a positive integer greater than or equal to 1; k refers to the encryption order corresponding to the fault identifier.

[0155] Generate a fault query instruction based on the encrypted fault identifier.

[0156] In an optional embodiment of the invention, the relevance determination module 303 may include:

[0157] The topology query submodule is used to query the connection topology of the new energy power system, and the connection topology is used to characterize the physical connection relationship between each address node in the new energy power system.

[0158] A node matching module is used to perform node matching on the connection topology diagram and the address nodes associated with the address information according to the address information associated with the multiple fault events.

[0159] The first association determination submodule is configured to determine that there is an abnormal association between any two fault events if there is a connection edge between the address nodes associated with the address information of the two fault events.

[0160] The second association determination submodule is used to determine that there is no abnormal association between any two fault events if there is no connection edge between the address nodes corresponding to the two fault events.

[0161] In an optional embodiment of the invention, the fault tree generation module 304 may include:

[0162] The parent node creation submodule is used to arrange the fault events associated with the abnormality in time sequence and create a parent node according to the fault event at the beginning of the time sequence.

[0163] The child node creation submodule is used to create a child node according to a fault event that is abnormally associated with the parent node.

[0164] The fault tree generation submodule is used to create an association edge between the parent node and the child node to determine a fault association tree, wherein the fault association tree includes at least one parent node.

[0165] In an optional embodiment of the invention, the fault type determination module 305 may include:

[0166] An information prediction submodule, used to input at least one fault association tree into a plurality of identical fault classification models for identification, and determine the predicted fault type and probability distribution information of each fault association tree;

[0167] The probability weighting submodule is used to perform weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree, and determine the weighted probability values ​​corresponding to different predicted fault types.

[0168] The fault type determination submodule is used to determine the target fault type corresponding to the system fault information according to the weighted probability value.

[0169] In an optional embodiment of the invention, the probability weighting submodule may also be used for:

[0170] The weight coefficient of each predicted fault type is determined according to the probability distribution information corresponding to the fault association tree.

[0171] The predicted fault type, weight coefficient and probability distribution information corresponding to each fault association tree are weighted according to a weighting formula to determine the weighted probability values ​​corresponding to different predicted fault types, wherein the weighting formula includes:

[0172] Muz=I1z*P1z+I2z*P2z+...+Iuz*Puz

[0173] Among them, Muz refers to the weighted probability value corresponding to the zth predicted fault type in the uth fault association tree, and Iuz refers to the weight coefficient corresponding to the zth predicted fault type in the uth fault tree; Puz refers to the predicted probability value in the probability distribution information corresponding to the zth predicted fault type in the uth fault tree; wherein Iuz is a pre-set weight coefficient.

[0174] The fault type determination submodule may also be used to:

[0175] The predicted fault type corresponding to the maximum weighted probability value is determined as the target fault type corresponding to the system fault information.

[0176] In summary, an energy management device for a new energy power system provided by an embodiment of the present invention may include first obtaining system fault information when determining that the system has an operational fault, then determining multiple fault events based on the system fault information, and determining the abnormal correlation between the address information corresponding to the multiple fault events. Then, based on the abnormal correlation, generate at least one fault association tree corresponding to the multiple fault events, and input at least one fault association tree into the fault classification model for identification, and determine the target fault type corresponding to the system fault information. Finally, determine the fault recovery strategy associated with the target fault type, and send the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy. In this way, the fault type corresponding to the fault node can be predicted through big data, and the fault recovery strategy can be executed according to the fault type, thereby improving the operational stability of the power system.

[0177] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0178] It is easy for a person skilled in the art to think that any combination of the above embodiments is feasible, so any combination of the above embodiments is an implementation scheme of the present invention. However, due to space limitations, this specification will not describe them in detail here.

[0179] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0180] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0181] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0182] An electronic device, comprising:

[0183] one or more processors;

[0184] Memory;

[0185] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs are configured to execute the method of the above embodiment.

[0186] A computer-readable storage medium stores a computer program used in conjunction with an electronic device, wherein the computer program can be executed by a processor to implement the method of the above embodiment.

[0187] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0188] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0189] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0190] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0191] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0192] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0193] The above is a detailed introduction to an energy management method for a new energy power system and an energy management device for a new energy power system provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An energy management method for a new energy power system, characterized in that: The new energy power system includes a master server and a plurality of slave servers that are communicatively connected to the master server. The method is applied to the master server and includes: When it is determined that the system has an operational failure, obtaining system failure information; Determining multiple fault events according to the system fault information; Determine abnormal correlation between address information corresponding to multiple fault events; Generating at least one fault correlation tree corresponding to a plurality of the fault events according to the abnormal correlation; Inputting at least one fault association tree into a fault classification model for identification, and determining a target fault type corresponding to the system fault information; determining a fault recovery strategy associated with the target fault type; Sending the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy, The step of inputting at least one fault association tree into a fault classification model for identification to determine a target fault type corresponding to the system fault information includes: Inputting at least one fault association tree into a plurality of identical fault classification models for identification, and determining the predicted fault type and probability distribution information of each fault association tree; Perform weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types; According to the weighted probability value, a target fault type corresponding to the system fault information is determined.

2. The energy management method of the new energy power system according to claim 1 is characterized in that: The system fault information includes a server identifier, and multiple fault events are determined based on the system fault information, including: Query the locally stored server identification library; Performing matching of the server identifier in the system fault information in the server identifier library to determine a fault mapping relationship associated with the server identifier; The fault identifier in the system fault information is used to match the fault mapping relationship to determine multiple fault events.

3. The energy management method of the new energy power system according to claim 1, characterized in that: The system fault information includes a server identifier, and multiple fault events are determined based on the system fault information, including: When the number of identifications identified by the server meets a preset identification condition, generating a fault query instruction including the fault identification; Sending the fault query instruction to the slave servers associated with each server identifier, so that each slave server matches the locally stored fault mapping relationship according to the fault identifier of the fault query instruction, determines the fault event and provides feedback; Receive the multiple fault events fed back from the server.

4. The energy management method of the new energy power system according to claim 3 is characterized in that: The generating of the fault query instruction including the fault identifier comprises: The fault identifier is encrypted using a first encryption formula to obtain an encrypted fault identifier, wherein the first encryption formula is as follows: K=n*b In the above formula, J is the ciphertext matrix corresponding to the encrypted fault identification; S kk Refers to the value corresponding to the kth row and kth column in the encryption matrix; C kk refers to the plain code value corresponding to the kth row and kth column in the plain code matrix; a refers to the encryption weight; wherein, b refers to the number of bits corresponding to the plain code value corresponding to the fault identifier; n refers to a positive integer greater than or equal to 1; k refers to the encryption order corresponding to the fault identifier; Generate a fault query instruction based on the encrypted fault identifier.

5. The energy management method of the new energy power system according to claim 1, characterized in that: The determining of abnormal correlation between address information corresponding to a plurality of fault events includes: Querying a connection topology diagram of the new energy power system, wherein the connection topology diagram is used to characterize the physical connection relationship between each address node in the new energy power system; According to the address information associated with the multiple fault events, performing node matching on the connection topology diagram with the address nodes associated with the address information; If there is a connection edge between the address nodes associated with the address information of any two fault events, it is determined that there is an abnormal correlation between the two fault events; If there is no connection edge between the address nodes corresponding to any two fault events, it is determined that there is no abnormal association between the two fault events.

6. The energy management method of the new energy power system according to claim 5 is characterized in that: The step of generating at least one fault correlation tree corresponding to a plurality of the fault events according to the abnormal correlation comprises: Arrange the fault events associated with the anomaly in time sequence, and create a parent node based on the fault event at the beginning of the time sequence; Creating a child node according to a fault event abnormally associated with the parent node; An association edge is created between the parent node and the child node to determine a fault association tree, wherein the fault association tree includes at least one parent node.

7. The energy management method of the new energy power system according to claim 1, characterized in that: The weighted statistics of the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types include: Determining a weight coefficient of each predicted fault type according to the probability distribution information corresponding to the fault association tree; The predicted fault type, weight coefficient and probability distribution information corresponding to each fault association tree are weighted according to a weighting formula to determine the weighted probability values ​​corresponding to different predicted fault types, wherein the weighting formula includes: Muz=I1z*P1z+I2z*P2z+...+Iuz*Puz Wherein, the Muz refers to the weighted probability value corresponding to the zth predicted fault type in the uth fault association tree, and the Iuz refers to the weight coefficient corresponding to the zth predicted fault type in the uth fault tree; the Puz refers to the predicted probability value in the probability distribution information corresponding to the zth predicted fault type in the uth fault tree; wherein the Iuz is a preset weight coefficient; Determining the target fault type corresponding to the system fault information according to the weighted probability value includes: The predicted fault type corresponding to the maximum weighted probability value is determined as the target fault type corresponding to the system fault information.

8. The energy management method of the new energy power system according to claim 7, characterized in that: The method further comprises: If the probability distribution information does not meet the preset probability condition, abnormal fault information is generated according to the system fault information, and sent to the user terminal for display; Receiving a newly added fault type fed back by the user terminal based on the abnormal fault information, and updating the fault classification model structure; And according to the historical sample data and the abnormal fault information of the newly added fault types, the fault classification model with updated structure is trained; When the loss function value of the fault classification model after the updated structure meets the preset loss condition, a trained fault classification model is determined.

9. An energy management device for a new energy power system, characterized in that: The device comprises: A fault information acquisition module is used to acquire system fault information when it is determined that the system has an operating fault; A fault event determination module, used to determine multiple fault events based on the system fault information; A correlation determination module, used to determine abnormal correlation between address information corresponding to multiple fault events; A fault tree generation module, used for generating at least one fault correlation tree corresponding to a plurality of the fault events according to the abnormal correlation; A fault type determination module, used to input at least one fault association tree into a fault classification model for identification, and determine a target fault type corresponding to the system fault information; A strategy determination module, used to determine a fault recovery strategy associated with the target fault type; a strategy issuing module, used to issue the fault recovery strategy to multiple slave servers so that the slave servers execute the fault recovery strategy; The step of inputting at least one fault association tree into a fault classification model for identification to determine a target fault type corresponding to the system fault information includes: Inputting at least one fault association tree into a plurality of identical fault classification models for identification, and determining the predicted fault type and probability distribution information of each fault association tree; Perform weighted statistics on the predicted fault types and probability distribution information corresponding to each fault association tree to determine the weighted probability values ​​corresponding to different predicted fault types; According to the weighted probability value, a target fault type corresponding to the system fault information is determined.