Parallel operation method and system for main and standby dispatching heterogeneous electric power spot technical support system
By adopting the main and backup heterogeneous parallel operation method in the power spot technical support system, real-time comparison and verification of the clearance results of the two systems is solved, and the problem of manual testing of the correctness of the clearance results in the existing technology is solved, improving the accuracy of the clearance results and the continuous operation capability of the system.
Patent Information
- Application Number
- CN202311631265.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
The existing power spot technical support system lacks an intuitive comparison and verification system in the clearing calculation, resulting in the accuracy of the clearing results relying on manual testing or third-party evaluation, and lacks systematic comparison and verification methods.
The parallel operation method of the main and backup heterogeneous power spot technical support system is adopted. By setting up a heterogeneous backup and adjusting power spot technical support system in the backup power dispatch center, it runs side by side with the main power system, and the same data source and market model are used for clearing calculations, and the clearing results of the two systems are compared and verified in real time.
Through comparison and verification, the differences in the cleaning results are analyzed, the reasons are found, the accuracy of the cleaning results is improved, the familial defects of the isomorphic system are avoided, and the continuous operation capability of the spot system is improved.
Smart Images

Figure CN120070045A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power spot markets, and particularly relates to a method and system for parallel operation of a primary and standby heterogeneous power spot technical support system. Background Art
[0002] With the advancement of China's power market reform, more and more provinces have started to build power spot markets. After the completion of the power spot market, the planned power of market members in the power grid and the settlement basis of market entities both depend on the clearing results of the power spot technical support system (referred to as the spot system). If the market is interrupted or the clearing results are unreasonable, it will not only affect the safe and stable operation of the power grid, but also affect the economic interests of market entities and then cause market fluctuations. Therefore, both the safe operation of the power grid and the stable operation of the power market have extremely high requirements for the clearing results of the power spot technical support system.
[0003] Currently, in power spot pilot provinces, a primary power spot technical support system is established in the primary power dispatching center of the provincial power grid. To consider disaster tolerance and standby, some provinces have set up a standby power spot technical support system in the standby power dispatching center. Usually, the two sets of power spot technical support systems are homogeneous systems, that is: provided by the same supplier and using the same technical route. Under normal circumstances, only the primary power spot system performs a complete clearing calculation and executes the clearing results, while the standby power spot system is in a standby state, does not perform a clearing calculation, and the results are not executed.
[0004] The clearing calculation of the power spot technical support system involves a large amount of boundary data and complex clearing algorithms. Currently, the correctness of the clearing results mainly relies on manual testing or third-party evaluation systems for post-event analysis. Although these means can perform some rationality analysis on the clearing results, there is a lack of an intuitive comparison system for comprehensive comparison and verification as a whole.
[0005] Therefore, it is necessary to adopt corresponding technical means to compare and verify the clearing results of the spot system. A relatively reasonable way is to set up a heterogeneous standby power spot technical support system different from the primary power spot technical support system in the standby power dispatching center, that is: provided by different suppliers and using different technical routes. By running the two sets of power spot systems in parallel, controlling the use of the same data source and market model, performing clearing calculations simultaneously, and comparing and verifying the clearing results of the two sets of spot systems in real time, so as to analyze the difference items of the clearing results of the two sets of spot systems, find the reasons, and ultimately improve the correctness of the clearing results. The purpose of using heterogeneous power spot systems for parallel operation comparison and verification is to avoid the family defect problems of homogeneous systems.
[0006] In addition, the continuous operation ability of the spot system depends on the data of each business system. If the data of a certain business is interrupted or abnormal, it will affect the normal operation of the spot system. By switching the data source, a normal data source can be selected for clearing calculation, which can improve the continuous operation ability of the spot system. Summary of the Invention
[0007] The object of the present invention is to provide a method and system for parallel operation of a primary and standby heterogeneous power spot technical support system, which can improve the correctness of the clearing result through comprehensive comparison and verification of the clearing results of the dual-set power spot technical support system.
[0008] To achieve the above object, the solution of the present invention is:
[0009] A method for parallel operation of a primary and standby heterogeneous power spot technical support system includes:
[0010] Obtain the external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and push the data to the spot technical support system;
[0011] Synchronize the data of the spot main system to the spot slave system, and switch the status of the current spot main system and slave system as needed;
[0012] The spot main system and the spot slave system perform clearing calculations in parallel;
[0013] Obtain the clearing result data from both sides of the spot system for comparison, and the clearing result data is sent by the spot main system to the execution system.
[0014] Among them, obtaining the external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and pushing the data to the spot technical support system includes:
[0015] Establish a data type control parameter table in the database of the spot technical support system to describe the control parameters of the data required by the spot technical support system;
[0016] The primary dispatching business system, standby dispatching business system, and trading center system obtain the external data required by the spot system and store it in the corresponding directory of the data type control parameter table;
[0017] According to the data source set in the data type control parameter table, the files in the corresponding data source directory are placed in the data final use directory, that is, the data finally used by the spot technical support system. The primary dispatching business system and the standby dispatching business system contain the same type of data, and the data source parameters of these data can be flexibly set to choose whether to use the data of the primary dispatching business system or the data of the standby dispatching business system. In this way, if a single type or multiple types of data are abnormal, the spot technical support system can maintain uninterrupted operation by switching the data source parameters.
[0018] Among them, synchronizing the spot main system data to the spot slave system includes:
[0019] Set a synchronization intermediate table in the database of the primary and standby dispatching spot technical support system to store the data that needs to be synchronized;
[0020] The spot main system updates the market model, control parameters, and manually modified data with changes in the internal table to the intermediate table on the primary dispatching side. A mapping relationship is established between the internal table of the main system and the intermediate table for updating;
[0021] When the database synchronization tool detects data changes in the intermediate table of the main system, it triggers data synchronization to the intermediate table of the slave system;
[0022] After the spot slave system detects data changes in the intermediate table of the spot slave system, it updates the data in the intermediate table of the spot slave system to the internal table of the spot slave system. A mapping relationship is established between the internal table of the spot slave system and the intermediate table for updating.
[0023] Among them, switching the current status of the spot main system and slave system as needed includes:
[0024] Set switching flags in both the primary and standby dispatching power spot technical support systems. The master-slave status flag of the main system is true, and the master-slave status flag of the slave system is false;
[0025] During switching, initiated by the main system, first switch the main system to the slave system, that is: set the master-slave status flag in the main system to false; then switch the slave system to the main system, that is: set the master-slave status flag in the slave system to true.
[0026] Among them, switching the current status of the spot main system and slave system as needed includes switching the current status of the spot main system and slave system when the spot main system has an operation failure or the accuracy of the clearing result is not as good as that of the spot slave system.
[0027] Among them, obtaining the clearing result data from both sides of the spot system for comparison includes:
[0028] According to the market clearing process, after the clearing calculation of the primary and standby dispatching spot technical support system is completed, export the clearing result into a clearing result file in a specified format and send it to the spot technical support system on the opposite side through the network channel;
[0029] The spot technical support system on this side obtains the clearing result data of the spot technical support system on this side from the spot database on this side, and then reads the clearing result data sent by the spot technical support system on the opposite side through the file;
[0030] The clearing result data on this side and the opposite side form comparison objects according to the clearing object code, and compare the clearing result values of each time period in sequence;
[0031] List the clearing result difference items according to the comparison result, and manually analyze the reasons for the differences; continuously process and iterate to improve the correctness of the clearing results of the primary and standby power spot technical support systems.
[0032] A parallel operation system for a primary and standby heterogeneous power spot technical support system, including
[0033] A data source management module, configured to obtain external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and push the data to the power spot technical support system;
[0034] A master-slave synchronization module, configured to synchronize the data of the primary power spot system to the secondary power spot system;
[0035] A master-slave system switching module, configured to switch the states of the current primary and secondary power spot systems;
[0036] A parallel operation module, configured to implement parallel clearing calculations for the primary and secondary power spot systems; and
[0037] A clearing result comparison module, configured to obtain and compare the clearing result data from both sides of the spot system, and the clearing result data is sent from the primary power spot system to the execution system.
[0038] The above data source management module is configured to obtain external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and push the data to the power spot technical support system, including
[0039] The data source management module establishes a data type control parameter table in the database of the power spot technical support system, which is used to describe the control parameters of the data required by the power spot technical support system;
[0040] The data source management module obtains external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and stores it in the corresponding directory of the data type control parameter table;
[0041] The data source management module places the files in the corresponding data source directory into the data final usage directory according to the data sources set in the data type control parameter table, that is, the data finally used by the power spot technical support system.
[0042] The above master-slave synchronization module is configured to synchronize the data of the primary power spot system to the secondary power spot system, including
[0043] The master-slave synchronization module sets a synchronization intermediate table in the databases of the primary and standby power spot technical support systems to store the data that needs to be synchronized;
[0044] The spot main system updates the market model, control parameters, and manually modified data with changed internal tables to the intermediate table on the main - calling side. A mapping relationship is established between the internal table of the main system and the intermediate table for updating.
[0045] When the database synchronization tool detects data changes in the intermediate table of the main system, it triggers data synchronization to the intermediate table of the slave system.
[0046] After the spot slave system detects data changes in the intermediate table of the spot slave system, it updates the data in the intermediate table of the spot slave system to the internal table of the spot slave system. A mapping relationship is established between the internal table and the intermediate table of the spot slave system for updating.
[0047] The above - mentioned master - slave system switching module is configured to switch the current status of the spot main system and the slave system, including,
[0048] The master - slave system switching module sets switching flags in both the main - backup - calling power spot technical support systems. The master - slave status flag of the main system is true, and the master - slave status flag of the slave system is false.
[0049] During switching, initiated by the main system, first switch the main system to the slave system, that is: set the master - slave status flag in the main system to false; then switch the slave system to the main system, that is: set the master - slave status flag in the slave system to true.
[0050] The above - mentioned master - slave system switching module is configured to switch the current status of the spot main system and the slave system, including,
[0051] When the spot main system has an operation failure or the accuracy of the clearing result is inferior to that of the spot slave system, switch the current status of the spot main system and the slave system.
[0052] The above - mentioned clearing result comparison module is configured to obtain clearing result data from both sides of the spot systems for comparison, including,
[0053] According to the market clearing process, after the main - backup - calling spot technical support systems complete the clearing calculation, they export the clearing results into a clearing result file in a specified format and send it to the opposite - side spot technical support system through the network channel.
[0054] The local spot technical support system obtains the clearing result data of the local spot technical support system from the local spot database, and then reads the clearing result data sent by the opposite - side spot technical support system through the file.
[0055] The clearing result data on the local side and the opposite side form comparison objects according to the clearing object code, and the clearing result values of each time period are compared in sequence.
[0056] List the clearing result difference items according to the comparison results, and manually analyze the reasons for the differences; continuously improve the correctness of the clearing results of the two sets of power spot technical support systems of the main - backup - calling through continuous processing and iteration.
[0057] After adopting the above solution, the beneficial effects achieved by the present invention are as follows:
[0058] (1) Through the steps of selecting the same data source, master-slave synchronization, parallel clearing, and clearing result comparison in the master-slave heterogeneous power spot system of the present invention, the complete comparison and verification of the clearing results of the two spot systems are realized, the overall situation of the clearing of the spot system is comprehensively grasped, and the accuracy of the clearing results of the spot system is improved through comparison and verification;
[0059] (2) The present invention controls the master-slave power spot system to select a specified data source through data source management. When the data of a certain data source is abnormal, the data of other data sources can be manually selected to ensure uninterrupted clearing of the spot system; at the same time, a master-slave switching module for the spot system is set. When the main spot system fails to operate or the accuracy of the clearing result is inferior to that of the slave spot system, the master-slave system can be flexibly switched through the master-slave switching module to ensure the uninterrupted operation of the spot system with high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 is a schematic diagram of the parallel operation architecture of the master-slave heterogeneous power spot technical support system;
[0061] Figure 2 is a flowchart of the parallel operation module of the master-slave heterogeneous power spot technical support system;
[0062] Figure 3 is a flowchart of the data source management module of the master-slave heterogeneous power spot technical support system;
[0063] Figure 4 is a flowchart of the master-slave synchronization module of the master-slave heterogeneous power spot technical support system;
[0064] Figure 5 is a flowchart of the parallel operation of the master-slave heterogeneous power spot technical support system;
[0065] Figure 6 is a flowchart of the comparison of the clearing results of the master-slave heterogeneous power spot technical support system;
[0066] Figure 7 is a flowchart of the master-slave switching of the master-slave heterogeneous power spot technical support system. DETAILED DESCRIPTION OF THE INVENTION
[0067] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and should not be used to limit the protection scope of the present invention.
[0068] As shown in Figure 1As shown in the figure, the present invention provides a parallel operation system for a primary and standby heterogeneous power spot technical support system, which includes a data source management module, a master-slave synchronization module, a parallel operation module, a clearing result comparison module, and a master-slave system switching module. Among them, the data source management module includes a primary dispatching data source management module and a standby dispatching data source management module. The data source management module obtains the required external data of the spot system from the primary dispatching business system, the standby dispatching business system, and the trading center system, and pushes the selected data source data to the spot system to execute the core business of the spot system. At the same time, the master-slave synchronization module synchronizes the data of the spot master system to the spot slave system, and the master-slave system switching module is also used to switch the states of the current spot master system and the slave system; the parallel operation module is used to realize the parallel clearing calculation of the spot master system and the spot slave system; the clearing result comparison module obtains the clearing result data from both sides of the spot system for comparison; only the spot master system sends the clearing result data to the execution systems such as AGC and the trading system.
[0069] As Figure 2 shown in the figure, the present invention provides a method for parallel operation of a primary and standby heterogeneous power spot technical support system, which specifically includes the operations of five modules:
[0070] (1) Establish a data source management module in the primary and standby power spot technical support system for managing the data files required by the spot system. The implementation process is as Figure 3 shown in the figure, and specifically includes the following steps:
[0071] S1: Establish a data type control parameter table (such as: dataTypeCtrlPara) in the database of the primary and standby power spot technical support system to describe the control parameters of the data required by the spot system. The control parameters include: data encoding, data name, data source, primary dispatching source file directory, standby dispatching source file directory, and final data usage directory. For example: for the short-term system load forecasting data required by the spot system, its parameter settings are:
[0072] Data encoding: DQXTFHYC;
[0073] Data name: Short-term system load forecasting;
[0074] Data source: Can be set to "primary dispatching source" or "standby dispatching source", here it is set to "primary dispatching source";
[0075] Primary dispatching source file directory: / users / ems / xhsc_data / DQXTFHYC / ZDY;
[0076] Standby dispatching source file directory: / users / ems / xhsc_data / DQXTFHYC / BDY;
[0077] Final data usage directory: / users / ems / xhsc_data_input / DQXTFHYC;
[0078] The spot market system requires many types of data. In addition to short-term system load forecasting data, it also includes ultra-short-term system load forecasting, short-term bus load forecasting, ultra-short-term bus load forecasting, maintenance plans, and other data. Each type of data sets its control parameters according to the above examples.
[0079] S2: The master and standby dispatching data source management modules obtain the corresponding data files from each business system to the directory specified by dataTypeCtrlPara in S1. For example, taking the standby dispatching data source management module obtaining short-term system load forecasting data as an example: The short-term system load forecasting data belongs to the load forecasting system. The standby dispatching data source management module obtains the short-term system load forecasting file from the master dispatching load forecasting system and places it in the master dispatching source file directory, such as: / users / ems / xhsc_data / DQXTFHYC / ZDY, and obtains the short-term system load forecasting file from the standby dispatching load forecasting system and places it in the standby dispatching source file directory, such as: / users / ems / xhsc_data / DQXTFHYC / BDY;
[0080] S3: The data source management module places the files in the corresponding data source directory into the final data usage directory according to the data sources set in dataTypeCtrlPara. For example: If the data source set for short-term system load forecasting is "master dispatching source", when a new file is detected in the / users / ems / xhsc_data / DQXTFHYC / ZDY directory, then this file is placed in the final data usage directory: / users / ems / xhsc_data_input / DQXTFHYC.
[0081] S4: The files in the final data usage directory are the data finally used by the power spot market technical support system. The above steps are common to the master and standby dispatching data source management modules. Therefore, the master and standby dispatching data source management modules can control the selection of the same data source for each type of data. In this way, the master and standby dispatching power spot market technical support systems can use the same data source for clearing, which is convenient for result comparison and verification; in addition, when the data of a certain data source is abnormal or fails, the normal data source can also be selected through control, which also improves the reliability of the data and ensures the uninterrupted operation of the spot market system.
[0082] (2) Establish a master-slave synchronization module for the spot market system in the master and standby dispatching power spot market technical support system, including the following steps:
[0083] The model parameter maintenance and input data modification of the spot system are only carried out in the main spot system. To ensure the consistency of the market model, control parameters, and manually modified data between the main and slave spot systems, the main system needs to synchronize this data to the slave system. In this way, the spot slave system can be consistent with the main system without any operations. As a result, the actual executed system is the main system, and the system that only runs without executing the results is the slave system. The main and slave systems can be switched, so the main dispatching power spot technical support system can be either the main system or the slave system.
[0084] The data synchronization of the primary and standby dispatching heterogeneous power spot technical support systems is achieved through the master-slave synchronization module. Since the modeling methods and data storage methods adopted by heterogeneous systems are different, conversions are required during master-slave synchronization. The implementation process is as Figure 4 shown, and the steps are as follows:
[0085] S1: Set synchronization intermediate tables in the databases of the main dispatching and standby dispatching power spot technical support systems. The data stored in these tables is the data that needs to be synchronized. The structure of the intermediate tables contains the complete information of the synchronized data. For example, if the market unit model needs to be synchronized between the master and slave systems, a market unit intermediate table (such as: MktGenUnitZJB) needs to be established. The intermediate table includes the codes used for matching by the two sides of the spot system. Both sides of the spot system can map their internal models or data through this code, including parameters such as unit code, unit name, affiliated market member, unit rated capacity, minimum technical output of the unit, unit ramp rate, and whether to participate in the market.
[0086] S2: The main spot system updates the market model, control parameters, and manually modified data with changes in the internal table to the intermediate table on the main dispatching side. A mapping relationship is established between the main system's internal table and the intermediate table for the update.
[0087] S3: When the database synchronization tool (the database synchronization tool is an existing technology and a general tool) detects changes (insertion, deletion, or modification) in the intermediate table of the main system, it triggers the data synchronization to the intermediate table of the slave system.
[0088] S4: After the spot slave system detects changes in the intermediate table data of the slave system, it updates the data in the intermediate table of the slave system to the internal table of the slave system. A mapping relationship is established between the internal table of the slave system and the intermediate table for the update.
[0089] Through the above steps, the data synchronization from the main spot system to the slave spot system is completed. In this way, only the data is modified in the main system, and the slave system will also be consistent with the main system without the need to modify it again in the slave system.
[0090] (3) The primary and standby dispatching spot systems operate in parallel, as Figure 5 shown, including the following steps:
[0091] S1: In step 1, the master-slave dispatching data source management module sends the selected data source data into the spot system data access directory;
[0092] S2: The master-slave dispatching spot systems respectively import the data source data selected by the data source management module on their own sides;
[0093] S3: The master-slave synchronization module set in the master-slave dispatching spot systems synchronizes the changed data of the master system to the slave system to form the master-dispatching and slave-dispatching spot system databases;
[0094] S4: The master-slave dispatching spot systems respectively perform clearing calculations for each market according to the market process;
[0095] S5: The spot master system sends the clearing results to execution systems such as AGC and the trading center.
[0096] (4) Establish a clearing result comparison module for the master-slave dispatching spot systems in the master-slave dispatching power spot technical support system, as shown in Figure 6 , including the following steps:
[0097] S1: According to the market clearing process, after the master-slave dispatching spot systems complete the clearing calculations, export the clearing results into a clearing result file in a specified format and send it to the opposite-side spot system through the network channel; the clearing result file includes the complete content of the clearing results, specifically including: clearing object code, clearing object name, clearing result values for each time period; among them, the clearing object code is used to map internal objects in the master-slave dispatching spot systems; the clearing object can be a unit, a bus, a load, etc.;
[0098] S2: The local spot system obtains the clearing result data of the local spot system from the local spot database, and then reads the clearing result data sent by the opposite-side spot system through the file;
[0099] S3: The local and opposite-side clearing result data form comparison objects according to the clearing object code, and compare the clearing result values for each time period in turn; for example: there are 100 units in the spot market, taking the unit clearing results in the day-ahead market as an example for comparison, the clearing results in the day-ahead market include the result values for 96 time periods; compare the 96 result values of these 100 units in turn;
[0100] S4: List the clearing result difference items according to the comparison results and analyze the reasons for the differences manually; continuously process and iterate to improve the correctness of the clearing results.
[0101] (5) Establish a master-slave switching module for the master-slave dispatching spot systems in the master-slave dispatching power spot technical support system, as shown in Figure 7 , including the following steps:
[0102] S1: Set a switching flag in both the primary and backup power spot technical support systems. The master-slave status flag of the primary system is true, and that of the slave system is false.
[0103] S2: During switching, initiated by the primary system, first switch the primary system to the slave system, i.e., set the master-slave status flag in the primary system to false; then switch the slave system to the primary system, i.e., set the master-slave status flag in the slave system to true.
[0104] S3: After switching according to the steps in S2, the master-slave status switching is completed. The original primary system becomes the slave system, and the original slave system becomes the primary system.
[0105] When the primary power spot system has an operation failure or the accuracy of the clearing result is not as good as that of the backup power spot system, the current primary power spot system is switched to the slave system, and the backup power spot system is switched to the primary system through the system switching method to ensure the uninterrupted operation of the power spot system with high reliability.
[0106] After switching, the two power spot systems still operate in parallel and clear independently. Only when the power spot system is the primary system can the clearing result be sent to execution systems such as AGC and the trading center for execution.
[0107] Through the above embodiments, a method and system for parallel operation of a primary and backup heterogeneous power spot technical support system provided by the present invention controls and selects the same external data data source through the primary and backup data source management module, keeps the market models of the primary and backup power spot technical support systems consistent through spot master-slave synchronization, performs parallel clearing of the primary and backup heterogeneous power spot technical support systems based on the same data source and market model, shields the family defects of homogeneous systems, comprehensively compares the clearing results of the two power spot technical support systems through the clearing result comparison module of the primary and backup power spot technical support systems, and improves the correctness of the clearing results of the power spot system. In addition, the data source management module flexibly selects the data source to improve the compatibility with single data source anomalies. Through the master-slave system switching, the system with excellent clearing results is flexibly selected as the primary system to improve the clearing result accuracy rate and continuous operation ability of the power spot technical support system.
[0108] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention can be implemented in various computer languages. For example, object-oriented programming languages such as c++, Java, and interpreted scripting languages such as JavaScript.
[0109] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to produce a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices produce means for implementing the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 block or multiple blocks.
[0110] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 block or multiple blocks.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one Figure 1 flow or multiple flows and / or blocks Figure 1 block or multiple blocks.
[0112] Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0113] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A method for parallel operation of a primary and standby heterogeneous power spot technical support system, characterized in that: It includes, The primary dispatching business system, the standby dispatching business system, and the trading center system obtain the external data required by the spot system and push the data to the spot technical support system; Synchronize the data of the spot main system to the spot slave system, and switch the status of the current spot main system and slave system as needed; The spot main system and the spot slave system perform clearing calculations in parallel; Obtain the clearing result data from both sides of the spot system for comparison, and the clearing result data is sent by the spot main system to the execution system.
2. The method according to claim 1, characterized in that: The primary dispatching business system, the standby dispatching business system, and the trading center system obtain the external data required by the spot system and push the data to the spot technical support system, including, Establish a data type control parameter table in the database of the spot technical support system to describe the control parameters of the data required by the spot technical support system; The primary dispatching business system, the standby dispatching business system, and the trading center system obtain the external data required by the spot system and store it in the corresponding directory of the data type control parameter table; According to the data source set in the data type control parameter table, put the files in the corresponding data source directory into the data final use directory, that is, the data finally used by the spot technical support system.
3. The method according to claim 1, characterized in that: Synchronize the data of the spot main system to the spot slave system, including, Set a synchronization intermediate table in the database of the primary and standby spot technical support systems to store the data that needs to be synchronized; The spot main system updates the market model, control parameters, and manually modified data with changes in the internal table to the intermediate table on the primary dispatching side, and a mapping relationship is established between the main system internal table and the intermediate table for updating; When the database synchronization tool detects a change in the data in the main system intermediate table, it triggers the synchronization of the data to the intermediate table on the slave system; After the spot slave system detects a change in the data in the spot slave system intermediate table, it updates the data in the spot slave system intermediate table to the internal table of the spot slave system, and a mapping relationship is established between the internal table of the spot slave system and the intermediate table for updating.
4. The method according to claim 1, characterized in that: Switch the status of the current spot main system and slave system as needed, including, Set a switching flag in both the primary and standby power spot technical support systems. The master-slave status flag of the main system is true, and the master-slave status flag of the slave system is false; When switching, it is initiated by the main system. First, the main system is switched to the slave system, that is: set the master-slave status flag in the main system to false; then the slave system is switched to the main system, that is: set the master-slave status flag in the slave system to true.
5. The method according to claim 1 or 4, characterized in that: Switch the status of the current spot main system and slave system as needed, including when the spot main system has an operation failure or the accuracy of the clearing result is not as good as that of the spot slave system, switch the status of the current spot main system and slave system.
6. The method according to claim 1, characterized in that: Obtain the clearing result data from both sides of the spot system for comparison, including, According to the market clearing process, after the clearing calculation of the primary and standby dispatching spot technical support system is completed, the clearing result is exported into a clearing result file in a specified format and sent to the opposite side's spot technical support system through a network channel; The local spot technical support system obtains the clearing result data of the local spot technical support system from the local spot database, and then reads the clearing result data sent by the opposite side's spot technical support system through a file; The clearing result data on the local side and the opposite side form comparison objects according to the clearing object code, and the clearing result values of each time period are compared in sequence; List the clearing result difference items according to the comparison result, and analyze the reasons for the differences manually; continuously process and iterate to improve the correctness of the clearing results of the two sets of power spot technical support systems for primary and standby dispatching.
7. A parallel operation system for a heterogeneous power spot technical support system with primary and standby dispatching, Characterized in that: Including, A data source management module, configured to obtain the external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and push the data to the spot technical support system; A master-slave synchronization module, configured to synchronize the data of the spot master system to the spot slave system; A master-slave system switching module, configured to switch the status of the current spot master system and slave system; A parallel operation module, configured to implement parallel clearing calculations for the spot master system and the spot slave system; and, A clearing result comparison module, configured to obtain the clearing result data from both sides of the spot system for comparison, and the clearing result data is sent from the spot master system to the execution system.
8. The system according to claim 7, Characterized in that: The data source management module is configured to obtain the external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and push the data to the spot technical support system, including, The data source management module establishes a data type control parameter table in the database of the spot technical support system to describe the control parameters of the data required by the spot technical support system; The data source management module obtains the external data required by the spot system from the primary dispatching business system, standby dispatching business system, and trading center system, and stores it in the corresponding directory of the data type control parameter table; The data source management module places the files in the corresponding data source directory into the data final usage directory according to the data source set in the data type control parameter table, that is, the data finally used by the spot technical support system.
9. The system according to claim 7, Characterized in that: The master-slave synchronization module is configured to synchronize the data of the spot master system to the spot slave system, including, The master-slave synchronization module sets a synchronization intermediate table in the database of the primary and standby dispatching spot technical support system to store the data to be synchronized; The spot master system updates the market model, control parameters, and manually modified data with changes in the internal table to the intermediate table on the primary dispatching side, and a mapping relationship is established between the master system internal table and the intermediate table for updating; When the database synchronization tool detects data changes in the master system intermediate table, it triggers data synchronization to the slave system intermediate table; After the spot-from system monitors the data changes in the intermediate table of the spot-from system, it updates the data in the intermediate table of the spot-from system to the internal table of the spot-from system. A mapping relationship is established between the internal table and the intermediate table of the spot-from system for the update.
10. The system according to claim 7, wherein: the master-slave system switching module is configured to switch the current spot master system and slave system states, including the master-slave system switching module sets switching flags in both the primary and standby power spot technical support systems. The master-slave status flag of the master system is true, and the master-slave status flag of the slave system is false; during switching, initiated by the master system, first switch from the master system to the slave system, that is: set the master-slave status flag in the master system to false; then switch from the slave system to the master system, that is: set the master-slave status flag in the slave system to true.
11. The system according to claim 7 or 10, wherein: the master-slave system switching module is configured to switch the current spot master system and slave system states, including when the spot master system has an operation failure or the accuracy of the clearing result is inferior to that of the spot slave system, switch the current spot master system and slave system states.
12. The system according to claim 7, wherein: the clearing result comparison module is configured to obtain clearing result data from both sides of the spot system for comparison, including according to the market clearing process, after the primary and standby spot technical support systems complete the clearing calculation, export the clearing results into a clearing result file in a specified format and send it to the opposite side's spot technical support system through a network channel; the local spot technical support system obtains the clearing result data of the local spot technical support system from the local spot database, and then reads the clearing result data sent by the opposite side's spot technical support system through a file; the clearing result data on the local side and the opposite side form comparison objects according to the clearing object code, and compare the clearing result values of each time period in sequence; list the clearing result difference items according to the comparison results, and analyze the reasons for the differences manually; continuously process and iterate to improve the correctness of the clearing results of the two sets of primary and standby power spot technical support systems.