Method and system for building direct-current micro-grid simulation model

Through component analysis and feature extraction of DC microgrid historical data, a target simulation model is established, which solves the problems of insufficient simulation accuracy and low efficiency in the existing technology, realizes efficient simulation of DC microgrid, and supports its safety, reliability, and Economic operation.

CN118568909APending Publication Date: 2024-08-30STATE POWER INVESTMENT CORPORATION RESEARCH INSTITUTE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310184395.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The DC microgrid simulation model in the existing technology has insufficient simulation accuracy, a lot of repetitive work, and low efficiency, and cannot effectively support the safe, reliable, and economical operation of the DC microgrid.

Method used

By obtaining the historical data of the DC microgrid, using control methods to perform component analysis and feature extraction, establishing mathematical expressions for each module, and building the target simulation model of the DC microgrid based on these expressions, reducing repetitive work and improving simulation accuracy. and efficiency.

Benefits of technology

It improves the accuracy and efficiency of the DC microgrid simulation model, reduces repetitive work, achieves more accurate and faster simulation, and supports the safe, reliable, and economical operation of the DC microgrid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568909A
    Figure CN118568909A
Patent Text Reader

Abstract

The invention provides a method and a system for building a direct-current micro-grid simulation model. The method comprises the following steps: acquiring historical data of a direct-current micro-grid; performing component analysis on the historical data of the DC micro-grid by using a control method to obtain a module information set of the DC micro-grid; performing feature extraction on the module information set of the DC micro-grid to obtain a plurality of corresponding module feature sets; according to the plurality of module feature sets, a mathematical expression corresponding to each module is obtained, and the mathematical expression of each module is in one-to-one correspondence with each module feature set; and establishing a simulation model corresponding to each module according to the plurality of mathematical expressions, and obtaining a target simulation model of the DC micro-grid according to the simulation model of each module. Therefore, repeated work is reduced, and the precision and efficiency of the simulation model are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of microgrid simulation experiments, and in particular to a method, system and storage medium for building a DC microgrid simulation model. Background Art

[0002] With the continuous development of the economy, microgrids, as an indispensable component of the intelligent power distribution system, have promoted the sustainable development of energy. Among them, the existing distribution network is basically composed of AC distribution network, but with the depletion of non-renewable resources and the gradual advancement of technology, more and more distributed power sources will be used and connected to the distribution network, and only using AC distribution network may not be able to solve some problems in the current distribution network. Therefore, it is necessary to build a DC microgrid as a supplement and support to the AC distribution network to ensure the safe, reliable and economical operation of the urban power grid.

[0003] In the prior art, it is necessary to build a simulation model of a DC microgrid to simulate the DC microgrid and better apply the DC microcurrent according to the simulation results. However, in the prior art, the simulation model of the DC microgrid built has insufficient simulation accuracy, many repetitive tasks, and low efficiency. Summary of the invention

[0004] The present application provides a method, system and storage medium for building a DC microgrid simulation model to solve the technical problems of insufficient simulation accuracy, high repetitive work and low efficiency in the above-mentioned related technologies.

[0005] The first embodiment of the present application provides a method for building a DC microgrid simulation model, the method comprising:

[0006] Obtain historical data of DC microgrid;

[0007] Performing component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid;

[0008] Extracting features from the module information set of the DC microgrid to obtain a plurality of corresponding module feature sets;

[0009] According to the plurality of module feature sets, a mathematical expression corresponding to each module is obtained, wherein the mathematical expression of each module corresponds one-to-one to each module feature set;

[0010] A simulation model corresponding to each module is established according to a plurality of mathematical expressions, and a target simulation model of the DC microgrid is obtained according to the simulation model of each module.

[0011] The second embodiment of the present application provides a system for building a DC microgrid simulation model, wherein the system includes:

[0012] A first acquisition unit, used for acquiring historical data of the DC microgrid;

