CN115166350B - Electric energy meter demand amount calculating method and device - Google Patents

Electric energy meter demand amount calculating method and device

Info

Publication number
CN115166350B
CN115166350B CN202210653848.9A CN202210653848A CN115166350B CN 115166350 B CN115166350 B CN 115166350B CN 202210653848 A CN202210653848 A CN 202210653848A CN 115166350 B CN115166350 B CN 115166350B
Authority
CN
China
Prior art keywords
electric energy
time
power
demand
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210653848.9A
Other languages
Chinese (zh)
Other versions
CN115166350A (en
Inventor
张晓东
杨玉勇
杨国烨
顾舜孝
陶英浩
何金良
张晨云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangyin Changyi Group Co ltd
Original Assignee
Jiangyin Changyi Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangyin Changyi Group Co ltd filed Critical Jiangyin Changyi Group Co ltd
Priority to CN202210653848.9A priority Critical patent/CN115166350B/en
Publication of CN115166350A publication Critical patent/CN115166350A/en
Application granted granted Critical
Publication of CN115166350B publication Critical patent/CN115166350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The application relates to a method and a device for calculating the demand of an electric energy meter. The method comprises the steps of determining slip time and a power sampling period, judging whether power acquired in the current power sampling period is smaller than starting power in each slip time, if so, accumulating the current power sampling period to the previous power accumulating time, finally determining the power accumulating time in each slip time to obtain the total power accumulating time in the required quantity period, obtaining the power pulse accumulating value in each slip time according to the pulse constant after frequency division, the power accumulating time in each slip time and the current power, and obtaining the total power pulse accumulating value in the required quantity period, and calculating according to the total power pulse accumulating value, the total power accumulating time, the frequency division number of the pulse constant and the pulse constant to obtain the required quantity. The method can effectively solve the problem that the load variation cannot be accurately reflected, and achieves the beneficial effect of improving the demand quantity calculation accuracy.

Description

Electric energy meter demand amount calculating method and device
Technical Field
The present application relates to the technical field of electric energy meters, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for calculating a demand of an electric energy meter.
Background
Along with the gradual vigorous demand of electric vehicles, when a plurality of electric vehicles are connected to a power grid for charging, the electric power department can bring about the great change of the load of the power line, and the electric power department needs to predict the load of the power grid and implement a peak clipping and valley filling method to ensure the voltage stability and the load balance of the power grid. The large industrial user load fluctuation value is large, the impact on the power grid is particularly great, and the current power department carries out two electricity prices for the power transformer with the capacity of more than 100 kilovolts ampere in industry, commerce and other users, wherein the two electricity prices consist of two parts of electricity prices, namely a basic electricity price and an electricity price. The basic electricity price is generally charged according to the capacity of the transformer, and the maximum monthly demand can be charged, namely the electricity price is the electricity fee actually used by the user. When the demand is used as a charging mode, the realization and calculation methods of the demand in the electric energy meter become as important as the electric energy metering.
The demand is a power measure, which refers to the average value of power in a prescribed demand period, and the maximum demand is the maximum value of demand recorded in a prescribed settlement period.
The existing demand calculation methods include the following:
1. Slip type. Each slip time T obtains a power value P i, i e { 1..once, n }, n >1, n is the number of slip, and when the first time the demand period t=n×t is reached, the demand calculation d= (P 1+...+Pn)/n is performed. The method can only achieve the purpose of measuring the needed quantity simply and roughly, and once the needed quantity is in a certain slip time, the needed quantity can not accurately reflect the load condition of a user in the period of the needed quantity because the user electric equipment is started or the equipment operates abnormally, and the power value just obtained at the moment is an instantaneous peak value of the equipment, and no energy is actually generated and the power grid can not be impacted, or the needed quantity can not accurately reflect the load condition of the user in the period of the needed quantity because the user electric equipment is shut down in the certain slip time, and the power value is very small or 0 after the power value is obtained.
2. For an improved method of the above slip, the average power is calculated as the P value of the calculation requirement, instead of obtaining a power value as the calculation in each slip time. The method can correct the defects of the method 1, but only improves the accuracy of power acquisition to a limited extent, can not solve the problem at all, and still can possibly have the problems, meanwhile, because the sampling value is increased, generally, one power value occupies 3 bytes of storage space, 60 storage spaces are increased in1 minute, 180 storage spaces are increased, and because the required quantity is divided into forward active power, reverse active power, reactive power 1 quadrant, reactive power 2 quadrant, reactive power 3 quadrant, reactive power 4 quadrant, split-phase active power, reactive power and the like, 4320 storage spaces are required to be increased at most, and the main control MCU chip is required to be reselected for the existing electric energy meter, so that the cost is increased.
3. And an electric energy accumulation method is adopted, an electric energy accumulation value E is obtained at each slip time t, the power is P=E/t at the moment, and other calculation methods are the same as the above. The method can completely avoid the problems of the method, but has the problems that 1) if the existing electric energy accumulated value with the accuracy of 0.01kWh is adopted as a calculated value or the electric energy accuracy accumulated value with the accuracy of 1 pulse is adopted, errors are necessarily caused, and the errors are larger. Assuming that the pulse constant of the electric energy meter is 6400imp/kWh, the current power is 1kW, the electric energy integrated value of 1min is (6400/3600) 60= 106.667 pulses, and the electric quantity of 0.0166 kWh. When the electric quantity calculation with the accuracy of 0.01kWh is adopted, the electric quantity calculation value of 0.0066kWh is lost, and when the pulse method is adopted, the calculation value of 0.667 pulses is lost. 2) If there is power in a slip time t for the previous period, the power is actually accumulated, but there is no power in the later period, and there is no load at this time, but in the calculation, p=e/t, t is still a complete slip time, so that P becomes smaller, and the load cannot be accurately reflected.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer-readable storage medium, and a computer program product for calculating a demand of an electric energy meter that can improve calculation accuracy and reflect load fluctuation more truly and accurately.
In a first aspect, the present application provides a method for calculating a demand for an electric energy meter. The method comprises the following steps:
determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
In the ith slip time t, the initial electric energy accumulation time is 0, judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power, if so, not accumulating the electric energy accumulation time, otherwise, accumulating the current power sampling period t 0 to the previous electric energy accumulation time, and finally determining the electric energy accumulation time t E (i) in the ith slip time t, wherein i is {1, the number of the first place, n is greater than 1;
obtaining total electric energy accumulation time T E in a demand period T according to electric energy accumulation time T E (i) in the ith slip time T, wherein the demand period T=n×t;
Calculating to obtain an electric energy pulse accumulation value D t (i) in the ith slip time t according to the pulse constant after frequency division, the electric energy accumulation time t E (i) in the ith slip time t and the current power;
Obtaining a total electric energy pulse accumulated value D T in a demand period T according to the electric energy pulse accumulated value D t (i) in the ith slip time T;
And calculating the required quantity P in the required quantity period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the required quantity period T.
In one embodiment, the calculated demand P in the demand period T is calculated according to the following formula:
P=(DT/(C×k))/TE
Where C is the pulse constant and k is the frequency division number of the pulse constant.
In one embodiment, the total power integration time T E in the demand period T is calculated according to the following formula:
In one embodiment, the total power pulse accumulated value D T in the demand period T is calculated according to the following formula:
In one embodiment, the method further comprises dividing the pulse constant in the MCU of the power meter.
In one embodiment, the frequency division of the pulse constant is ≡5.
In one embodiment, slip time t is greater than or equal to 1min.
In one embodiment, the demand period T is greater than or equal to 5 minutes.
In a second aspect, the application also provides a device for calculating the demand of the electric energy meter. The device comprises:
The period determining module is used for determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
The power judging module is used for judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power or not in the ith slip time t, if so, the power accumulating time is not accumulated, otherwise, the current power sampling period t 0 is accumulated to the previous power accumulating time, and finally the power accumulating time t E (i) in the ith slip time t is determined, wherein i is {1, the number of the parts is n, and n is greater than 1;
A power accumulation time determining module, configured to obtain a total power accumulation time T E in a demand period T according to a power accumulation time T E in an ith slip time T (i, where the demand period t=n×t;
The power pulse accumulated value calculating module is used for calculating to obtain a power pulse accumulated value D t (i) in the ith slip time T according to the pulse constant after frequency division, the power accumulated time T E (i) in the ith slip time T and the current power, and obtaining a total power pulse accumulated value D T in the required quantity period T according to the power pulse accumulated value D t (i) in the ith slip time T;
The demand calculation module is used for calculating the demand P in the demand period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the demand period T.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the electric energy meter demand calculating method when executing the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the electric energy meter demand calculating method described above.
In a fifth aspect, the present application also provides a computer program product. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the electric energy meter demand calculation method described above.
According to the electric energy meter demand quantity calculating method, the electric energy meter demand quantity calculating device, the computer equipment, the storage medium and the computer program product, the effective electric energy time is accurately accumulated by adopting the power judgment, and the pulse metering mode is divided, so that the problem that the load fluctuation cannot be accurately reflected can be solved, and the beneficial effect of improving the demand quantity calculating precision is achieved.
Drawings
FIG. 1 is a flow chart of a method for calculating demand of an electric energy meter according to an embodiment;
FIG. 2 is a block diagram of a power meter demand computation device in one embodiment;
FIG. 3 is an internal block diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in fig. 1, a method for calculating the demand of an electric energy meter is provided, and the embodiment is applied to a terminal for illustration by the method, it is understood that the method can also be applied to a server, and can also be applied to a system comprising the terminal and the server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
Step 102, determining slip time t and power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s.
For the power sampling period t 0, the smaller t 0 is, the more accurate the power judgment is, the more accurate the electric energy accumulation time is, the slip time is inevitably larger than the power sampling period, and the slip time t is more than or equal to 1min.
Step 104, in the ith slip time t, the initial electric energy accumulation time is 0, judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power, if so, the electric energy accumulation time is not accumulated, otherwise, accumulating the current power sampling period t 0 to the previous electric energy accumulation time, and finally determining the electric energy accumulation time t E (i) in the ith slip time t, wherein i is {1, the number of the first place, n >1.
Step 106, obtaining the total power accumulation time T E in the demand period T according to the power accumulation time T E (i) in the ith slip time T, wherein the demand period t=n×t.
Optionally, the required period T is more than or equal to 5min.
Optionally, the total power accumulation time T E in the demand period T is calculated according to the following formula:
Step 108, calculating the electric energy pulse accumulation value D t (i) in the ith slip time t according to the pulse constant after frequency division and the electric energy accumulation time t E (i and the current power) in the ith slip time t.
Step 110, obtaining the total power pulse accumulated value D T in the demand period T according to the power pulse accumulated value D t (i) in the ith slip time T.
Optionally, the total power pulse accumulated value D T in the demand period T is calculated according to the following formula:
Step 112, calculating the required amount P in the required amount period T according to the total power pulse accumulated value D T, the total power accumulated time T E, the pulse constant and the frequency division number of the pulse constant in the required amount period T.
Alternatively, the demand P in the demand period T is calculated according to the following formula:
P=(DT/(C×k))/TE
Where C is the pulse constant and k is the frequency division number of the pulse constant.
Optionally, the method further comprises dividing the pulse constant in the MCU of the electric energy meter.
Optionally, the frequency division number of the pulse constant is more than or equal to 5.
Specifically, in this embodiment, the pulse constant C of the electric energy meter is 6400imp/kwh, the power of the current device is 1kW, the instantaneous power of the device start is 8kW, the peak power is 14kW (the instantaneous value may be captured occasionally), the slip time T is set to 1min, the power sampling period T 0 is 1s, the demand period T is 15min, and the pulse frequency division number k is 10.
In the embodiment, the power is judged by sampling power every 1s within 1min of each slip time, the power is supplied for the first 30s and is larger than the starting power within 1min of the last slip time within 15min of the demand period, the power is not supplied for the last 30s, the power is supplied for the rest slip time and is larger than the starting power, the total electric energy accumulation time within 1-14 slip times within 15min of the demand period can be determined to be 14min, and the electric energy accumulation time within 15 th slip time is 30s, namely 0.5min, so that the total electric energy accumulation time T E within 15min of the demand period is 14.5min.
From the pulse constant after frequency division by 10, the power accumulation time within 1min of each slip time, and the current device power of 1kW, it is determined that:
in the first 14 slip times, the power pulse accumulated value of each slip time 1min is (6400×10× 1)/60= 1066.67 pulses, wherein/60 is because 1 min=1/60 h, and the time units need to be unified in the calculation process;
The 15 th slip time 1min has an accumulated value of ((6400×10×1)/60) ×0.5= 533.35 pulses, wherein/60 is because 1 min=1/60 h, and the 15 th slip time 1min has an accumulated time of 0.5min, so that×0.5 is also required, and the time units are required to be unified in the calculation process;
thus, the total power pulse integrated value D T is 1066.67 ×14+533.35= 15466.73 pulses in one demand period of 15 min.
According to the pulse constant C, the frequency division number k and the total electric energy pulse accumulated value D T, the electric quantity within 15min of one demand period in the embodiment can be calculated as follows:
ET=DT/(C×k)=15466.73/(6400×10)kwh
Finally, according to a formula E T/TE, calculating to obtain a demand P within 15min of a demand period, wherein the demand P is as follows:
P=ET/TE=(15466.73/(6400×10))/(14.5/60)=1.000kw
The 14.5/60 is to convert 14.5min into hours to meet the unification in time units.
Based on the parameters of the above embodiments, if the existing calculation method mentioned in the background art is adopted, it can be obtained:
comparative example 1
By using the slip equation of mode 1 mentioned in the background art, the calculated demand D may be:
D=(1+1+1+1+1+1+1+1+1+1+1+1+1+1+1)/15=1kW;
D=(1+1+8+1+1+1+1+1+1+1+1+1+1+1+1)/15=1.466kW;
D=(1+1+14+1+1+1+1+1+1+1+1+1+1+1+1)/15=1.866kW;
D=(1+1+1+1+1+1+1+1+1+1+1+1+1+1+0)/15=0.933kW;
D=(1+1+8+1+1+1+1+1+1+1+1+1+1+1+0)/15=1.400kW;
D=(1+1+14+1+1+1+1+1+1+1+1+1+1+1+0)/15=1.800kW。
Comparative example 2
In the manner 2 mentioned in the background art, the calculated demand D may be:
D=(1+1+1+1+1+1+1+1+1+1+1+1+1+1+1)/15=1kW;
D=(1+1+1.116+1+1+1+1+1+1+1+1+1+1+1+1)/15=1.007kW;
D=(1+1+1.216+1+1+1+1+1+1+1+1+1+1+1+1)/15=1.014kW;
D=(1+1+1+1+1+1+1+1+1+1+1+1+1+1+0.5)/15=0.966kW;
D=(1+1+1.116+1+1+1+1+1+1+1+1+1+1+1+0.5)/15=0.9744kW;
D=(1+1+1.216+1+1+1+1+1+1+1+1+1+1+1+0.5)/15=0.981kW。
Comparative example 3
By adopting the mode 3 electric energy accumulation method mentioned in the background art, the calculated demand D may be:
Taking pulse counting as an example, if there is one pulse number for 1 minute, then
D=((106*14+53)/6400)/(15/60)=0.96kW;
If the total of 15 minutes of pulses is accumulated, there is a possibility that less than one pulse number is lost before and after the time, the main reason is that when the demand begins to calculate, no pulse is present at the time
D=((105.667+106.667*13+53.335)/6400)/(15/60)=0.966kW。
In summary, compared with the existing demand calculation method, the demand calculation method of the application can more accurately reflect the load variation and has higher calculation accuracy.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an electric energy meter demand calculating device for realizing the electric energy meter demand calculating method. The implementation of the solution to the problem provided by the device is similar to that described in the above method, so the specific limitation in the embodiments of the device for calculating the demand of the electric energy meter provided below may be referred to the limitation of the method for calculating the demand of the electric energy meter in the above description, and will not be repeated here.
In one embodiment, as shown in fig. 2, there is provided an electric energy meter demand calculating apparatus including:
The period determining module is used for determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
the power judging module is used for judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power or not in the ith slip time t, if so, the electric energy accumulation time is not accumulated, otherwise, the current power sampling period t 0 is accumulated to the previous electric energy accumulation time, and finally the electric energy accumulation time t E (i) in the ith slip time t is determined, wherein i is {1, & gt, n }, n is greater than 1;
The electric energy accumulation time determining module is used for obtaining total electric energy accumulation time T E in a demand period T according to electric energy accumulation time T E (i) in an ith slip time T, wherein the demand period T=n×t;
The power pulse accumulated value calculating module is used for calculating to obtain a power pulse accumulated value D t (i) in the ith slip time T according to the pulse constant after frequency division, the power accumulated time T E (i) in the ith slip time T and the current power, and obtaining a total power pulse accumulated value D T in the required quantity period T according to the power pulse accumulated value D t (i) in the ith slip time T;
The demand calculation module is used for calculating the demand P in the demand period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the demand period T.
The above-described respective modules in the electric energy meter demand calculating device may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server or a terminal, and the internal structure of which may be as shown in fig. 3. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing the acquired freezing data of the electric energy meter. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data storage method for electric energy meter freezing.
It will be appreciated by those skilled in the art that the structure shown in FIG. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
in the ith slip time t, the initial electric energy accumulation time is 0, judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power, if so, not accumulating the electric energy accumulation time, otherwise, accumulating the current power sampling period t 0 to the previous electric energy accumulation time, and finally determining the electric energy accumulation time t E (i) in the ith slip time t, wherein i is {1,..;
Obtaining total electric energy accumulation time T E in a demand period T according to electric energy accumulation time T E (i) in the ith slip time T, wherein the demand period t=n×t;
Calculating to obtain an electric energy pulse accumulation value D t (i) in the ith slip time t according to the pulse constant after frequency division, the electric energy accumulation time t E (i) in the ith slip time t and the current power;
Obtaining a total electric energy pulse accumulated value D T in a demand period T according to the electric energy pulse accumulated value D t (i) in the ith slip time T;
And calculating the required quantity P in the required quantity period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the required quantity period T.
In one embodiment, the processor when executing the computer program further implements:
the demand P in the demand period T is calculated according to the following formula:
P=(DT/(C×k))/TE
in one embodiment, the processor when executing the computer program further implements:
The total power integration time T E in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
the total power pulse integrated value D T in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
The pulse constant is divided in the MCU of the electric energy meter.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
in the ith slip time t, the initial electric energy accumulation time is 0, judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power, if so, not accumulating the electric energy accumulation time, otherwise, accumulating the current power sampling period t 0 to the previous electric energy accumulation time, and finally determining the electric energy accumulation time t E (i) in the ith slip time t, wherein i is {1,..;
obtaining total electric energy accumulation time T E in a demand period T according to electric energy accumulation time T E (i) in the ith slip time T, wherein the demand period T=n×t;
Calculating to obtain an electric energy pulse accumulation value D t (i) in the ith slip time t according to the pulse constant after frequency division, the electric energy accumulation time t E (i) in the ith slip time t and the current power;
Obtaining a total electric energy pulse accumulated value D T in a demand period T according to the electric energy pulse accumulated value D t (i) in the ith slip time T;
And calculating the required quantity P in the required quantity period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the required quantity period T.
In one embodiment, the processor when executing the computer program further implements:
the demand P in the demand period T is calculated according to the following formula:
P=(DT/(C×k))/TE
in one embodiment, the processor when executing the computer program further implements:
The total power integration time T E in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
the total power pulse integrated value D T in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
The pulse constant is divided in the MCU of the electric energy meter.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
determining slip time t and a power sampling period t 0, wherein the power sampling period t 0 is less than or equal to 1s;
in the ith slip time t, the initial electric energy accumulation time is 0, judging whether the power acquired in the current power sampling period t 0 is smaller than the starting power, if so, not accumulating the electric energy accumulation time, otherwise, accumulating the current power sampling period t 0 to the previous electric energy accumulation time, and finally determining the electric energy accumulation time t E (i) in the ith slip time t, wherein i is {1,..;
obtaining total electric energy accumulation time T E in a demand period T according to electric energy accumulation time T E (i) in the ith slip time T, wherein the demand period T=n×t;
Calculating to obtain an electric energy pulse accumulation value D t (i) in the ith slip time t according to the pulse constant after frequency division, the electric energy accumulation time t E (i) in the ith slip time t and the current power;
Obtaining a total electric energy pulse accumulated value D T in a demand period T according to the electric energy pulse accumulated value D t (i) in the ith slip time T;
And calculating the required quantity P in the required quantity period T according to the total power pulse accumulated value D T, the total power accumulated time T E and the pulse constant and the frequency division number of the pulse constant in the required quantity period T.
In one embodiment, the processor when executing the computer program further implements:
the demand P in the demand period T is calculated according to the following formula:
P=(DT/(C×k))/TE
in one embodiment, the processor when executing the computer program further implements:
The total power integration time T E in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
the total power pulse integrated value D T in the demand period T is calculated according to the following formula:
in one embodiment, the processor when executing the computer program further implements:
The pulse constant is divided in the MCU of the electric energy meter.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1.一种电能表需量计算方法,其特征在于,所述方法包括:1. A method for calculating energy meter demand, characterized in that the method comprises: 确定滑差时间t和功率采样周期t0,所述功率采样周期t0≤1s;Determine the slip time t and the power sampling period t 0 , wherein the power sampling period t 0 ≤ 1s; 在第i个滑差时间t内,初始电能累计时间为0,判断在当前功率采样周期t0采集到的功率是否小于启动功率,若小于启动功率,则电能累计时间不累加;否则,将所述当前功率采样周期t0累加到前一次的电能累计时间,最终确定所述第i个滑差时间t内的电能累计时间tE(i),其中,i∈{1,...,n},n>1;In the i-th slip time t, the initial electric energy accumulation time is 0, and it is determined whether the power collected in the current power sampling period t 0 is less than the starting power. If it is less than the starting power, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t 0 is added to the previous electric energy accumulation time, and the electric energy accumulation time t E (i) in the i-th slip time t is finally determined, where i∈{1,...,n}, n>1; 根据所述第i个滑差时间t内的电能累计时间tE(i)获得需量周期T内总的电能累计时间TE,其中需量周期T=n×t;Obtaining the total energy accumulation time TE within the demand period T according to the energy accumulation time tE (i) within the i-th slip time t , wherein the demand period T=n×t; 根据分频后的脉冲常数、所述第i个滑差时间t内的电能累计时间tE(i)和当前功率计算得到第i个滑差时间t内的电能脉冲累计值Dt(i);The electric energy pulse cumulative value D t (i) within the i-th slip time t is calculated according to the divided pulse constant, the electric energy cumulative time t E (i) within the i-th slip time t and the current power; 根据所述第i个滑差时间t内的电能脉冲累计值Dt(i)获得所述需量周期T内总的电能脉冲累计值DTObtaining a total electric energy pulse cumulative value D T within the demand period T according to the electric energy pulse cumulative value D t (i) within the i-th slip time t; 根据所述需量周期T内总的电能脉冲累计值DT、总的电能累计时间TE、脉冲常数和脉冲常数的分频数计算得到所述需量周期T内的需量P。The demand P within the demand period T is calculated based on the total electric energy pulse accumulation value DT within the demand period T, the total electric energy accumulation time TE , the pulse constant and the frequency division factor of the pulse constant. 2.根据权利要求1所述的方法,其特征在于,所述计算得到所述需量周期T内的需量P按照如下公式计算:2. The method according to claim 1, wherein the demand P in the demand period T is calculated according to the following formula: P=(DT/(C×k))/TE P=( DT /(C×k))/ TE 其中,C为脉冲常数,k为脉冲常数的分频数。Where C is the pulse constant and k is the frequency division factor of the pulse constant. 3.根据权利要求1所述的方法,其特征在于,所述需量周期T内总的电能累计时间TE按照如下公式计算:3. The method according to claim 1, wherein the total energy accumulation time TE within the demand period T is calculated according to the following formula: 4.根据权利要求1所述的方法,其特征在于,所述需量周期T内总的电能脉冲累计值DT按照如下公式计算:4. The method according to claim 1, wherein the total energy pulse cumulative value DT within the demand period T is calculated according to the following formula: 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, further comprising: 在电能表的MCU中对脉冲常数进行分频。The pulse constant is divided in the MCU of the energy meter. 6.根据权利要求1所述的方法,其特征在于,所述脉冲常数的分频数≥5。The method according to claim 1 , wherein the frequency division number of the pulse constant is ≥5. 7.根据权利要求1所述的方法,其特征在于,所述滑差时间t≥1min。The method according to claim 1 , wherein the slip time t is greater than or equal to 1 min. 8.根据权利要求1所述的方法,其特征在于,所述需量周期T≥5min。The method according to claim 1 , wherein the demand period T is ≥ 5 minutes. 9.一种电能表需量计算装置,其特征在于,所述装置包括:9. A device for calculating electric energy meter demand, characterized in that the device comprises: 周期确定模块,用于确定滑差时间t和功率采样周期t0,所述功率采样周期t0≤1s;A period determination module, configured to determine a slip time t and a power sampling period t 0 , wherein the power sampling period t 0 is ≤1s; 功率判断模块,用于在第i个滑差时间t内,判断在当前功率采样周期t0采集到的功率是否小于启动功率,若小于启动功率,则电能累计时间不累加;否则,将所述当前功率采样周期t0累加到前一次的电能累计时间,最终确定所述第i个滑差时间t内的电能累计时间tE(i),其中,i∈{1,...,n},n>1;The power judgment module is used to judge whether the power collected in the current power sampling period t0 is less than the starting power within the i-th slip time t. If it is less than the starting power, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t0 is accumulated to the previous electric energy accumulation time, and finally the electric energy accumulation time tE (i) within the i-th slip time t is determined, where i∈{1,...,n}, n>1; 电能累计时间确定模块,用于根据所述第i个滑差时间t内的电能累计时间tE(i)获得需量周期T内总的电能累计时间TE,其中需量周期T=n×t;an electric energy accumulation time determination module, configured to obtain a total electric energy accumulation time TE within a demand period T according to the electric energy accumulation time tE (i) within the i-th slip time t , wherein the demand period T=n×t; 电能脉冲累计值计算模块,用于根据分频后的脉冲常数、所述第i个滑差时间t内的电能累计时间tE(i)和当前功率计算得到第i个滑差时间t内的电能脉冲累计值Dt(i),并根据所述第i个滑差时间t内的电能脉冲累计值Dt(i)获得所述需量周期T内总的电能脉冲累计值DTan electric energy pulse cumulative value calculation module, configured to calculate an electric energy pulse cumulative value D t ( i ) within the i-th slip time t based on the divided pulse constant, the electric energy cumulative time t E (i) within the i-th slip time t , and the current power, and obtain a total electric energy pulse cumulative value D T within the demand period T based on the electric energy pulse cumulative value D t (i) within the i-th slip time t ; 需量计算模块,用于根据所述需量周期T内总的电能脉冲累计值DT、总的电能累计时间TE、脉冲常数和脉冲常数的分频数计算得到所述需量周期T内的需量P。The demand calculation module is configured to calculate the demand P within the demand period T according to the total energy pulse accumulation value DT , the total energy accumulation time TE , the pulse constant and the frequency division factor of the pulse constant. 10.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述的方法的步骤。10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.
CN202210653848.9A 2022-06-10 2022-06-10 Electric energy meter demand amount calculating method and device Active CN115166350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210653848.9A CN115166350B (en) 2022-06-10 2022-06-10 Electric energy meter demand amount calculating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210653848.9A CN115166350B (en) 2022-06-10 2022-06-10 Electric energy meter demand amount calculating method and device

Publications (2)

Publication Number Publication Date
CN115166350A CN115166350A (en) 2022-10-11
CN115166350B true CN115166350B (en) 2025-07-29

Family

ID=83485385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210653848.9A Active CN115166350B (en) 2022-06-10 2022-06-10 Electric energy meter demand amount calculating method and device

Country Status (1)

Country Link
CN (1) CN115166350B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856422B (en) * 2023-02-27 2023-06-06 中电装备山东电子有限公司 Electric energy meter demand amount calculating method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736013A (en) * 2020-06-19 2020-10-02 杭州明特科技有限公司 Electric energy metering method and device for electric energy meter, storage medium and terminal
CN112782470A (en) * 2020-12-14 2021-05-11 浙江恒业电子有限公司 Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3333341B2 (en) * 1995-01-31 2002-10-15 株式会社東芝 Demand wattmeter built-in watt hour meter
JP2003329708A (en) * 2002-05-16 2003-11-19 Mitsubishi Electric Corp Watt hour meter with transmitter
CN107861089A (en) * 2017-09-26 2018-03-30 国网江西省电力公司电力科学研究院 A kind of intelligent electric energy meter method of testing for being adapted to exceptional operating conditions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736013A (en) * 2020-06-19 2020-10-02 杭州明特科技有限公司 Electric energy metering method and device for electric energy meter, storage medium and terminal
CN112782470A (en) * 2020-12-14 2021-05-11 浙江恒业电子有限公司 Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU

Also Published As

Publication number Publication date
CN115166350A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN115389954A (en) Method for estimating battery capacity, electronic device and readable storage medium
KR20150022896A (en) Device and method for determining a power status according to data from the processing method
WO2024244239A1 (en) Battery cell soc estimation method, device, server, and storage medium
CN113805084A (en) Method and device for calculating battery capacity attenuation, computer equipment and storage medium
CN115166350B (en) Electric energy meter demand amount calculating method and device
CN115993536A (en) Method, device, equipment, storage medium and product for estimating remaining battery energy
CN114118579B (en) A new energy station energy storage configuration planning method, device and computer equipment
CN116718922A (en) Battery pack SOC estimation method, device, server and storage medium
CN110781449A (en) Estimation method of missing user data for calculation of line loss in station area
CN118011240B (en) Method and device for evaluating consistency of batteries, storage medium and computer equipment
CN119179900A (en) Intelligent ammeter data acquisition method and system based on Internet of things
CN116540115B (en) Battery energy status monitoring method and battery system
WO2025260640A1 (en) Power control method and apparatus for energy storage system
CN119253811A (en) Battery balancing method, device, electronic device and storage medium
CN115219872B (en) Thyristor voltage detection circuit and method thereof
CN115871504A (en) Charging pile electric energy metering method and device
CN118014269A (en) Capacity adjustment method, device and computer equipment on power user side
CN116679228A (en) Arc detection method, device, equipment and storage medium
CN119512450A (en) Electric energy meter data storage method, device and computer equipment
CN117970153B (en) Power battery health assessment method, device, and computer equipment
CN115603664A (en) Monitoring method, device, electronic equipment and medium for measurement failure of photovoltaic power generation
CN115859150B (en) Power battery health state determining method, device, equipment and storage medium
CN117368766A (en) Power status updating method, device, computer equipment, storage medium and product
CN119573909B (en) Temperature detection method and detection circuit of motor system
CN119493015B (en) Battery open circuit voltage curve correction method, device, equipment, medium and product

Legal Events

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