CN112083946A - Method, device, terminal and medium for estimating program load rate of direct current protection system - Google Patents

Method, device, terminal and medium for estimating program load rate of direct current protection system Download PDF

Info

Publication number
CN112083946A
CN112083946A CN202010980225.3A CN202010980225A CN112083946A CN 112083946 A CN112083946 A CN 112083946A CN 202010980225 A CN202010980225 A CN 202010980225A CN 112083946 A CN112083946 A CN 112083946A
Authority
CN
China
Prior art keywords
load rate
program
control program
protection system
simulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010980225.3A
Other languages
Chinese (zh)
Other versions
CN112083946B (en
Inventor
卢远宏
郭琦
李书勇
郭海平
刘志江
罗超
林雪华
曾冠铭
李捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Original Assignee
China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Co Ltd, Research Institute of Southern Power Grid Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202010980225.3A priority Critical patent/CN112083946B/en
Publication of CN112083946A publication Critical patent/CN112083946A/en
Application granted granted Critical
Publication of CN112083946B publication Critical patent/CN112083946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/26Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured
    • H02H7/268Sectionalised protection of cable or line systems, e.g. for disconnecting a section on which a short-circuit, earth fault, or arc discharge has occured for dc systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The application provides a method, a device, a terminal and a medium for estimating the load rate of a direct current control and protection system program, and the method, the device, the terminal and the medium are used for predicting the estimated load rate of an updated control program transferred to a direct current control and protection system based on the load rate change rule of the same direct current control and protection system program in a laboratory simulation stage and an actual application stage according to the load rate change and the actually measured load rate before and after the program is updated, judging whether the updated control program is suitable for transplantation or not by using the estimated load rate, effectively reducing the probability of the occurrence of the load rate out-of-limit and associated faults after the program is transplanted to the direct current control and protection system, and solving the technical problem of low stability of the existing direct current control.

Description

Method, device, terminal and medium for estimating program load rate of direct current protection system
Technical Field
The present application relates to the field of power control technologies, and in particular, to a method, an apparatus, a terminal, and a medium for estimating a load rate of a program of a dc control and protection system.
Background
The direct current protection system is a secondary device used for controlling and protecting a valve, a switch and other primary devices in a direct current transmission main system in a power distribution network system.
The equipment of the direct current protection system is composed of a plurality of hosts, each host is provided with a plurality of CPUs, and the control protection program which is programmed in advance is operated through the CPUs so as to achieve the normal operation of the control equipment. In order to meet the current situation of the power distribution network with different changes, workers need to correspondingly upgrade and adjust the control protection program according to the current situation of the power distribution network, and finally load the updated program into the direct current protection system for operation.
However, the load degree of the CPU is changed due to program update, and a conventional update method is to write and debug the dc protection program through a laboratory device, and transplant the program to the dc protection device for operation after the simulation debugging in the laboratory stage, but in this method, the load rate of the CPU often exceeds the standard after the program update in the dc protection system, and further, power transmission accidents such as communication interruption or permanent shutdown are generated, which results in the technical problem of low stability of the existing dc protection system.
Disclosure of Invention
The application provides a method, a device, a terminal and a medium for estimating program load rate of a direct current protection system, which are used for solving the technical problem of low stability of the existing direct current protection system.
First, a first aspect of the present application provides a method for predicting a load rate of a program of a dc control protection system, including:
acquiring an updating control program to be estimated;
based on the updating control program, measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode;
calculating a difference value between the simulation load rate of the updated control program and the simulation load rate of an initial control program, wherein the initial control program is a control program currently running in the direct current control protection system, and the simulation load rate of the initial control program is specifically the simulation load rate measured by combining a preset program load rate calculation formula through the program simulation mode based on the obtained initial control program;
and obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference and the actually measured load rate of the initial control program.
Preferably, the program load rate calculation formula is specifically:
Figure BDA0002687251350000021
in the formula, LCPUIs the load factor, n is the total number of processes, TkIs the execution cycle length of the kth process, NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
Preferably, the method further comprises the following steps:
and comparing the estimated load rate with a preset load rate threshold, and outputting a load rate exceeding alarm message and a program load parameter when the estimated load rate is greater than the load rate threshold so that a worker can optimize the updating control program based on the load rate exceeding alarm message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the updating control program based on the obtained updating control program.
Preferably, the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
Secondly, the second aspect of the present application provides a device for predicting a load rate of a program of a dc control protection system, including:
a program acquisition unit configured to acquire an update control program to be estimated;
the simulation load rate calculation unit is used for measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode based on the updating control program;
a difference value calculating unit, configured to calculate a difference value between a simulation load rate of the updated control program and a simulation load rate of an initial control program, where the initial control program is a control program in a current operation of the dc-controlled protection system, and the simulation load rate of the initial control program is a simulation load rate measured by combining a preset program load rate calculation formula through the program simulation mode based on the obtained initial control program;
and the estimated load rate calculation unit is used for obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference value and the actually measured load rate of the initial control program.
Preferably, the program load rate calculation formula is specifically:
Figure BDA0002687251350000031
in the formula, LCPUIs the load factor, n is the total number of processes, TkFor the length of the execution cycle of the kth process,NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
Preferably, the method further comprises the following steps:
and the warning unit is used for comparing the estimated load rate with a preset load rate threshold, and outputting a load rate exceeding warning message and a program load parameter when the estimated load rate is greater than the load rate threshold, so that a worker can optimize the updating control program based on the load rate exceeding warning message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the updating control program based on the obtained updating control program.
Preferably, the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
A third aspect of the present application provides a terminal, comprising: a memory and a processor;
the memory is used for storing a program code corresponding to the method for estimating the load rate of the direct current control protection system program in the first aspect of the application;
the processor is configured to execute the program code.
A fourth aspect of the present application provides a storage medium, where a program code corresponding to the method for estimating a load factor of a dc control protection system program according to the first aspect of the present application is stored in the storage medium.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a method for pre-estimating program load rate of a direct current control protection system, which comprises the following steps: acquiring an updating control program to be estimated; based on the updating control program, measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode; calculating a difference value between the simulation load rate of the updated control program and the simulation load rate of an initial control program, wherein the initial control program is a control program currently running in the direct current control protection system, and the simulation load rate of the initial control program is specifically the simulation load rate measured by combining a preset program load rate calculation formula through the program simulation mode based on the obtained initial control program; and obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference and the actually measured load rate of the initial control program.
The method is based on the load rate change rule of the same direct current control protection system program in a laboratory simulation stage and an actual application stage, the estimated load rate of the updated control program transferred to the direct current control protection system is predicted according to the load rate change and the actual measurement load rate before and after the program is updated, whether the updated control program is suitable for transplantation is judged by utilizing the estimated load rate, the probability of out-of-limit load rate and associated faults after the program is transplanted to the direct current control protection system is effectively reduced, and the technical problem of low stability of the existing direct current control protection system is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating a method for estimating a load factor of a dc control protection system according to a first embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a method for estimating a load factor of a dc control protection system according to a second embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a first embodiment of a program load rate estimation apparatus for a dc control protection system according to the present application.
Detailed Description
In order to meet the current situation of different changing power distribution networks, workers need to correspondingly upgrade and adjust a control protection program in combination with the current situation of the power distribution network, and finally load the updated program into a direct current protection system for operation, but the program updating can cause the load degree of a CPU to change.
In a long-term application process, technicians find that the main cause of the phenomenon is the difference between the laboratory equipment environment and the actual equipment environment, and because the laboratory and field direct current control and protection programs are divided into a public control and protection logic part and other parts, the public control and protection logic parts of the two programs are used for realizing core functions and are almost consistent, the other parts realize non-core functions such as I/O interfaces, communication and the like, and the two parts are inconsistent and have larger scale difference, the phenomenon of load rate difference of the direct current control and protection programs in the laboratory debugging stage and the actual application stage is caused.
In view of the above, in order to solve the above technical problems, embodiments of the present application provide a method, an apparatus, a terminal, and a medium for estimating a program load rate of a dc protection system, which are used to solve the technical problem of low stability of the existing dc protection system.
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, in order to evaluate how busy the CPU is, the CPU load rate is used for evaluation. For a single-core CPU, only the load rate of the single core needs to be considered. For a multi-core CPU, each core is actually a single-core CPU, so for a multi-core CPU, the load rates and load values of a plurality of CPU cores need to be averaged.
The direct current control protection program is operated in the form of a plurality of processes (or a plurality of tasks), the number of the processes is called as the number of CPU processes, for a single-core CPU, at most one process is allowed to operate in the CPU at a certain moment, other processes are in a queue waiting state and wait to enter the CPU to operate, so the single-core CPU only has three operation states:
a) an idle state. The process number is 0, and no process is operated in the CPU;
b) single process state. The process number is 1, 1 process is operated in the CPU, and no process waits to operate;
c) a multi-process state. The number of processes is N, 1 process is run in the CPU, and another N-1 processes are waiting to run.
Therefore, the CPU load rate is defined as follows:
CPU load factor: in a certain time period T, the ratio of the CPU non-idle state time T _ RUN to the total time T, i.e., the CPU load factor is T _ RUN/T, and the range of the load factor is 0 to 100%.
Referring to fig. 1, a first embodiment of the present application provides a method for estimating a program load rate of a dc link protection system, including:
step 101, obtaining an updating control program to be estimated;
102, measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode based on the updating control program;
it can be understood that, before the written update control program is written into the direct current protection system, the update control program needs to be subjected to a simulation test in a laboratory equipment environment through a laboratory debugging stage, and the simulation load rate of the update control program is measured in the running process by combining a preset program load rate calculation formula.
103, calculating a difference value between the simulation load rate of the updated control program and the simulation load rate of the initial control program, wherein the initial control program is a control program currently running in the direct current control protection system, and the simulation load rate of the initial control program is specifically the simulation load rate measured by combining a preset program load rate calculation formula through a program simulation mode based on the obtained initial control program;
it should be noted that, based on the simulated load rate of the updated control program obtained in the above steps, a difference operation is performed on the simulated load rate of the updated control program and the simulated load rate of the initial control program, so as to obtain a difference between the simulated load rate of the updated control program and the simulated load rate of the initial control program, where the initial control program is a control program currently running in the dc-controlled protection system, and the obtaining manner of the simulated load rate of the initial control program is similar to that of the updated control program, and is not described in detail here.
Based on the above steps, it can be known that the measured load rate a1 of the initial control program, the simulated load rate b1 of the initial control program, and the simulated load rate b2 of the updated control program are all measurable data, and it can be considered that, if it is known, the load rate after updating the field program needs to be estimated, that is, the estimated load rate a2 of the updated control program, and the calculation time of the settable load rate is T, the total time difference between the process before updating and the process after updating the field control protection program is:
ΔTa=a2*T-a1*T;
the total time difference of the process after the update of the in-plant control and protection program and before the update;
ΔTb=b2*T-b1*T;
whether the field program or the in-plant program is adopted, the generally modified part is a control protection logic part, and IO interfaces and communication alarms are not influenced. So when modifying the control protection logic portion program, the program modification increments for both the in-plant and field programs can be considered to be substantially consistent:
ΔTb≈ΔTa;
the following can be obtained:
a2-a1≈b2-b1;
then:
a2≈a1+(b2-b1)。
and step 104, obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference value and the actually measured load rate of the initial control program.
It should be noted that, then, based on the difference between the simulated load rate of the updated control program and the simulated load rate of the initial control program, the sum of the difference and the actual measured load rate of the initial control program is calculated, so as to obtain the estimated load rate of the updated control program running on the direct current protection system.
The method and the device for predicting the load rate of the direct-current control protection system are based on the load rate change rule of the same direct-current control protection system program in a laboratory simulation stage and an actual application stage, predict the estimated load rate of the updated control program transferred to the direct-current control protection system according to the load rate change and the actual measurement load rate before and after the program is updated, judge whether the updated control program is suitable for transplantation or not by using the estimated load rate, effectively reduce the probability of out-of-limit load rate and associated faults after the program is transplanted to the direct-current control protection system, and solve the technical problem of low stability of the existing direct-current control protection system.
The above is a detailed description of a first embodiment of a method for estimating a load factor of a dc control and protection system program provided by the present application, and the following is a detailed description of a second embodiment of a method for estimating a load factor of a dc control and protection system program provided by the present application.
Referring to fig. 2, based on the first embodiment, a second embodiment of the present application provides a method for estimating a program load rate of a dc link protection system, including:
further, the program load factor calculation formula mentioned in the first embodiment is specifically:
Figure BDA0002687251350000071
in the formula, LCPUIs the load factor, n is the total number of processes, TkIs the execution cycle length of the kth process, NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
It should be noted that, in a certain period T defined based on the CPU load rate, the ratio of the CPU non-idle state time T _ RUN to the total time T, that is, the CPU load rate is T _ RUN/T, and a process with a fixed trigger period is considered, which specifically includes the following definitions:
·Fsfor CPU clock frequency
T is the total time of calculation
Process k (k ═ 1, 2, …, n), n total number of processes in different trigger cycles
·TkIs the trigger period of process k
·NkNumber of CPU clock cycles taken up for a single run of Process k
·tkFor a single run time of process k, then:
tk=Nk/Fs
process k triggers T/T within TkNext time
The CPU load rate formula can be refined as:
Figure BDA0002687251350000081
the CPU load rate of the process contribution with a fixed trigger period depends on the number n of the processes and the trigger period T of the processkThe process occupies the number N of CPU clock cycles in single operationkCPU clock frequency FsThese four factors.
Further, the second embodiment, on the basis of the steps mentioned in the first embodiment, further comprises:
and 105, comparing the estimated load rate with a preset load rate threshold, and outputting a load rate exceeding alarm message and a program load parameter when the estimated load rate is greater than the load rate threshold so that a worker can optimize the updating control program based on the load rate exceeding alarm message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the updating control program based on the obtained updating control program.
It should be noted that the predicted negativity is obtained through the above step 104After the load rate is increased, the estimated load rate can be further compared with a preset load rate threshold, and when the estimated load rate is greater than the load rate threshold, a load rate exceeding alarm message and a program load parameter are output, so that a worker can optimize the updating control program based on the load rate exceeding alarm message and the program load parameter, and the optimization direction can refer to the listed four factors, for example, the number n of redundant processes is reduced; increasing a process trigger period T; reducing CPU clock period N occupied by single operation of processkAnd increasing the CPU clock frequency FsIn addition, the optimized update control program may perform the flow from step 101 to step 104 again, and recalculate the estimated load rate until the estimated load rate meets the requirement.
Further, the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
The above is a detailed description of a second embodiment of the method for estimating the load factor of the dc control protection system program provided by the present application, and the following is a detailed description of a first embodiment of the device for estimating the load factor of the dc control protection system program provided by the present application.
Referring to fig. 3, a third embodiment of the present application provides a device for estimating a load rate of a dc link protection system program, including:
a program acquisition unit 201 configured to acquire an update control program to be estimated;
the simulation load rate calculation unit 202 is configured to measure a simulation load rate of the update control program in a program simulation manner based on the update control program in combination with a preset program load rate calculation formula;
a difference value calculating unit 203, configured to calculate a difference value between a simulation load rate of the updated control program and a simulation load rate of an initial control program, where the initial control program is a control program currently running in the dc-controlled protection system, and the simulation load rate of the initial control program is specifically a simulation load rate measured by a preset program load rate calculation formula in a program simulation manner based on the obtained initial control program;
and the estimated load rate calculation unit 204 is configured to obtain an estimated load rate of the updated control program running on the dc protection system according to the sum of the difference and the actual load rate of the initial control program.
Further, the program load rate calculation formula is specifically:
Figure BDA0002687251350000091
in the formula, LCPUIs the load factor, n is the total number of processes, TkIs the execution cycle length of the kth process, NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
Further, still include:
and the warning unit 205 compares the estimated load rate with a preset load rate threshold, and outputs a load rate exceeding warning message and a program load parameter when the estimated load rate is greater than the load rate threshold, so that a worker can optimize the update control program based on the load rate exceeding warning message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the update control program based on the obtained update control program.
Further, the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
The above is a detailed description of a first embodiment of a dc link protection system program load rate estimation device provided in the present application, and the following is a detailed description of embodiments of a terminal and a storage medium provided in the present application.
A fourth embodiment of the present application provides a terminal, including: a memory and a processor;
the memory is used for storing program codes corresponding to the method for estimating the load rate of the direct current control protection system program mentioned in the first embodiment or the second embodiment of the application;
the processor is used for executing the program codes.
A fifth embodiment of the present application provides a storage medium, in which program codes corresponding to the method for estimating a program load rate of a dc link protection system according to the first embodiment or the second embodiment of the present application are stored.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for predicting the program load rate of a direct current control protection system is characterized by comprising the following steps:
acquiring an updating control program to be estimated;
based on the updating control program, measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode;
calculating a difference value between the simulation load rate of the updated control program and the simulation load rate of an initial control program, wherein the initial control program is a control program currently running in the direct current control protection system, and the simulation load rate of the initial control program is specifically the simulation load rate measured by combining a preset program load rate calculation formula through the program simulation mode based on the obtained initial control program;
and obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference and the actually measured load rate of the initial control program.
2. The method for predicting the program load rate of the direct current control protection system according to claim 1, wherein the program load rate calculation formula is specifically as follows:
Figure FDA0002687251340000011
in the formula, LCPUIs the load factor, n is the total number of processes, TkIs the execution cycle length of the kth process, NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
3. The method for predicting the program load rate of the direct current control protection system according to claim 1, further comprising:
and comparing the estimated load rate with a preset load rate threshold, and outputting a load rate exceeding alarm message and a program load parameter when the estimated load rate is greater than the load rate threshold so that a worker can optimize the updating control program based on the load rate exceeding alarm message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the updating control program based on the obtained updating control program.
4. The method for predicting the program load rate of the dc control and protection system according to claim 3, wherein the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
5. A direct current control protection system program load rate pre-estimation device is characterized by comprising:
a program acquisition unit configured to acquire an update control program to be estimated;
the simulation load rate calculation unit is used for measuring the simulation load rate of the updating control program by combining a preset program load rate calculation formula in a program simulation mode based on the updating control program;
a difference value calculating unit, configured to calculate a difference value between a simulation load rate of the updated control program and a simulation load rate of an initial control program, where the initial control program is a control program in a current operation of the dc-controlled protection system, and the simulation load rate of the initial control program is a simulation load rate measured by combining a preset program load rate calculation formula through the program simulation mode based on the obtained initial control program;
and the estimated load rate calculation unit is used for obtaining the estimated load rate of the updated control program running on the direct current protection system according to the sum of the difference value and the actually measured load rate of the initial control program.
6. The direct current control protection system program load rate estimation device according to claim 5, wherein the program load rate calculation formula is specifically:
Figure FDA0002687251340000021
in the formula, LCPUIs the load factor, n is the total number of processes, TkIs the execution cycle length of the kth process, NkCPU clock period occupied for the operation of the kth process, FsIs a preset CPU clock frequency parameter.
7. The dc control protection system program load rate estimation device according to claim 5, further comprising:
and the warning unit is used for comparing the estimated load rate with a preset load rate threshold, and outputting a load rate exceeding warning message and a program load parameter when the estimated load rate is greater than the load rate threshold, so that a worker can optimize the updating control program based on the load rate exceeding warning message and the program load parameter, wherein the program load parameter is obtained by obtaining simulation data in the process of measuring the simulation load rate of the updating control program based on the obtained updating control program.
8. The device for predicting the program load rate of the dc control protection system according to claim 7, wherein the program load parameters specifically include: and updating the execution cycle length of each process in the control program and the CPU clock cycle occupied by each process when the process runs.
9. A terminal, comprising: a memory and a processor;
the memory is used for storing program codes corresponding to the direct current control protection system program load rate estimation method of any one of claims 1 to 4;
the processor is configured to execute the program code.
10. A storage medium having stored therein a program code corresponding to the method for estimating a program load factor of a dc link protection system according to any one of claims 1 to 4.
CN202010980225.3A 2020-09-17 2020-09-17 Method, device, terminal and medium for predicting program load rate of direct current protection system Active CN112083946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010980225.3A CN112083946B (en) 2020-09-17 2020-09-17 Method, device, terminal and medium for predicting program load rate of direct current protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010980225.3A CN112083946B (en) 2020-09-17 2020-09-17 Method, device, terminal and medium for predicting program load rate of direct current protection system