[0013] A data analysis unit, configured to perform component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid;

[0014] A feature extraction unit, used to extract features from the module information set of the DC microgrid to obtain corresponding multiple module feature sets;

[0015] A second acquisition unit is used to obtain a mathematical expression corresponding to each module according to the multiple module feature sets, wherein the mathematical expression of each module corresponds to each module feature set one by one;

[0016] The model building unit is used to build a simulation model corresponding to each module according to a plurality of mathematical expressions, and obtain a target simulation model of the DC microgrid according to the simulation model of each module.

[0017] The computer storage medium proposed in the third aspect of the present application stores computer executable instructions; after the computer executable instructions are executed by the processor, the method described in the first aspect above can be implemented.

[0018] The electronic device proposed in the fourth aspect of the present application includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in the first aspect above can be implemented.

[0019] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0020] The method, system and storage medium for constructing a DC microgrid simulation model provided by the present application obtain the historical data of the DC microgrid; use the control method to perform component analysis on the historical data of the DC microgrid to obtain the module information set of the DC microgrid; perform feature extraction on the module information set of the DC microgrid to obtain the corresponding multiple module feature sets; obtain the mathematical expression corresponding to each module based on the multiple module feature sets, wherein the mathematical expression of each module corresponds to each module feature set one by one; establish the simulation model corresponding to each module based on the multiple mathematical expressions, and obtain the target simulation model of the DC microgrid based on the simulation model of each module. As a result, the present application reduces repetitive work and improves the accuracy and efficiency of the simulation model.

[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0023] Figure 1 A schematic diagram of a flow chart of a method for building a DC microgrid simulation model according to an embodiment of the present application;

[0024] Figure 2 A schematic flow chart of the sub-steps of step 102 in the method for building a DC microgrid simulation model provided in an embodiment of the present disclosure;

[0025] Figure 3 A flowchart of the sub-steps of step 104 in the method for building a DC microgrid simulation model provided in an embodiment of the present disclosure;

[0026] Figure 4 A schematic flow chart of the sub-steps of step 105 in the method for building a DC microgrid simulation model provided in an embodiment of the present disclosure;

[0027] Figure 5 A schematic flow chart of the sub-steps of step 1052 in the method for building a DC microgrid simulation model provided in an embodiment of the present disclosure;

[0028] Figure 6 A schematic diagram of the structure of a system for building a DC microgrid simulation model according to an embodiment of the present application;

[0029] Figure 7 A block diagram of an electronic device used to implement the method for building a DC microgrid simulation model according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0031] The following describes a method and system for building a DC microgrid simulation model according to an embodiment of the present application with reference to the accompanying drawings.

[0032] Figure 1 A schematic diagram of a process for constructing a DC microgrid simulation model according to an embodiment of the present application is shown in FIG. Figure 1 As shown, the method comprises the following steps:

[0033] Step 101: Obtain historical data of the DC microgrid.

[0034] In the embodiment of the present application, historical data of the DC microgrid can be obtained through a database of the DC microgrid.

[0035] And, in the embodiment of the present application, the historical data of the above-mentioned DC microgrid may include relevant parameter information of photovoltaic, wind power, energy storage, fuel cell, load, power electronic equipment, and the connection method between each component. Among them, the present application mainly models and analyzes the DC microgrid. For the connected DC load, some AC-DC conversion power electronic equipment can be omitted and connected to the DC microgrid system to reduce system cost and energy loss.

[0036] Step 102: Utilize a control method to perform component analysis on historical data of the DC microgrid to obtain a module information set of the DC microgrid.

[0037] Among them, in an embodiment of the present application, principal component analysis is performed on the historical data of the above-mentioned DC microgrid, and specifically, data such as photovoltaics, wind power, energy storage, fuel cells, loads, power electronic equipment, etc. can be used to obtain a module information set of the DC microgrid.

[0038] And, in the embodiment of the present application, the control method may include bottom layer control and coordination layer control. The bottom layer control includes direct control of the electronic power interface, and the coordination layer sets the control parameters and working mode of each interface based on the bottom layer control.

[0039] Further, in an embodiment of the present application, the module information set of the DC microgrid obtained in step 102 may be a module information set obtained by classifying the historical data of the DC microgrid according to the parameter information category when performing principal component analysis on the historical data of the DC microgrid. And, by classifying the module information, the DC microgrid can be divided into modules in a reasonable manner.

[0040] Step 103: extract features from the module information set of the DC microgrid to obtain corresponding multiple module feature sets.

[0041] Among them, in the embodiment of the present application, the above-mentioned feature extraction of the module information set of the DC microgrid may specifically include: extracting the function and use characteristics in the module information set of the DC microgrid to obtain multiple different module feature sets.

[0042] Step 104: Obtain a mathematical expression corresponding to each module according to multiple module feature sets.

[0043] Among them, in the embodiments of the present application, the mathematical expression of each of the above modules corresponds one-to-one to each module feature set.

[0044] Furthermore, in an embodiment of the present application, the above-mentioned multiple module feature sets may include a feature set corresponding to each module, and the mathematical expression of each module may be a mathematical expression of each module corresponding to each module feature set in the multiple module feature sets.

[0045] Step 105: Establish a simulation model corresponding to each module according to a plurality of mathematical expressions, and obtain a target simulation model of the DC microgrid according to the simulation model of each module.

[0046] Among them, in the embodiments of the present application, the models usually used on the existing simulation platform are relatively simple and ideal, and cannot approach the actual physical effect. Moreover, the use of simple components to build a microgrid system from scratch has a large repetitiveness and requires multiple calibration tests. It is not possible to quickly select and build, and the design cycle is long. It is impossible to perfectly verify the actual system, and it is impossible to verify extreme experiments. Based on this, the above-mentioned simulation model is established through the mathematical expression corresponding to each module, and it is targeted to be modeled and one-to-one corresponding to realize the modularization and parameter adjustment of the DC microgrid unit simulation model, making the model more accurate.

[0047] In summary, the method for building a DC microgrid simulation model provided by the present disclosure obtains historical data of the DC microgrid; performs component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid; performs feature extraction on the module information set of the DC microgrid to obtain a corresponding plurality of module feature sets; obtains a mathematical expression corresponding to each module based on the plurality of module feature sets, wherein the mathematical expression of each module corresponds one-to-one to each module feature set; establishes a simulation model corresponding to each module based on the plurality of mathematical expressions, and obtains a target simulation model of the DC microgrid based on the simulation model of each module. As a result, the present application reduces repetitive work and improves the accuracy and efficiency of the simulation model.

[0048] like Figure 2 As shown, step 102 in the embodiment of the present application includes but is not limited to the following steps:

[0049] Step 1021: Obtain a first characteristic data set of the DC microgrid according to historical data of the DC microgrid.

[0050] In an embodiment of the present application, historical data of the DC microgrid is numerically processed, and a characteristic data set matrix is ​​constructed to obtain a first characteristic data set of the DC microgrid.

[0051] Step 1022: Decentralize the first characteristic data set to obtain a second characteristic data set of the DC microgrid.

[0052] In an embodiment of the present application, the method for centralizing each feature data in the first feature data set may include: solving the average value of each feature in the first feature data set, and then subtracting the corresponding average value from each feature in the first feature data set to obtain a new feature value of the feature, and using the data set composed of the new feature values ​​as the second feature data set of the DC microgrid. The second feature data set is a data matrix.

[0053] Step 1023: Obtain a covariance matrix of the DC microgrid according to the second feature data set.

[0054] In an embodiment of the present application, the second characteristic data set is operated by a covariance formula to obtain a covariance matrix of the DC microgrid.

[0055] Step 1024: Obtain eigenvalues ​​and eigenvectors of the DC microgrid according to the covariance matrix.

[0056] In the embodiment of the present application, the eigenvalues ​​and eigenvectors of the DC microgrid can be obtained through matrix operations, and each eigenvalue corresponds to an eigenvector.

[0057] Specifically, in an embodiment of the present application, it is assumed that the covariance matrix is ​​A, and a characteristic polynomial can be obtained based on the covariance matrix A. It is assumed that |A-λE|=0 is the characteristic polynomial, and the value of λ is obtained as the eigenvalue. The eigenvalue may correspond to multiple values, and then the homogeneous linear equation system (A-λE)x=0 is solved for the multiple known eigenvalues ​​λ, and the basic solution system ξ is solved, and the non-zero linear combinations in the basic solution system are the eigenvectors belonging to the eigenvalues.

[0058] Step 1025: Obtain a module information set of the DC microgrid according to the eigenvalues ​​and eigenvectors of the DC microgrid.

[0059] Among them, in an embodiment of the present application, after obtaining the eigenvalues ​​and eigenvectors of the DC microgrid, the largest top K eigenvalues ​​and their corresponding eigenvectors can be selected, and the original features in the first feature data set can be projected onto the selected eigenvectors to obtain the first feature data set after dimensionality reduction, and the first feature data set after dimensionality reduction is used as the module information set of the DC microgrid.

[0060] Furthermore, in an embodiment of the present application, the principal component analysis method is used to perform dimensionality reduction processing on the feature data in the database, so that redundant data is eliminated while ensuring the amount of information, so that the sample size of the feature data in the database is reduced, and the information loss after dimensionality reduction is minimized, thereby accelerating the calculation speed of the training model for the data.

[0061] like Figure 3As shown, step 104 in the embodiment of the present application includes but is not limited to the following steps:

[0062] Step 1041: Input each module feature in the plurality of module feature sets into the module mathematical expression generation model.

[0063] In an embodiment of the present application, the module mathematical expression generation model is constructed based on a neural network. Also, in an embodiment of the present application, before executing step 1041, the module mathematical expression generation model to be trained needs to be trained with multiple sets of training data until the model converges to obtain a trained module mathematical expression generation model. In this case, the training data for training may include the historical module feature set of the DC microgrid.

[0064] Furthermore, in an embodiment of the present application, each module feature in a plurality of module feature sets is respectively input into a module mathematical expression generation model to obtain a mathematical expression corresponding to each module.

[0065] Step 1042: Obtain the mathematical expression corresponding to each module output by the module mathematical expression generation model.

[0066] In the embodiment of the present application, a mathematical expression corresponding to each module feature set is obtained through a module mathematical expression generation model, and the obtained mathematical expression is stored for later use.

[0067] like Figure 4 As shown, step 105 in the embodiment of the present application includes but is not limited to the following steps:

[0068] Step 1051: establish a simulation model corresponding to each model according to a plurality of mathematical expressions, and obtain an initial simulation model of the DC microgrid according to the simulation model of each module.

[0069] In the embodiment of the present application, modular decomposition is performed based on the data set, and an initial simulation model of the DC microgrid is obtained based on a simulation model constructed based on a mathematical expression corresponding to each module.

[0070] Also, when modeling the initial simulation model of the DC microgrid, each unit in the DC microgrid is modeled in a refined manner to make it infinitely close to the actual physical process to improve the credibility of the simulation, and the commonly used units in the DC microgrid are encapsulated into subsystems to achieve modularization and adjustable parameters, thereby accelerating the control system design modeling process, thereby achieving the purpose of quickly building a DC microgrid simulation model, avoiding repetitive work, improving development efficiency, and shortening the development cycle.

[0071] Step 1052: verify the initial simulation model of the DC microgrid, and obtain the target simulation model of the DC microgrid according to the verification result.

[0072] Among them, in the embodiment of the present application, a DC microgrid simulation platform is used to carry out system modeling of the photovoltaic hydrogen storage DC microgrid, forming a multi-energy comprehensive complementary management and control strategy such as photovoltaics, energy storage, fuel cells, and hydrogen energy, and simulating the operating characteristics of the DC microgrid. The simulation operation results are compared with the actual operation results of the DC microgrid to obtain verification results.

[0073] Furthermore, in the embodiments of the present application, in the process of verifying the initial simulation model of the DC microgrid, typical faults can be simulated, and the fault characteristics of the main components in the DC microgrid under different faults can be analyzed. Based on this, fault avoidance can be carried out in a targeted manner, so that the simulation results are more accurate and more in line with the actual situation.

[0074] like Figure 5 As shown, step 1052 in the embodiment of the present application includes but is not limited to the following steps:

[0075] Step 501: Perform offline simulation verification on the initial simulation model of the DC microgrid to obtain an offline simulation feasibility evaluation result.

[0076] Among them, in the embodiments of the present application, the initial simulation model of the DC microgrid can be verified by offline simulation based on MATLAB software, and multiple experiments make the experimental results universal, and its feasibility is evaluated to obtain offline simulation feasibility evaluation results.

[0077] Among them, MATLAB, as an offline simulation software, is not restricted by hardware conditions during the simulation process and is very flexible.

[0078] Step 502: Determine whether the offline simulation feasibility assessment result meets the offline simulation feasibility threshold.

[0079] Among them, in the embodiment of the present application, the above-mentioned offline simulation feasibility threshold is a feasibility interval range.

[0080] Step 503: If the offline simulation feasibility assessment result meets the offline simulation feasibility threshold, the initial simulation model of the DC microgrid is used as a verification simulation model of the DC microgrid.

[0081] Among them, in the embodiment of the present application, if the offline simulation feasibility assessment result meets the offline simulation feasibility threshold, it means that the initial simulation model of the DC microgrid can be used as a review simulation model of the DC microgrid.

[0082] And, in an embodiment of the present application, the above-mentioned review simulation model refers to a model based on incremental updates, thereby achieving the technical effect of incremental learning of newly added features to improve the update performance of the evaluation model.

[0083] Furthermore, in an embodiment of the present application, the above method also includes: if the offline simulation feasibility evaluation result does not meet the offline simulation feasibility threshold, then obtaining an offline simulation optimization plan, and optimizing the initial simulation model of the DC microgrid according to the offline simulation optimization plan, and performing offline simulation verification on the optimized initial simulation model again until the offline simulation feasibility evaluation result meets the offline simulation feasibility threshold.

[0084] Step 504: perform real-time simulation verification on the verified simulation model, and obtain a target simulation model of the DC microgrid according to the real-time simulation verification result.

[0085] Among them, in an embodiment of the present application, the method for performing real-time simulation verification on the review simulation model and obtaining a target simulation model of the DC microgrid according to the real-time simulation verification result may include the following steps:

[0086] Step a, performing real-time simulation verification on the verification simulation model of the DC microgrid to obtain a real-time simulation verification result;

[0087] In the embodiment of the present application, the verification simulation model of the DC microgrid can be verified by real-time simulation based on the RT-LAB platform to obtain a real-time simulation feasibility evaluation result. The RT-LAB platform is a semi-physical simulation platform.

[0088] Step b, determining whether the real-time simulation verification result meets the real-time simulation feasibility threshold;

[0089] In the embodiment of the present application, the real-time simulation feasibility threshold refers to a range for determining whether a simulation model for real-time simulation verification is feasible.

[0090] Step c: if the real-time simulation verification result meets the real-time simulation feasibility threshold, the verified simulation model of the DC microgrid is used as the target simulation model of the DC microgrid.

