Dynamic monitoring method, system and equipment for power secondary circuit and medium
By establishing a dynamic model of information flow and operating status set, the technical problems of dynamic monitoring of power secondary circuits are solved, and dynamic analysis and status monitoring of power secondary circuits are realized, adapting to different topological structures and operating modes.
Patent Information
- Application Number
- CN202410973881.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-12-06
AI Technical Summary
The existing technology lacks the examination of dynamic processes in the secondary circuit analysis of power. It is only suitable for static analysis and cannot meet the effective research on dynamic operation.
By establishing a dynamic model of information flow based on the communication link's information conservation law, maximum bandwidth capacity and input flow limit of communication equipment, the operating status set of communication equipment is generated, and the power secondary loop is solved. The running time corresponds to the running state.
It realizes dynamic monitoring of the power secondary circuit, adapts to different topological structures and operating modes, integrates the operating status and state transition conditions of communication equipment, conducts dynamic analysis at the continuous time level, and dynamically monitors the operating status of the power secondary circuit.
Smart Images

Figure CN119093578A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system monitoring, and in particular to a method, system, equipment and medium for dynamic monitoring of a power secondary circuit. Background Art
[0002] The power cyber-physical system is a multi-layer heterogeneous complex system in which a primary physical system and a secondary information system are coupled. It is a time-driven mechanism and an event-driven mechanism, a continuous process and a discrete state, and determinism and randomness coexist.
[0003] In the process of analyzing the secondary circuit of power, the prior art compares the secondary information system with the primary physical system to establish a static algebraic equation for information flow, and calculates the delay of the information flow on each information node and the secondary circuit when the injection flow of the source node and the information flow rate of the network node are known.
[0004] However, the current scheme has at least the following problems: by establishing the static algebraic equation of information flow, there is a lack of investigation into the dynamic process and evolution law of information flow in the power system, and it can only be applied to the static analysis of power secondary circuits. Summary of the invention
[0005] The technical problem solved by the present invention is how to dynamically monitor the operating status of a secondary power circuit. The present invention provides a method, system, equipment and medium for dynamically monitoring a secondary power circuit, which can dynamically solve the influence of the operating time of the secondary power circuit on the operating status, and realize dynamic monitoring of the operating status of the secondary power circuit.
[0006] In order to solve the above technical problems, an embodiment of the present invention provides a method for monitoring the operating status of a power secondary circuit, comprising:
[0007] According to the law of information conservation of the communication link, the maximum bandwidth capacity and the input flow limit of the communication equipment, a dynamic model of the information flow of the communication equipment is established;
[0008] Generate a first operating state set of each communication device in the power secondary circuit according to the information flow dynamic model; the first operating state set includes the operating state of the communication device and the transition conditions between the operating states;
[0009] Combining and simplifying all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit;
[0010] The operating state corresponding to the operating time of the power secondary circuit is solved according to the second state transition set.
[0011] As an improvement of the above scheme, the information flow dynamic model of the communication device is established according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device, including:
[0012] According to the law of information conservation of the communication link, the input flow and output flow of the communication device are subtracted to obtain the backlog change rate model of the communication device;
[0013] According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device;
[0014] An information flow dynamic model of the communication device is established according to the backlog change rate model and the output flow model of the communication device.
[0015] As an improvement of the above scheme, the dynamic influence of the backlog of each communication device on its output flow in the information flow transmission direction is obtained according to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, as the output flow model of the communication device, including:
[0016] When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device;
[0017] When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device;
[0018] According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
[0019] As an improvement of the above solution, generating a first operating state set of each communication device in the power secondary circuit according to the information flow dynamic model includes:
[0020] According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit;
[0021] According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
[0022] As an improvement of the above solution, the preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein:
[0023] The first operating state classification criterion is a combination of the backlog and output flow of the communication device;
[0024] The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
[0025] As an improvement of the above solution, the operation states in all the first operation state sets are combined and simplified to obtain the second operation state set of the power secondary circuit, including:
[0026] According to the information flow transmission direction of the power secondary circuit, all the operating states in the first operating state set are combined to obtain a total operating state set;
[0027] The same operating states in the total operating state set are merged to simplify the total operating state set, thereby obtaining a second operating state set of the power secondary circuit.
[0028] As an improvement of the above solution, solving the operating state corresponding to the operating time of the power secondary circuit according to the second state transition set includes:
[0029] calculating the backlog of each communication device in the power secondary circuit over a continuous time;
[0030] According to the backlog of each communication device in continuous time, obtaining the operation state switching time of the power secondary circuit from the second state transition set;
[0031] According to the operating state switching time, the operating state corresponding to the operating time of the power secondary circuit is obtained.
[0032] As an improvement of the above solution, after calculating the backlog of each communication device in the power secondary circuit over a continuous time, the method further includes:
[0033] Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate;
[0034] The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit;
[0035] According to the queuing delay of the target information flow passing through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated.
[0036] The embodiment of the present invention further provides an operation status monitoring system for a power secondary circuit, comprising:
[0037] A model building module, for building an information flow dynamic model of the communication device according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device;
[0038] A first operation state set generating module, configured to generate a first operation state set of each communication device in the power secondary circuit according to the information flow dynamic model; the first operation state set includes the operation state of the communication device and the transition conditions between the operation states;
[0039] A second operating state set generating module, used for combining and simplifying all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit;
[0040] The operation status monitoring module is used to solve the operation status corresponding to the operation time of the power secondary circuit according to the second state transition set.
[0041] As an improvement of the above solution, the model building module is specifically used for:
[0042] According to the law of information conservation of the communication link, the input flow and output flow of the communication device are subtracted to obtain the backlog change rate model of the communication device;
[0043] According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device;
[0044] An information flow dynamic model of the communication device is established according to the backlog change rate model and the output flow model of the communication device.
[0045] As an improvement of the above scheme, the dynamic influence of the backlog of each communication device on its output flow in the information flow transmission direction is obtained according to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, as the output flow model of the communication device, including:
[0046] When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device;
[0047] When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device;
[0048] According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
[0049] As an improvement of the above solution, the first running state set generating module is specifically used for:
[0050] According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit;
[0051] According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
[0052] As an improvement of the above solution, the preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein:
[0053] The first operating state classification criterion is a combination of the backlog and output flow of the communication device;
[0054] The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
[0055] As an improvement of the above solution, the second running state set generating module is specifically used for:
[0056] According to the information flow transmission direction of the power secondary circuit, all the operating states in the first operating state set are combined to obtain a total operating state set;
[0057] The same operating states in the total operating state set are merged to simplify the total operating state set, thereby obtaining a second operating state set of the power secondary circuit.
[0058] As an improvement of the above solution, the operation status monitoring module is specifically used for:
[0059] calculating the backlog of each communication device in the power secondary circuit over a continuous time;
[0060] According to the backlog of each communication device in continuous time, obtaining the operation state switching time of the power secondary circuit from the second state transition set;
[0061] According to the operating state switching time, the operating state corresponding to the operating time of the power secondary circuit is obtained.
[0062] As an improvement of the above solution, after calculating the backlog of each communication device in the power secondary circuit over a continuous time, the method further includes:
[0063] Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate;
[0064] The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit;
[0065] According to the queuing delay of the target information flow passing through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated.
[0066] An embodiment of the present invention also provides an operating status monitoring device for a power secondary circuit, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements an operating status monitoring method for a power secondary circuit as described in any one of the above.
[0067] An embodiment of the present invention further provides a computer-readable storage medium, comprising a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a method for monitoring the operating status of a secondary power circuit as described in any one of the above.
[0068] Compared with the prior art, the present invention discloses a method, system, device and medium for dynamic monitoring of a power secondary circuit. According to the law of information conservation of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device, an information flow dynamic model of the communication device is established; according to the information flow dynamic model, a first operating state set of each communication device in the power secondary circuit is generated; the first operating state set includes the operating state of the communication device and the transition conditions between the operating states; all the operating states in the first operating state set are combined and simplified to obtain the second operating state set of the power secondary circuit; according to the second state transition set, the operating state corresponding to the operating time of the power secondary circuit is solved. By adopting the embodiment of the present invention, by representing each communication device in a complex power secondary circuit as an information flow dynamic model, it is possible to adapt to different topological structures and operating modes of the power secondary circuit; by integrating the operating state and state transition conditions of the communication device, it is possible to link discrete operating states, and the power secondary circuit can be dynamically analyzed at the continuous time level to obtain the overall operating state transition time, thereby realizing dynamic monitoring of the operating state of the power secondary circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 It is a schematic diagram of the steps of a method for monitoring the operating status of a power secondary circuit provided by an embodiment of the present invention;
[0070] Figure 2 It is a schematic diagram of a cascade scenario of a power secondary circuit provided by an embodiment of the present invention;
[0071] Figure 3 It is a schematic diagram of the equipment composition and topological structure of a power secondary circuit provided by an embodiment of the present invention;
[0072] Figure 4 is a schematic diagram of an input flow time function and an output flow time function of router CE1 calculated according to an embodiment of the present invention;
[0073] Figure 5 is a schematic diagram of a backlog time function of router CE1 calculated according to an embodiment of the present invention;
[0074] Figure 6 It is a structural schematic diagram of an operation status monitoring system for a power secondary circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0076] In the description of the specification and claims, it is to be understood that the terms first, second, etc. in the specification and claims are only used for the purpose of describing the same technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor necessarily describing the order or time sequence. The terms are interchangeable where appropriate. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0077] The power supply side of the new power system is mainly based on renewable energy, the grid side realizes digital transformation, and the user side builds a multi-level source-grid-load-storage integration. It is a comprehensive upgrade of the smart grid in terms of green, safe, and intelligent. As a result, the physical energy system and the information support system are deeply integrated to form a power information-physical system.
[0078] The current analysis of the secondary power circuit based on the secondary information system in the power cyber-physical system is to simply compare the node injection information to the node injection current of the power grid, and the unknown delay to be calculated to the node voltage of the power grid, so as to establish the static algebraic equation of information flow, and then calculate the delay of information flow on each information node and secondary circuit when the injection flow of the source node and the information flow rate of the network node are known.
[0079] The existing technology only extends the analysis method of the primary physical system to the secondary information system, but ignores the dynamic nature of the secondary information system. It is only applicable to the static analysis scenario of the secondary power circuit and cannot meet the effective research on the dynamic operation of the secondary power circuit.
[0080] Based on the above considerations, an embodiment of the present invention provides a method for monitoring the operating status of a power secondary circuit.
[0081] First of all, it should be explained that the law of conservation of information in communication links can be divided into two categories. One is the law of conservation of information on communication devices with information storage functions such as switches and routers, that is, the difference between the input flow and the output flow of the information flow of the communication device is equal to the change in the amount of information in the communication device; the other is the law of conservation of information on communication links that cannot store information, such as optical fiber links, that is, the information flow is equal at any position on the communication link.
[0082] The power secondary circuit in the embodiment of the present invention includes a signal source and a plurality of switches in a cascade relationship.
[0083] See also Figure 1 In this embodiment, the method for monitoring the operating status of the power secondary circuit is specifically performed through steps S1 to S4:
[0084] S1. According to the law of information conservation of the communication link, the maximum bandwidth capacity and the input flow limit of the communication equipment, a dynamic model of the information flow of the communication equipment is established.
[0085] In the embodiment of the present invention, by establishing a generalized dynamic model of information flow of communication equipment, it is possible to adapt to different topological structures and operation modes of the power secondary circuit. In practical applications, all communication equipment in the communication link is modeled according to the location of the communication equipment and the link connection relationship, which simplifies the modeling process and facilitates the comprehensive analysis of the overall operation status of the power secondary circuit.
[0086] S2. Generate a first operating state set for each communication device in the power secondary circuit according to the information flow dynamic model; the first operating state set includes the operating state of the communication device and the transition conditions between the operating states.
[0087] It should be noted that the operating state of the communication device will change with the operating time of the power secondary circuit. By integrating all the operating states and conversion conditions of the communication device, a first operating state set can be obtained. In actual operation, the operating state of each communication device can be determined by judging whether the conversion condition is met.
[0088] S3. Combine and simplify all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit.
[0089] In a power secondary circuit, there are generally several communication devices. It is understandable that, due to different operating status classification standards among communication devices, there may be a situation where the operating status of some communication devices changes, while the operating status of the entire power secondary circuit does not substantially change. In an embodiment of the present invention, by combining and simplifying the operating status of all the first operating status sets, the operating status of the entire power secondary circuit can be obtained, which is also the second operating status set in the embodiment of the present invention, reducing the complexity of the operating status monitoring method of the power secondary circuit.
[0090] S4. According to the second state transition set, solving the operation state corresponding to the operation time of the power secondary circuit.
[0091] In the above scheme, by representing each communication device in the complex power secondary circuit as an information flow dynamic model, it is possible to adapt to different topological structures and operating modes of the power secondary circuit; by integrating the operating status and state transition conditions of the communication equipment, it is possible to link the discrete operating states, and it is possible to perform dynamic analysis on the power secondary circuit at the continuous time level to obtain the overall operating state transition time, thereby realizing dynamic monitoring of the operating status of the power secondary circuit.
[0092] As a preferred implementation, step S1, according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device, establish an information flow dynamic model of the communication device, and execute through steps S11-S13:
[0093] S11. According to the law of conservation of information of the communication link, the input flow and the output flow of the communication device are subtracted to obtain a backlog change rate model of the communication device.
[0094] Further, preferably, the backlog change rate model of the communication device is Among them, x(t) is the backlog of the communication device, s(t) is the input flow of the communication device, and r(t) is the output flow of the communication device.
[0095] For a communication device on the power secondary circuit, according to the law of information conservation of the communication link, it can be known that the backlog size of the communication device is determined by the input flow, output flow and packet loss rate of the information flow; the backlog change rate of the communication device can be expressed as Among them, x(t) is the backlog of the communication device, s(t) is the input flow of the communication device, r(t) is the output flow of the communication device, and d(t) is the packet loss rate of the communication device. When all information can be transmitted end-to-end normally and effectively, and the communication device does not lose packets, that is, the packet loss rate d(t) is 0, the backlog change rate model of the communication device is obtained as follows:
[0096] S12. According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device.
[0097] Further, preferably, step S12 is specifically:
[0098] When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device;
[0099] When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device;
[0100] According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
[0101] It should be noted that the output traffic of the nth communication device in the information flow transmission direction is mainly limited by the maximum bandwidth capacity of the output link and the input traffic of the communication device, and will be dynamically affected by the backlog of the communication device.
[0102] Preferably, the output traffic model of the communication device is Among them, r n (t) is the value of the output flow of the nth communication device in the direction of information flow transmission; B w is the maximum bandwidth capacity of the output link; s n (t) is the input flow of the nth communication device in the direction of information flow transmission; x n (t) is the backlog of the nth communication device in the information flow transmission direction.
[0103] S13. Establish an information flow dynamic model of the communication device according to the backlog change rate model and the output traffic model of the communication device.
[0104] Exemplarily, the information flow dynamic model of the communication device is established by combining the backlog change rate model and the output flow model of the communication device. The information flow dynamic model is in,,- + Take the non-negative value in the brackets. If the value in the brackets is negative, take 0.
[0105] More preferably, a dynamic information flow model of the overall power secondary circuit can also be constructed. Taking the power secondary circuit in which the information source and n communication devices are connected as an example, the dynamic information flow model of the overall power secondary circuit is expressed as Among them, q(t) is the output value of the source; l n (t) is the information flow of the nth link in the direction of information transmission.
[0106] As a preferred implementation, step S2, generating a first operating state set of each communication device in the power secondary circuit according to the information flow dynamic model, specifically:
[0107] According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit;
[0108] According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
[0109] Further, preferably, the preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein:
[0110] The first operating state classification criterion is a combination of the backlog and output flow of the communication device;
[0111] The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
[0112] For example, in a scenario where a signal source is directly connected to a switch via a communication link, the output signal q(t) of the signal source is the input signal s(t) of the switch, and the output signal of the switch is represented as r(t).
[0113] Assume that the scenario starts running at time t=0, the initial backlog in the switch is x(0) and x(0)>0. According to the information flow dynamic model, the backlog and backlog change rate of the switch can be expressed as Assume that the time when the running state of the scene changes is t1, and the scene meets the running state change condition at time t1 Among them, q(t1) is the value of the source sending traffic q(t) at time t1; q (1) (t1) is the value of the rate of change of the source transmission flow q(t) at time t1; x(t1) is the value of the switch backlog x(t) at time t1, and its value is given by the integral equation It should be noted that t1 is the minimum value that satisfies the operating state transition condition and is greater than 0. According to the operating state transition condition, the source sending flow q(t) will be less than B at time t1.w , it can be deduced from the information flow dynamic model that the change rate of x(t) at this time is determined by .
[0114] Let the time when the scenario operation state changes again be t2. During t1 ≤ t < t2, the operation state model of the scenario can be described by , and the scenario satisfies at the state transition time t2. It can be obtained that when t = t2, although the backlog x(t2) in the switch is still 0, because q(t2) = B w and q (1) (t2) > 0, x(t) is about to be greater than 0. At this time, the scenario returns to the situation where the switch backlog is greater than 0 at t = 0, and then the subsequent state transition times are solved by the above method, and so on in a cycle.
[0115] Based on the above analysis, there are two operation states in the system obtained by联立 the information source and the switch. State 1 is State 2 is The state transition condition for State 1 to convert to State 2 is The state transition condition for State 2 to convert to State 1 is
[0116] As a preferred implementation, in step S3,联立 and simplify all the operation states in the first operation state set to obtain the second operation state set of the secondary power circuit, specifically:
[0117] 联立 all the operation states in the first operation state set according to the information flow transmission direction of the secondary power circuit to obtain the total operation state set;
[0118] Merge the same operation states in the total operation state set to simplify the total operation state set and obtain the second operation state set of the secondary power circuit.
[0119] Exemplarily, on a secondary power circuit, there is a certain connection between the operation states of two interconnected switches because the output flow of the information flow on the previous switch is equal to the input flow of the information flow on the next switch. Please refer to Figure 2 , this embodiment of the present invention establishes a scenario of cascading Switch 1 and Switch 2, where Switch 1 is cascaded with the information source.
[0120] According to the above solution, the output flow of Switch 1 The backlog x1(t) of switch 1 switches between being equal to 0 and being greater than 0. For switch 2, the analysis of its operating state is similar to that of switch 1, which will not be repeated here. By adopting the method of the embodiment of the present invention, the first operating state set of switch 2 can be obtained.
[0121] According to the backlog size of the switch, four groups of state equations can be obtained, namely state 1: State 2: State 3: and status By combining the first operating state sets of switch 1 and switch 2, repeated operating states can be removed from the above four sets of state equations.
[0122] In state 3 r1(t) = B w , because at this time x1(t)=0, so only when q(t)=B w In order to make r1(t)=B w It holds, so it is proved that in state 3 r1(t)=B w It can also be expressed as r1(t)=q(t). In state 1, because x1(t)>0, r1(t)=B w ,so In summary, it is observed that the states of state 1 and state 2 are the same, so these two states can be merged and simplified.
[0123] For the power secondary circuit shown in the embodiment of the present invention, the second operating state set includes three operating states, namely, state 1: x1(t)>0, x2(t≥0, State 2: x1(t)=0, x2(t)>0, State 3: x1(t) = 0, x2(t) = 0,
[0124] In state 1, the backlog of switch 1 is greater than 0, its input flow is q(t), and its output flow is B w , so the backlog change rate of switch 1 satisfies q(t)-B w ; The input flow of switch 2 is equal to the output flow of switch 1, which is B w Therefore, no matter how much the backlog of switch 2 is, its output traffic is B w , so the backlog change rate of switch 2 is always 0.
[0125] State 2 is similar to state 1, in which the backlog change rate of one switch is determined by the input traffic and the maximum bandwidth capacity of the link, and the backlog change rate of the other switch is always 0. The difference between the two is that the backlog of switch 1 in state 2 is equal to 0, its input traffic and output traffic are both q(t), and the backlog change rate is 0, where q(t)≤B w It must be true, because if q(t)>B w The scenario will transition to state 1; the backlog of switch 2 is greater than 0, so its output traffic is B w , its input flow is equal to the output flow of switch 1, which is q(t). Therefore, the backlog change rate of switch 2 satisfies q(t)-B w .
[0126] The common difference between state 3 and state 1 and state 2 is that in state 3, the backlog on both switches is 0. The input flow of switch 1 is q(t), and q(t)≤B w It must be true, because if q(t)>B w The scenario will transition to state 1, so that its output flow is q(t) and the backlog change rate is always 0.
[0127] As a preferred implementation, step S4, according to the second state transition set, solving the operation state corresponding to the operation time of the power secondary circuit, is specifically performed through steps S41-S43:
[0128] S41, calculating the backlog of each communication device in the power secondary circuit over a continuous time.
[0129] S42: Obtain the operation state switching time of the power secondary circuit from the second state transition set according to the backlog of each communication device in continuous time.
[0130] S43. Obtaining the operating state corresponding to the operating time of the power secondary circuit according to the operating state switching time.
[0131] Through the analysis of the embodiment of the present invention, it can be seen that in the multi-switch joint scenario, the state transition is mainly affected by the switch backlog, and satisfies the following two rules: First, when the backlog of the switch at the previous level is greater than 0, no matter how much the backlog of the switch at the next level is, its output flow must be B w , its backlog change rate must be 0; second, when the backlog of the switch is always equal to 0 for a period of time, then during this period of time, the output flow of the switch must be equal to its input flow, and the value is less than B w .
[0132] Therefore, it can be seen that in a power secondary circuit composed of n cascaded switches, where n is greater than 2, there are the following two situations:
[0133] First, there is no switch with a backlog greater than 0 on the power secondary circuit, so the status of all switches meets Second, there is a switch with a backlog greater than 0 on the power secondary circuit. Let s be the first switch with a backlog greater than 0 in the direction of information flow transmission. Then switch s satisfies At this time, the backlog of switch s affects its own rate of change, and when the backlog is reduced to 0, the operating state of switch s will change. In the direction of information flow transmission, the switches located in front of switch s all meet The switches behind switch s all satisfy
[0134] In the above scheme, the backlog of each communication device can be calculated according to the operation time of the power secondary circuit, and the operation status of the communication device and the power secondary circuit can be further obtained, which can fully reflect the dynamic characteristics of the power secondary circuit in continuous time.
[0135] Further, preferably, after step S41, the method for monitoring the operating status of the power secondary circuit further includes:
[0136] Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate;
[0137] The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit;
[0138] According to the queuing delay of the target information flow passing through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated.
[0139] In a preferred embodiment, by Calculate the queuing delay of the target information flow through each communication device; where x i (t) is the backlog of the ith communication device in the information flow transmission direction; b(t) is the message size of a single target information flow; v i (t) is the service rate of the i-th communication device for the backlog and the target information flow message itself in the information flow transmission direction. The total time delay of the target information flow passing through the power secondary circuit is calculated.
[0140] In another preferred embodiment, when the size and delay of the information flow message are known, Calculate the equivalent rate of information flow on the power secondary circuit, and use two groups of delays with a time interval of Δt to reflect the delay jitter of information flow on communication device i.i (t+Δt)=τ i (t+Δt)-τ i (t); further, through J p (t+Δt)=τ p (t+Δt)-τ p (t) Calculating the delay jitter of the target information flow in the power secondary circuit.
[0141] In the above scheme, the information flow characteristics of the power secondary circuit can be further fully studied, and the operating status and related operating parameters can be determined and calculated in continuous time.
[0142] For example, the communication network system model between the dispatch center and the plant terminal under the smart grid is used as the analysis object of the example. The equipment composition and topological connection involved are shown in Figure 3 . Substation A is set as the observed station, which includes 1 remote terminal unit (RTU), 1 synchronous phasor measurement unit (PMU), 1 security substation and 1 online monitoring substation. It should be noted that there are 15 related plants and stations set on the secondary circuit of the observed station. In order to make the schematic diagram concise and clear, the related plants and stations and their secondary circuits are omitted in the figure. The dispatching center includes 1 SCADA master station, 1 WAMS master station, 1 security master station and 1 online monitoring master station. The maximum bandwidth capacity of the communication link inside substation A and the dispatching center is 100Mbps. CE1 and LER1 are connected by a 2M bandwidth link, and the bandwidth of the remaining communication links is 155Mbps. And only the main circuit of the information flow of each substation business is considered, and the backup circuit is ignored.
[0143] The specific configuration of the communication network system is shown in Table 1. The information flow is modeled according to Table 1, and the initial backlog of each switch and router and the initial flow on the communication link are set to 0.
[0144] Table 1
[0145]
[0146]
[0147] Assuming the operation time of the communication network system to be one hour, the operation status monitoring method of the power secondary circuit shown in the embodiment of the present invention is used to obtain the average flow distribution of the communication network system. Before solving the operation status of each secondary circuit in the power secondary system, it is first necessary to analyze and calculate the backlog of switches and routers: the input flow function of switches SWITCH1 and SWITCH2 can be determined according to the information flow configuration, and the backlog function of SWITCH1 and SWITCH2 in continuous time is calculated to analyze the operation status of the two in 0-1h; then the output flow function of SWITCH1 and SWITCH2 in continuous time is calculated, and the output flow function is used as the input flow function of router CE1. Similarly, the backlog function of CE1 in continuous time is calculated, and so on, to analyze the backlog of all switches and routers in the communication network. Taking CE1 as an example, its input flow time function and output flow time function are as follows: Figure 4 As shown, its backlog time function is as follows Figure 5 shown.
[0148] exist Figure 4 It can be seen that because the PMU sends information to the WAMS main station with a smaller period of 0.01s, the input flow of CE1 is maintained at the lowest 573bps. At this time, the output flow of CE1 is equal to its input flow, so no information is accumulated on CE1; when the security substation or the online monitoring substation sends information outward, these information will cause the input flow of CE1 to increase to a maximum value of 893bps through CE1. At this time, the output flow of CE1 is less than the input flow, and the backlog on CE1 increases; the input flow of CE1 is affected by the change of CE1 backlog and increases to a maximum value of 932bps, making the input flow of CE1 less than the output flow, and the backlog on CE1 decreases; when the backlog on CE1 becomes 0, the output flow of CE1 decreases to 573bps, and the input flow and output flow are balanced again.
[0149] Then, based on the obtained backlog time function, the operating state of each switch and router in continuous time is analyzed, that is, the transition between the two operating states of backlog equal to 0 and backlog greater than 0. The backlog time function diagram of the switch or router can reflect its state transition process. Figure 5 In the time period when the backlog of CE1 is equal to 0, CE1 is in operation state 1, and in the time period when the backlog of CE1 is greater than 0, CE1 is in operation state 2. The boundary moment of two consecutive time periods when the backlog of CE1 is equal to 0 and greater than 0 respectively is the operation state transition time point of CE1.
[0150] Then, based on the backlog time function, the delay and delay jitter caused by the information flow passing through the switch or router can be further calculated.
[0151] A method for monitoring the operating status of a power secondary circuit provided by an embodiment of the present invention can adapt to different topological structures and operating modes of the power secondary circuit by representing each communication device in a complex power secondary circuit as an information flow dynamic model; by integrating the operating status and state transition conditions of the communication device, it is possible to link discrete operating states, and the power secondary circuit can be dynamically analyzed at a continuous time level to obtain the overall operating status transition time, thereby realizing dynamic monitoring of the operating status of the power secondary circuit.
[0152] See also Figure 6 The embodiment of the present invention provides a schematic diagram of the structure of an operation status monitoring system for a power secondary circuit. The operation status monitoring system for the power secondary circuit includes a model building module 11, a first operation status set generation module 12, a second operation status set generation module 13 and an operation status monitoring module 14, wherein:
[0153] The model building module 11 is used to build an information flow dynamic model of the communication device according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device;
[0154] A first operation state set generating module 12 is used to generate a first operation state set of each communication device in the power secondary circuit according to the information flow dynamic model; the first operation state set includes the operation state of the communication device and the transition conditions between the operation states;
[0155] A second operating state set generating module 13, configured to combine and simplify all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit;
[0156] The operation status monitoring module 14 is used to solve the operation status corresponding to the operation time of the power secondary circuit according to the second state transition set.
[0157] As a preferred implementation, the model building module 11 is specifically used for:
[0158] According to the law of information conservation of the communication link, the input flow and output flow of the communication device are subtracted to obtain the backlog change rate model of the communication device;
[0159] According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device;
[0160] An information flow dynamic model of the communication device is established according to the backlog change rate model and the output flow model of the communication device.
[0161] Further, preferably, the dynamic influence of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained according to the maximum bandwidth capacity of the output link and the input traffic limit of the communication device, as the output traffic model of the communication device, including:
[0162] When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device;
[0163] When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device;
[0164] According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
[0165] As a preferred implementation, the first operating state set generating module 12 is specifically used for:
[0166] According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit;
[0167] According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
[0168] Furthermore, the preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein:
[0169] The first operating state classification criterion is a combination of the backlog and output flow of the communication device;
[0170] The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
[0171] As a preferred implementation, the second operation status set generating module 13 is specifically used for:
[0172] According to the information flow transmission direction of the power secondary circuit, all the operating states in the first operating state set are combined to obtain a total operating state set;
[0173] The same operating states in the total operating state set are merged to simplify the total operating state set, thereby obtaining a second operating state set of the power secondary circuit.
[0174] As a preferred implementation, the operation status monitoring module 14 is specifically used for:
[0175] calculating the backlog of each communication device in the power secondary circuit over a continuous time;
[0176] According to the backlog of each communication device in continuous time, obtaining the operation state switching time of the power secondary circuit from the second state transition set;
[0177] According to the operating state switching time, the operating state corresponding to the operating time of the power secondary circuit is obtained.
[0178] Further, preferably, the operation status monitoring module 14, after calculating the backlog of each communication device in the power secondary circuit over a continuous time, is further used to:
[0179] Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate;
[0180] The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit;
[0181] According to the queuing delay of the target information flow through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated
[0182] An operation status monitoring system for a power secondary circuit provided by an embodiment of the present invention can adapt to different topological structures and operation modes of the power secondary circuit by representing each communication device in a complex power secondary circuit as an information flow dynamic model; by integrating the operation status and state transition conditions of the communication device, it is possible to link discrete operation states, and can perform dynamic analysis on the power secondary circuit at a continuous time level to obtain the overall operation status transition time, thereby realizing dynamic monitoring of the operation status of the power secondary circuit.
[0183] An embodiment of the present invention also provides an operating status monitoring device for a secondary power circuit, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, an operating status monitoring method for a secondary power circuit as described above is implemented. The working principles and beneficial effects of the two correspond one to one, and thus will not be described in detail.
[0184] The present invention may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0185] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the appended claims.
[0186] The above-mentioned embodiments only express several implementation methods of the embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the embodiments of the present application, and these all belong to the protection scope of the embodiments of the present application.
Claims
1. A method for monitoring the operating status of a power secondary circuit, characterized in that: include: According to the law of information conservation of the communication link, the maximum bandwidth capacity and the input flow limit of the communication equipment, a dynamic model of the information flow of the communication equipment is established; Generate a first operating state set of each communication device in the power secondary circuit according to the information flow dynamic model; the first operating state set includes the operating state of the communication device and the transition conditions between the operating states; Combining and simplifying all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit; The operating state corresponding to the operating time of the power secondary circuit is solved according to the second state transition set.
2. The method for monitoring the operating status of a power secondary circuit according to claim 1, characterized in that: The information flow dynamic model of the communication device is established according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device, including: According to the law of information conservation of the communication link, the input flow and output flow of the communication device are subtracted to obtain the backlog change rate model of the communication device; According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device; An information flow dynamic model of the communication device is established according to the backlog change rate model and the output flow model of the communication device.
3. The method for monitoring the operating status of a power secondary circuit according to claim 2, characterized in that: The method of obtaining the dynamic influence of the backlog of each communication device on its output flow in the information flow transmission direction according to the maximum bandwidth capacity of the output link and the input flow limit of the communication device as the output flow model of the communication device includes: When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device; When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device; According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
4. The method for monitoring the operating status of a power secondary circuit according to claim 1, characterized in that: The step of generating a first operation state set of each communication device in the power secondary circuit according to the information flow dynamic model comprises: According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit; According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
5. The method for monitoring the operating status of a power secondary circuit according to claim 4, characterized in that: The preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein: The first operating state classification criterion is a combination of the backlog and output flow of the communication device; The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
6. The method for monitoring the operating status of a power secondary circuit according to claim 1, characterized in that: The combining and simplifying of all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit includes: According to the information flow transmission direction of the power secondary circuit, all the operating states in the first operating state set are combined to obtain a total operating state set; The same operating states in the total operating state set are merged to simplify the total operating state set, thereby obtaining a second operating state set of the power secondary circuit.
7. The method for monitoring the operating status of a power secondary circuit according to claim 1, characterized in that: The step of solving the operating state corresponding to the operating time of the power secondary circuit according to the second state transition set includes: calculating the backlog of each communication device in the power secondary circuit over a continuous time; According to the backlog of each communication device in continuous time, obtaining the operation state switching time of the power secondary circuit from the second state transition set; According to the operating state switching time, the operating state corresponding to the operating time of the power secondary circuit is obtained.
8. The method for monitoring the operating status of a power secondary circuit according to claim 7, characterized in that: After calculating the backlog of each communication device in the power secondary circuit over a continuous time, the method further includes: Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate; The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit; According to the queuing delay of the target information flow passing through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated.
9. An operating status monitoring system for a power secondary circuit, characterized in that: include: A model building module, for building an information flow dynamic model of the communication device according to the information conservation law of the communication link, the maximum bandwidth capacity and the input flow limit of the communication device; A first operation state set generating module, used for generating a first operation state set of each communication device in the power secondary circuit according to the information flow dynamic model; the first operation state set includes the operation state of the communication device and the transition conditions between the operation states; A second operating state set generating module, used for combining and simplifying all the operating states in the first operating state set to obtain a second operating state set of the power secondary circuit; The operation status monitoring module is used to solve the operation status corresponding to the operation time of the power secondary circuit according to the second state transition set.
10. The operating status monitoring system of a power secondary circuit according to claim 9, characterized in that: The model building module is specifically used for: According to the law of information conservation of the communication link, the input flow and output flow of the communication device are subtracted to obtain the backlog change rate model of the communication device; According to the maximum bandwidth capacity of the output link and the input flow limit of the communication device, the dynamic impact of the backlog of each communication device on its output flow in the information flow transmission direction is obtained as the output flow model of the communication device; An information flow dynamic model of the communication device is established according to the backlog change rate model and the output flow model of the communication device.
11. The operating status monitoring system of a power secondary circuit according to claim 10, characterized in that: The method of obtaining the dynamic influence of the backlog of each communication device on its output flow in the information flow transmission direction according to the maximum bandwidth capacity of the output link and the input flow limit of the communication device as the output flow model of the communication device includes: When the backlog of the communication device is zero, the maximum bandwidth capacity of the output link and the smaller maximum bandwidth capacity of the input flow limit of the communication device are used to obtain a first output flow model of the communication device; When the backlog of the communication device is greater than zero, the maximum bandwidth capacity of the link is output to obtain a second output traffic model of the communication device; According to the first output traffic model and the second output traffic model, the dynamic impact of the backlog of each communication device on its output traffic in the information flow transmission direction is obtained as the output traffic model of the communication device.
12. The operating status monitoring system of a power secondary circuit according to claim 9, characterized in that: The first operation status set generating module is specifically used for: According to the information flow dynamic model, establishing an information flow dynamic model of each communication device in the information flow transmission direction of the power secondary circuit; According to the information flow dynamic model of each communication device and the preset operation state classification standard, a first operation state set of each communication device in the power secondary circuit is generated.
13. The operating status monitoring system of a power secondary circuit according to claim 12, characterized in that: The preset operating state classification standard includes a first operating state classification standard and a second operating state classification standard, wherein: The first operating state classification criterion is a combination of the backlog and output flow of the communication device; The second operating state classification standard is a combination of a backlog of the communication device and a backlog change rate.
14. The operating status monitoring system of a power secondary circuit according to claim 9, characterized in that: The second operation status set generating module is specifically used for: According to the information flow transmission direction of the power secondary circuit, all the operating states in the first operating state set are combined to obtain a total operating state set; The same operating states in the total operating state set are merged to simplify the total operating state set, thereby obtaining a second operating state set of the power secondary circuit.
15. The operating status monitoring system of a power secondary circuit according to claim 9, characterized in that: The operation status monitoring module is specifically used for: calculating the backlog of each communication device in the power secondary circuit over a continuous time; According to the backlog of each communication device in continuous time, obtaining the operation state switching time of the power secondary circuit from the second state transition set; According to the operating state switching time, the operating state corresponding to the operating time of the power secondary circuit is obtained.
16. The operating status monitoring system of a power secondary circuit according to claim 15, characterized in that: After calculating the backlog of each communication device in the power secondary circuit over a continuous time, the method further includes: Calculate the queuing delay of the target information flow through each communication device according to the message size of the target information flow, the backlog of each communication device and the service rate; The time when the information source sends the target information and the queuing delay of sending the target information flow through each communication device are summed to obtain the total delay of the target information flow passing through the power secondary circuit; According to the queuing delay of the target information flow passing through each communication device, the delay jitter of the target information flow in the power secondary circuit is calculated.
17. An operating status monitoring device for a power secondary circuit, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, an operating status monitoring method of a power secondary circuit as described in any one of claims 1 to 8 is implemented.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for monitoring the operating status of a power secondary circuit as described in any one of claims 1 to 8.