Publications (2)

Publication Number Publication Date
CN112083946A true CN112083946A (en) 2020-12-15
CN112083946B CN112083946B (en) 2024-02-06

Family

ID=73738125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010980225.3A Active CN112083946B (en) 2020-09-17 2020-09-17 Method, device, terminal and medium for predicting program load rate of direct current protection system

Country Status (1)

Country Link
CN (1) CN112083946B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116009926A (en) * 2023-03-27 2023-04-25 广东电网有限责任公司中山供电局 Remote upgrading method, device and system for relay protection device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009122071A2 (en) * 2008-03-17 2009-10-08 France Telecom Method for managing device load in a system for implementing an application service
KR20110036237A (en) * 2009-10-01 2011-04-07 콘티넨탈 오토모티브 시스템 주식회사 Calculation system for cpu load in real time operation system, and method thereof
JP2012064146A (en) * 2010-09-17 2012-03-29 Ntt Docomo Inc Load amount estimation system, load amount estimation method, and load amount estimation program, and load coefficient generation system, load coefficient generation method, and load coefficient generation program
US20130191845A1 (en) * 2010-08-25 2013-07-25 Fujitsu Limited Load control device and load control method
EP2728145A2 (en) * 2012-11-05 2014-05-07 General Electric Company Systems and methods for generating a predictable load upon completion of a start sequence of a turbine
CN106469072A (en) * 2015-08-19 2017-03-01 比亚迪股份有限公司 Vehicle program updating system and vehicle method for updating program
CN106503887A (en) * 2016-10-09 2017-03-15 国网江西省电力公司电力科学研究院 Transformer self-adaptive load factor computational methods in a kind of grid monitoring system
JP2018097547A (en) * 2016-12-12 2018-06-21 中国電力株式会社 Load comparison device, load comparison program and load comparison method
CN109449929A (en) * 2018-11-22 2019-03-08 南方电网科学研究院有限责任公司 Distributed generation resource influences prediction and evaluation method and product to distribution network feeder utilization rate
CN110209418A (en) * 2019-06-12 2019-09-06 南方电网科学研究院有限责任公司 A kind of method for updating program, device, equipment and computer readable storage medium
CN111104208A (en) * 2019-11-15 2020-05-05 深圳市优必选科技股份有限公司 Process scheduling management method and device, computer equipment and storage medium
JP2020133961A (en) * 2019-02-15 2020-08-31 株式会社E.I.エンジニアリング Method for determining load factor of heat source devices, simulation system of heat source facility, computer program to execute the simulation system, and recording medium recording the program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009122071A2 (en) * 2008-03-17 2009-10-08 France Telecom Method for managing device load in a system for implementing an application service
KR20110036237A (en) * 2009-10-01 2011-04-07 콘티넨탈 오토모티브 시스템 주식회사 Calculation system for cpu load in real time operation system, and method thereof
US20130191845A1 (en) * 2010-08-25 2013-07-25 Fujitsu Limited Load control device and load control method
JP2012064146A (en) * 2010-09-17 2012-03-29 Ntt Docomo Inc Load amount estimation system, load amount estimation method, and load amount estimation program, and load coefficient generation system, load coefficient generation method, and load coefficient generation program
EP2728145A2 (en) * 2012-11-05 2014-05-07 General Electric Company Systems and methods for generating a predictable load upon completion of a start sequence of a turbine
CN106469072A (en) * 2015-08-19 2017-03-01 比亚迪股份有限公司 Vehicle program updating system and vehicle method for updating program
CN106503887A (en) * 2016-10-09 2017-03-15 国网江西省电力公司电力科学研究院 Transformer self-adaptive load factor computational methods in a kind of grid monitoring system
JP2018097547A (en) * 2016-12-12 2018-06-21 中国電力株式会社 Load comparison device, load comparison program and load comparison method
CN109449929A (en) * 2018-11-22 2019-03-08 南方电网科学研究院有限责任公司 Distributed generation resource influences prediction and evaluation method and product to distribution network feeder utilization rate
JP2020133961A (en) * 2019-02-15 2020-08-31 株式会社E.I.エンジニアリング Method for determining load factor of heat source devices, simulation system of heat source facility, computer program to execute the simulation system, and recording medium recording the program
CN110209418A (en) * 2019-06-12 2019-09-06 南方电网科学研究院有限责任公司 A kind of method for updating program, device, equipment and computer readable storage medium
CN111104208A (en) * 2019-11-15 2020-05-05 深圳市优必选科技股份有限公司 Process scheduling management method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
知乎用户6D3Q6N: "Linux学习CPU负载率的计算公式", Retrieved from the Internet <URL:《https://zhuanlan.zhihu.com/p/36548861》> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116009926A (en) * 2023-03-27 2023-04-25 广东电网有限责任公司中山供电局 Remote upgrading method, device and system for relay protection device
CN116009926B (en) * 2023-03-27 2023-06-02 广东电网有限责任公司中山供电局 Remote upgrading method, device and system for relay protection device