[0091] Among them, in an embodiment of the present application, the above method also includes: if the real-time simulation verification result does not meet the real-time simulation feasibility threshold, then obtain a real-time simulation optimization plan, and optimize the review simulation model of the DC microgrid according to the real-time simulation optimization plan, and perform real-time simulation verification on the optimized initial simulation model again until the real-time simulation verification result meets the real-time simulation feasibility threshold.

[0092] Figure 6The structure diagram of the system for building a DC microgrid simulation model according to one embodiment of the present application is as follows: Figure 6 As shown, the system may include:

[0093] A first acquisition unit 601 is used to acquire historical data of the DC microgrid;

[0094] A data analysis unit 602 is used to perform component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid;

[0095] A feature extraction unit 603 is used to extract features from a module information set of a DC microgrid to obtain corresponding multiple module feature sets;

[0096] A second acquisition unit 604 is used to obtain a mathematical expression corresponding to each module according to the multiple module feature sets, wherein the mathematical expression of each module corresponds to each module feature set one by one;

[0097] The model building unit 605 is used to build a simulation model corresponding to each module according to a plurality of mathematical expressions, and obtain a target simulation model of the DC microgrid according to the simulation model of each module.

[0098] In the embodiment of the present application, the data analysis unit 602 is specifically used for:

[0099] According to the historical data of the DC microgrid, a first characteristic data set of the DC microgrid is obtained;

[0100] Decentralizing the first characteristic data set to obtain a second characteristic data set of the DC microgrid;

[0101] According to the second feature data set, a covariance matrix of the DC microgrid is obtained;

[0102] According to the covariance matrix, the eigenvalues ​​and eigenvectors of the DC microgrid are obtained;

[0103] According to the eigenvalues ​​and eigenvectors of the DC microgrid, a module information set of the DC microgrid is obtained.

[0104] Further, in the embodiment of the present application, the second acquisition unit 604 is specifically used to:

[0105] Input each module feature in the plurality of module feature sets into the module mathematical expression generation model;

[0106] Obtain the mathematical expression of the module to generate the mathematical expression corresponding to each module output by the model.

[0107] In the embodiment of the present application, the model building unit 605 is specifically used for:

[0108] A simulation model corresponding to each model is established according to a plurality of mathematical expressions, and an initial simulation model of the DC microgrid is obtained according to the simulation model of each module;

[0109] The initial simulation model of the DC microgrid is verified, and the target simulation model of the DC microgrid is obtained based on the verification results.

[0110] In the embodiment of the present application, the model building unit 605 is further used for:

[0111] Conduct offline simulation verification on the initial simulation model of the DC microgrid and obtain offline simulation feasibility evaluation results;

[0112] Determine whether the offline simulation feasibility assessment result meets the offline simulation feasibility threshold;

[0113] If the offline simulation feasibility assessment result meets the offline simulation feasibility threshold, the initial simulation model of the DC microgrid is used as the review simulation model of the DC microgrid;

[0114] The verified simulation model is verified by real-time simulation, and the target simulation model of the DC microgrid is obtained according to the real-time simulation verification results.

[0115] In the embodiment of the present application, the model building unit 605 is further used for:

[0116] Conduct real-time simulation verification on the DC microgrid review simulation model and obtain real-time simulation verification results;

[0117] Determine whether the real-time simulation verification result meets the real-time simulation feasibility threshold;

[0118] If the real-time simulation verification result meets the real-time simulation feasibility threshold, the verified simulation model of the DC microgrid is used as the target simulation model of the DC microgrid.

[0119] In the embodiment of the present application, the model building unit 605 is further used for:

[0120] If the offline simulation feasibility evaluation result does not meet the offline simulation feasibility threshold, then obtain the offline simulation optimization solution;

[0121] The initial simulation model of the DC microgrid is optimized according to the offline simulation optimization scheme, and the optimized initial simulation model is again verified by offline simulation until the offline simulation feasibility evaluation result meets the offline simulation feasibility threshold.

[0122] In the embodiment of the present application, the model building unit 605 is further used for:

