Electric energy metering method and device of flexible adjusting unit and electronic equipment
By obtaining and analyzing data flow information of current, voltage and power factor, determining the flow direction of the electric energy and calculating the active power, the problem of power loss and insufficient accuracy in the flexible regulation unit is solved, and more accurate power measurement and flexible system regulation are achieved. Improves the operating efficiency and stability of the smart grid.
Patent Information
- Application Number
- CN202411213423.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-27
AI Technical Summary
The existing flexible adjustment units use arithmetic addition when measuring the electricity, resulting in insufficient power loss and accuracy, affecting the measurement and regulation accuracy, and failing to efficiently and safely manage electricity.
By obtaining data flow information of current, voltage and power factor, determining the direction of the electric energy flow, and accumulating forward or reduced reverse power based on active power, calculating the electric energy measurement value, avoiding errors caused by arithmetic addition, and improving the measurement accuracy.
It significantly improves the accuracy of power metering and the flexibility of system regulation, helps users and grid operators manage power more carefully, optimize resource allocation, reduce operating costs, and provide technical support for the efficient and stable operation of smart grids.
Smart Images

Figure CN119209477A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of power management technology, and specifically relates to an electric energy metering method, device and electronic equipment of a flexible regulation unit. Background Art
[0002] The flexible regulation unit is an intelligent device that integrates advanced information technology, communication technology, control technology and power electronics technology, and is mainly used for monitoring, management and control of modern power systems. It plays a key role in the power system, especially at the distribution network level, aiming to improve the flexibility, efficiency, reliability and intelligence level of the system.
[0003] In the prior art, when the flexible regulating unit performs electric energy metering, it usually calculates the total electric energy by arithmetic addition of the electric energy of each phase. However, this arithmetic addition method will cause power loss and affect the measurement and control accuracy of the flexible regulating unit, making it impossible to manage electric energy efficiently and safely. Summary of the invention
[0004] In order to solve at least one of the technical problems existing in the background technology, the present application provides an electric energy metering method of a flexible regulation unit, which can significantly improve the accuracy of electric energy metering and the flexibility of system control, effectively solve the problems of power loss and insufficient precision caused by traditional arithmetic addition metering, and provide solid technical support for the efficient and stable operation of smart grids.
[0005] The technical solution adopted in this application is:
[0006] The first aspect of the present application provides an electric energy metering method of a flexible regulating unit, including:
[0007] Get data stream information of current, voltage and power factor;
[0008] determining the direction of electric energy flow based on the direction signal of the current;
[0009] Calculating active power based on the current, the voltage and the power factor;
[0010] Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
[0011] According to the electric energy metering method of the flexible regulating unit provided in the first aspect of the present application, by acquiring and analyzing the data flow information of current, voltage and power factor, the method can more accurately reflect the actual electric energy flow status, and combined with the judgment of the current direction signal, it can distinguish the inflow and outflow of electric energy, avoiding the error caused by traditional arithmetic addition, especially in the case of reverse or bidirectional electric energy flow, significantly improving the accuracy of measurement, based on the accurate calculation of active power and the clear distinction of electric energy flow direction, the system can respectively accumulate the forward and reverse electric energy metering values, which is extremely beneficial for electricity bill settlement, electric energy auditing, demand side management, etc., helping users and power grid operators to manage electric energy more finely, optimize resource allocation, and reduce operating costs. In summary, the electric energy metering method of the flexible regulating unit provided in the first aspect of the present application can significantly improve the accuracy of electric energy metering and the flexibility of system regulation, effectively solve the problems of power loss and insufficient precision caused by traditional arithmetic addition metering, and provide solid technical support for the efficient and stable operation of smart grids.
[0012] The electric energy metering method of the flexible regulation unit provided in the present application also includes the following additional technical features:
[0013] According to an embodiment of the present application, the data stream information of current, voltage and power factor is obtained as follows:
[0014] Periodically sampling current analog signals, voltage analog signals and power factor analog signals, and performing pre-processing;
[0015] Converting the pre-processed current analog signal, voltage analog signal and power factor analog signal into current digital signal, voltage digital signal and power factor digital signal respectively;
[0016] The current digital signal, the voltage digital signal and the power factor digital signal are integrated into a data stream information packet.
[0017] According to an embodiment of the present application, determining the direction of electric energy flow based on the direction signal of the current is specifically:
[0018] receiving the direction signal of the current, automatically identifying the direction of the current by comparing with a preset threshold or positive and negative polarity judgment, and marking the direction of the current as "forward" or "reverse";
[0019] When the current flows in a "forward direction", the electric energy flows in a forward direction, and the electric energy is transmitted from the grid end to the load end;
[0020] When the flow direction of the current is "reverse", the flow direction of the electric energy is reversed, and the electric energy is fed back from the load end to the grid end.
[0021] According to an embodiment of the present application, the active power is calculated based on the current, the voltage and the power factor, specifically:
[0022] calculating the power factor based on a phase difference between the current and the voltage;
[0023] The active power is calculated according to the formula P=I×V×Cosφ;
[0024] Where I is the effective value of current, V is the effective value of voltage, and Cosφ is the power factor.
[0025] According to an embodiment of the present application, the forward electric energy is accumulated or the reverse electric energy is subtracted based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values, specifically:
[0026] Initialize the forward electric energy measurement variable and the reverse electric energy measurement variable to zero;
[0027] When the electric energy flow direction is positive, confirm whether the active power P is a positive value, and if so, add the value of P to the positive electric energy measurement value;
[0028] When the electric energy flows in the reverse direction, the active power P is a negative value, and the absolute value of P is added to the reverse electric energy measurement value.
[0029] According to one embodiment of the present application, the electric energy metering method of the flexible regulating unit further includes:
[0030] Determine energy metering threshold parameters;
[0031] The data flow of the electric energy metering value is monitored in real time and compared with the electric energy metering threshold parameter. When the data flow of the electric energy metering value exceeds the electric energy metering threshold parameter, an alarm mechanism is triggered.
[0032] According to one embodiment of the present application, the electric energy metering threshold parameters include a maximum current threshold, a minimum current threshold, a voltage threshold, a power threshold, an electric energy consumption threshold, a power factor threshold, a power quality threshold, an alarm threshold and a time-sharing metering threshold.
[0033] According to one embodiment of the present application, the electric energy metering method of the flexible regulating unit further includes:
[0034] When the power factor is lower than a preset value, the reactive power compensation mechanism is automatically activated and adjusted.
[0035] A second aspect of the present application provides an electric energy metering device of a flexible regulating unit, comprising:
[0036] A data stream acquisition module, suitable for acquiring data stream information of current, voltage and power factor;
[0037] An electric energy flow direction determination module, adapted to determine the electric energy flow direction based on the current direction signal;
[0038] A first calculation module, adapted to calculate active power based on the current, the voltage and the power factor;
[0039] The second calculation module is adapted to respectively accumulate the forward electric energy or subtract the reverse electric energy based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values.
[0040] An embodiment of the third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the electric energy metering method of the flexible regulation unit in any embodiment of the first aspect as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0042] Figure 1 A schematic diagram of a flow chart of an electric energy metering method for a flexible regulating unit provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of the structure of an electric energy metering device of a flexible regulating unit provided in an embodiment of the present application;
[0044] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0045] in,
[0046] 110, data flow acquisition module; 120, power flow direction determination module; 130, first calculation module; 140, second calculation module;
[0047] 810, processor; 820, communication interface; 830, memory; 840, communication bus. DETAILED DESCRIPTION
[0048] In order to more clearly illustrate the overall concept of the present application, a detailed description is given below in an illustrative manner in conjunction with the accompanying drawings.
[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present application is not limited by the specific embodiments disclosed below. It should be noted that the embodiments of the present application and the features in each embodiment may be combined with each other without conflict.
[0050] In addition, in the description of the present application, it should be understood that the orientations or positional relationships indicated by the terms "top", "bottom", "inside", "outside", "axial", "radial", "circumferential", etc. are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0051] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0052] In the present application, unless otherwise clearly specified and limited, a first feature "above" or "below" a second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in an appropriate manner in any one or more embodiments or examples.
[0053] like Figure 1 As shown, the first embodiment of the present application provides an electric energy metering method of a flexible regulating unit, comprising:
[0054] Step 100: Acquire data stream information of current, voltage and power factor.
[0055] In step 100, the information of current, voltage and power factor can be collected synchronously by high-precision sensors distributed at different key nodes to ensure that all data are collected at the same time or in a very short time, so as to accurately reflect the real-time status of the system and reduce the measurement error caused by time difference. The collected raw data can also be pre-processed, including filtering and denoising (removing high-frequency interference and low-frequency drift), outlier detection and processing (identifying and eliminating or correcting data points beyond the normal range), and data interpolation (processing missing or unstable data). At the same time, data verification is performed to ensure the integrity and consistency of the data and provide reliable input for subsequent analysis.
[0056] Furthermore, in order to ensure the privacy and security of the data, the collected sensitive information (such as current, voltage and power factor) is encrypted and transmitted to the central processing unit or cloud platform through a secure communication protocol (such as TLS / SSL) to prevent the data from being stolen or tampered with during transmission.
[0057] Step 200: Determine the direction of electric energy flow based on the current direction signal.
[0058] In step 200, a Hall effect sensor, a current transformer or other current detection device can be used to accurately extract a signal of the current direction from the acquired current data stream, which includes detecting the positive and negative directions of the current, that is, whether the current flows into or out of the measurement point, and then establishing a mapping relationship between the determined current direction and the direction of electric energy flow, that is, the forward current corresponds to the inflow of electric energy, and the reverse current corresponds to the outflow of electric energy.
[0059] Step 200 can not only accurately determine the flow direction of electric energy, but also ensure high reliability and real-time performance in a complex and changing power system environment, providing key information for subsequent electric energy metering and system control.
[0060] Step 300: Calculate active power based on current, voltage and power factor.
[0061] In step 300, the current, voltage and power factor data used to calculate the active power are collected at the same time point or very close to the time point to eliminate the error caused by time delay. These data streams can be synchronized by time stamp to ensure the timeliness and accuracy of the calculation. Considering the impact of non-ideal factors (such as harmonics, imbalance, temperature change, etc.) in the actual power grid on the measurement, a dynamic correction coefficient can be introduced to adjust the calculated active power. Record the active power value calculated each time, and compare and verify it with historical data or theoretical expected values to check whether there are abnormalities or obvious deviations. If necessary, review and adjust to ensure the accuracy and reliability of the data.
[0062] Step 400: Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
[0063] In step 400, active power is the portion of electrical energy that actually does work and is directly related to the instantaneous consumption or generation of electrical energy. The active power calculated from current, voltage and the phase difference (power factor) between them reflects the amount of electrical energy actually converted or consumed by the system in a certain period of time.
[0064] During the accumulation or subtraction process, considering the cumulative effect of calculation and measurement errors, error analysis and correction are performed regularly or at key time points, including compensation for integral errors and adjustment of the starting point of accumulation or subtraction through a self-calibration mechanism. The forward and reverse electric energy metering values after accumulation or subtraction are regularly sorted out, including data smoothing and outlier processing, to ensure the continuity and rationality of the data. The processed data is then stored in a local or cloud database for subsequent query, analysis, and report generation.
[0065] Step 400 not only realizes the accurate measurement of forward and reverse electric energy, but also establishes a comprehensive system of dynamic monitoring, self-correction and data management, ensuring the high reliability and adaptability of electric energy metering, and providing solid data support for the efficient operation of the power system and electric energy management.
[0066] In some embodiments of the present application, the data stream information of current, voltage and power factor is obtained, specifically:
[0067] Periodically sampling current analog signals, voltage analog signals and power factor analog signals, and performing pre-processing;
[0068] Converting the preprocessed current analog signal, voltage analog signal and power factor analog signal into current digital signal, voltage digital signal and power factor digital signal respectively;
[0069] The current digital signal, the voltage digital signal and the power factor digital signal are integrated into a data stream information packet.
[0070] Periodic sampling ensures the continuity and real-time nature of data collection, and can promptly reflect changes in the state of the power grid. In the preprocessing stage, noise and interference in the signal are removed by filtering, making the converted digital signal purer and improving the accuracy of the measurement. Digital processing makes signal processing more efficient and faster, and can complete the calculation and analysis of current, voltage and power factor in real time or near real time, which is crucial for power grid control and protection strategies that require rapid response, and helps to improve the stability and safety of the system. After converting the analog signal into a digital signal, it is integrated into a unified data stream information package for efficient transmission in the network. This standardized data format simplifies the data communication protocol, reduces the communication bit error rate, and also facilitates subsequent data storage, analysis and remote access. In summary, the accuracy and efficiency of power metering and power grid monitoring are improved.
[0071] In some embodiments of the present application, the direction of electric energy flow is determined based on the direction signal of the current, specifically:
[0072] Receive the current direction signal, automatically identify the current direction by comparing the preset threshold or positive and negative polarity judgment, and mark the current direction as "forward" or "reverse";
[0073] When the current flows in the "forward" direction, the electric energy flows in the positive direction, and the electric energy is transmitted from the grid end to the load end;
[0074] When the current flows in the "reverse" direction, the electric energy flows in the reverse direction, and the electric energy is fed back from the load end to the grid end.
[0075] The system monitors the current in the circuit through sensors (such as Hall effect sensors, current transformers, etc.). These sensors can capture the flow of current and convert it into electrical signals to form a "current direction signal". The system will analyze the received current direction signal. The identification method can be based on the positive and negative polarity of the current. That is, if the current direction is consistent with the preset standard direction (such as flowing from the positive pole to the negative pole), it is judged as "forward"; conversely, if the current flow direction is opposite to the standard direction, it is marked as "reverse". Another method is to compare the relationship between the current signal and a preset threshold. If the current exceeds a certain positive threshold, it is considered to be forward flow, and if it is lower than a certain negative threshold, it is considered to be reverse flow. Once the direction of the current is identified, the system will mark the direction of the electric energy accordingly. If the current flow direction is "forward", it means that the electric energy is transmitted from the power grid (usually a high-voltage transmission network) to the load (such as homes, factories, equipment, etc.). On the contrary, if the current flows in the "reverse" direction, it means that electric energy is fed back to the grid from the load under certain conditions (such as in distributed generation systems, such as electricity generated by solar photovoltaic panels). This is more common in modern smart grids, especially when the user is also an energy producer.
[0076] Automatically identifying the direction of current flow and clearly marking it in the forward or reverse direction can accurately reflect the actual flow direction of electric energy in the system, avoiding errors in human judgment and significantly improving the accuracy of electric energy metering. Adapting to different power application scenarios, whether it is a traditional unidirectional power supply system or a bidirectional power flow system including distributed power generation (such as solar photovoltaic panels, wind power generation, etc.), it can accurately measure the inflow and outflow of electric energy, enhancing the adaptability of the power management system to complex power grid structures. By real-time monitoring and measuring forward and reverse electric energy, power companies and users can manage energy consumption and production more finely, which is of great significance for encouraging the access and use of renewable energy, optimizing grid load distribution, and implementing demand-side management strategies, thereby improving the energy efficiency and economy of the entire power grid. Accurate information on the direction of electric energy flow is crucial for the protection devices and control strategies of the power system. It can help quickly identify abnormal current flow (such as reverse flow), trigger protection measures in time, prevent equipment damage or grid failure, and enhance the stability and safety of the power system.
[0077] In some embodiments of the present application, active power is calculated based on current, voltage and power factor, specifically:
[0078] Calculate power factor based on the phase difference between current and voltage;
[0079] Calculate active power according to the formula P = I × V × Cosφ;
[0080] Where I is the effective value of current, V is the effective value of voltage, and Cosφ is the power factor.
[0081] The phase difference between current and voltage is because in AC circuits, due to the influence of components such as inductance and capacitance, the peak values of current and voltage do not occur at the same time. This time difference is expressed as a phase angle, which reflects the impedance characteristics of the circuit. The power factor Cosφ is defined as the ratio of active power to apparent power, and can also be directly related to the phase difference between current and voltage. When the current and voltage are in phase (that is, the phase difference is 0°), Cosφ = 1, indicating that the circuit is a purely resistive load; when there is a phase difference, Cosφ is less than 1, indicating that the circuit contains inductive or capacitive components, causing part of the electrical energy to exist in the form of reactive power. After obtaining the effective value of current I and voltage V and the phase difference between them by measuring or calculating, and then obtaining the power factor Cosφ, these three values can be substituted into the above formula to calculate the active power P, which can directly reflect the actual energy efficiency consumed or generated by the system or equipment.
[0082] Calculating the power factor directly through the phase difference and then obtaining the active power can more accurately reflect the actual power conversion efficiency, especially in complex power systems with nonlinear loads and harmonics. Accurate active power data is of great significance for energy efficiency analysis, equipment selection, system design, operation and maintenance, and helps to improve the energy efficiency and economy of the entire system. In the smart grid environment, real-time and accurate active power data is crucial for power supply and demand balance, fault detection, demand response and distributed energy management, and is the cornerstone for realizing intelligent and efficient power grids.
[0083] In some embodiments of the present application, the forward electric energy is accumulated or the reverse electric energy is subtracted based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values, specifically:
[0084] Initialize the forward electric energy measurement variable and the reverse electric energy measurement variable to zero;
[0085] When the electric energy flow direction is positive, confirm whether the active power P is positive. If so, add the value of P to the positive electric energy measurement value;
[0086] When the electric energy flows in the reverse direction, the active power P is negative, and the absolute value of P is added to the reverse electric energy measurement value.
[0087] The initial values of the forward and reverse power metering values are both set to zero. These two variables are used to accumulate the total amount of power from the grid to the user and from the user back to the grid. When the system detects that the power flow is forward, that is, the power flows from the grid to the user, it will check whether the active power P is positive. Under normal circumstances, the forward flow of power should be expressed as a positive active power P. At this time, the value of P will be accumulated in the forward power metering variable. This step ensures that the power consumed by the user is accurately measured; when the power flow is identified as reverse, it means that the user end (such as a home with solar panels installed) is feeding back power to the grid. In this case, the active power P should theoretically be a negative value (indicating that the direction of power flow is opposite to the normal direction). The system accumulates the absolute value of P in the reverse power metering variable. The absolute value accumulation here is to record the total amount of fed-back power. Although P itself is negative in mathematical processing, it represents the flow of positive energy in physical terms.
[0088] By distinguishing positive and negative power and accurately accumulating them, the fairness and accuracy of power metering are ensured, especially in today's popular distributed power generation, which can correctly reflect the dual role of users as both consumers and producers. Accurate two-way power metering data helps power grid operators more effectively manage the balance of power supply and demand, conduct dynamic scheduling, and improve the overall stability and efficiency of the power grid.
[0089] In some embodiments of the present application, the electric energy metering method of the flexible regulation unit further includes:
[0090] Determine energy metering threshold parameters;
[0091] The data flow of the electric energy metering value is monitored in real time and compared with the electric energy metering threshold parameters. When the data flow of the electric energy metering value exceeds the electric energy metering threshold parameters, an alarm mechanism is triggered.
[0092] Energy metering threshold parameters are a set of pre-set numerical limits that indicate the normal range of energy flow. These parameters may include, but are not limited to, the maximum allowable current, voltage level, active power, reactive power, or specific thresholds for forward and reverse energy flow. These thresholds are set based on factors such as system capacity, expected load type, safety standards, and past operating data to ensure that both the normal operation requirements of the system are met and abnormal conditions are detected in a timely manner. The system continuously collects data such as current, voltage, power factor, and energy flow to form a data stream. These data are updated in real time, reflecting the instantaneous state of energy flow, and are the direct basis for monitoring the health of the power grid and energy consumption / production. The system compares the real-time monitored energy metering values with the preset threshold parameters in real time. This process is automated and can quickly identify any behavior that deviates from the normal range. Once the data stream of the monitored energy metering value exceeds the set threshold, the alarm mechanism is immediately triggered. The alarm can be a local sound and light warning, SMS notification, email alert, or an emergency signal sent directly to the control center, depending on the system configuration and emergency plan.
[0093] By determining the energy metering threshold parameters and implementing a real-time monitoring and alarm mechanism, the energy metering method of the flexible regulation unit strengthens the system's self-diagnosis and protection capabilities, ensuring the safe and efficient operation of the power system.
[0094] In some embodiments of the present application, the electric energy metering threshold parameters include a maximum current threshold, a minimum current threshold, a voltage threshold, a power threshold, an electric energy consumption threshold, a power factor threshold, a power quality threshold, an alarm threshold and a time-sharing metering threshold.
[0095] The maximum current threshold and the minimum current threshold are used to monitor the current intensity to ensure that it remains within the safety and equipment tolerance range. The setting of the maximum current threshold can prevent overload and line damage, while the minimum current threshold is used to detect whether the line is connected normally or whether certain devices are in standby mode.
[0096] The voltage threshold includes the maximum and minimum voltage thresholds to ensure that the grid voltage is stable within the safe operating range of the equipment. Excessively high or low voltage will damage the equipment or affect the power quality.
[0097] The power thresholds include active power and reactive power thresholds, which are used to monitor whether the system power is within the design range. Abnormal power levels can indicate system failures or unexpected load changes.
[0098] The power consumption threshold is used to monitor the total power consumption over a period of time. Exceeding the threshold indicates abnormal usage patterns or metering problems, which helps to detect potential energy waste or power theft in a timely manner.
[0099] Power factor threshold, the power factor reflects the efficiency of electric energy use, and maintaining a high level is essential for the economic operation of the system. Below the threshold indicates that there is a lot of reactive power and compensation measures need to be taken.
[0100] Power quality thresholds include indicators such as harmonic content, voltage fluctuation, and frequency deviation. Ensuring that power quality meets standards is crucial to protecting sensitive equipment, reducing power loss, and maintaining system stability.
[0101] The alarm threshold is a comprehensive threshold. When any other single or multiple indicators exceed the set boundaries, an alarm is triggered and the operation and maintenance personnel are notified in time to intervene.
[0102] Time-of-use metering thresholds set different metering standards for different time periods (such as peak and valley periods), which helps implement time-of-use electricity price policies, encourage users to use electricity during valley periods, and balance the load on the power grid.
[0103] The setting and monitoring of these energy metering threshold parameters can not only improve the accuracy of energy metering, but also play a vital role in the efficient and safe operation of the power grid and the maintenance of power quality.
[0104] In some embodiments of the present application, the electric energy metering method of the flexible regulation unit further includes:
[0105] When the power factor is lower than the preset value, the reactive power compensation mechanism is automatically activated and adjusted.
[0106] The system continuously monitors the power factor during the energy metering process, which is a key indicator for measuring the effective utilization of electric energy. When the power factor is lower than the preset threshold, it indicates that there is a high proportion of reactive power in the system, which will lead to problems such as reduced energy efficiency, increased line losses and voltage drops. Once an abnormal power factor is detected, the system automatically starts the reactive power compensation mechanism without manual intervention. This automated response can react quickly and reduce the negative impact that may be caused by human delays. The reactive power compensation mechanism usually includes devices such as access capacitor banks, static VAR compensators (SVCs), dynamic voltage restorers (DVRs) or more advanced static synchronous compensators (SVGs). These devices dynamically adjust their compensation capacity according to the current reactive power demand of the system and provide the necessary reactive power to improve the power factor to near the target value, usually close to 1, thereby optimizing power quality, reducing line losses and improving system efficiency. Reactive power compensation is not just a simple turn on or off, but a dynamic adjustment of the compensation amount according to the actual power flow to ensure that the system can maintain good power quality under various load conditions. This requires the control system to have a high degree of flexibility and response speed and be able to quickly adapt to changes in the power grid.
[0107] In summary, the energy metering method not only realizes the precise management of energy metering, but also integrates power quality improvement measures to ensure the efficient and stable operation of the power grid. The addition of the automatic reactive power compensation mechanism not only reduces the reactive power burden on the power grid and user end, reduces energy waste, but also provides an important component for the self-regulation and optimization of the smart grid.
[0108] like Figure 2 As shown, the second embodiment of the present application provides an electric energy metering device of a flexible regulating unit, comprising:
[0109] A data stream acquisition module 110, adapted to acquire data stream information of current, voltage and power factor;
[0110] An electric energy flow direction determination module 120, adapted to determine the electric energy flow direction based on the current direction signal;
[0111] A first calculation module 130, adapted to calculate active power based on current, voltage and power factor;
[0112] The second calculation module 140 is adapted to respectively accumulate the forward electric energy or subtract the reverse electric energy based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values.
[0113] The electric energy metering device of the flexible adjustment unit provided in the second aspect embodiment of the present application can implement the electric energy metering method of the flexible adjustment unit in any embodiment of the first aspect above, and thus can achieve any technical effect in the electric energy metering method of the flexible adjustment unit above, which will not be repeated here.
[0114] An embodiment of the third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the electric energy metering method of the flexible regulation unit in any embodiment of the first aspect is implemented.
[0115] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the electric energy metering method of the flexible adjustment unit in any embodiment of the first aspect, the method comprising:
[0116] Step 100: Acquire data stream information of current, voltage and power factor.
[0117] Step 200: Determine the direction of electric energy flow based on the current direction signal.
[0118] Step 300: Calculate active power based on current, voltage and power factor.
[0119] Step 400: Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
[0120] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0121] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the electric energy metering method of the flexible regulation unit provided by the above methods, the method comprising:
[0122] Step 100: Acquire data stream information of current, voltage and power factor.
[0123] Step 200: Determine the direction of electric energy flow based on the current direction signal.
[0124] Step 300: Calculate active power based on current, voltage and power factor.
[0125] Step 400: Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
[0126] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for measuring electric energy of a flexible regulation unit provided by the above methods is implemented, and the method comprises:
[0127] Step 100: Acquire data stream information of current, voltage and power factor.
[0128] Step 200: Determine the direction of electric energy flow based on the current direction signal.
[0129] Step 300: Calculate active power based on current, voltage and power factor.
[0130] Step 400: Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
[0131] Anything not described in this application can be achieved by adopting or drawing on existing technologies.
[0132] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0133] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for measuring electric energy of a flexible regulating unit, characterized in that: include: Get data stream information of current, voltage and power factor; determining the direction of electric energy flow based on the direction signal of the current; Calculating active power based on the current, the voltage and the power factor; Based on the electric energy flow direction and the active power, the forward electric energy is accumulated or the reverse electric energy is subtracted to calculate the forward and reverse electric energy measurement values.
2. The electric energy metering method of the flexible regulating unit according to claim 1, characterized in that: The data stream information of the current, voltage and power factor is obtained as follows: Periodically sampling current analog signals, voltage analog signals and power factor analog signals, and performing pre-processing; Converting the preprocessed current analog signal, voltage analog signal and power factor analog signal into current digital signal, voltage digital signal and power factor digital signal respectively; The current digital signal, the voltage digital signal and the power factor digital signal are integrated into a data stream information packet.
3. The electric energy metering method of the flexible regulating unit according to claim 1, characterized in that: The determining of the direction of electric energy flow based on the direction signal of the current is specifically: receiving the direction signal of the current, automatically identifying the direction of the current by comparing with a preset threshold or judging the positive and negative polarity, and marking the direction of the current as "forward" or "reverse"; When the current flows in the "forward direction", the electric energy flows in the forward direction, and the electric energy is transmitted from the grid end to the load end; When the current flows in the reverse direction, the electric energy flows in the reverse direction, and the electric energy is fed back from the load end to the grid end.
4. The electric energy metering method of the flexible regulating unit according to claim 3, characterized in that: The active power is calculated based on the current, the voltage and the power factor, specifically: calculating the power factor based on a phase difference between the current and the voltage; The active power is calculated according to the formula P=I×V×Cosφ; Where I is the effective value of current, V is the effective value of voltage, and Cosφ is the power factor.
5. The electric energy metering method of the flexible regulating unit according to claim 4, characterized in that: The forward electric energy is accumulated or the reverse electric energy is subtracted based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values, specifically: Initialize the forward electric energy measurement variable and the reverse electric energy measurement variable to zero; When the electric energy flow direction is positive, confirm whether the active power P is a positive value, and if so, add the value of P to the positive electric energy measurement value; When the electric energy flows in the reverse direction, the active power P is a negative value, and the absolute value of P is added to the reverse electric energy measurement value.
6. The electric energy metering method of the flexible regulating unit according to any one of claims 1 to 5, characterized in that: The electric energy metering method of the flexible regulating unit further includes: Determine energy metering threshold parameters; The data flow of the electric energy metering value is monitored in real time and compared with the electric energy metering threshold parameter. When the data flow of the electric energy metering value exceeds the electric energy metering threshold parameter, an alarm mechanism is triggered.
7. The electric energy metering method of the flexible regulating unit according to claim 6, characterized in that: The electric energy metering threshold parameters include a maximum current threshold, a minimum current threshold, a voltage threshold, a power threshold, an electric energy consumption threshold, a power factor threshold, a power quality threshold, an alarm threshold and a time-sharing metering threshold.
8. The electric energy metering method of the flexible regulating unit according to any one of claims 1 to 5, characterized in that: The electric energy metering method of the flexible regulating unit further includes: When the power factor is lower than a preset value, the reactive power compensation mechanism is automatically activated and adjusted.
9. An electric energy metering device for a flexible regulating unit, characterized in that: include: A data stream acquisition module, suitable for acquiring data stream information of current, voltage and power factor; An electric energy flow direction determination module, adapted to determine the electric energy flow direction based on the current direction signal; A first calculation module, adapted to calculate active power based on the current, the voltage and the power factor; The second calculation module is adapted to respectively accumulate the forward electric energy or subtract the reverse electric energy based on the electric energy flow direction and the active power to calculate the forward and reverse electric energy measurement values.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the electric energy metering method of the flexible regulation unit as claimed in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Demand determination method and device of electric energy meter, readable storage medium and electric energy meter
CN120507709A