Also Published As

Publication number Publication date
CN112083946B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US10579459B2 (en) Log events for root cause error diagnosis
Dohi et al. Statistical non-parametric algorithms to estimate the optimal software rejuvenation schedule
CN111796233B (en) Method for evaluating secondary errors of multiple voltage transformers in double-bus connection mode
US20120174231A1 (en) Assessing System Performance Impact of Security Attacks
CN110570544A (en) method, device, equipment and storage medium for identifying faults of aircraft fuel system
CN112083946A (en) Method, device, terminal and medium for estimating program load rate of direct current protection system
CN112379325A (en) Fault diagnosis method and system for intelligent electric meter
DK2188824T3 (en) PROCEDURE AND APPARATUS FOR PERFORMING SECONDARY FUNCTIONS ON AN ELECTRIC DISTRIBUTION SYSTEM
CN113051725B (en) DET and RELAP5 coupled dynamic characteristic analysis method based on universal auxiliary variable method
CN116414608A (en) Abnormality detection method, abnormality detection device, abnormality detection apparatus, and storage medium
US11316345B2 (en) Predictive voltage stability of a power system post-contingency
CN116360921A (en) Cloud platform resource optimal scheduling method and system for electric power Internet of things
Avritzer et al. Estimating the CPU utilization of a rule-based system
CN114826388B (en) Novel zero-insertion-loss OLP optical line protection switching monitoring method and electronic equipment
Esaki et al. A model for program error prediction based on testing characteristics and its evaluation
CN115328810A (en) Performance verification method and device of speed limiting module, electronic equipment and storage medium
JP5036595B2 (en) Performance evaluation apparatus, performance evaluation program, and performance evaluation method
CN117194234A (en) Software testing method, device, equipment and storage medium
US20230176882A1 (en) Method for simulating a control unit on a computer based on the autosar standard, and computer therefor
CN113220554A (en) Method and apparatus for detecting performance of program code
JPH07295864A (en) Evaluating device for performance of computer system
CN118152283A (en) Scheduling method, device, equipment and medium for compatibility test of power equipment
CN117613898A (en) Out-of-step disconnection section identification method and system based on line stability limit
CN116909204A (en) Equipment operation control method and device, electronic equipment and storage medium
CN114841575A (en) Power distribution project evaluation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant