Setting calculation method and system based on different time states, equipment and storage medium
By performing hierarchical reduction on the multi-temporal model of the power grid, generating the target model and simplifying the non-core area using the equivalent model, the problem of data redundancy in the traditional setting calculation method under different temporal states is solved, and efficient and intelligent conversion of power grid setting calculation is achieved.
Patent Information
- Application Number
- CN202511011983.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-22
- Publication Date
- 2025-10-24
AI Technical Summary
Traditional setting calculation methods require the establishment of independent power grid models for each time state when the power grid switches between different time states, resulting in data redundancy, cumbersome work and low efficiency, and cannot meet the current needs of power grid setting calculations.
By performing a single-order reduction on the multi-temporal model, common and differential models are obtained, and double and triple-order reduction is performed to generate a target model to determine the tuning strategy. The equivalent model is used to simplify the non-target area and realize fast conversion calculation under different temporal states.
It improves the efficiency and accuracy of setting calculations, reduces duplication of work, supports fast, intelligent, and visual constant value calculations of the power grid in different time states, and meets the efficient and intelligent needs of power grid setting calculations.
Smart Images

Figure CN120832737A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of power systems, and more particularly relates to a setting calculation method and system based on different time states, equipment and a storage medium. BACKGROUND
[0002] With the rapid development of the power industry in China, the scale of the power system is growing, and new technologies are being applied, making the power grid structure more and more complex, and the network structure changing faster. When the power grid is converted between different time states, the topology of the power grid will change accordingly, and relay protection setting personnel need to maintain the actual architecture of the power grid according to the actual time state of the power grid and perform setting calculation. When different time states are converted, the traditional method needs to establish independent power grid models for different time states, resulting in data redundancy, making the setting calculation technology tedious and inefficient, and unable to meet the current actual work requirements.
[0003] In view of the deficiencies of the prior art, the present application provides a setting calculation method based on different time states, which realizes the rapid conversion calculation of the setting value of the power grid in different time states. SUMMARY
[0004] The purpose of the present application is to provide a setting calculation method and system based on different time states, equipment and a storage medium, to realize the rapid conversion calculation of the setting value of the power grid in different time states.
[0005] The first aspect of the embodiment of the present application provides a setting calculation method based on different time states, comprising: performing one-step reduction on the multi-time state model to obtain a first calculation model and a second calculation model, the first calculation model comprising common models in the past time state model, the present time state model and the future time state model, and the second calculation model comprising difference models of the past time state model, the present time state model and the future time state model; performing two-step reduction on the first calculation model to obtain a plurality of common calculation units; performing three-step reduction on the plurality of common calculation units and the second calculation model based on a target setting requirement to obtain a target model corresponding to the target requirement, and determining a setting strategy corresponding to the target requirement according to the target model.
[0006] The second aspect of the embodiment of the present application provides a setting calculation system based on different time states, comprising: a first data processing module configured to perform one-step reduction on the multi-time state model to obtain a first calculation model and a second calculation model, the first calculation model comprising common models in the past time state model, the present time state model and the future time state model, and the second calculation model comprising difference models of the past time state model, the present time state model and the future time state model; The second data processing module is configured to perform double-order reduction on the first calculation model to obtain a plurality of common calculation units. The third data processing module is configured to perform triple-order reduction on the plurality of common calculation units and the second calculation model based on the target setting requirement to obtain a target model corresponding to the target requirement, and determine a setting strategy corresponding to the target requirement according to the target model.
[0007] In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the setting calculation method based on different time states are implemented.
[0008] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps of the setting calculation method based on different time states are implemented.
[0009] In a fifth aspect, a computer program product is provided, which includes a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the steps of the setting calculation method based on different time states are implemented.
[0010] The setting calculation method based on different time states, the system, the device, and the storage medium provided by the embodiments of the present application have the advantages that by performing hierarchical order reduction on the multi-time state model, the three time state power grid scenarios of the past, the present, and the future are adapted, the setting strategy can be accurately determined, the calculation efficiency and the intelligent level are improved, the data management is standardized and flexible, and an efficient and intelligent solution is provided for power grid setting calculation. BRIEF DESCRIPTION OF DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0012] Figure 1 A flowchart of the setting calculation method based on different time states provided by an embodiment of the present application is shown. Figure 2 A multi-time state model structure diagram of the setting calculation method based on different time states provided by an embodiment of the present application is shown. Figure 3 A setting calculation flowchart of the setting calculation method based on different time states provided by an embodiment of the present application is shown. Figure 4A structural block diagram of a setting calculation system based on different time states is provided for an embodiment of the present application. Figure 5 A schematic block diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0013] In the following description, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, persons skilled in the art will understand that the present application can be practiced without these specific details. In other instances, well-known structures, devices, circuits, and methods have not been described in detail in order to avoid obscuring the present application.
[0014] In order to make the objectives, technical solutions and advantages of the present application clearer, the following will be described with reference to the accompanying drawings through specific embodiments.
[0015] Reference is made to Figure 1 , Figure 1 A flowchart of a setting calculation method based on different time states is provided for an embodiment of the present application, which can be executed by an electronic device, specifically a computer, a server, etc., and the method can include the following steps. S101: performing a heavy reduction on a multi-time state model to obtain a first calculation model and a second calculation model, the first calculation model including a common model in a past time state model, a present time state model and a future time state model, and the second calculation model including a difference model of the past time state model, a difference model of the present time state model and a difference model in the future time state model.
[0016] In the present embodiment, the power grid time states mainly include a power grid past time state, a present time state and a future time state. The power grid past time state is mainly a power grid model before power grid reconstruction, and the main function of this time state is to check the fault current before and after the power grid reconstruction, and to preliminarily measure the actual influence of the power grid reconstruction on the setting value by comparing the current difference level before and after the power grid infrastructure reconstruction. The power grid present time state is a real-time grid model, and the main function of this time state is to check the real-time grid, to calculate the real-time fault current, to simulate and locate the fault, etc. The power grid future time state is a grid model of planned power grid reconstruction, and the main function of this time state is to simulate and calculate the future grid, to calculate the future fault current and to calculate the setting value, etc. The time state model is constructed according to the power grid past time state, the present time state and the future time state to correspond to the past time state model, the present time state model and the future time state model.
[0017] In the present embodiment, reference is made to Figure 2It can be seen that by sorting the required actual model equipment and parameters under different time states of the power grid, common models and difference models under three time states are divided. The first calculation model is the common part model under three time states, and the second calculation model is the difference part model in three time states.
[0018] For example, according to the initial architecture of the power grid, different time state models are divided, the first calculation model range and the second calculation model range of the past time state, the present time state and the future time state of the power grid are determined, the one-order reduction of the calculation object is completed, and the standardization storage is completed.
[0019] S102: Two-order reduction is performed on the first calculation model to obtain a plurality of common calculation units.
[0020] In the embodiment, the two-order reduction is a process of further simplifying the model based on the one-order reduction (dividing the common model and the difference model) for a specific calculation scenario. The core logic is to accurately load the necessary model part according to the target demand, and to perform equivalent processing on the models irrelevant to the time state, so as to maximize the reduction of the model size while ensuring the calculation relevance.
[0021] Further, all time state common models are loaded first, the public part in the multi-time state model is split into multiple calculation units to provide a basic framework for calculation; then the time state difference part corresponding to the target demand is loaded to ensure that the calculation can reflect the unique characteristics of the current time state; and for the difference part of other non-target time states, the detailed model is not loaded, but is converted into an equivalent form (such as equivalent impedance, equivalent power supply) and is hung on the boundary bus of the power grid, only the key electrical influence on the current calculation model is reserved.
[0022] S103: Based on the target setting demand, three-order reduction is performed on the plurality of common calculation units and the second calculation model to obtain a target model corresponding to the target demand, and a setting strategy corresponding to the target demand is determined according to the target model.
[0023] In the embodiment, for the target model, the full model is loaded, that is, the structure, parameters, connection relationship and the like of all devices in the model are completely presented to ensure that the data of this part is accurate enough during calculation. Other calculation units outside the target model are converted into equivalent models through equivalent transformation, such as equivalent impedance, only the key electrical characteristics that have an impact on the target calculation unit are reserved, such as how much short-circuit current can be provided, how much support can be provided to the voltage, etc. Finally, a minimum impedance matrix containing only the full model of the target model and the equivalent model of other regions is generated, and the matrix is used to calculate the setting parameter. A minimum impedance matrix containing a target calculation unit region and an equivalent region is generated, and a setting parameter is calculated.
[0024] In this embodiment, the target model is loaded with the full model, and the target model data provides accurate electrical parameters (such as line impedance, short-circuit current path) of the core area, which is the basis for calculating the protection setting value. The time state characteristics of the second calculation model adapt to the current state of the power grid. For example, the addition of new equipment in the future time state may increase the short-circuit current, and the setting value needs to be adjusted to avoid misoperation; the device parameters in the past time state are used to verify the rationality of the setting value before and after the modification.
[0025] Further, the full model refers to the complete retention of the grid structure, device parameters (such as line impedance, transformer capacity, switch state, etc.), topological relationship, etc. of the unit inside a certain number of target calculation units. This part is the core area that the calculation requirement directly focuses on, and needs to participate in the calculation in the form of the most detailed model. Conversion into an equivalent refers to not retaining the detailed structure of other parts (including non-target common calculation units or non-related parts of other time state models) outside the multiple target calculation units, but simplifying them into one or more equivalent models (such as equivalent impedance, equivalent power source, etc.) through equivalent transformation, and only retaining the key electrical characteristics (such as short-circuit current contribution, voltage support capability, etc.) that have an impact on the target calculation unit.
[0026] For example, if the target requirement is the relay protection setting of a new line in the future time state: the target setting requirement is the line and the adjacent substation (full model, including the impedance of the new line and the connection mode); the second calculation model is the difference part of the future time state (such as the parameters of the new line and the planning structure of the surrounding power grid); when generating the simplest impedance matrix, the detailed impedance of the line, the parameters of the adjacent devices, and the equivalent impedance of other areas are included; through fault calculation (such as three-phase short-circuit current calculation), the maximum short-circuit current of the line is obtained, and combined with the power grid operation mode in the future time state (such as the influence of the new power source), the action threshold and time limit of the protection setting value are determined, and finally the setting strategy that adapts to the future power grid state is formed.
[0027] From the above, by clearly defining the calculation range and distinguishing between multiple time state models, an efficient calculation foundation is established, multiple time state switching is supported, and model specification traceability is ensured; by focusing on the core area, balancing accuracy and efficiency, reducing repetitive work, and forming the simplest simplified model for rapid calculation, precise and adaptive setting strategies are generated, the strategy's pertinence and reliability are improved, the calculation process is accelerated, and full-scene setting verification and optimization are supported. The mutual conversion of different time states of the power grid is supported, and the setting calculation and storage of the fast, intelligent, and visual setting in different time states are realized. Not only is the work efficiency greatly improved, but also the accuracy and completeness requirements of the setting calculation are met, and the workload is greatly reduced, and fast, intelligent, and visual setting calculation in different time states of the power grid is realized in all directions.
[0028] In an embodiment of the present application, the target model corresponding to the target setting demand is determined from the plurality of common calculation units and the second calculation model based on the target setting demand, comprising: The plurality of target calculation units is determined from the plurality of common calculation units based on the target setting demand, and the calculation model corresponding to the plurality of target calculation units is generated; The specified model is determined from the second calculation model based on the target setting demand, the specified model being one of a past time model, a present time model and a future time model; The target model is constructed based on the calculation model and the specified model.
[0029] In the embodiment, the plurality of target calculation units is selected from the plurality of common calculation units based on the target setting demand and the possible maintenance lines and the possible fault lines related thereto, and the calculation model with full details is generated; and other calculation units other than the target calculation units are transformed into equivalent models such as equivalent impedance, only retaining the key electrical characteristics of the other calculation units that have an impact on the target calculation units, such as how much short-circuit current can be provided and how much support is provided to the voltage.
[0030] In the embodiment, the corresponding time difference model (one of past, present and future) is selected from the second calculation model according to the target setting demand, ensuring that the calculation can reflect the unique characteristics of the current time; and for the difference part of other non-target time, the detailed model is not loaded, but is transformed into an equivalent form (such as equivalent impedance, equivalent power supply) and is connected to the boundary bus of the power grid, only retaining the key electrical impact on the current calculation model.
[0031] Further, the target model is obtained by combining the plurality of target calculation units with the corresponding time difference model.
[0032] For example, taking the multi-time model processing of a certain regional power grid as an example: the power grid contains past time (including decommissioned lines), present time (including new transformers), and future time (including planned substations) models. When constructing the model, the 220 kV substations and main lines common to the three time states are divided into a public part; the decommissioned 110 kV lines of the past time, the new 220 kV transformers of the present time, and the planned substations of the future time are divided into a difference part, and the preliminary simplification of the model is completed. When calculating the fault current of a certain line in the “present time”, the public part (220 kV substations and main lines) and the difference part of the present time (new transformers) are loaded, and the decommissioned lines of the past time and the planned substations of the future time are equivalent to equivalent impedances and are connected to the boundary bus of the public part. In specific setting calculation, the public part is divided into calculation units such as “eastern region” and “western region”, and only the detailed model of the “eastern region” (including the target line) is focused on, and the western region and other equivalent parts are presented in the form of equivalent, to generate the simplest impedance matrix containing only the key parameters of the eastern region, and quickly complete the fault current calculation.
[0033] From the above, through step-by-step screening and fusion, the target model ensures that it has both the detailed accuracy of the core area and the difference characteristics of the specific time state, avoiding the redundancy of full-model calculation, and ensuring the accurate matching of the setting requirement and the model, laying a foundation for subsequent generation of reliable setting strategies, and improving the pertinence and effectiveness of setting calculation in the multi-time scenario.
[0034] In an embodiment of the present application, after the multi-time model is reduced by one to obtain a first calculation model and a second calculation model, the following steps are further included: storing the first calculation model in a first storage location; for the second calculation model: storing the difference model in the past time model in a second storage location, storing the difference model in the present time model in a third storage location, and storing the difference model in the future time model in a fourth storage location.
[0035] In this embodiment, a special field is established in the database to distinguish between different time state models and common models of different time state models. The first calculation model is stored in the first storage location, that is, the common models of different time state models are uniformly stored in the first storage location.
[0036] A special time state marker field is established in the power grid equipment database to distinguish between different time state stages (past / present / future) to which the equipment belongs. The different time state models in the second calculation model are stored separately. This design uses a structured data storage method to explicitly identify the state and parameters of each device in different time states, providing a data foundation for the rapid construction and switching of multi-time power grid models.
[0037] Further, the temporal_type field is defined, taking values of past (past time), now (present time), and future (future time), for identifying the time phase to which the device belongs. The status field is defined, taking values of in_service (in service), retired (retired), and planned (planned), for supplementing the specific state of the device in the current time. The boundary_flag field is defined, taking values of true / false, for marking whether the device is a boundary node for equivalent calculation.
[0038] Further, the new device can be marked as future+planned; after being put into operation, it is updated to now+in_service; and after being retired, it is changed to past+retired but still retains the parameters.
[0039] From the above, the device in different time phases is marked in its attributes, different time phase models are distinguished, the common parts of different time phases are uniformly stored, three time phase models are uniformly built, and the unified storage of the full model of the power grid in different time phases is realized. By setting a special field in the database to distinguish the time phase model, the model can be automatically updated, the calculation accuracy is guaranteed, the full life cycle of the device is traced, multiple scenarios are adapted, and the efficiency of power grid setting and the intelligent management level are improved.
[0040] In an embodiment of the present application, the difference model of the past time phase model, the difference model of the now time phase model, and the difference model in the future time phase model in the second calculation model are all connected in the form of a target, and the target form includes equivalence or equivalent tie line.
[0041] In the embodiment, equivalence and equivalent tie line are key technical means for simplifying complex power grid models and balancing calculation accuracy and efficiency, especially in the reduction order processing of multi-time phase models (past, present, and future), both of which realize the simplification of model size by retaining key electrical influences and stripping redundant details.
[0042] Further, equivalence refers to simplifying the complex structure of a certain region (or a certain part of the device) in a power system into one or a group of simple models with equivalent electrical characteristics (such as equivalent impedance, equivalent power supply, equivalent load, etc.), only retaining the key influence on the external system (or target calculation region) and ignoring the internal detailed structure and parameters. It can significantly reduce the number of devices and the complexity of the model topology and reduce the calculation amount without significantly affecting the accuracy of the calculation results.
[0043] Further, the equivalent tie line is a simplified processing mode for the connection line between different regions or different time state models: when two regions (or different time states of the same region) are connected by multiple tie lines or the tie line structure is complex, these tie lines are simplified as one or a few "equivalent tie lines" as a whole, and the key characteristics such as total transmission power, total impedance, voltage drop are retained. The connection relationship between regions can be simplified, and the model redundancy caused by too many tie lines or complex structure can be avoided, while the core characteristics such as power exchange and electrical coupling between regions are unchanged.
[0044] In the embodiment, the common part of the multi-time state model is stored together to form a first calculation unit; the difference part of the model is stored separately and marked to form a second calculation unit, and the difference parts of the three time states are connected to the boundary region of the model in the form of equivalence or equivalent tie line.
[0045] For example, in a multi-time state model of a certain power grid, the common part (first calculation unit) includes 220kV main line and core substation; the difference part (second calculation unit) is as follows: Past time state difference model: containing 3 retired 10kV branch lines, connected to the boundary bus of the 220kV substation in the form of equivalent impedance (equivalent total impedance characteristics of 3 branch lines); present time state difference model: containing 2 newly added 110kV tie lines, connected to the boundary in the form of equivalent tie line (combined as one equivalent tie line, retaining total transmission power and impedance characteristics); future time state difference model: containing 2 planned photovoltaic power stations, connected to the boundary in the form of equivalent power source + equivalent impedance combination (equivalent output and access influence of photovoltaic power station).
[0046] As can be seen from the above, the difference part is connected in the form of equivalence or equivalent tie line, realizing the lightweight fusion of the multi-time state model. The redundant loading of the difference part of different time states is avoided, the key electrical influence is retained through the simplified form, the calculation resource consumption is greatly reduced; the equivalent parameters are calculated based on the characteristics of the original difference part, ensuring that the electrical influence on the common part after connection is consistent with the actual situation, and the accuracy of the setting calculation is not affected; the difference part is processed in the form of boundary connection, so that the multi-time state model can be quickly switched, providing a flexible model basis for subsequent reduction and setting.
[0047] In an embodiment of the present application, after the first calculation model is double-reduced, a plurality of common calculation units are obtained, and further comprising: determining whether the multi-time state model is changed; if changed, updating the multi-time state model, and re-performing one-time reduction and double reduction based on the updated multi-time state model.
[0048] In this embodiment, after the multi-time model is built, the system will first determine whether the model has changed when setting the calculation. When the power grid model is updated (such as the addition of new equipment, retirement, parameter adjustment, or changes in the planning content of the time model), the system will automatically trigger a one-step reduction and a two-step reduction process without manual intervention, as shown in the following table. Figure 3 As can be seen.
[0049] Further, the system will re-identify the public part (in-service equipment) and the difference part (unique content of each time) in the updated model. If there is new in-service equipment, it will be included in the public part. If the equipment of a certain time changes (such as the addition of a planned line in the future time), the difference part of that time will be automatically updated to ensure that the division of the public and the difference is always accurate. Based on the one-step reduction, the system will automatically adjust the model loading logic according to the updated public and difference parts. When switching time to display or calculate, the public part remains fully loaded, the difference part only loads the updated content of the current time, and the difference part of other times automatically recalculates the equivalent parameters and is connected to the boundary bus to ensure the efficiency and equivalence of the model switching.
[0050] For example, taking a certain county power grid as an example, the initial multi-time model includes a public part: 35kV and above in-service lines, substation topology; a difference part: past time contains retired 10kV old lines, present time contains newly added photovoltaic access, and future time contains planned energy storage stations. A 110kV intelligent substation is added in the present time, and the capacity of the energy storage station is adjusted in the future time. The system identifies that the added substation is in-service equipment and includes it in the public part; the difference part of the future time is updated (the capacity parameter of the energy storage station is modified), and the difference part of the past time is preserved (the retired 10kV old line), completing the basic division and updating. When the user triggers the calculation (such as the present time fault current analysis), the system automatically loads the updated public part and the present time difference part, and equivalent impedance is connected to the 35kV boundary bus, without manual intervention throughout the process.
[0051] As can be seen from the above, after the model is updated, one-step reduction and two-step reduction are automatically completed, significantly improving the maintenance efficiency and accuracy of the multi-time model. On the one hand, it avoids the tedious work of manually re-dividing the public and difference parts and recalculating the equivalent parameters after the model is updated, reducing the risk of human error (such as missing division, incorrect equivalent calculation). On the other hand, whether the model is updated in size (single device change or batch planning adjustment), the automatic reduction mechanism can quickly respond, so that the multi-time model always maintains a structured and lightweight state, laying a foundation for efficient three-step reduction and setting strategy generation.
[0052] In an embodiment of the present application, the setting strategy corresponding to the target demand is determined according to the target model, comprising: determining a calculation matrix corresponding to the target demand based on the target model; determining the setting strategy corresponding to the target demand based on the calculation matrix.
[0053] In the embodiment, the calculation matrix is generated by loading the target model according to the calculated target demand, and the fast calculation of fault current and setting value is completed. Based on the target model and the corresponding time difference model, the corresponding minimum impedance matrix is generated according to the calculation mode type (including fault calculation, setting parameter and bus equivalent, etc.), the maximum current and the coefficient of the corresponding calculation branch are quickly calculated, and the setting value calculation is completed according to the setting principle configuration of the branch. The second calculation model contains the unique equipment, parameters or operation mode (such as the newly added line in the future time state and the retired equipment in the past time state) at this time state, which reflects the time state characteristics of the current calculation.
[0054] For example, in the actual calculation of the power grid, the calculation branch is first determined, and the calculation unit to which the branch belongs is determined, and the remaining calculation units are simplified as equivalent. Then, the corresponding maintenance branch and fault branch are found according to the calculation branch, and the three parts are divided into detailed calculation units, the calculation full model is loaded, the remaining part of the calculation unit is equivalent to the equivalent again, the minimum simplified model of the calculation object is generated, the corresponding calculation matrix is generated, the maximum current and the coefficient of the corresponding calculation branch are quickly calculated, and the setting value calculation is completed according to the setting principle configuration of the branch.
[0055] As can be seen from the above, by generating the minimum impedance matrix, focusing on the core calculation object, reducing the redundant data processing, quickly obtaining the key parameters such as the maximum current, and greatly shortening the time consumption of setting calculation; the target model retains the full details of the core area, and combines the unique parameters of the corresponding time difference model to ensure that the calculation matrix can truly reflect the state of the power grid and provide a reliable basis for the setting strategy.
[0056] In an embodiment of the present application, before the multi-time state model is reduced by one order to obtain the first calculation model and the second calculation model, it further comprises: constructing a multi-time state model based on the power grid architecture.
[0057] In the embodiment, by sorting the required actual model equipment and parameters under different time states of the power grid, the common part model and the difference part model under three time states are divided, the common part model is the equipment model in operation, and the difference model is the difference part of the past time state, the future time state and the present time state.
[0058] Further, all the core devices and parameters involved in the time state of the power grid are combed, and the devices currently in operation and stable in the past, present and future time states are unified into the public part model as the basic framework of the multi-time state model. This part of the model is the "baseline version" of the power grid, which contains the connection topology, impedance, capacity and other key parameters of the device, and provides a unified reference framework for different time state models. On the basis of the public part model, the difference content is supplemented according to the unique needs of the three time states. The past time state difference model (including adding retired devices or historical operation parameters), the present time state difference model (including supplementing the current newly added temporary devices or real-time operation data) and the future time state difference model (including including the devices to be built or design parameters in the planning).
[0059] Further, when a certain time state model needs to be viewed or calculated, the system automatically loads the full public part model, and loads the corresponding difference model according to the selected time state; the unselected time state difference model is not loaded, and only the data is retained in the background.
[0060] For example, the common part model of the three time states is unified to build the basic device model; according to the model differences of the three time states, the multi-time state model difference is supplemented, and the different time state models are marked and distinguished when they are established. A special field is established in the device attribute table in the database to distinguish different time state models. The device in different time states is marked with its belonging time state in its attribute, and the devices in different time state models are distinguished. The three time state models are unified to build, and the power grid full model in different time states is unified to store; at the model switching time, the past, present and future, the public part model is loaded, and the difference model topology is loaded according to the selected time state. The rest of the time state model is not loaded, and only the difference part of the model loading logic needs to be processed when switching the rest of the model, so as to realize the quick conversion and display application of the different time state models.
[0061] From the above, by binding the three time states through the public part model, it is ensured that the power grid models in different time states have consistent basic framework, which is convenient for comparative analysis (such as the modification effect of the past and the present, and the planning connection of the present and the future); the difference part accurately corresponds to the actual characteristics of each time state (such as the planning device of the future time state only affects the future calculation), combined with the stable parameters of the public part, to ensure that the input model of the setting calculation is highly matched with the actual scene, and the error is reduced; the database field marking realizes the digital distinction of the multi-time state model, avoids the repeated storage of the public part data, and reduces the storage cost; at the same time, the logic of loading the difference part on demand greatly improves the efficiency of model switching and calling.
[0062] According to the setting calculation method based on different time states of the embodiment, Figure 4A structure block diagram of the setting calculation system based on different time states is provided for an embodiment of the present application. For ease of illustration, only parts related to the embodiment of the present application are shown. Referring to Figure 4 The setting calculation system based on different time states 20 comprises a first data processing module 21, a second data processing module 22 and a third data processing module 23.
[0063] The first data processing module 21 is configured to determine a first calculation model and a second calculation model from a multi-time state model based on a target demand, the first calculation model comprising a plurality of common calculation units in the multi-time state model, and the second calculation model comprising a time state model corresponding to the target demand, the time state model comprising one of a past time state model, a present time state model and a future time state model. The second data processing module 22 is configured to determine a plurality of target calculation units from the plurality of common calculation units based on a calculation demand in the target demand. The third data processing module 23 is configured to determine a setting strategy of the target demand based on the plurality of target calculation units and the second calculation model.
[0064] In an embodiment of the present application, the setting calculation system based on different time states 20 further comprises a target model determining module. The target model determining module is configured to determine a plurality of target calculation units from the plurality of common calculation units based on a target setting demand, and generate a calculation model corresponding to the plurality of target calculation units. The target model determining module is configured to determine a specified model from the second calculation model based on the target setting demand, the specified model being one of the past time state model, the present time state model and the future time state model. The target model determining module is configured to construct a target model based on the calculation model and the specified model.
[0065] In an embodiment of the present application, the setting calculation system based on different time states 20 further comprises a storage module. The storage module is configured to store the first calculation model in a first storage location. For the second calculation model, the difference model in the past time state model is stored in a second storage location, the difference model in the present time state model is stored in a third storage location, and the difference model in the future time state model is stored in a fourth storage location.
[0066] In an embodiment of the present application, the setting calculation system based on different time states 20 further comprises a hooking module. The hooking module is configured to hook the difference model in the past time state model, the difference model in the present time state model and the difference model in the future time state model in the second calculation model in a target form, the target form comprising an equivalent or an equivalent connection line.
[0067] In one embodiment of the present application, the tuning calculation system 20 based on different tenses further includes an updating module: Update module, used to determine whether the multi-temporal model has changed; If it is changed, the multi-temporal model is updated, and the first order reduction and the second order reduction are performed again based on the updated multi-temporal model.
[0068] In one embodiment of the present application, the tuning calculation system 20 based on different tenses further includes a tuning module: The tuning module is used to determine the calculation matrix corresponding to the target demand based on the target model; Determine the tuning strategy corresponding to the target demand based on the calculation matrix.
[0069] In one embodiment of the present application, the setting calculation system 20 based on different tenses further includes a model building module: Model building module, used to build multi-temporal models based on power grid architecture.
[0070] See also Figure 5 , Figure 5 This is a schematic block diagram of an electronic device provided in one embodiment of the present application. Figure 5 The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of the modules / units in the above-mentioned device embodiments, such as Figure 4 The functions of the first data processing module 21, the second data processing module 22 and the third data processing module 23 are shown.
[0071] It should be appreciated that in the embodiments of the present application, the processor 301 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0072] The input device 302 can include a touchpad, a fingerprint collection sensor (for collecting fingerprint information and direction information of a fingerprint of a user), a microphone, etc., and the output device 303 can include a display (LCD, etc.), a speaker, etc.
[0073] The memory 304 can include a read-only memory and a random access memory, and provide instructions and data for the processor 301. A portion of the memory 304 can also include a non-volatile random access memory. For example, the memory 304 can also store device type information.
[0074] In specific implementations, the processor 301, the input device 302 and the output device 303 described in the embodiments of the present application can execute the implementation manners described in the power equipment fault diagnosis method provided by the embodiments of the present application, and can also execute the implementation manners of the electronic device described in the embodiments of the present application, which will not be described here again.
[0075] In another embodiment of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program includes program instructions, and the program instructions are executed by a processor to implement all or part of the processes of the above-mentioned embodiments. The computer program can also instruct related hardware to complete the computer program. The computer program can be stored in a computer readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0076] The computer readable storage medium can be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The computer readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the electronic device. The computer readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.
[0077] The embodiment of the present application provides a computer program product, and the computer program product includes computer executable instructions or a computer program. The computer executable instructions or the computer program are stored in a computer readable storage medium. A processor of an electronic device reads the computer executable instructions from the computer readable storage medium. The processor executes the computer executable instructions, so that the electronic device executes the setting calculation method based on different time zones provided in the embodiment of the present application.
[0078] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
[0079] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
[0080] In several embodiments provided in the present application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the above-described device embodiments are only schematic, for example, the division of the modules / units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of modules, units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed each other can be indirect coupling or communication connection through some interfaces or modules / units, and can also be electrical, mechanical or other form of connection.
[0081] The modules / units described as separate components can or can not be physically separated, and the components shown as modules / units can or can not be physical modules / units, that is, can be located in one place, or can be distributed on a plurality of network modules / units. Part or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0082] In addition, each functional module / unit in each embodiment of the present application can be integrated in one processing module / unit, or each module / unit can exist physically, or two or more modules / units can be integrated in one module / unit. The integrated module / unit can be realized in the form of hardware or in the form of software functional module / unit.
[0083] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present application, and these modifications or replacements should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A setting calculation method based on different time states, characterized in that, The method comprises the following steps: performing one-time reduction on the multi-time model to obtain a first calculation model and a second calculation model, wherein the first calculation model comprises common models in past-time models, present-time models and future-time models, and the second calculation model comprises difference models in the past-time models, the present-time models and the future-time models; performing two-time reduction on the first calculation model to obtain a plurality of common calculation units; based on target setting requirements, performing three-time reduction on the plurality of common calculation units and the second calculation model to obtain a target model corresponding to the target setting requirements, and determining a setting strategy corresponding to the target setting requirements according to the target model.
2. The method for setting calculation based on different time states according to claim 1, characterized in that, The method for determining the target model corresponding to the target setting requirements from the plurality of common calculation units and the second calculation model based on the target setting requirements comprises the following steps: determining a plurality of target calculation units from the plurality of common calculation units based on the target setting requirements, and generating a calculation model corresponding to the plurality of target calculation units; determining a specified model from the second calculation model based on the target setting requirements, wherein the specified model is one of the past-time models, the present-time models and the future-time models; constructing the target model based on the calculation model and the specified model.
3. The method for setting calculation based on different time states according to claim 1, characterized in that, After performing one-time reduction on the multi-time model to obtain the first calculation model and the second calculation model, the method further comprises the following steps: storing the first calculation model in a first storage location; for the second calculation model: storing the difference models in the past-time models in a second storage location, storing the difference models in the present-time models in a third storage location, and storing the difference models in the future-time models in a fourth storage location.
4. The method of setting calculation based on different time states according to claim 3, characterized in that, The difference models in the past-time models, the difference models in the present-time models and the difference models in the future-time models in the second calculation model are all connected in a target form, and the target form comprises equivalence or equivalent connection lines.
5. The method for setting calculation based on different time states according to claim 3, characterized in that, After performing two-time reduction on the first calculation model to obtain the plurality of common calculation units, the method further comprises the following steps: determining whether the multi-time model is changed; if the multi-time model is changed, updating the multi-time model, and performing one-time reduction and two-time reduction again based on the updated multi-time model.
6. The method for setting calculation based on different time states according to claim 1, wherein, The method for determining the setting strategy corresponding to the target setting requirements according to the target model comprises the following steps: determining a calculation matrix corresponding to the target setting requirements based on the target model; determining the setting strategy corresponding to the target setting requirements based on the calculation matrix.
7. The method for setting calculation based on different time states according to claim 1, wherein, Before performing one-time reduction on the multi-time model to obtain the first calculation model and the second calculation model, the method further comprises the following step: constructing the multi-time model based on a power grid architecture.
8. A setting calculation system based on different time zones, characterized in that, The method comprises the following steps: performing one-time reduction on the multi-time model to obtain a first calculation model and a second calculation model, wherein the first calculation model comprises common models in past-time models, present-time models and future-time models, and the second calculation model comprises difference models in the past-time models, the present-time models and the future-time models; performing two-time reduction on the first calculation model to obtain a plurality of common calculation units; based on target setting requirements, performing three-time reduction on the plurality of common calculation units and the second calculation model to obtain a target model corresponding to the target setting requirements, and determining a setting strategy corresponding to the target setting requirements according to the target model. a second data processing module, configured to perform double-order reduction on the first calculation model to obtain a plurality of common calculation units; a third data processing module, configured to perform triple-order reduction on the plurality of common calculation units and the second calculation model based on a target setting requirement to obtain a target model corresponding to the target setting requirement, and determine a setting strategy corresponding to the target setting requirement according to the target model.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the steps of the method according to any one of claims 1 to 7.
