Electric energy quality simulation modeling method and device and nonvolatile storage medium
By acquiring and converting power grid topological structure data, basic parameters and load data, establishing a power quality simulation model, solving the problems of data fusion difficulties and model in the existing technology, and achieving higher model accuracy.
Patent Information
- Application Number
- CN202411996297.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-29
AI Technical Summary
The prior art cannot directly and quickly clean up useless data, and cannot effectively integrate data of different types, sources, and data file formats, resulting in inaccurate power quality simulation models.
By obtaining the power grid topology data in the power scheduling system, it is converted into target script data; obtaining the basic parameters and load data of electrical equipment, converting the load data into the load curve data required by the simulation software; based on these data, a power quality simulation model is established.
It realizes the conversion of multiple types of data into data that can be used for simulation modeling, thereby improving the accuracy of the power quality simulation model and solving the data fusion and model accuracy problems.
Smart Images

Figure CN119903666A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a power quality simulation modeling method, device and non-volatile storage medium. Background Art
[0002] At present, various monitoring equipment and power-related systems provide a large amount of high-precision and high-density data, but it is still impossible to directly and quickly clean up useless data, and it is impossible to directly integrate data of different types, sources and data file formats. Simply ignoring the above factors and directly using these data for power quality simulation modeling will result in inaccurate models.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a power quality simulation modeling method, device and non-volatile storage medium to at least solve the technical problem that it is currently impossible to directly merge data of different types, different sources and different data file formats, and that ignoring the above factors and directly using these data leads to the constructed power quality simulation model being inaccurate.
[0005] According to one aspect of an embodiment of the present invention, a method for power quality simulation modeling is provided, comprising: obtaining power grid topology data stored in a power dispatching system; converting the power grid topology data into target script data based on a preset data format of simulation software; obtaining basic parameters and load data corresponding to electrical equipment, wherein the load data includes operating data of the electrical equipment in a preset time period; converting the load data into load curve data required by the simulation software; and establishing a power quality simulation model based on the target script data, the basic parameters and the load curve data.
[0006] Optionally, based on the data format of a preset simulation software, the power grid topology data is converted into target script data, including: determining the device connection relationship of the electrical equipment according to the power grid topology data; based on the data format of a preset simulation software, converting the device connection relationship of the electrical equipment into initial script data; judging whether the topology relationship in the initial script data is correct; and determining the initial script data as the target script data when the topology relationship in the initial script data is correct.
[0007] Optionally, converting the load data into load curve data required by the simulation software includes: obtaining a load curve template corresponding to the simulation software; and determining the load curve data based on the load curve template and the load data.
[0008] Optionally, based on the target script data, basic parameters and load curve data, a power quality simulation model is established, including: checking whether the target script data, basic parameters and load curve data are normal, wherein the inspection content includes checking whether the target script data lacks connection information of electrical equipment, checking whether the basic parameters are reasonable, and checking whether the load curve data lacks operating data corresponding to the required time point; when the target script data, basic parameters and load curve data are normal, a power quality simulation model is established.
[0009] Optionally, a power quality simulation model is established based on target script data, basic parameters and load curve data, including: parsing the target script data to determine the initial simulated electrical equipment and the equipment connection relationship; based on the basic parameters, adjusting the parameters of the initial simulated electrical equipment to obtain the target simulated electrical equipment; based on the target simulated electrical equipment, the equipment connection relationship and the load curve data, determining the power quality simulation model.
[0010] Optionally, based on the basic parameters, the parameters of the initial simulated electrical equipment are adjusted to obtain the target simulated electrical equipment, wherein: it is determined whether the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship; if the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship, the basic parameters are directly imported into the initial simulated electrical equipment to obtain the target simulated electrical equipment; and / or, if the basic parameters and the parameters of the initial simulated electrical equipment are not in a direct mapping relationship, the parameter format of the basic parameters is adjusted, and the adjusted basic parameters are imported into the initial simulated electrical equipment to obtain the target simulated electrical equipment.
[0011] According to another aspect of an embodiment of the present invention, there is also provided a power quality simulation modeling device, including: a first acquisition module, used to acquire power grid topology data stored in a power dispatching system; a first conversion module, used to convert the power grid topology data into target script data based on a preset data format of simulation software; a second acquisition module, used to acquire basic parameters and load data corresponding to electrical equipment, wherein the load data includes operating data of the electrical equipment during a preset time period; a second conversion module, used to convert the load data into load curve data required by the simulation software; and an establishment module, used to establish a power quality simulation model based on the target script data, basic parameters and load curve data.
[0012] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, the non-volatile storage medium including a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned power quality simulation modeling methods.
[0013] According to another aspect of the embodiments of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above-mentioned power quality simulation modeling methods is executed.
[0014] According to yet another aspect of the embodiments of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned power quality simulation modeling methods is implemented.
[0015] In an embodiment of the present invention, a power quality simulation modeling method is adopted, by acquiring the power grid topology data stored in the power dispatching system; converting the power grid topology data into target script data based on the preset data format of the simulation software; acquiring the basic parameters and load data corresponding to the electrical equipment, wherein the load data includes the operation data of the electrical equipment in a preset time period; converting the load data into the load curve data required by the simulation software; and establishing a power quality simulation model based on the target script data, the basic parameters and the load curve data, thereby achieving the purpose of converting multiple types of data into data that can be used for simulation modeling, thereby achieving the technical effect of improving the accuracy of the established power quality simulation model, and further solving the current technical problem that it is impossible to directly integrate data of different types, different sources, and different data file formats, and ignoring the above factors and directly using these data leads to the constructed power quality simulation model being inaccurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a computer terminal for implementing a power quality simulation modeling method is shown;
[0018] Figure 2 is a flow chart of a power quality simulation modeling method provided according to an embodiment of the present invention;
[0019] Figure 3 is a flow chart of conversion of topology data and script data in a power quality simulation modeling method provided in an optional embodiment of the present invention;
[0020] Figure 4 It is a schematic diagram of data collection and data support of a power quality simulation modeling method provided in an optional embodiment of the present invention;
[0021] Figure 5 is a flow chart of a power quality simulation modeling method provided according to an optional embodiment of the present invention;
[0022] Figure 6 It is a structural block diagram of a power quality simulation modeling device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to an embodiment of the present invention, a method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a power quality simulation modeling method. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0027] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0028] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the power quality simulation modeling method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the power quality simulation modeling method of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0029] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0030] Figure 2 is a flow chart of a power quality simulation modeling method provided according to an embodiment of the present invention, such as Figure 2 As shown, the method comprises the following steps:
[0031] Step S202, obtaining the power grid topology data stored in the power dispatching system.
[0032] In this step, the power dispatching system usually uses a database to store the grid topology data. These databases may include detailed information about grid equipment, such as buses, transformers, lines, switches, etc., and the connections between them. The required grid topology data can be extracted from them. The query should be accurate to the required equipment type, voltage level, and time range. Export data from the dispatching system. This may require exporting files in a specific format, such as CSV, XML, JSON, or a dedicated power system data format for subsequent processing.
[0033] Step S204: based on the preset data format of the simulation software, convert the power grid topology data into target script data.
[0034] In this step, before starting data conversion, you can first obtain the topology data format required by the simulation software. Different software may have different data representation methods, such as text files (.dss, .m, .raw, etc.), database tables, or specific data structures. Usually, the simulation software provides data import guides, sample scripts, or API documents to help understand how to describe electrical equipment and their connection relationships. The power grid topology data extracted from the power dispatching system usually contains the identification, type, parameters of the equipment, and the connection relationship between them (for example, the connection between busbars, between busbars and transformers, and between busbars and lines). When extracting data, make sure to include all key power grid elements and connection relationships. Convert the extracted power grid topology data into a script format that can be recognized by the simulation software. For example, create declaration statements for each device (busbar, transformer, line, etc.), using the keywords and formats specified by the software. Assign specific electrical parameters to each declared device, such as rated voltage, impedance, capacity, etc., to ensure that the units and values are consistent with the requirements of the simulation software. To describe the electrical connection between devices, a specific connection syntax can be used. For example, you can use commands such as New Transformer, New Line, and New Circuit to create devices, and use Buses properties to describe the connections between devices. Based on the extracted topology information, write script code using the programming language supported by the simulation software. Typically, this involves writing code in the order of the hierarchy and connection of the devices to reflect the topology of the entire power grid.
[0035] Through the above steps, the grid topology data can be converted into target script data readable by the simulation software, thereby providing the necessary basis for power quality simulation analysis, which helps to ensure the accuracy and effectiveness of the simulation model.
[0036] Step S206, obtaining basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operating data of the electrical equipment in a preset time period.
[0037] In this step, the basic parameters corresponding to the electrical equipment and the load data within the preset time period are obtained, wherein the query function of the PMS system or other systems can be used to extract the basic parameters of the electrical equipment, including equipment type, rated voltage, rated current, impedance, power factor, etc. The extracted data can then be sorted to ensure that all parameters are in the correct units. For example, if the simulation software requires the impedance value to be in ohms, then it is necessary to ensure that all data are converted into ohms. The equipment parameter data can be converted into an appropriate script or file format according to the requirements of the simulation software. The load data may be stored in a technical loss reduction evaluation system, a SCADA system, an EMS system, or a smart meter system. Select one or more systems containing load data for the required period. According to the time period for the load data you want to obtain, for example, the simulation may require a daily load curve, which is set to one day; if a specific event is to be analyzed, data before and after the event may be required. Then extract the load data within the preset period from the system, which includes active power, reactive power, and any relevant timestamp information. Ensure that the extracted data covers all electrical equipment that needs to be analyzed. The extracted load data can be cleaned to remove any abnormal values or missing values. Check the consistency of the data to ensure there are no obvious jumps or unreasonable data points.
[0038] Step S208: converting the load data into load curve data required by the simulation software.
[0039] In this step, the load data is converted into the load curve data required by the simulation software, which can ensure that the simulation model can accurately reflect the actual operating status of the power grid. The load curve format requirements of the simulation software can be obtained first. For example, some software may require the load data to be grouped according to specific time intervals (such as 15 minutes, 1 hour) and provide the values of active power and reactive power. It can be ensured that the units of the load data are consistent with the units required by the simulation software. For example, convert from kilowatt-hours (kWh) to kilowatts (kW) or from megawatt-hours (MWh) to megawatts (MW). According to the requirements of the simulation software, the processed load data is converted into a software-readable format, such as .csv, .txt, or a specific script format. This usually includes creating a template file and then filling the load data into the template in a time series. The mapping relationship between the parameters of the load element in the simulation software and the actual load data can be listed. This may include active power, reactive power, load type (such as constant impedance, constant current, constant power), etc. According to the mapping relationship, the specific values of the load data are filled in the load element parameter page of the simulation software. For example, for a daily load curve, it may be necessary to fill in the values of active and reactive power by hour. If the simulation software provides a load curve template, data conversion should be performed according to the template requirements. For example, if the template requires data to be provided in the form of a daily load curve, the raw data needs to be converted into a format that matches the template, including the correct timestamp and power value.
[0040] Through the above steps, the original load data can be converted into the load curve data format required by the simulation software, thereby providing accurate dynamic load data for the simulation analysis of power quality.
[0041] Step S210, establishing a power quality simulation model based on target script data, basic parameters and load curve data.
[0042] In this step, a power quality simulation model can be established based on the target script data, the basic parameter data of the electrical equipment, and the load curve data. For example, the previously converted power grid topology script data can be imported into the simulation software. Then, according to the basic parameter data of the electrical equipment, the parameters of the corresponding components in the simulation model are updated. This includes but is not limited to the rated voltage, impedance, and power factor of the equipment. Using the processed load curve data, set the load components in the simulation model. Usually, this means importing the load curve .csv file into the simulation software and linking this data to the corresponding load nodes. Make sure that the time series of the load data matches the time range of the simulation analysis. Then configure the parameters of the simulation software according to the simulation goals. For example, set the simulation time, step size, calculation method, etc. Make sure that these parameters can support the simulation analysis of power quality, such as harmonic analysis, voltage fluctuation analysis, flicker analysis, etc. Integrate the topology, equipment parameters, and load data to build a complete simulation model.
[0043] Through the above steps, the purpose of converting multi-type data into data that can be used for simulation modeling can be achieved, thereby realizing the technical effect of improving the accuracy of the established power quality simulation model, and further solving the current technical problem that it is impossible to directly integrate data of different types, different sources, and different data file formats, and ignoring the above factors and directly using these data leads to the constructed power quality simulation model being inaccurate.
[0044] As an optional embodiment, based on the data format of a preset simulation software, the power grid topology data is converted into target script data, including: determining the device connection relationship of the electrical equipment according to the power grid topology data; based on the data format of the preset simulation software, converting the device connection relationship of the electrical equipment into initial script data; judging whether the topology relationship in the initial script data is correct; and determining the initial script data as the target script data when the topology relationship in the initial script data is correct.
[0045] Optionally, the connection relationship between electrical devices can be determined based on the grid topology data, such as which devices are connected to a specific bus, which devices are connected to each other, and the specific way of connection. Then, for each type of electrical equipment, use the script language of the simulation software to write declaration statements, such as "New Transformer", "New Line", "NewBus", etc. Assign specific parameter values to each declared device, such as rated voltage, impedance, capacity, etc., to ensure that these values are consistent with the grid data. Describe the connection between devices and use the connection syntax provided by the simulation software, such as the "Connect" command, to connect the device to the corresponding bus. After the script is edited, you can check whether the topology relationship described in the script is consistent with the actual grid and whether there are topology errors, such as islands, loops, or connection problems. Ensure that the devices and connections in the script data are completely matched with the original grid topology data without omissions or errors. After the topology relationship is verified to be correct, confirm that the script data is the final target script data and prepare it for simulation.
[0046] For example, Figure 3 is a flow chart of the conversion of topology data and script data in the power quality simulation modeling method provided by an optional embodiment of the present invention, such as Figure 3 As shown, a plant-station wiring diagram can be formed according to the grid topology data in the dispatching system, wherein the plant-station wiring diagram, also known as the substation wiring diagram or the power plant wiring diagram, is a very important graphical representation in the design and operation of the power system. It describes in detail the connection mode and layout of the electrical equipment in the substation or power plant, and is a key tool for understanding the structure of the power system, conducting power system analysis, planning, design, and operation and maintenance. Then analyze the voltage levels of each bus in the plant-station wiring diagram, and arrange the bus nodes in order from high to low voltage levels. According to the connection relationship between each electrical equipment component and the bus of different voltage levels, the topological connection data is converted to the script code data in the power quality simulation software. Check whether the topological relationship represented by the script data in the power quality simulation software is consistent with the topological structure of the wiring diagram. If it is accurate, save the script file.
[0047] As an optional embodiment, converting the load data into the load curve data required by the simulation software includes: obtaining a load curve template corresponding to the simulation software; and determining the load curve data based on the load curve template and the load data.
[0048] Optionally, you can obtain the input requirements of the simulation software for load curve data. Most software will provide data formats and templates. These templates usually contain columns for timestamps and load values (active and reactive power). Before conversion, the raw load data can be preprocessed, including data cleaning (removing outliers or missing values), data format conversion (such as converting from kWh to kW), data time alignment (ensuring that all data have consistent timestamps), etc. Because the raw load data may be recorded at different time intervals (such as 15 minutes, 1 hour), you can adjust these data to a time series that matches the simulation software template. For example, if the software template requires hourly data points, then the data at 15-minute intervals needs to be aggregated or averaged. Determine the mapping relationship between the load values in the raw data and the load curve parameters in the template. For example, match the active power and reactive power to the corresponding columns in the template. If there is no reactive power data in the data source, you may need to estimate the reactive power based on the power factor or active power. Fill the template with the processed data, that is, fill the active power and reactive power values in the corresponding positions of the template in chronological order. Save the populated template in a specified format (usually a .csv or .txt file) and then import it into the simulation software. Before importing, make sure to check the data for completeness and correctness.
[0049] Through the above steps, the original load data can be converted into the load curve data format required by the simulation software, providing accurate dynamic load data for power quality analysis, power system stability analysis, etc. Ensuring the accuracy and efficiency of the data conversion process is crucial to the reliability of the simulation results.
[0050] For example, in the technical loss reduction evaluation system, query the bus voltage level to which the equipment load is connected; then determine all loads connected at different voltage levels. You can select the required load operation data in the time domain according to the timestamp. Obtain the load curve template in the load element parameter page of the power quality simulation software, and fill in the load daily / annual operation data by comparing the load curve template. Then import the load curve .csv file filled in and saved into the load curve column of the load element parameter page.
[0051] As an optional embodiment, a power quality simulation model is established based on target script data, basic parameters and load curve data, including: checking whether the target script data, basic parameters and load curve data are normal, wherein the inspection content includes checking whether the target script data lacks connection information of electrical equipment, checking whether the basic parameters are reasonable, and checking whether the load curve data lacks operating data corresponding to the required time point; when the target script data, basic parameters and load curve data are normal, a power quality simulation model is established.
[0052] Optionally, a power quality simulation model is established based on the target script data, basic parameters and load curve data. It is necessary to ensure the integrity and accuracy of all data. The target script data check can confirm that all necessary electrical equipment and their connection information are included in the script, and no equipment is omitted. Check whether the topology is complete and there are no breakpoints or islands. Basic parameter check can verify whether the basic parameters of all electrical equipment, such as rated voltage, rated capacity, impedance, etc., are within a reasonable range and consistent with the actual equipment. Pay special attention to checking the parameters of key equipment such as transformers, lines, and generators. Load curve data check ensures that the load curve covers the time period required for simulation and no data is missing at any time point. Check whether the timestamp of the load data is accurate and consistent with the simulation timeline. In addition to checking the integrity of the data, the rationality of the data can also be checked. The rationality of the parameters can check whether the equipment parameters conform to the operating logic and standards of the power system. For example, confirm whether the resistance and reactance values of the line are reasonable, and whether the transformer ratio and short-circuit voltage are correct. Load data rationality, analyze the load curve data to ensure that it reflects the actual load characteristics. For example, the daily load curve should show a typical pattern of morning and evening peaks and noon troughs, and the annual load curve should reflect seasonal changes. Consistency verification can ensure the consistency and coordination between the script data, basic parameters, and load curve data. For example, the connection information of the load point should match the bus or node information in the load curve data. After confirming that all data is normal, the target script data, basic parameters, and load curve data are integrated into the simulation software to establish a power quality simulation model.
[0053] Through the above steps, it can be ensured that the power quality simulation model established based on target script data, basic parameters and load curve data has a high degree of accuracy and reliability, providing strong support for the optimal design, operation analysis and fault prediction of the power system.
[0054] As an optional embodiment, a power quality simulation model is established based on target script data, basic parameters and load curve data, including: parsing the target script data to determine the initial simulated electrical equipment and the equipment connection relationship; based on the basic parameters, adjusting the parameters of the initial simulated electrical equipment to obtain the target simulated electrical equipment; based on the target simulated electrical equipment, the equipment connection relationship and the load curve data, determining the power quality simulation model.
[0055] Optionally, the script data is a description language for defining and connecting electrical equipment in the simulation software, which contains information on equipment types, parameters, and connection relationships. The target script data can be read and parsed to convert it into operable electrical equipment and connection objects. Based on the results of the parsing, the types of electrical equipment (such as transformers, lines, circuit breakers, etc.) included in the simulation model and the connection relationships between them are determined. Then the topology of the power grid is reconstructed to ensure that all electrical equipment is correctly laid out in the simulation model according to their actual connection methods. The basic parameters of each electrical equipment are obtained from the PMS system or other data sources, including rated voltage, impedance, capacity, efficiency, etc. Check whether the preset parameters of the electrical equipment in the simulation model are accurate by comparing these basic parameters. If inconsistencies are found, adjust the equipment in the simulation model according to the parameters of the actual equipment. For example, if the impedance value of the transformer in the script is different from the basic parameters, the impedance value in the script should be updated. Ensure that all adjusted parameters are correctly saved in the equipment parameter page of the simulation software for use in subsequent simulation runs. Integrate electrical equipment, connection relationships, and load data: Integrate the adjusted electrical equipment parameters, equipment connection relationships, and load curve data obtained from the loss reduction evaluation system into the simulation model. Model construction: Based on the integrated data, a power quality simulation model is constructed, which may include setting the model's operating parameters (such as simulation time, step size, etc.), selecting calculation methods (such as forward / backward scanning method, Newton-Raphson method, etc.), and defining simulation scenarios (such as normal operation, fault state, etc.). Then the power quality simulation model can be run to perform time series flow calculation, harmonic analysis, voltage stability analysis, etc. to obtain simulation results.
[0056] Through the above steps, it can be ensured that the establishment of the power quality simulation model is based on the accurate data of the actual power grid, thereby improving the accuracy and reliability of the simulation analysis.
[0057] Figure 4 is a schematic diagram of data collection and data support of a power quality simulation modeling method provided in an optional embodiment of the present invention, such as Figure 4As shown, multiple data acquisition sources are shown, including a dispatching system, a PMS (production management system) and a loss reduction evaluation system. These systems provide power grid topology data, basic parameter data of electrical equipment and load operation data respectively. The original data obtained from the data acquisition source needs to be converted and mapped to adapt to the data format of the power quality simulation software. Specifically: the power grid topology data in the dispatching system is converted into script data readable by the simulation software, which is used to establish the topology of the power grid model. The basic parameter data of the equipment in the PMS system is mapped with the component parameters in the simulation software to form a mapping file of the equipment parameters, which is used to accurately set the parameters of the electrical equipment. The load data in the loss reduction evaluation system is converted into the load curve template data required by the simulation software to simulate the load characteristics in the power grid. The converted and mapped data are integrated in the simulation software to form a complete power quality simulation model, including power grid topology, equipment parameters and load data. Using the fused multivariate data, the simulation software creates a power quality simulation model and performs time series flow calculation. The establishment of the model involves the accurate description of the power grid topology, the reasonable setting of equipment parameters and the correct input of the load curve. After the simulation model is run, the calculation results are displayed in the form of visual graphics or result files, which can include the trend of power quality indicators (such as voltage, frequency, harmonics, etc.) and the analysis of the power grid operation status. These results are used to evaluate the power quality of the power grid, identify potential problems, and guide the optimization and troubleshooting of the power system.
[0058] As an optional embodiment, based on basic parameters, the parameters of the initial simulated electrical equipment are adjusted to obtain the target simulated electrical equipment, wherein: it is determined whether the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship; if the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship, the basic parameters are directly imported into the initial simulated electrical equipment to obtain the target simulated electrical equipment; and / or, if the basic parameters and the parameters of the initial simulated electrical equipment are not in a direct mapping relationship, the parameter format of the basic parameters is adjusted, and the adjusted basic parameters are imported into the initial simulated electrical equipment to obtain the target simulated electrical equipment.
[0059] Optionally, determining the mapping relationship between the basic parameters and the initial simulated electrical equipment parameters, and importing or adjusting the corresponding parameters are important steps to ensure that the power quality simulation model accurately reflects the actual power grid conditions. Direct mapping means that the data in the basic parameters can directly correspond to the electrical equipment parameters in the simulation software without any format conversion or calculation. For example, if the rated capacity (kVA) of the transformer in the PMS system completely matches the rated capacity parameters of the transformer components in the simulation software, then the data of the PMS system can be directly imported into the corresponding parameter page in the simulation software. After confirming the direct mapping relationship, use the parameter import function of the simulation software, or write a script to automatically match and fill in the parameters, and import the basic parameters directly into the initial simulated electrical equipment. Parameter update: After importing, check whether the parameters of the electrical equipment in the simulation software have been correctly updated to the new basic parameter values to ensure that there are no omissions or errors. Indirect mapping means that the data in the basic parameters do not completely match the electrical equipment parameters in the simulation software, and format conversion, unit conversion or ratio calculation are required. For example, the no-load loss (W) of the transformer may be provided in the PMS system, while the simulation software requires the percentage (%) of the no-load loss to the rated capacity. After discovering the indirect mapping relationship, you first need to adjust the format of the basic parameters to meet the requirements of the simulation software. This may include unit conversion, data format conversion (such as from text to numeric value), or ratio calculation. Parameter calculation: Perform necessary calculations on the basic parameters according to the parameter requirements of the simulation software. For example, convert the no-load loss of the transformer from W to a percentage of the rated capacity. Import adjusted parameters: Import the format-adjusted and calculated parameters into the initial simulated electrical equipment of the simulation software to update its parameter values. Regardless of whether the mapping between the basic parameters and the initial simulated electrical equipment parameters is direct or indirect, the target simulated electrical equipment obtained after the parameter import or adjustment should be able to accurately reflect the status and characteristics of the actual electrical equipment. This process is the basis for the establishment of the power quality simulation model and ensures the accuracy and reliability of the model.
[0060] Figure 5 is a flow chart of a power quality simulation modeling method provided according to an optional embodiment of the present invention, such as Figure 5 As shown, a specific embodiment is given below:
[0061] 1. Multi-system data acquisition: This stage involves extracting the required data from different data source systems. Specifically, the grid topology data is obtained from the dispatching system, the basic parameter data of the electrical equipment is read from the PMS (production management system), and the load operation data is obtained from the technical loss reduction evaluation system. These data are the basis for power quality simulation analysis, so the data collection must be comprehensive and accurate.
[0062] 2. Mapping and connecting grid topology data with graphical simulation modeling node connection data: In this stage, the grid topology data is converted into script data for graphical modeling in the simulation software based on the grid topology data in the dispatching system. This includes analyzing the bus voltage level, sorting the bus nodes according to the voltage level, and establishing the topological connection relationship between electrical equipment components and the bus in the simulation software. The ultimate goal is to ensure that the topology of the simulation model is completely consistent with the topology of the actual grid.
[0063] 3. Correspondence between basic parameters of electrical equipment and parameters of component parameter page of simulation software: This step involves mapping the basic parameters of electrical equipment exported from the PMS system with the component parameter page in the simulation software to form a mapping file of electrical component parameter data. In this process, it is necessary to determine whether the parameter mapping is direct mapping or indirect mapping, and perform necessary conversion to ensure that the parameters can be accurately filled in the simulation software.
[0064] 4. Convert load data into time-series load curve template: Based on the load data in the technical loss reduction evaluation system, convert it into the load curve template data required by the power quality simulation software. This includes determining the active power, reactive power and daily / annual load curve data in the load curve for use by the simulation software.
[0065] 5. Apply the script file and data curve file after multi-data fusion: This stage is to apply the script file and data curve file obtained in the previous processing to the power quality simulation model. Specifically, it includes checking the accuracy and completeness of all data, combining the graphical topology modeling script, basic equipment electrical parameter data and load curve data to perform power quality simulation modeling analysis. The simulation results can be displayed in a visual graphical interface or exported as a file for further analysis.
[0066] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0067] Through the description of the above implementation methods, those skilled in the art can clearly understand that the power quality simulation modeling method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0068] According to an embodiment of the present invention, there is also provided a power quality simulation modeling device for implementing the above-mentioned power quality simulation modeling method. Figure 6 is a structural block diagram of a power quality simulation modeling device provided according to an embodiment of the present invention, such as Figure 6 As shown, the power quality simulation modeling device includes: a first acquisition module 602, a first conversion module 604, a second acquisition module 606, a second conversion module 608 and a building module 610. The power quality simulation modeling device is described below.
[0069] The first acquisition module 602 is used to acquire the power grid topology data stored in the power dispatching system.
[0070] The first conversion module 604 is connected to the first acquisition module 602 and is used to convert the power grid topology data into target script data based on a preset data format of the simulation software.
[0071] The second acquisition module 606 is connected to the first conversion module 604 and is used to acquire basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operation data of the electrical equipment in a preset period of time.
[0072] The second conversion module 608 is connected to the second acquisition module 606 and is used to convert the load data into load curve data required by the simulation software.
[0073] The establishing module 610 is connected to the second converting module 608 and is used to establish a power quality simulation model based on the target script data, basic parameters and load curve data.
[0074] It should be noted that the first acquisition module 602, the first conversion module 604, the second acquisition module 606, the second conversion module 608 and the establishment module 610 correspond to steps S202 to S210 in the embodiment, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.
[0075] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.
[0076] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the power quality simulation modeling method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the above-mentioned power quality simulation modeling method is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0077] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain the power grid topology data stored in the power dispatching system; based on the preset data format of the simulation software, convert the power grid topology data into target script data; obtain the basic parameters and load data corresponding to the electrical equipment, wherein the load data includes the operating data of the electrical equipment in a preset time period; convert the load data into the load curve data required by the simulation software; and establish a power quality simulation model based on the target script data, basic parameters and load curve data.
[0078] Optionally, the processor may also execute program codes for the following steps: based on a preset data format of the simulation software, converting the power grid topology data into target script data, including: determining the device connection relationship of the electrical equipment according to the power grid topology data; based on a preset data format of the simulation software, converting the device connection relationship of the electrical equipment into initial script data; determining whether the topology relationship in the initial script data is correct; and determining the initial script data as the target script data when the topology relationship in the initial script data is correct.
[0079] Optionally, the processor may also execute program code of the following steps: converting the load data into load curve data required by the simulation software, including: obtaining a load curve template corresponding to the simulation software; and determining the load curve data based on the load curve template and the load data.
[0080] Optionally, the processor may also execute program code for the following steps: establishing a power quality simulation model based on target script data, basic parameters and load curve data, including: checking whether the target script data, basic parameters and load curve data are normal, wherein the inspection content includes checking whether the target script data lacks connection information of electrical equipment, checking whether the basic parameters are reasonable, and checking whether the load curve data lacks operating data corresponding to the required time point; establishing a power quality simulation model when the target script data, basic parameters and load curve data are normal.
[0081] Optionally, the processor may also execute program code for the following steps: establishing a power quality simulation model based on target script data, basic parameters and load curve data, including: parsing the target script data to determine the initial simulated electrical equipment and the equipment connection relationship; adjusting the parameters of the initial simulated electrical equipment based on the basic parameters to obtain the target simulated electrical equipment; determining the power quality simulation model based on the target simulated electrical equipment, the equipment connection relationship and the load curve data.
[0082] Optionally, the processor may also execute the program code of the following steps: based on the basic parameters, adjusting the parameters of the initial simulated electrical equipment to obtain the target simulated electrical equipment, wherein: determining whether the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship; in the case where the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship, directly importing the basic parameters into the initial simulated electrical equipment to obtain the target simulated electrical equipment; and / or, in the case where the basic parameters and the parameters of the initial simulated electrical equipment are not in a direct mapping relationship, adjusting the parameter format of the basic parameters, importing the adjusted basic parameters into the initial simulated electrical equipment to obtain the target simulated electrical equipment.
[0083] By adopting the embodiment of the present invention, a method for power quality simulation modeling is provided, which obtains the power grid topology data stored in the power dispatching system; converts the power grid topology data into target script data based on the data format of the preset simulation software; obtains the basic parameters and load data corresponding to the electrical equipment, wherein the load data includes the operation data of the electrical equipment in the preset time period; converts the load data into the load curve data required by the simulation software; and establishes a power quality simulation model based on the target script data, the basic parameters and the load curve data, thereby achieving the purpose of converting multiple types of data into data that can be used for simulation modeling, thereby realizing the technical effect of improving the accuracy of the established power quality simulation model, and further solving the current technical problem that it is impossible to directly integrate data of different types, different sources, and different data file formats, and ignoring the above factors and directly using these data, resulting in the constructed power quality simulation model being inaccurate.
[0084] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0085] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the power quality simulation modeling method provided in the above embodiment.
[0086] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0087] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: obtaining power grid topology data stored in the power dispatching system; converting the power grid topology data into target script data based on a preset data format of the simulation software; obtaining basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operating data of the electrical equipment in a preset time period; converting the load data into load curve data required by the simulation software; and establishing a power quality simulation model based on the target script data, basic parameters and load curve data.
[0088] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: based on the data format of a preset simulation software, converting the power grid topology data into target script data, including: determining the device connection relationship of the electrical equipment according to the power grid topology data; based on the data format of a preset simulation software, converting the device connection relationship of the electrical equipment into initial script data; judging whether the topology relationship in the initial script data is correct; and determining the initial script data as the target script data when the topology relationship in the initial script data is correct.
[0089] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: converting load data into load curve data required by simulation software, including: obtaining a load curve template corresponding to the simulation software; based on the load curve template, determining the load curve data according to the load data.
[0090] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: establishing a power quality simulation model based on target script data, basic parameters and load curve data, including: checking whether the target script data, basic parameters and load curve data are normal, wherein the inspection content includes checking whether the target script data lacks connection information of electrical equipment, checking whether the basic parameters are reasonable, and checking whether the load curve data lacks operating data corresponding to the required time point; when the target script data, basic parameters and load curve data are normal, establishing a power quality simulation model.
[0091] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: establishing a power quality simulation model based on target script data, basic parameters and load curve data, including: parsing the target script data to determine the initial simulated electrical equipment and the device connection relationship; based on the basic parameters, adjusting the parameters of the initial simulated electrical equipment to obtain the target simulated electrical equipment; determining the power quality simulation model based on the target simulated electrical equipment, the device connection relationship and the load curve data.
[0092] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: based on basic parameters, adjusting parameters of the initial simulated electrical equipment to obtain target simulated electrical equipment, wherein: determining whether the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship; in the case where the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship, directly importing the basic parameters into the initial simulated electrical equipment to obtain the target simulated electrical equipment; and / or, in the case where the basic parameters and the parameters of the initial simulated electrical equipment are not in a direct mapping relationship, adjusting the parameter format of the basic parameters, importing the adjusted basic parameters into the initial simulated electrical equipment to obtain the target simulated electrical equipment.
[0093] An embodiment of the present invention also provides a computer program product, including a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, it can achieve: obtaining power grid topology data stored in the power dispatching system; converting the power grid topology data into target script data based on a preset data format of the simulation software; obtaining basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operating data of the electrical equipment in a preset time period; converting the load data into load curve data required by the simulation software; and establishing a power quality simulation model based on the target script data, basic parameters and load curve data.
[0094] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0095] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0098] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0100] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A power quality simulation modeling method, characterized in that: include: Obtaining the power grid topology data stored in the power dispatching system; Based on the data format of the preset simulation software, the power grid topology data is converted into target script data; Acquire basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operation data of the electrical equipment in a preset time period; Converting the load data into load curve data required by the simulation software; A power quality simulation model is established based on the target script data, the basic parameters and the load curve data.
2. The method according to claim 1, characterized in that The data format of the simulation software is preset, and the power grid topology data is converted into target script data, including: Determining device connection relationships of electrical devices according to the power grid topology data; Based on a preset data format of the simulation software, converting the device connection relationship of the electrical device into initial script data; Determining whether the topological relationship in the initial script data is correct; When the topological relationship in the initial script data is correct, the initial script data is determined to be the target script data.
3. The method according to claim 1, characterized in that The converting the load data into the load curve data required by the simulation software comprises: Obtaining a load curve template corresponding to the simulation software; The load curve data is determined based on the load curve template and according to the load data.
4. The method according to claim 1, characterized in that: The establishing of a power quality simulation model based on the target script data, the basic parameters and the load curve data comprises: Check whether the target script data, the basic parameters and the load curve data are normal, wherein the checking content includes checking whether the target script data lacks connection information of electrical equipment, checking whether the basic parameters are reasonable, and checking whether the load curve data lacks operation data corresponding to the required time point; When the target script data, the basic parameters and the load curve data are normal, the power quality simulation model is established.
5. The method according to any one of claims 1 to 4, characterized in that: The step of establishing a power quality simulation model based on the target script data, the basic parameters and the load curve data includes: Parsing the target script data to determine the initial simulated electrical equipment and equipment connection relationship; Based on the basic parameters, adjusting the parameters of the initial simulated electrical equipment to obtain a target simulated electrical equipment; The power quality simulation model is determined based on the target simulated electrical equipment, the equipment connection relationship and the load curve data.
6. The method according to claim 5, characterized in that Based on the basic parameters, the parameters of the initial simulated electrical equipment are adjusted to obtain the target simulated electrical equipment, wherein: Determining whether the basic parameters and the parameters of the initial simulated electrical equipment are in a direct mapping relationship; In the case where the basic parameters are directly mapped to the parameters of the initial simulated electrical device, the basic parameters are directly imported into the initial simulated electrical device to obtain the target simulated electrical device; And / or, when the basic parameters and the parameters of the initial simulated electrical device are not directly mapped, the parameter format of the basic parameters is adjusted, and the adjusted basic parameters are imported into the initial simulated electrical device to obtain the target simulated electrical device.
7. A power quality simulation modeling device, characterized in that: include: A first acquisition module is used to acquire the power grid topology data stored in the power dispatching system; A first conversion module, configured to convert the power grid topology data into target script data based on a preset data format of the simulation software; A second acquisition module is used to acquire basic parameters and load data corresponding to the electrical equipment, wherein the load data includes operation data of the electrical equipment during a preset period of time; A second conversion module, used for converting the load data into load curve data required by the simulation software; An establishment module is used to establish a power quality simulation model based on the target script data, the basic parameters and the load curve data.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the power quality simulation modeling method according to any one of claims 1 to 6.
9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is running, the processor executes the power quality simulation modeling method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the power quality simulation modeling method described in any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Method and system for managing full life cycle of electronic file for photovoltaic construction
CN122045487A