[0123] If the real-time simulation verification result does not meet the real-time simulation feasibility threshold, a real-time simulation optimization solution is obtained;

[0124] The review simulation model of the DC microgrid is optimized according to the real-time simulation optimization scheme, and the optimized initial simulation model is verified again by real-time simulation until the real-time simulation verification result meets the real-time simulation feasibility threshold.

[0125] In summary, the system for building a DC microgrid simulation model provided by the present disclosure obtains historical data of the DC microgrid; performs component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid; performs feature extraction on the module information set of the DC microgrid to obtain a corresponding plurality of module feature sets; obtains a mathematical expression corresponding to each module based on the plurality of module feature sets, wherein the mathematical expression of each module corresponds one-to-one to each module feature set; establishes a simulation model corresponding to each module based on the plurality of mathematical expressions, and obtains a target simulation model of the DC microgrid based on the simulation model of each module. As a result, the present application reduces repetitive work and improves the accuracy and efficiency of the simulation model.

[0126] Reference below Figure 7 To describe the electronic device of the embodiment of the present application.

[0127] Based on the same inventive concept as the method for building a modular simulation model of a typical control method in the aforementioned embodiment, the present application also provides a system for building a modular simulation model of a typical control method, including: a processor, the processor is coupled to a memory, the memory is used to store a program, when the program is executed by the processor, the system executes the steps of the method described in Example 1.

[0128] The electronic device 700 includes: a processor 702, a communication interface 707, and a memory 701. Optionally, the electronic device 700 may also include a bus architecture 704. The communication interface 707, the processor 702, and the memory 701 may be interconnected via the bus architecture 704; the bus architecture 704 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus architecture 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0129] The processor 702 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.

[0130] The communication interface 707 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.

[0131] The memory 701 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read only memory (EEPROM), a compact disc (CD ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus architecture 704. The memory may also be integrated with the processor.

[0132] The memory 701 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 702. The processor 702 is used to execute the computer-executable instructions stored in the memory 701, thereby realizing a method for building a modular simulation model of a typical control method provided in the above embodiment of the present application.

[0133] Those skilled in the art will understand that the various digital numbers such as the first and second involved in this application are only for the convenience of description, and are not used to limit the scope of this application, nor do they indicate a sequence of precedence. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. "At least one" refers to one or more. At least two refers to two or more. "At least one", "any one" or similar expressions refer to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, at least one item (individual, kind) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0134] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0135] The various illustrative logic units and circuits described in this application can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.

[0136] The steps of the method or algorithm described in this application can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, register, hard disk, removable disk, CD ROM or any other form of storage medium in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal. Optionally, the processor and the storage medium can also be arranged in different components in the terminal. These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are performed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in 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.

[0137] Although the present application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations thereof can be made without departing from the spirit and scope of the present application.

[0138] Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present application and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.

Claims

1. A method for building a DC microgrid simulation model, characterized in that: The method comprises: Obtain historical data of DC microgrid; Performing component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid; Extracting features from the module information set of the DC microgrid to obtain a plurality of corresponding module feature sets; According to the plurality of module feature sets, a mathematical expression corresponding to each module is obtained, wherein the mathematical expression of each module corresponds one-to-one to each module feature set; A simulation model corresponding to each module is established according to a plurality of mathematical expressions, and a target simulation model of the DC microgrid is obtained according to the simulation model of each module.

2. The method for building a DC microgrid simulation model according to claim 1, characterized in that: The control method is used to perform component analysis on the historical data of the DC microgrid to obtain a module information set of the DC microgrid, including: Obtaining a first characteristic data set of the DC microgrid according to historical data of the DC microgrid; Decentralizing the first characteristic data set to obtain a second characteristic data set of the DC microgrid; Obtaining a covariance matrix of the DC microgrid according to the second feature data set; According to the covariance matrix, obtaining the eigenvalues ​​and eigenvectors of the DC microgrid; According to the eigenvalues ​​and eigenvectors of the DC microgrid, a module information set of the DC microgrid is obtained.

