Power transaction simulation method and device based on power system operation constraint and medium
Patent Information
- Application Number
- CN202411309713.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-28
AI Technical Summary
The existing technology is difficult to effectively simulate power trading during the operation of power systems, resulting in insufficient practical capabilities of staff who have just entered the industry, and the market mechanism does not consider the system operation rules, which may undermine the system balance and increase the risk of collapse and power outages.
提出一种基于电力系统运行约束的电力交易模拟方法,通过用户选择角色身份和交易模式,提供相应的电力交易模型,监控用户交易操作,获取交易数据,确定运行约束条件,使用竞价算法模拟其他角色的交易操作,得到交易结果,并将结果返回用户。
It improves the accuracy and authenticity of the power trading model, enhance the practical ability of the initial entry industry staff, ensure the coordination of market mechanisms and system operation rules, and reduce the risk of system collapse and power outages.
Smart Images

Figure CN119379432A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power trading, and specifically to a power trading simulation method, device and medium based on power system operation constraints. Background Art
[0002] The physical grid of the power system is the carrier of power transactions. Without the physical system, transactions will not be possible. The commodity transmission speed of the power system is much higher than that of other commodity markets. The transaction and delivery calculation process and results of the power market are highly correlated, real-time and interactive with the power system operation flow. However, on the one hand, this correlation is invisible. On the other hand, market mechanisms and trading behaviors that do not consider the laws of system operation will destroy the system balance and significantly increase the possibility of system collapse and blackouts.
[0003] The production, transmission and consumption of the power system must be balanced at all times, and the real-time requirements are extremely strict. As a basic industry, its product electricity is closely related to all aspects of the national economy. Once the system load fluctuates or the equipment exceeds the limit, it may cause power outages, system crashes, and cause a series of serious consequences such as equipment damage, economic losses and casualties. The system operation is dangerous, unreachable and irreversible.
[0004] There is no possibility to build and conduct physical experiments in colleges and universities, and students cannot participate in actual transactions. This leads to the fact that the staff who have just entered the industry have strong theoretical ability but poor practical ability. If destructive experiments are conducted using actual systems, the experimental results will destroy the stable operation of the system. System outages not only make it impossible to conduct market electricity transactions, but also cause power outages in the entire region, causing very bad social and economic impacts.
[0005] Therefore, there is an urgent need for a power trading simulation method based on power system operation constraints to fill the gap in the power trading simulation system in the existing technology and enhance the practical operation ability of the staff. Summary of the invention
[0006] In order to solve the above problems, the present application proposes a method, device and medium for simulating power trading based on power system operation constraints, wherein the method includes:
[0007] Based on the role identity and transaction mode selected by the user, a corresponding type of power transaction model is provided to the user; the role identity includes at least one of a power transaction center, a power generation enterprise, a power sales company and a power user; by monitoring the power transaction operation of the user, the transaction data of the user in the current transaction stage is obtained; the operation constraints of the power transaction model are determined, and the operation constraints include system constraints, unit constraints and network constraints; based on the transaction data, the operation constraints and the bidding algorithm, the transaction operations of other roles in the power transaction model in the current transaction stage are simulated to obtain transaction results; the transaction results are returned to the user so that the user can interact with the power transaction model based on the transaction results.
[0008] In one example, based on the transaction data, the operating constraints and the bidding algorithm, the transaction operations of other roles in the power trading model in the current transaction stage are simulated, specifically including: determining that the user is a power trading center role; creating a transaction based on the transaction-related information sent by the user, and the transaction-related information includes transaction number, transaction name, transaction type, transaction start time and transaction end time; after initiating the transaction, obtaining the declared electricity and declared price of other roles from a preset database; based on the bidding algorithm, clearing the declared electricity and declared price of other roles to obtain the winning bid information of the other roles; based on the winning bid information and the operating constraints, performing a security check on the transaction, and the transaction ends after the check passes.
[0009] In one example, based on the transaction data, the operating constraints and the bidding algorithm, the transaction operations of other roles in the power trading model in the current transaction stage are simulated, specifically including: determining that the user is a power generation enterprise role, a power sales company role or a power user role; based on the operating constraints, performing a security check on the declared quantity and declared price sent by the user; after the check is passed, obtaining the declared electricity quantity and declared price of other roles from a preset database; based on the bidding algorithm, clearing the transaction of the declared electricity quantity and declared price of other roles to obtain the winning bid information of all roles; and sending the winning bid information of all roles to the user.
[0010] In one example, before obtaining the transaction data of the user in the current transaction stage by monitoring the user's electricity trading operations, the method also includes: determining that the role identity selected by the user is a power generation enterprise or a power sales company; sending the power generation cost corresponding to the role identity to the user, so that the user can perform electricity trading operations based on the power generation cost; after obtaining the transaction data of the user in the current transaction stage by monitoring the user's electricity trading operations, the method also includes: determining that there are other users whose role identities are power generation enterprises or power sales companies; obtaining the historical clearing prices of all users in the simulation process, and processing the historical clearing prices to obtain the historical clearing price range; obtaining the current declared prices of all users, and determining the average declared price of the current transaction based on the current declared prices; determining malicious bidding users among the other users based on the average declared price and the historical clearing price range; and clearing the current declared prices corresponding to the malicious bidding users from the transaction data.
[0011] In one example, returning the transaction result to the user specifically includes: determining the winning power generation enterprise role, power sales company role and power user role based on the transaction result; respectively obtaining the declared electricity volume and declared price corresponding to the power generation enterprise role, the power sales company role and the power user role; based on the declared electricity volume and declared price corresponding to the power generation enterprise role, the power sales company role and the power user role, generating clearing data and clearing curves; and sending the clearing data and the clearing curves to the user.
[0012] In one example, before providing the user with a corresponding type of electricity trading model based on the role identity and trading mode selected by the user, the method also includes: sending simulation prerequisite knowledge and electricity test questions to the user; when the user's test question score is higher than a preset threshold, sending a simulation interface to the user to obtain the role identity and trading mode selected by the user.
[0013] In one example, providing the user with a corresponding type of electricity trading model based on the role identity and transaction mode selected by the user specifically includes: simultaneously acquiring the role identities of multiple users under the same transaction mode; providing the multiple users with corresponding types of electricity trading models based on the role identities of the multiple users; acquiring initial data corresponding to the role identities of the multiple users in a preset database; and sending the initial data to the multiple users so that the multiple users can conduct electricity transactions based on the initial data.
[0014] In one example, the transaction mode type of the electricity transaction model includes at least one of medium- and long-term transactions, spot transactions, day-ahead transactions, and pre-time transactions.
[0015] The present application also provides an electric power trading simulation device based on electric power system operation constraints, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: based on the role identity and trading mode selected by the user, providing the user with a corresponding type of electric power trading model; the role identity includes at least one of an electric power trading center, a power generation enterprise, a power sales company and an electric power user; by monitoring the electric power trading operations of the user, obtaining the trading data of the user in the current trading stage; determining the operating constraints of the electric power trading model, the operating constraints include system constraints, unit constraints and network constraints; based on the trading data, the operating constraints and the bidding algorithm, simulating the trading operations of other roles in the electric power trading model in the current trading stage to obtain trading results; returning the trading results to the user so that the user can interact with the electric power trading model based on the trading results.
[0016] The present application also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to: provide a corresponding type of power trading model to the user based on the role identity and trading mode selected by the user; the role identity includes at least one of a power trading center, a power generation enterprise, a power sales company and a power user; obtain the trading data of the user in the current trading stage by monitoring the power trading operations of the user; determine the operating constraints of the power trading model, wherein the operating constraints include system constraints, unit constraints and network constraints; simulate the trading operations of other roles in the power trading model in the current trading stage based on the trading data, the operating constraints and the bidding algorithm to obtain trading results; and return the trading results to the user so that the user can interact with the power trading model based on the trading results.
[0017] The method proposed in this application can bring the following beneficial effects: by establishing an electricity trading model, simulating the multi-party trading process in the electricity market, and by running constraints and bidding algorithms, the accuracy and authenticity of the electricity trading model are improved. At the same time, by conducting simulated electricity trading, the practical ability of staff who are new to the industry can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 A schematic diagram of a flow chart of a power trading simulation method based on power system operation constraints in an embodiment of the present application;
[0020] Figure 2 This is a structural diagram of an electric power trading simulation device based on electric power system operation constraints in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0022] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0023] Figure 1 A flowchart of a method for simulating power trading based on power system operation constraints provided in one or more embodiments of this specification. The process can be executed by a computing device in the corresponding field (e.g., a risk control server or smart mobile terminal corresponding to a payment service), and some input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.
[0024] The analysis method involved in the embodiments of the present application can be implemented by a terminal device or a server, and the present application does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.
[0025] It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not make any specific limitations on this.
[0026] like Figure 1 As shown, the embodiment of the present application provides a power transaction simulation method based on power system operation constraints, including:
[0027] S101: Based on the role identity and transaction mode selected by the user, provide the user with a corresponding type of electricity transaction model.
[0028] First, the user will select the role identity to be played or simulated from a variety of role identities, and select the corresponding transaction mode. After the selection, the role identity and transaction mode will be sent to the server. The server will select the corresponding power transaction model from the pre-stored power transaction models based on the user's selection and send it to the user, so that the user can simulate power transactions based on the power transaction model.
[0029] It should be noted that the roles here include power trading centers, power generation companies, power sales companies, and power users. Trading modes include medium- and long-term trading, spot trading, day-ahead trading, pre-hour trading, and real-time trading. Among them, medium- and long-term trading mainly refers to power trading for more than a day, such as multi-year, annual, quarterly, monthly, and weekly, carried out by market trading entities such as power generation companies, power sales companies, power users, and independent ancillary service providers that meet the access conditions through market-oriented methods such as autonomous negotiation and centralized bidding. Medium- and long-term trading varieties include direct power trading, inter-provincial and inter-regional trading, contracted power transfer trading, and ancillary service compensation (trading) mechanism. Spot trading refers to power trading conducted one day in advance of real-time operation, that is, within 24 hours. Spot trading generally determines the quantity and price of power trading through bidding. Spot trading includes day-ahead trading, pre-hour trading, and real-time trading. The main purpose of power spot trading is to balance the deviation between contract trading and actual load, and to improve the competitive efficiency of the power market. Day-ahead trading refers to the 24-hour electricity trading of the next day that is conducted one day ahead of the real-time operation (in order to distinguish it from the spot trading that specifically refers to day-ahead trading, it is generally also called day-ahead spot trading). Day-ahead trading is also called hour-ahead trading, daytime trading or adjustment trading, which refers to the electricity trading conducted in a certain period after day-ahead trading and before real-time trading. Real-time trading refers to the electricity trading conducted 1 hour ahead of the real-time operation. Generally speaking, the main purpose of real-time trading is to ensure the real-time balance of power supply and demand.
[0030] In one embodiment, the power trading model here takes power trading and power system as modeling objects, and uses Maya modeling technology to establish regional power systems and power plants, substations, power trading centers and related main equipment three-dimensional animation scenes and equipment operation according to the actual structure and real data of the target area power system. The power trading model includes the power equipment information corresponding to the target area, and the power equipment information here includes transmission lines, substations, generators, loads and other equipment. At the same time, the power trading model adopts B / S architecture, webGL technology, unity3D engine, and a browser-based framework, including front-end, back-end, and database. Through the B / S architecture, users can access the management platform, view related functions, and start the platform and power trading model.
[0031] S102: Acquire the transaction data of the user in the current transaction phase by monitoring the user's power transaction operation.
[0032] After the power trading model is sent to the user, the user will perform power trading operations in the power trading model. At this time, the power trading model can record the user's power trading operations and send the transaction data in the current trading stage to the server. It should be noted that the transaction created by the power trading center includes the transaction start time and end time. The current trading stage here refers to the entire time within the currently created transaction, that is, from the start time of the current transaction to the end time of the current transaction.
[0033] In one embodiment, before obtaining the transaction data provided by the user, in order to make the simulation process closer to the actual situation, the user needs to know the power generation costs of the power generation enterprise and the power sales company that he simulates, so that the user can provide a more realistic declared price. Therefore, before obtaining the user's transaction data, if it is determined that the role identity selected by the user is a power generation enterprise or a power sales company, the power generation cost corresponding to the role identity is sent to the user, so that the user can perform power trading operations based on the power generation cost.
[0034] At the same time, in order to prevent malicious bidding by users in multiplayer mode, after obtaining the transaction data provided by the user, the user's declared price, which has a large gap with other users, especially a price that is too low, can be determined based on the historical clearing price and the quotations of different users this time, to prevent malicious bidding. Therefore, after obtaining the user's transaction data, if it is determined that there are other users whose role identities are power generation enterprises or power sales companies, the historical clearing prices of all users in the simulation process are obtained, and the historical clearing prices are processed, such as interpolation processing, removing the maximum or minimum value, etc., so as to obtain the historical clearing price range of the price comparison journey. Then, according to the current declared prices of all users obtained, and based on the current declared prices, the average declared price of the current transaction is determined. Then, based on the average declared price and the historical clearing price range, the malicious bidding users among other users can be determined. Specifically, the maximum value of the absolute value of the difference between the two endpoints of the historical clearing price range and the average declared price can be used as the floating price threshold, and then the difference between the average declared price and the current declared price can be used as the actual floating value; if the actual floating value is greater than the product of the preset threshold and the floating price threshold, the corresponding user is regarded as a malicious bidding user. After the malicious bidding user is identified, the declared price corresponding to the malicious bidding user needs to be cleared from the transaction data to prevent the simulation process of other users from being affected by the user.
[0035] S103: Determine operating constraints of the power trading model.
[0036] In real life, power trading needs to consider operating constraints, so it is necessary to incorporate system constraints, unit constraints and network constraints into the modeling process to ensure the feasibility of the trading plan and the stable operation of the market. When formulating a power bidding trading plan, the following constraints must be considered: System constraints: including system total load balance constraints, system static reserve constraints and system spinning reserve constraints. These constraints ensure the stable operation of the power system and the reliability of power supply. Unit constraints: including unit output range constraints, unit output change speed constraints, unit minimum start and stop time constraints, etc. These constraints limit the operating range and flexibility of the unit and ensure the safe and economic operation of the unit. Network constraints: including intra-regional line transmission capacity constraints and inter-regional tie line transmission capacity constraints. These constraints limit the transmission capacity of electricity in the power grid and ensure the stable operation of the power grid and the reliability of power transmission. Once the transaction triggers the output limit of the equipment, the overload animation or overload plot is triggered, which can make the user aware of the possible consequences of the current operation.
[0037] S104: Based on the transaction data, the operating constraints and the bidding algorithm, simulate the transaction operations of other roles in the power transaction model in the current transaction stage to obtain transaction results.
[0038] After the server obtains the user's transaction data, it can simulate the transaction operations of other roles in the power trading model in the current transaction stage based on the user's transaction data and the fictitious data of other roles pre-stored in the database, as well as the running constraints and bidding algorithm to obtain the transaction results.
[0039] It should be noted that the fictitious data of the above-mentioned other roles can be pre-stored in the storage device of the computer device. When the transaction operation needs to be simulated, the computer device can select the fictitious data of other roles from the storage device. Of course, the computer device can also obtain the fictitious data of the other roles from other external devices. For example, the fictitious data of other roles are stored in the cloud. When the transaction operation needs to be simulated, the computer device can obtain the fictitious data of other roles from the cloud. This embodiment does not limit the way to obtain the fictitious data of other roles. The power trading model is based on the bidding algorithm, SCUC (safety constrained unit combination) and SCED (safety constrained economic dispatch) algorithm. The bidding algorithm realizes the supply and demand balance and price discovery of the power market through the price mechanism; SCUC (safety constrained unit combination) and SCED (safety constrained economic dispatch) algorithms realize the safe and stable operation and economic dispatch of the power system through the optimization model. Simulate the bidding, dispatching and optimization process of the power market, so that users can have a deep understanding of the operation mechanism of the power market.
[0040] In one embodiment, if the role selected by the user is a trading center role, during the simulation process, the server will create a transaction based on the transaction-related information sent by the user, where the transaction-related information includes the transaction number, transaction name, transaction type, transaction start time, and transaction end time. After the user creates a transaction, the user can start the transaction in the power trading model. At this time, the server will obtain the fictitious data corresponding to other roles in the preset database at the current trading stage, where the fictitious data includes the declared power and the declared price. After the server obtains the declared power and the declared price of all roles, it will clear the declared intentions of all roles according to the bidding algorithm, thereby determining the winning role. If it is a multiplayer mode at this time, it is also necessary to conduct a safety check on the declared power declared by the role played by the user (such as the role of a power generation enterprise), that is, whether the power generation exceeds the output range of the generator set. If it exceeds the output range, the consequences that may be caused will be displayed in the power trading model of the corresponding user. After the safety check is passed, the transaction ends. In the safety check stage of the transaction process, the 3D model of the main equipment of the system, boilers, generators, transformers, power line operation status changes, faults and accident scenes is highly simulated, presenting the consequences of trading behaviors that do not conform to the system operation rules.
[0041] In one embodiment, if the user is a power generation enterprise role, a power sales company role or a power user role, in the process of simulating power trading, the declared quantity and declared price sent by the user must first be security checked based on the operating constraints; after the check is passed, the server obtains the declared electricity quantity and declared price of other roles in the preset database; and based on the bidding algorithm, the declared electricity quantity and declared price of other roles are traded and cleared to obtain the winning bid information of all roles; and the winning bid information of all roles is sent to the user.
[0042] Specifically, when determining the winning bid information, it is necessary to determine the seller role and buyer role corresponding to the current exchange based on the transaction information provided by all roles, obtain the seller role's power supply, the seller's power pricing, and the buyer role's power demand, and determine the length of the power transportation line between the seller role and the buyer role and the power loss coefficient. The loss value of electricity during transportation can be determined by the length of the power transportation line and the power loss coefficient corresponding to the line; then the winning seller corresponding to the target transaction can be determined based on factors such as the seller's power supply, power pricing, and the seller's corporate level. The corporate level here can be a corporate portrait that reflects transaction risks, such as the company's credit rating and the company's volume level.
[0043] Specifically, the expected value of the transaction plan corresponding to different sellers can be determined by the following formula:
[0044]
[0045] Among them, I is the expected value of the transaction plan, S is the length of the power transmission line, p is the power loss coefficient of the power transmission line, Q is the seller's power supply, R is the seller's enterprise level, G is the seller's power pricing, and B is a preset constant.
[0046] S105: Returning the transaction result to the user, so that the user can interact with the electricity transaction model based on the transaction result.
[0047] After the power trading model obtains the transaction results, the server will return the transaction results to the user. On the one hand, the user can check whether his or her transaction operation has won the bid, and check the bid and declaration data of the winning role. On the other hand, the user can conduct subsequent simulated transactions based on the transaction results.
[0048] In one embodiment, in order to facilitate users to view the transaction results, the transaction results can be visualized. In the process of returning the transaction results to the user, the server can determine the winning power generation enterprise role, power sales company role and power user role based on the transaction results, and obtain the declared electricity and declared prices corresponding to the power generation enterprise role, power sales company role and power user role respectively. Then, based on the declared electricity and declared prices corresponding to the power generation enterprise role, power sales company role and power user role, the clearing data and clearing curve are prepared; and the clearing data and the clearing curve are sent to the user.
[0049] In one embodiment, in order to facilitate users to learn relevant knowledge about power trading and improve the efficiency of power trading simulation, simulation pre-knowledge and power test questions can be sent to users before users use the power trading model, so as to obtain the user's first test score corresponding to the power test questions; and when the user's test question score is higher than the preset threshold, it means that the user has a good grasp of the simulation pre-knowledge. At this time, the simulation interface is sent to the user to obtain the role identity and trading mode selected by the user. If the user's first test score is lower than the preset threshold, a teaching video can be provided to the user, and real-time prompts can be provided to the user in the subsequent power simulation transaction process to increase the user's grasp of the simulation pre-knowledge and assist the user in power trading simulation.
[0050] In addition, during the user's simulated power trading process, the user's simulated operations can be collected, and the user's second test score can be determined based on the simulated operations. When determining the second test score, the second test score can be determined based on the operation time of the user performing various operations. If the user's second test score is lower than the preset threshold, a teaching video is provided to the user to help the user master the power trading simulation process. Users with the same characteristics can also be fitted into a user group corresponding to the same characteristics, for example, all students in a class, all students in a school, all personnel in a company, etc., and the score values corresponding to the user group at each test point are obtained, and the score values corresponding to the user group at each test point are plotted as a score curve, and the score curve is sent to the teaching staff, so that the teaching staff can collectively educate the user group through the score curve.
[0051] In one embodiment, when conducting a power transaction simulation, multiple users can conduct a power transaction simulation at the same time. At this time, multiple users play different types of user roles, and explore and present the complete process of role selection, transaction management, bidding and quotation, transaction summary, and transaction settlement and clearing in power transactions under the two transaction modes of medium- and long-term transactions and spot transactions through a multiplayer game mode. When using the multiplayer mode, when providing power transaction models to different users, it is necessary to obtain the role identities of multiple users at the same time under the same transaction mode; based on the role identities of multiple users, provide corresponding types of power transaction models to multiple users respectively; obtain the initial data corresponding to the role identities of multiple users in the preset database; send the initial data to the multiple users so that the multiple users can conduct power transactions according to the initial data.
[0052] like Figure 2 As shown, the embodiment of the present application also provides a power trading simulation device based on power system operation constraints, including:
[0053] at least one processor; and,
[0054] a memory communicatively connected to the at least one processor; wherein,
[0055] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0056] Based on the role identity and transaction mode selected by the user, a corresponding type of power transaction model is provided to the user; the role identity includes at least one of a power transaction center, a power generation enterprise, a power sales company and a power user; by monitoring the power transaction operation of the user, the transaction data of the user in the current transaction stage is obtained; the operation constraints of the power transaction model are determined, and the operation constraints include system constraints, unit constraints and network constraints; based on the transaction data, the operation constraints and the bidding algorithm, the transaction operations of other roles in the power transaction model in the current transaction stage are simulated to obtain transaction results; the transaction results are returned to the user so that the user can interact with the power transaction model based on the transaction results.
[0057] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0058] Based on the role identity and transaction mode selected by the user, a corresponding type of power transaction model is provided to the user; the role identity includes at least one of a power transaction center, a power generation enterprise, a power sales company and a power user; by monitoring the power transaction operation of the user, the transaction data of the user in the current transaction stage is obtained; the operation constraints of the power transaction model are determined, and the operation constraints include system constraints, unit constraints and network constraints; based on the transaction data, the operation constraints and the bidding algorithm, the transaction operations of other roles in the power transaction model in the current transaction stage are simulated to obtain transaction results; the transaction results are returned to the user so that the user can interact with the power transaction model based on the transaction results.
[0059] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0060] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0061] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0062] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0063] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0064] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0065] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0066] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0067] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory media such as modulated data signals and carrier waves.
[0068] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0069] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A power trading simulation method based on power system operation constraints, characterized in that: include: Based on the role identity and transaction mode selected by the user, providing the user with a corresponding type of power transaction model; The role identity includes at least one of a power trading center, a power generation enterprise, a power sales company, and a power user; Acquiring the transaction data of the user in the current transaction phase by monitoring the power transaction operation of the user; Determining the operating constraints of the power trading model, wherein the operating constraints include system constraints, unit constraints, and network constraints; Based on the transaction data, the operation constraints and the bidding algorithm, simulate the transaction operations of other roles in the power transaction model in the current transaction phase to obtain transaction results; The transaction result is returned to the user, so that the user can interact with the electricity transaction model based on the transaction result.
2. The method according to claim 1, characterized in that The simulating the transaction operations of other roles in the power transaction model in the current transaction phase based on the transaction data, the operation constraints and the bidding algorithm specifically includes: Determining that the user is a power trading center role; Creating a transaction based on the transaction-related information sent by the user, the transaction-related information including the transaction number, transaction name, transaction type, transaction start time, and transaction end time; After initiating a transaction, obtain the declared electricity consumption and declared price of other roles in the preset database; Based on the bidding algorithm, the declared electricity and declared prices of other roles are traded and cleared to obtain the winning bid information of the other roles; Based on the winning bid information and the operating constraints, the transaction is security checked, and the transaction is completed after the check passes.
3. The method according to claim 2, characterized in that Based on the bidding algorithm, the declared electricity quantity and declared price of other roles are traded and cleared to obtain the winning bid information of the other roles, specifically including: Based on the transaction data, determine the seller role, seller power supply, seller power pricing, buyer role, buyer power demand, length of the power transportation line between the seller role and the buyer role, and power loss coefficient; Based on the length of the power line and the power loss coefficient, determine the power loss caused by the seller role supplying power to the buyer role; A winning seller corresponding to the target transaction is determined based on the power loss, the seller's power supply, the seller's power pricing, the buyer's power demand, and the enterprise level corresponding to the seller's role.
4. The method according to claim 1, characterized in that The simulating the transaction operations of other roles in the power transaction model in the current transaction phase based on the transaction data, the operation constraints and the bidding algorithm specifically includes: Determining that the user is a power generation enterprise role, a power sales company role, or a power user role; Based on the operating constraints, a safety check is performed on the declared quantity and declared price sent by the user; After verification, obtain the declared electricity and price of other roles in the preset database; Based on the bidding algorithm, the declared electricity and declared prices of other roles are traded and cleared to obtain the winning bid information of all roles; The winning bid information of all the roles is sent to the user.
5. The method according to claim 1, characterized in that Before acquiring the transaction data of the user in the current transaction phase by monitoring the power transaction operation of the user, the method further includes: Determining that the role identity selected by the user is a power generation enterprise or a power sales company; Sending the power generation cost corresponding to the role identity to the user, so that the user can perform power trading operations based on the power generation cost; After acquiring the transaction data of the user in the current transaction phase by monitoring the power transaction operation of the user, the method further includes: Determine that there are other users whose roles are power generation companies or power sales companies; Obtaining historical clearing prices of all users during the simulation, and processing the historical clearing prices to obtain a historical clearing price range; Obtaining current declared prices of all users, and determining an average declared price of the current transaction based on the current declared prices; Based on the average declared price and the historical clearing price range, determining a malicious bidding user among the other users; The current declared price corresponding to the malicious bidding user is cleared from the transaction data.
6. The method according to claim 1, characterized in that The returning the transaction result to the user specifically includes: Based on the transaction results, determine the role of the winning power generation enterprise, the role of the power sales company, and the role of the power user; Respectively obtain the declared electricity quantity and declared price corresponding to the power generation enterprise role, the power sales company role and the power user role; Based on the declared electricity quantity and declared price corresponding to the power generation enterprise role, the power sales company role and the power user role, clearing data and clearing curve are prepared; The clearing data and the clearing curve are sent to the user.
7. The method according to claim 1, characterized in that Before providing the user with a corresponding type of power transaction model based on the role identity and transaction mode selected by the user, the method further includes: Sending simulated pre-knowledge and electric power test questions to the user, and determining a first test score of the user based on the electric power test questions; If the first test score of the user is higher than a preset threshold, a simulation interface is sent to the user to obtain the role identity and transaction mode selected by the user; If the first test score of the user is lower than the preset threshold, providing the user with a teaching video and providing the user with real-time prompts in a subsequent power simulation transaction process; During the process of the user performing simulated electricity trading, collecting simulated operations of the user, and determining a second test score of the user based on the simulated operations; If the second test score of the user is lower than the preset threshold, providing the user with a teaching video; Fit users with the same feature into a user group corresponding to the same feature, and obtain the score value corresponding to the user group at each test point; The score values corresponding to the user group at each test point are plotted as a score curve, and the score curve is sent to teaching staff, so that the teaching staff can educate the user group through the score curve.
8. The method according to claim 1, characterized in that The providing the user with a corresponding type of power transaction model based on the role identity and transaction mode selected by the user specifically includes: In the same transaction mode, obtain the role identities of multiple users at the same time; Based on the role identities of the multiple users, respectively provide the multiple users with corresponding types of power trading models; Acquire initial data corresponding to the role identities of the multiple users in a preset database; The initial data is sent to the plurality of users, so that the plurality of users can perform electricity trading according to the initial data.
9. Power trading simulation equipment based on power system operation constraints, characterized in that: include: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute: Based on the role identity and transaction mode selected by the user, a corresponding type of power transaction model is provided to the user; the role identity includes at least one of a power transaction center, a power generation enterprise, a power sales company and a power user; Acquiring the transaction data of the user in the current transaction phase by monitoring the power transaction operation of the user; Determining the operating constraints of the power trading model, wherein the operating constraints include system constraints, unit constraints, and network constraints; Based on the transaction data, the operation constraints and the bidding algorithm, simulate the transaction operations of other roles in the power transaction model in the current transaction phase to obtain transaction results; The transaction result is returned to the user, so that the user can interact with the electricity transaction model based on the transaction result.
10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Based on the role identity and transaction mode selected by the user, a corresponding type of power transaction model is provided to the user; the role identity includes at least one of a power transaction center, a power generation enterprise, a power sales company and a power user; Acquiring the transaction data of the user in the current transaction phase by monitoring the power transaction operation of the user; Determining the operating constraints of the power trading model, wherein the operating constraints include system constraints, unit constraints, and network constraints; Based on the transaction data, the operation constraints and the bidding algorithm, simulate the transaction operations of other roles in the power transaction model in the current transaction phase to obtain transaction results; The transaction result is returned to the user, so that the user can interact with the electricity transaction model based on the transaction result.