Parameter value determination method and device and electronic equipment
By receiving calculation instructions in the power system, calling the target function, and adjusting the parameter value according to the operating status of the electrical equipment, the problem of low parameter value efficiency of the artificial adjustment is solved, and the more efficient and accurate parameter value adjustment is achieved.
Patent Information
- Application Number
- CN202411387240.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-21
AI Technical Summary
In power systems, due to testing or maintenance of power grid lines or equipment, the parameter values in the database are inaccurate, which require manual adjustment and low efficiency, which affects the accuracy and efficiency of calculating index values.
By receiving the target calculation instruction, call the target function, determine the parameter to be confirmed, and obtain the operating information from the database of the electrical equipment, adjust the first measurement value according to the operating status of the electrical equipment, and obtain the parameter value of the parameter to be confirmed.
It realizes automatic adjustment of parameter values, improves the efficiency and accuracy of parameter value adjustment, ensures the accuracy of calculated index values, and reduces the need for manual intervention.
Smart Images

Figure CN119336815A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power systems, and in particular to a method, device and electronic device for determining parameter values. Background Art
[0002] In the current power system management and operation and maintenance process, calculating the various index values in the power grid is a key link in evaluating the performance of the power grid system and predicting the risk of failure. When calculating the index values in the power grid, the method currently used is to directly obtain the parameter values required for calculating the index values from the database according to the calculation formula, and calculate the index values according to the parameter values to obtain the index values.
[0003] However, in some cases, some lines or electrical equipment in the power grid may be tested or maintained, resulting in inaccurate parameter values in the database. In this case, manual adjustment of the parameters is usually required to ensure the accuracy of the calculated index values. However, when a large number of index values need to be calculated, the efficiency of manual adjustment of the parameters is low, resulting in a significant decrease in the efficiency of calculating the index values.
[0004] With regard to the problem of low efficiency in manually adjusting parameter values in related technologies, no effective solution has been proposed so far. Summary of the invention
[0005] The present application provides a method, device and electronic device for determining a parameter value to solve the problem of low efficiency of manually adjusting the parameter value in the related art.
[0006] According to one aspect of the present application, a method for determining a parameter value is provided. The method includes: receiving a target calculation instruction, wherein the target calculation instruction is used to instruct the calculation of a target index value at a target time in a target power grid; calling a target function in a function library according to the target calculation instruction, and determining the parameters required to execute the target function to obtain a parameter to be confirmed, wherein the target function is used to calculate the target index value; determining the electrical equipment to which the parameter to be confirmed belongs, and obtaining the operating information of the electrical equipment at the target time from a database of the electrical equipment, wherein the operating information includes a first measurement value of the parameter to be confirmed in the electrical equipment and the operating status of the electrical equipment; adjusting the first measurement value according to the operating status of the electrical equipment to obtain the parameter value of the parameter to be confirmed.
[0007] Optionally, the first measurement value is adjusted according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed, including: when the operating state is a non-test state, determining the first measurement value as the parameter value; when the operating state is a test state, obtaining the target line where the electrical equipment is located, and determining an alternative bypass connected to the target line; obtaining the operating state of the alternative bypass at the target moment, and determining the parameter value of the parameter to be confirmed according to the operating state of the alternative bypass.
[0008] Optionally, determining the parameter value of the parameter to be confirmed based on the operating status of the alternative bypass includes: when the operating status of the alternative bypass is not operating, determining a preset parameter value as the parameter value of the parameter to be confirmed; when the operating status of the alternative bypass is normal operation, determining whether the alternative bypass is used to replace the target line at the target time; when the alternative bypass is used to replace the target line at the target time, obtaining a second measurement value of the parameter to be confirmed from an alternative device in the alternative bypass, and determining the second measurement value as the parameter value of the parameter to be confirmed; when the alternative bypass is not used to replace the target line at the target time, determining the preset parameter value as the parameter value of the parameter to be confirmed.
[0009] Optionally, after determining the alternative bypass connected to the target line, the method further includes: if the target line does not have an alternative bypass, determining a preset parameter value as a parameter value of the parameter to be confirmed.
[0010] Optionally, after adjusting the first measurement value according to the operating status of the electrical equipment to obtain the parameter value of the parameter to be confirmed, the method also includes: judging whether the parameter value of the parameter to be confirmed is a preset parameter value; when the parameter value of the parameter to be confirmed is the preset parameter value, determining the position information of the parameter value in the objective function, and judging whether there is an abnormality in the parameter value based on the position information; when there is an abnormality in the parameter value, sending a prompt message to the operation and maintenance end, wherein the prompt message is used to characterize the existence of abnormal parameters in the objective function.
[0011] Optionally, judging whether there is an abnormality in the parameter value according to the position information includes: judging whether the parameter value is located at the denominator position; if the parameter value is not located at the denominator position, determining that there is no abnormality in the parameter value; if the parameter value is located at the denominator position, judging whether the denominator position only contains the parameter value; if the denominator position only contains the parameter value, determining that there is an abnormality in the parameter value; if there are other parameter values at the denominator position, determining that there is no abnormality in the parameter value.
[0012] Optionally, the method also includes: when the electrical equipment is undergoing a test operation, associating the first measurement value uploaded by the electrical equipment to the database with a target identifier; obtaining the operating information of the electrical equipment at the target time from the database of the electrical equipment includes: obtaining the first measurement value uploaded by the electrical equipment to the database at the target time, and determining whether the first measurement value is associated with the target identifier; when the first measurement value is associated with the target identifier, determining that the state of the electrical equipment is a test state; when the first measurement value is not associated with the target identifier, determining that the state of the electrical equipment is an untested state.
[0013] According to another aspect of the present application, a device for determining a parameter value is provided. The device includes: a receiving unit, which is used to receive a target calculation instruction, wherein the target calculation instruction is used to instruct the calculation of a target index value at a target time in a target power grid; a first determination unit, which is used to call a target function in a function library according to the target calculation instruction, and determine the parameters required to execute the target function to obtain a parameter to be confirmed, wherein the target function is used to calculate the target index value; a first acquisition unit, which is used to determine the electrical equipment to which the parameter to be confirmed belongs, and obtain the operating information of the electrical equipment at the target time from a database of the electrical equipment, wherein the operating information includes a first measurement value of the parameter to be confirmed in the electrical equipment and the operating status of the electrical equipment; an adjustment unit, which is used to adjust the first measurement value according to the operating status of the electrical equipment to obtain the parameter value of the parameter to be confirmed.
[0014] According to another aspect of the present invention, a computer program product is provided, including a computer program, which, when executed by a processor, implements a method for determining a parameter value provided in the aforementioned embodiment of the present application.
[0015] According to another aspect of the present invention, an electronic device is also provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein when the computer-readable instructions are executed, a method for determining a parameter value provided in the aforementioned embodiment is executed.
[0016] Through the present application, the following steps are adopted: receiving a target calculation instruction, wherein the target calculation instruction is used to instruct the target index value at the target time in the target power grid to be calculated; calling the target function in the function library according to the target calculation instruction, and determining the parameters required to execute the target function to obtain the parameters to be confirmed, wherein the target function is used to calculate the target index value; determining the electrical equipment to which the parameter to be confirmed belongs, and obtaining the operation information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operation information includes the first measurement value of the parameter to be confirmed in the electrical equipment and the operation status of the electrical equipment; adjusting the first measurement value according to the operation status of the electrical equipment to obtain the parameter value of the parameter to be confirmed. The problem of low efficiency of manually adjusting the parameter value in the related art is solved. After determining the parameter to be confirmed, the electrical equipment to which the parameter to be confirmed belongs is determined, and the first measurement value in the operation information is automatically adjusted according to the operation information of the electrical equipment, thereby ensuring the accuracy of the parameter value input into the target function for calculation, thereby achieving the technical effect of improving the efficiency and accuracy of adjusting the parameter value. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a flow chart of a method for determining parameter values provided in an embodiment of the present application;
[0019] Figure 2 is a flowchart of a method for determining an optional parameter value provided in an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of a device for determining a parameter value according to an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. 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 creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] It should be noted that the method, device and electronic device for determining the parameter values determined in the present disclosure can be used in the field of power systems, and can also be used in any field other than the field of power systems. The application field of the method, device and electronic device for determining the parameter values determined in the present disclosure is not limited.
[0026] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation portals are provided for users to choose to authorize or refuse to use. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0027] The embodiments or examples of the present disclosure are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment or example can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.
[0028] According to an embodiment of the present application, a method for determining a parameter value is provided.
[0029] Figure 1 is a flow chart of a method for determining parameter values according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0030] Step S101, receiving a target calculation instruction, wherein the target calculation instruction is used to instruct calculation of a target index value at a target time in a target power grid.
[0031] Specifically, the target calculation instruction may be a calculation instruction issued by the operation and maintenance end to the processor when a certain indicator value in the power grid needs to be determined. The target calculation instruction may include the target indicator value to be performed and the target power grid where the target indicator value is located. The target indicator value can then be calculated based on the operating data of the lines and equipment in the target power grid.
[0032] For example, the target calculation instruction can be: calculate the total load peak of the power grid in area A. At this time, it is necessary to obtain the real-time operating data parameters of all substations, transmission lines and power plants in the power grid in area A, including but not limited to the real-time load, voltage, current, power factor and power generation output of each site, and conduct comprehensive analysis and calculation to obtain the total load peak of the power grid in area A, and return the calculation results to the operation and maintenance monitoring system.
[0033] Step S102, calling the target function in the function library according to the target calculation instruction, and determining the parameters required to execute the target function to obtain the parameters to be confirmed, wherein the target function is used to calculate the target indicator value.
[0034] Specifically, after receiving the target calculation instruction, it is necessary to obtain the target function for calculating the target index value indicated by the target calculation instruction from the function library, so that the target index value can be calculated according to the target function.
[0035] For example, the objective function may be a preset expression, wherein the expression contains multiple terms, each term includes multiple parameters to be confirmed, and subsequent parameter determination operations may be performed on each parameter to be confirmed that needs to be input in the preset expression in turn, thereby ensuring the accuracy of the parameters in the preset expression.
[0036] Furthermore, after obtaining the objective function, when executing the objective function, it is necessary to input the basic parameter values into the objective function. At this time, the parameters to be confirmed that need to be input into the objective function and the electrical equipment or electrical circuit to which the parameters to be confirmed belong can be obtained, so that the parameter values of the parameters to be confirmed can be further called from the database, and then the target indicator value can be calculated based on the parameter value and the objective function.
[0037] Step S103, determining the electrical equipment to which the parameter to be confirmed belongs, and obtaining the operation information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operation information includes the first measurement value of the parameter to be confirmed in the electrical equipment and the operation status of the electrical equipment.
[0038] Specifically, the electrical equipment may be a secondary equipment of a substation. After determining the electrical equipment to which the parameter to be confirmed belongs, it is necessary to obtain the operating information of the electrical equipment at the target moment when the target calculation instruction is received from a database storing the operating information of the electrical equipment, thereby determining the parameter value of the parameter to be confirmed provided by the electrical equipment based on the parameters and operating status in the operating information, thereby ensuring the accuracy of the parameter value involved in the calculation of the target index value.
[0039] It should be noted that the operating information of the electrical equipment at the target moment has two data, namely, the first measurement value and the operating status value, wherein the operating status value can be used to determine whether the electrical equipment is in a test state at the target moment, and the first measurement value can be the measurement value obtained after the electrical equipment measures the parameter to be confirmed at the target moment. For example, when the parameter to be confirmed is a voltage value, the first measurement value can be the voltage value measured by the electrical equipment at the target moment, such as 220V, thereby obtaining the operating parameter value uploaded by the electrical equipment to the database.
[0040] Step S104: adjusting the first measured value according to the operating state of the electrical device to obtain a parameter value of the parameter to be confirmed.
[0041] It should be noted that since the electrical equipment is in a test state, the electrical equipment still synchronizes the measurement value to the database. Therefore, the first measurement value in the database may be abnormal, but the abnormality is not caused by a device failure. If it is not changed, after the index value is calculated, it is easy to misjudge the index value abnormality as caused by the equipment abnormality, thereby affecting the normal operation of the power grid. Therefore, after obtaining the first measurement value, it is necessary to adjust the first measurement value according to the operating status of the electrical equipment to obtain accurate parameters to be confirmed, so as to ensure the accuracy of the index value calculation when calculating the index value.
[0042] Specifically, after obtaining the operating information, since the operating information includes the operating status and the first measurement value, it is possible to determine whether the first measurement value needs to be adjusted according to the operating status of the electrical equipment, thereby ensuring the accuracy of the parameter value of the parameter to be determined when the parameter to be determined is determined according to the first measurement value.
[0043] For example, when the operating status is normal, the first measurement value can be directly determined as the parameter value of the parameter to be determined. When the operating status is abnormal, the first measurement value can be adjusted according to the operating status and the first measurement value can be changed to a preset measurement value corresponding to the parameter to be confirmed in the target device, thereby obtaining a more accurate parameter value of the parameter to be determined.
[0044] Furthermore, after adjusting the parameter value of the parameter to be determined according to the operating status, the adjusted parameter value can be added to the objective function as the measured value of the parameter to be determined for calculation, thereby ensuring that the objective function calculates the index value according to the adjusted parameter value, thereby ensuring the accuracy of the target index value.
[0045] The method for determining parameter values provided in the embodiment of the present application receives a target calculation instruction, wherein the target calculation instruction is used to indicate the calculation of the target index value at the target time in the target power grid; calls the target function in the function library according to the target calculation instruction, and determines the parameters required for executing the target function to obtain the parameter to be confirmed, wherein the target function is used to calculate the target index value; determines the electrical equipment to which the parameter to be confirmed belongs, and obtains the operation information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operation information includes the first measured value of the parameter to be confirmed in the electrical equipment and the operating state of the electrical equipment; adjusts the first measured value according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed. The problem of low efficiency of manually adjusting the parameter value in the related art is solved. After determining the parameter to be confirmed, the electrical equipment to which the parameter to be confirmed belongs is determined, and the first measured value in the operating information is automatically adjusted according to the operating information of the electrical equipment, thereby ensuring the accuracy of the parameter value input into the target function for calculation, thereby achieving the technical effect of improving the efficiency and accuracy of adjusting the parameter value.
[0046] In order to ensure the accuracy of the parameter value of the parameter to be confirmed, optionally, in the parameter value determination method provided in the embodiment of the present application, the first measurement value is adjusted according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed, including: when the operating state is a non-test state, the first measurement value is determined as the parameter value; when the operating state is a test state, the target line in which the electrical equipment is located is obtained, and an alternative bypass connected to the target line is determined; the operating state of the alternative bypass at the target moment is obtained, and the parameter value of the parameter to be confirmed is determined according to the operating state of the alternative bypass.
[0047] Specifically, when the operating state of the electrical equipment is a non-test state, it indicates that the current electrical equipment is in an autonomous operating state and is not subject to human intervention. At this time, the first measurement value of the electrical equipment is the true measurement value, that is, regardless of whether the electrical equipment is in a normal operating state, the first measurement value can represent the current operating parameters of the electrical equipment. At this time, it can be determined that the first measurement value does not need to be adjusted, and the first measurement value can be directly determined as the parameter value of the parameter to be confirmed, thereby ensuring the accuracy of the calculated target indicator value.
[0048] Furthermore, when the operating state of the electrical equipment is a test state, it indicates that the current electrical equipment is subject to human intervention. At this time, although the electrical equipment still transmits data to the database, the transmitted data is not real data but test data. Therefore, it is necessary to adjust the first measurement value collected and transmitted in the test state to ensure the accuracy of the parameter value of the parameter to be confirmed and avoid the inaccurate calculation of the target indicator value due to the testing of the electrical equipment.
[0049] It should be noted that when it is determined that the operating state of the electrical equipment is a test state, when determining the accurate measurement value of the electrical equipment, the target line where the electrical equipment is located can be obtained, and the parameter value of the parameter to be confirmed can be determined according to the operating state of the alternative bypass of the target line, and then the parameter value of the parameter to be confirmed can be determined according to the relevant operating parameters of the alternative bypass, thereby ensuring the accuracy of the parameter value of the parameter to be confirmed.
[0050] It should be noted that the alternative bypass of the target line is an alternative line to the target line, that is, in the power system, when the target line cannot operate normally, the alternative bypass can be used to replace the target line, thereby ensuring the normal operation of the power grid.
[0051] This embodiment determines the operating state of the alternative bypass, so that the measured value of the electrical equipment can be determined by the measured value of the alternative bypass, thereby improving the accuracy of the parameter value of the parameter to be determined.
[0052] In order to improve the accuracy of the parameter value of the parameter to be confirmed, optionally, in the parameter value determination method provided in the embodiment of the present application, determining the parameter value of the parameter to be confirmed according to the operating status of the alternative bypass includes: when the operating status of the alternative bypass is not operating, determining a preset parameter value as the parameter value of the parameter to be confirmed; when the operating status of the alternative bypass is normal operation, determining whether the alternative bypass is used to replace the target line at the target time; when the alternative bypass is used to replace the target line at the target time, obtaining a second measurement value of the parameter to be confirmed from an alternative device in the alternative bypass, and determining the second measurement value as the parameter value of the parameter to be confirmed; when the alternative bypass is not used to replace the target line at the target time, determining the preset parameter value as the parameter value of the parameter to be confirmed.
[0053] Specifically, when determining the parameter value of the parameter to be confirmed according to the operating status of the alternative bypass, when the operating status of the alternative bypass is not operating, it indicates that the alternative bypass is also in a testing or abnormal state. At this time, it can be determined that the measurement values uploaded by the target line and the alternative bypass are inaccurate. At this time, the preset parameter value can be used as the parameter value of the parameter to be confirmed and sent to the objective function to calculate the target index value, thereby ensuring the accuracy of the target index value. The preset parameter value can be 0 or a preset value of the parameter to be confirmed. It needs to be determined here according to the parameter setting method of the parameter to be confirmed, and no limit is set in this application.
[0054] Furthermore, when the operating state of the alternative bypass is normal operation, since the alternative bypass may replace multiple lines including the target line, it is also necessary to determine whether the alternative bypass is used to replace the target line at the target time. When the alternative bypass is used to replace the target line, the second measured value in the alternative bypass can be determined as the parameter value of the parameter to be confirmed, thereby ensuring the accuracy of the parameter value of the parameter to be confirmed.
[0055] Furthermore, when the alternative bypass does not replace the target line but replaces other lines, indicating that the target line is in a test state and there is no alternative line, the preset parameter value is still used as the parameter value of the parameter to be confirmed and sent to the objective function to calculate the target index value, thereby ensuring the accuracy of the target index value.
[0056] Optionally, in the parameter value determination method provided in the embodiment of the present application, after determining the alternative bypass connected to the target line, the method further includes: if no alternative bypass exists for the target line, determining a preset parameter value as the parameter value of the parameter to be confirmed.
[0057] Specifically, when there is no alternative bypass for the target line, the state of the target line at this time is consistent with the state that the alternative bypass does not replace the target line. At this time, the preset parameter value can be directly used as the parameter value of the parameter to be confirmed and sent to the objective function to calculate the target index value, thereby avoiding the use of erroneous measurement values as the parameter values of the parameter to be confirmed, thereby ensuring the accuracy of the target index value.
[0058] In order to ensure that the parameter value of the parameter to be confirmed can be accurately involved in the calculation, optionally, in the parameter value determination method provided in the embodiment of the present application, after adjusting the first measurement value according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed, the method also includes: judging whether the parameter value of the parameter to be confirmed is a preset parameter value; in the case that the parameter value of the parameter to be confirmed is the preset parameter value, determining the position information of the parameter value in the objective function, and judging whether the parameter value is abnormal based on the position information; in the case that the parameter value is abnormal, sending a prompt message to the operation and maintenance end, wherein the prompt message is used to characterize the existence of abnormal parameters in the objective function.
[0059] Specifically, when the parameter to be confirmed is a preset parameter value, since the preset parameter value is 0, it is necessary to determine the position information of the parameter to be confirmed in the objective function, and determine whether the parameter to be confirmed can be set to the preset parameter value based on the position information, wherein the position information is used to determine whether the parameter to be confirmed is used as the only denominator.
[0060] When the parameter value of the parameter to be confirmed is the preset parameter value and it is determined that the parameter value is abnormal based on the location information, it can be determined that the parameter to be confirmed is the only denominator in the objective function. At this time, it is necessary to send a prompt message to the operation and maintenance section so that the parameter value in the objective function can be adjusted by the staff of the operation and maintenance section to complete the calculation operation of the objective function.
[0061] When the parameter value of the parameter to be confirmed is a preset parameter, and the parameter value is determined to be normal based on the position information, it can be determined that the parameter to be confirmed is not the denominator in the objective function, or is not the only denominator. At this time, the parameter value of the parameter to be confirmed can be determined to be the preset parameter value, and the preset parameter value is added to the objective function, thereby ensuring that the target indicator value can be accurately calculated and that there is no abnormality in the calculation process.
[0062] Optionally, in the parameter value determination method provided in the embodiment of the present application, judging whether the parameter value has an abnormality according to the position information includes: judging whether the parameter value is located at the denominator position; if the parameter value is not located at the denominator position, determining that the parameter value has no abnormality; if the parameter value is located at the denominator position, judging whether the denominator position only contains the parameter value; if the denominator position only contains the parameter value, determining that the parameter value has an abnormality; if there are other parameter values at the denominator position, determining that the parameter value has no abnormality.
[0063] Specifically, when determining whether a parameter value is abnormal, it can be determined by determining the position information of the parameter value in the objective function. First, it is necessary to determine whether the parameter value is located in the denominator position. If it is not located in the denominator position, it is determined that the parameter value is normal, and the preset parameter value can be directly added as the parameter value of the parameter to be confirmed to the objective function for calculation.
[0064] Furthermore, when the parameter value is in the denominator position, it is necessary to further determine whether the preset parameter value is the only denominator. When the preset parameter value is not the only denominator, even if the preset parameter value is 0, it will not affect the normal calculation of the objective function. At this time, the preset parameter value can be directly added as the parameter value of the parameter to be confirmed to the objective function for calculation.
[0065] Furthermore, when the parameter value is in the denominator position and the preset parameter value is the only denominator, the parameter value representing the parameter to be confirmed cannot be the preset parameter value, that is, it cannot be 0. At this time, there is an abnormality in the parameter value, and a prompt message needs to be sent to the operation and maintenance end to inform the operation and maintenance end that the operation of the objective function cannot be performed, so that the operation and maintenance end can determine the parameter value of the parameter to be confirmed and ensure the normal calculation of the objective function.
[0066] Optionally, in the parameter value determination method provided in the embodiment of the present application, the method also includes: when the electrical equipment is performing a test operation, associating the first measurement value uploaded by the electrical equipment to the database with the target identifier; obtaining the operation information of the electrical equipment at the target time from the database of the electrical equipment includes: obtaining the first measurement value uploaded by the electrical equipment to the database at the target time, and determining whether the first measurement value is associated with the target identifier; when the first measurement value is associated with the target identifier, determining that the state of the electrical equipment is a test state; when the first measurement value is not associated with the target identifier, determining that the state of the electrical equipment is an untested state.
[0067] Specifically, in order to conveniently determine the operating status of the electrical equipment when uploading the measurement value, when the electrical equipment is performing a test operation, the first measurement value can be associated with the target identifier when uploading the operating data measurement value of the electrical equipment. Therefore, when the measurement value is obtained from the database, the operating status of the electrical equipment when uploading the measurement value can be determined by judging whether it is associated with the target identifier, thereby judging whether the electrical equipment is in a test state.
[0068] For example, when the first measurement value is obtained, it is detected whether the first measurement value is associated with the target identifier. When the first measurement value is associated with the target identifier, the state of the electrical equipment is determined to be a test state. When the first measurement value is not associated with the target identifier, the state of the electrical equipment is determined to be an untested state, thereby achieving the technical effect of quickly determining the operating state of the electrical equipment based on the measurement value.
[0069] Figure 2 is a flowchart of a method for determining an optional parameter value according to an embodiment of the present application, such as Figure 2 As shown, when there are multiple parameters to be confirmed in the objective function, the parameter value of each parameter to be confirmed can be determined in turn, so that the multiple parameter values are substituted into the objective function, thereby completing the calculation of the target index value through the objective function.
[0070] For each parameter to be confirmed, first obtain the electrical equipment to which the parameter to be confirmed belongs, and determine the operating state of the electrical equipment when uploading the parameter to be confirmed. When the operating state is a non-test state, determine the first measurement value uploaded by the electrical equipment in the database as the parameter value of the parameter to be confirmed. When the operating state is a test state, determine the position of the parameter to be confirmed in the objective function, and judge whether the parameter to be confirmed is the only denominator in the expression of the objective function. When the parameter to be confirmed is not the only denominator in the expression of the objective function, determine the parameter value of the parameter to be confirmed as a preset parameter value, such as 0. When the parameter to be confirmed is the only denominator in the expression of the objective function, determine an item to which the parameter to be confirmed belongs as 0, or send a prompt message to the operation and maintenance end, so as to ensure the normal calculation of the objective function.
[0071] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0072] The present application also provides a parameter value determination device. It should be noted that the parameter value determination device of the present application can be used to execute the parameter value determination method provided in the present application. The parameter value determination device provided in the present application is introduced below.
[0073] Figure 3 Schematic diagram of a device for determining parameter values according to an embodiment of the present application. Figure 3 As shown, the device includes: a receiving unit 31, a first determining unit 32, a first acquiring unit 33, and an adjusting unit 34.
[0074] The receiving unit 31 is used to receive a target calculation instruction, wherein the target calculation instruction is used to instruct to calculate a target index value at a target time in a target power grid.
[0075] The first determination unit 32 is used to call the target function in the function library according to the target calculation instruction, and determine the parameters required to execute the target function to obtain the parameters to be confirmed, wherein the target function is used to calculate the target indicator value.
[0076] The first acquisition unit 33 is used to determine the electrical equipment to which the parameter to be confirmed belongs, and obtain the operation information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operation information includes the first measurement value of the parameter to be confirmed in the electrical equipment and the operation status of the electrical equipment.
[0077] The adjustment unit 34 is used to adjust the first measurement value according to the operating state of the electrical device to obtain a parameter value of the parameter to be confirmed.
[0078] The parameter value determination device provided in the embodiment of the present application receives a target calculation instruction through a receiving unit 31, wherein the target calculation instruction is used to instruct the target index value at the target time in the target power grid to be calculated; the first determination unit 32 calls the target function in the function library according to the target calculation instruction, and determines the parameters required to execute the target function to obtain the parameter to be confirmed, wherein the target function is used to calculate the target index value; the first acquisition unit 33 determines the electrical equipment to which the parameter to be confirmed belongs, and obtains the operation information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operation information includes the first measurement value of the parameter to be confirmed in the electrical equipment and the operation status of the electrical equipment; the adjustment unit 34 adjusts the first measurement value according to the operation status of the electrical equipment to obtain the parameter value of the parameter to be confirmed. The problem of low efficiency of manually adjusting the parameter value in the related art is solved. After determining the parameter to be confirmed, the electrical equipment to which the parameter to be confirmed belongs is determined, and the first measurement value in the operation information is automatically adjusted according to the operation information of the electrical equipment, thereby ensuring the accuracy of the parameter value input into the target function for calculation, thereby achieving the technical effect of improving the efficiency and accuracy of adjusting the parameter value.
[0079] Optionally, in the parameter value determination device provided in the embodiment of the present application, the adjustment unit 34 includes: a first determination module, used to determine the first measurement value as the parameter value when the operating state is a non-test state; a second determination module, used to obtain the target line in which the electrical equipment is located and determine the alternative bypass connected to the target line when the operating state is a test state; a third determination module, used to obtain the operating state of the alternative bypass at the target moment, and determine the parameter value of the parameter to be confirmed according to the operating state of the alternative bypass.
[0080] Optionally, in the parameter value determination device provided in the embodiment of the present application, the third determination module includes: a first determination submodule, used to determine a preset parameter value as the parameter value of the parameter to be confirmed when the operating state of the alternative bypass is not operating; a second determination submodule, used to determine whether the alternative bypass is used to replace the target line at the target time when the operating state of the alternative bypass is normal operation; a third determination submodule, used to obtain a second measurement value of the parameter to be confirmed from the alternative device in the alternative bypass when the alternative bypass is used to replace the target line at the target time, and determine the second measurement value as the parameter value of the parameter to be confirmed; a fourth determination submodule, used to determine the preset parameter value as the parameter value of the parameter to be confirmed when the alternative bypass is not used to replace the target line at the target time.
[0081] Optionally, in the parameter value determination device provided in an embodiment of the present application, after determining an alternative bypass connected to the target line, the device also includes: a second determination unit, configured to determine a preset parameter value as the parameter value of the parameter to be confirmed when no alternative bypass exists for the target line.
[0082] Optionally, in the parameter value determination device provided in the embodiment of the present application, after adjusting the first measurement value according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed, the device also includes: a judgment unit, used to judge whether the parameter value of the parameter to be confirmed is a preset parameter value; a third determination unit, used to determine the position information of the parameter value in the objective function when the parameter value of the parameter to be confirmed is the preset parameter value, and judge whether there is an abnormality in the parameter value based on the position information; a first sending unit, used to send a prompt message to the operation and maintenance end when there is an abnormality in the parameter value, wherein the prompt information is used to characterize the existence of abnormal parameters in the objective function.
[0083] Optionally, in the parameter value determination device provided in the embodiment of the present application, the third determination unit includes: a first judgment module, used to determine whether the parameter value is located at the denominator position; a fourth determination module, used to determine that there is no abnormality in the parameter value when the parameter value is not located at the denominator position; a second judgment module, used to determine whether the denominator position only contains the parameter value when the parameter value is located at the denominator position; a fifth determination module, used to determine that there is an abnormality in the parameter value when the denominator position only contains the parameter value; and a sixth determination module, used to determine that there is no abnormality in the parameter value when there are other parameter values at the denominator position.
[0084] Optionally, in the parameter value determination device provided in the embodiment of the present application, the device also includes: a second sending unit, used to associate the first measurement value uploaded by the electrical equipment to the database with the target identifier when the electrical equipment performs a test operation; the first acquisition unit 33 includes: a second acquisition unit, used to obtain the first measurement value uploaded by the electrical equipment to the database at the target time, and determine whether the first measurement value is associated with the target identifier; a fourth determination unit, used to determine that the state of the electrical equipment is a test state when the first measurement value is associated with the target identifier; and a fifth determination unit, used to determine that the state of the electrical equipment is an untested state when the first measurement value is not associated with the target identifier.
[0085] The device for determining the above-mentioned parameter value includes a processor and a memory. The above-mentioned receiving unit 31, the first determination unit 32, the first acquisition unit 33, the adjustment unit 34, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0086] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of low efficiency of manually adjusting parameter values in related technologies is solved by adjusting kernel parameters.
[0087] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0088] An embodiment of the present application provides a computer-readable storage medium having a program stored thereon, which implements the above-mentioned method for determining parameter values when the program is executed by a processor.
[0089] An embodiment of the present application provides a processor, which is used to run a program, wherein the method for determining the parameter value is executed when the program is running.
[0090] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 4 As shown, an embodiment of the present application provides an electronic device, the electronic device 40 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: receiving a target calculation instruction, wherein the target calculation instruction is used to instruct the calculation of the target index value at the target time in the target power grid; calling the target function in the function library according to the target calculation instruction, and determining the parameters required to execute the target function to obtain the parameter to be confirmed, wherein the target function is used to calculate the target index value; determining the electrical equipment to which the parameter to be confirmed belongs, and obtaining the operating information of the electrical equipment at the target time from the database of the electrical equipment, wherein the operating information includes the first measured value of the parameter to be confirmed in the electrical equipment and the operating status of the electrical equipment; adjusting the first measured value according to the operating status of the electrical equipment to obtain the parameter value of the parameter to be confirmed. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0091] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: receiving a target calculation instruction, wherein the target calculation instruction is used to instruct the calculation of a target index value at a target time in a target power grid; calling a target function in a function library according to the target calculation instruction, and determining the parameters required to execute the target function to obtain the parameters to be confirmed, wherein the target function is used to calculate the target index value; determining the electrical equipment to which the parameters to be confirmed belong, and obtaining the operating information of the electrical equipment at the target time from a database of the electrical equipment, wherein the operating information includes a first measurement value of the parameter to be confirmed in the electrical equipment and the operating status of the electrical equipment; adjusting the first measurement value according to the operating status of the electrical equipment to obtain the parameter value of the parameter to be confirmed.
[0092] 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.
[0093] 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.
[0094] 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.
[0095] 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.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent memory 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.
[0098] 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 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 temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0099] 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.
[0100] The above are only embodiments of the present application and are 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 within the scope of the claims of the present application.
Claims
1. A method for determining a parameter value, characterized in that: include: Receiving a target calculation instruction, wherein the target calculation instruction is used to instruct to calculate a target indicator value at a target time in a target power grid; Calling a target function in a function library according to the target calculation instruction, and determining parameters required for executing the target function to obtain parameters to be confirmed, wherein the target function is used to calculate the target indicator value; Determine the electrical equipment to which the parameter to be confirmed belongs, and obtain the operation information of the electrical equipment at the target time from a database of the electrical equipment, wherein the operation information includes a first measurement value of the parameter to be confirmed in the electrical equipment and the operation status of the electrical equipment; The first measurement value is adjusted according to the operating state of the electrical equipment to obtain the parameter value of the parameter to be confirmed.
2. The method according to claim 1, characterized in that: Adjusting the first measurement value according to the operating state of the electrical device to obtain the parameter value of the parameter to be confirmed includes: When the operating state is a non-test state, determining the first measurement value as the parameter value; When the operating state is a test state, obtaining a target line where the electrical device is located, and determining an alternative bypass connected to the target line; The operating state of the alternative bypass at the target time is acquired, and the parameter value of the parameter to be confirmed is determined according to the operating state of the alternative bypass.
3. The method according to claim 2, characterized in that Determining the parameter value of the to-be-confirmed parameter according to the operating state of the alternative bypass includes: When the operation state of the alternative bypass is not in operation, determining a preset parameter value as the parameter value of the parameter to be confirmed; When the operation state of the alternative bypass is normal operation, determining whether the alternative bypass is used to replace the target line at the target time; When the alternative bypass is used to replace the target line at the target time, obtaining a second measurement value of the parameter to be confirmed from an alternative device in the alternative bypass, and determining the second measurement value as the parameter value of the parameter to be confirmed; In a case where the alternative bypass is not used to replace the target line at the target time, a preset parameter value is determined as the parameter value of the parameter to be confirmed.
4. The method according to claim 2, characterized in that: After determining an alternative bypass connected to the target line, the method further includes: In a case where the target line does not have the alternative bypass, a preset parameter value is determined as the parameter value of the parameter to be confirmed.
5. The method according to claim 1, characterized in that After adjusting the first measurement value according to the operating state of the electrical device to obtain the parameter value of the parameter to be confirmed, the method further includes: Determining whether the parameter value of the parameter to be confirmed is a preset parameter value; In a case where the parameter value of the parameter to be confirmed is the preset parameter value, determining position information of the parameter value in the objective function, and judging whether the parameter value is abnormal according to the position information; When there is an abnormality in the parameter value, a prompt message is sent to the operation and maintenance end, wherein the prompt message is used to indicate that there is an abnormal parameter in the objective function.
6. The method according to claim 5, characterized in that Judging whether the parameter value is abnormal according to the location information includes: Determine whether the parameter value is located at the denominator; In the case where the parameter value is not located at the denominator, determining that there is no abnormality in the parameter value; In the case where the parameter value is located at the denominator position, determining whether the denominator position only contains the parameter value; When the denominator position only includes the parameter value, determining that the parameter value is abnormal; When there are other parameter values at the denominator position, it is determined that there is no abnormality in the parameter value.
7. The method according to claim 1, characterized in that The method further comprises: When the electrical device is undergoing a test operation, associating the first measurement value uploaded by the electrical device to the database with a target identifier; Acquiring the operation information of the electrical equipment at the target time from the database of the electrical equipment includes: Acquire a first measurement value uploaded by the electrical device to the database at the target time, and determine whether the first measurement value is associated with the target identifier; In a case where the first measurement value is associated with the target identifier, determining that the state of the electrical device is a test state; In a case where the first measurement value is not associated with the target identifier, it is determined that the state of the electrical device is an untested state.
8. A device for determining a parameter value, characterized in that: include: A receiving unit, configured to receive a target calculation instruction, wherein the target calculation instruction is used to instruct to calculate a target index value at a target time in a target power grid; A first determination unit is used to call a target function in a function library according to the target calculation instruction, and determine parameters required to execute the target function to obtain parameters to be confirmed, wherein the target function is used to calculate the target indicator value; A first acquisition unit, configured to determine the electrical equipment to which the parameter to be confirmed belongs, and to acquire operation information of the electrical equipment at the target time from a database of the electrical equipment, wherein the operation information includes a first measurement value of the parameter to be confirmed in the electrical equipment and an operation status of the electrical equipment; An adjustment unit is used to adjust the first measurement value according to the operating state of the electrical device to obtain a parameter value of the parameter to be confirmed.
9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for determining a parameter value according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the parameter value determination method described in any one of claims 1 to 7.