3. The method for building a DC microgrid simulation model according to claim 1, characterized in that: The step of obtaining a mathematical expression corresponding to each module according to the plurality of module feature sets includes: Inputting each module feature in the plurality of module feature sets into a module mathematical expression generation model; Obtain the mathematical expression corresponding to each module output by the module mathematical expression generation model.

4. The method for building a DC microgrid simulation model according to claim 1, characterized in that: The method of establishing a simulation model corresponding to each module according to a plurality of mathematical expressions, and obtaining a target simulation model of a DC microgrid according to the simulation model of each module, comprises: Establishing a simulation model corresponding to each model according to a plurality of mathematical expressions, and obtaining an initial simulation model of the DC microgrid according to the simulation model of each module; The initial simulation model of the DC microgrid is verified, and a target simulation model of the DC microgrid is obtained according to the verification result.

5. The method for building a DC microgrid simulation model according to claim 4, characterized in that: The verifying the initial simulation model of the DC microgrid and obtaining the target simulation model of the DC microgrid according to the verification result includes: Performing offline simulation verification on the initial simulation model of the DC microgrid to obtain an offline simulation feasibility evaluation result; Determining whether the offline simulation feasibility assessment result meets the offline simulation feasibility threshold; If the offline simulation feasibility assessment result meets the offline simulation feasibility threshold, the initial simulation model of the DC microgrid is used as a review simulation model of the DC microgrid; The verified simulation model is subjected to real-time simulation verification, and a target simulation model of the DC microgrid is obtained according to the real-time simulation verification result.

6. The method for building a DC microgrid simulation model according to claim 5, characterized in that: The real-time simulation verification of the review simulation model and obtaining the target simulation model of the DC microgrid according to the real-time simulation verification result include: Performing real-time simulation verification on the verification simulation model of the DC microgrid to obtain a real-time simulation verification result; Determining whether the real-time simulation verification result meets the real-time simulation feasibility threshold; If the real-time simulation verification result meets the real-time simulation feasibility threshold, the verified simulation model of the DC microgrid is used as the target simulation model of the DC microgrid.

7. The method for building a DC microgrid simulation model according to claim 5, characterized in that: The method further comprises: If the offline simulation feasibility assessment result does not meet the offline simulation feasibility threshold, obtaining an offline simulation optimization solution; The initial simulation model of the DC microgrid is optimized according to the offline simulation optimization scheme, and the optimized initial simulation model is again verified by offline simulation until the offline simulation feasibility evaluation result meets the offline simulation feasibility threshold.

8. The method for building a DC microgrid simulation model according to claim 6, characterized in that: The method further comprises: If the real-time simulation verification result does not meet the real-time simulation feasibility threshold, obtaining a real-time simulation optimization solution; The review simulation model of the DC microgrid is optimized according to the real-time simulation optimization scheme, and the optimized initial simulation model review simulation model is again verified by real-time simulation until the real-time simulation verification result meets the real-time simulation feasibility threshold.

9. A system for building a DC microgrid simulation model, characterized in that: The system comprises: A first acquisition unit, used for acquiring historical data of the DC microgrid; A data analysis unit, configured to perform component analysis on the historical data of the DC microgrid using a control method to obtain a module information set of the DC microgrid; A feature extraction unit, used to extract features from the module information set of the DC microgrid to obtain corresponding multiple module feature sets; A second acquisition unit is used to obtain a mathematical expression corresponding to each module according to the multiple module feature sets, wherein the mathematical expression of each module corresponds to each module feature set one by one; The model building unit is used to build a simulation model corresponding to each module according to a plurality of mathematical expressions, and obtain a target simulation model of the DC microgrid according to the simulation model of each module.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for building a DC microgrid simulation model as described in any one of claims 1 to 8 is implemented.