CN115166350A - Method and device for calculating demand of electric energy meter - Google Patents

Method and device for calculating demand of electric energy meter Download PDF

Info

Publication number
CN115166350A
CN115166350A CN202210653848.9A CN202210653848A CN115166350A CN 115166350 A CN115166350 A CN 115166350A CN 202210653848 A CN202210653848 A CN 202210653848A CN 115166350 A CN115166350 A CN 115166350A
Authority
CN
China
Prior art keywords
electric energy
time
demand
pulse
period
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.)
Pending
Application number
CN202210653848.9A
Other languages
Chinese (zh)
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/CN115166350A/en
Publication of CN115166350A publication Critical patent/CN115166350A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The application relates to a method and a device for calculating demand of an electric energy meter. The method comprises the following steps: determining a slip time and a power sampling period; judging whether the power collected in the current power sampling period is smaller than the starting power or not within each slip time, if so, accumulating the electric energy accumulation time, otherwise, accumulating the current power sampling period to the previous electric energy accumulation time, and finally determining the electric energy accumulation time within each slip time to obtain the total electric energy accumulation time within the demand period; obtaining an electric energy pulse accumulated value in each slip time according to the pulse constant after frequency division, the electric energy accumulated time in each slip time and the current power, thereby obtaining a total electric energy pulse accumulated value in a demand period; and calculating to obtain the demand according to the total electric energy pulse accumulated value, the total electric energy accumulated time, the pulse constant and the frequency division number of the pulse constant. The method can effectively solve the problem that the load change cannot be accurately reflected, and achieves the beneficial effect of improving the demand calculation precision.

Description

Method and device for calculating demand of electric energy meter
Technical Field
The present application relates to the field of electric energy meter technologies, and in particular, to a method and an apparatus for calculating demand of an electric energy meter, a computer device, a storage medium, and a computer program product.
Background
With the increasing demand of electric vehicles, when a lot of electric vehicles are connected to the power grid for charging, the power line load will change greatly, and the 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 load balance of the power grid. The load fluctuation value of large industrial users is very large, the impact on a power grid is particularly great, and the power generation price of the power transformer in the industrial and commercial industries and other users is two power generation prices with the capacity of more than 100 kilovolt-ampere, wherein the two power generation prices are composed of two power prices, namely 'basic power price' and 'power price'. The basic electricity price is generally collected according to the capacity of the transformer and can also be collected according to the maximum monthly demand; the electricity price is the electricity charge actually used by the user. When the demand is used as a charging mode, the implementation of the demand in the electric energy meter and the calculation method become important as the electric energy metering.
Demand is a power measure and refers to the average of power over a specified period of demand, and maximum demand refers to the maximum of the recorded demand over a specified settlement period.
The existing demand calculation modes include the following steps:
1. and (4) slip difference. Obtaining a power value P for each slip time t i I belongs to {1,. Eta., n }, n > 1, and n is the number of slip; when the demand period T = n × T is reached for the first time, demand calculation D = (P) 1 +...+P n ) And/n. The method can only achieve the purpose of measuring the demand simply and roughly, once the consumer electric equipment is started or runs abnormally within a certain slip time, the power value which is just obtained at the moment is the instantaneous peak value of the equipment, no energy is actually generated, and no impact is caused to the power grid, so that the power value at the moment is the instantaneous peak value of the equipment, and the energy is not generated and the impact on the power grid is avoidedIn each demand period, the demand cannot accurately reflect the load of the user; or once the power value is acquired as a small value or 0 due to the fact that the user electric equipment is just shut down within a certain slip time, the demand in the demand period is also a condition that the load of the user cannot be accurately reflected.
2. In an improved method for the slip type, in each slip time, a power value is not obtained as calculation, but average power is obtained, and average value calculation is carried out to obtain a P value of the required amount. The method can correct the defects of the method 1, but only improves the power acquisition precision in a limited way, cannot fundamentally solve the problems, and still can have the problems; meanwhile, as the sampling value is added, one power value generally occupies 3 bytes of storage space, 60 storage spaces are increased in 1 minute, and 180 storage spaces are increased, since the demand is divided into forward active, reverse active, reactive 1 quadrant, reactive 2 quadrant, reactive 3 quadrant, reactive 4 quadrant, split-phase active and reactive and the like, 4320 storage spaces are increased at most possibly, and a master control MCU chip is required to be reselected for the existing electric energy meter, so that the cost is increased.
3. And (3) acquiring an electric energy accumulated value E at each slip time t by adopting an electric energy accumulation method, wherein the power is P = E/t, and other calculation methods are the same as the above. The method can completely avoid the problems of the method, but the method can bring the following problems: 1) If only the existing electric energy precision accumulated value with the precision of 0.01kWh is adopted as a calculated value or the electric energy precision accumulated value with 1 pulse is adopted, errors are inevitably caused, and the errors are larger. Suppose the pulse constant of the electric energy meter is 6400imp/kWh, the current power is 1kw, the cumulative value of the electric energy at 1min is (6400/3600) = 60=106.667 pulses, and the electric quantity at 0.0166 kWh. When the electricity quantity calculation with the precision of 0.01kWh is adopted, a calculated value of 0.0066kWh electricity quantity is lost; when the pulse method is used, the calculated value of 0.667 pulses is lost. 2) If there is power in the previous period within a slip time t, the electric energy is accumulated, but there is no power in the next period, and there is no load, but P = E/t, t is still a complete slip time in the calculation, resulting in a decrease in P and an inaccurate reflection of load.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for calculating demand of an electric energy meter, which can improve calculation accuracy and reflect load variation more truly and accurately.
In a first aspect, the application provides a method for calculating demand of an electric energy meter. The method comprises the following steps:
determining a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s;
In the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smaller than the starting power or not, and if so, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t is used 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein, i belongs to {1,. Eta., n }, and n is more than 1;
according to the accumulated time t of the electric energy in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i);
According to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
According to the total electric energy pulse accumulated value D in the demand period T T Total accumulated time T of electric energy E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P in the demand period T.
In one embodiment, the demand P in the calculated demand period T is calculated according to the following formula:
P=(D T /(C×k))/T E
wherein, C is a pulse constant, and k is a frequency division number of the pulse constant.
In one embodiment, the total accumulated time T of the electric energy in the demand period T E Calculated according to the following formula:
Figure BDA0003688472490000031
in one embodiment, the total accumulated value D of the electric energy pulses in the demand period T T Calculated according to the following formula:
Figure BDA0003688472490000032
in one embodiment, the method further comprises: and dividing the frequency of the pulse constant in the MCU of the electric energy meter.
In one embodiment, the frequency division number of the pulse constant is greater than or equal to 5.
In one embodiment, the slip time t ≧ 1min.
In one embodiment, the demand period T is greater than or equal to 5min.
In a second aspect, the application also provides an electric energy meter demand calculation device. The device comprises:
a period determination module for determining a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s;
A power judgment module for judging the current power sampling period t within the ith slip time t 0 Whether the collected power is smaller than the starting power or not, and if so, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t is used 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein i belongs to {1,. Eta., n }, and n > 1;
an electric energy accumulation time determination module for determining the electric energy accumulation time t in the ith slip time t E (i acquisition of demand weekTotal accumulated time T of electric energy in period T E Wherein the demand period T = n × T;
an electric energy pulse accumulated value calculating module for calculating the electric energy accumulated time t within the ith slip time t according to the pulse constant after frequency division E (i) And calculating the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i) And according to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
A demand calculation module for calculating the total electric energy pulse accumulation value D in the demand period T T Total accumulated time T of electric energy E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P 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, the memory stores a computer program, and the processor realizes the steps of the electric energy meter demand calculation method when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method for calculating demand of an electric energy meter.
In a fifth aspect, the present application further provides a computer program product. Computer program product comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method for calculating a demand for an electric energy meter.
According to the method, the device, the computer equipment, the storage medium and the computer program product for calculating the demand of the electric energy meter, the effective electric energy time is accurately accumulated by adopting power judgment, and the frequency division is carried out in a pulse metering mode, so that the problem that the load change cannot be accurately reflected can be solved, and the beneficial effect of improving the demand calculation precision is achieved.
Drawings
FIG. 1 is a schematic flow chart of a method for calculating demand of an electric energy meter according to an embodiment;
FIG. 2 is a block diagram showing an arrangement of a demand calculation apparatus for an electric energy meter according to an embodiment;
FIG. 3 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In an embodiment, as shown in fig. 1, a method for calculating demand of an electric energy meter is provided, and this embodiment is illustrated by applying the method to a terminal, and it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step 102, determining a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s。
For a power sampling period t 0 In particular, t 0 The smaller the power is, the more accurate the power judgment is, and the more accurate the accumulated time of the electric energy is; the slip time is inevitably greater than the power sampling period, and optionally, the slip time t is greater than or equal to 1min.
Step 104, in the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smaller than the starting power or not, and if the collected power is smaller than the starting power, the electric energy accumulation time is not accumulated; otherwise, sampling the current power for a period t 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein, i belongs to {1,. Eta., n }, and n is larger than 1.
106, accumulating the time t according to the electric energy in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Where demand period T = n × T.
Optionally, the demand period T is more than or equal to 5min.
Optionally, the total demand period TElectric energy accumulation time T E Calculated according to the following formula:
Figure BDA0003688472490000051
108, according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i and the current power are calculated to obtain the electric energy pulse accumulated value D in the ith slip time t t (i)。
110, according to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
Optionally, the total accumulated value D of the electric energy pulses in the demand period T T Calculated according to the following formula:
Figure BDA0003688472490000052
112, according to the total electric energy pulse accumulated value D in the demand period T T Total electric energy accumulation time T E And calculating the demand P in the demand period T by the pulse constant and the frequency division number of the pulse constant.
Optionally, the demand P in the demand period T is calculated according to the following formula:
P=(D T /(C×k))/T E
wherein, C is a pulse constant, and k is a frequency division number of the pulse constant.
Optionally, the method further comprises: and dividing the pulse constant in the MCU of the electric energy meter.
Optionally, the frequency division number of the pulse constant is greater than or equal to 5.
Specifically, in this embodiment, the pulse constant C of the electric energy meter is 6400imp/kwh, the current device power is 1kW, the device start instantaneous power is 8kW, and the peak power is 14kW (instantaneous value is captured occasionally); setting the slip time t as 1min and the power sampling period t 0 The time is 1s, and the demand period T is 15min; the pulse division number k is 10.
Within 1min of each slip time, sampling power every 1s for power judgment; in the embodiment, in the last slip time 1min within 15min of the demand period, the first 30s have power and are greater than the starting power, and the second 30s have no power; the power is greater than the starting power in the rest of the slip time; therefore, the total electric energy accumulation time within the 1 st to 14 th slip time is 14min, the electric energy accumulation time within the 15 th slip time is 30s, namely 0.5min within one demand period 15min, and therefore the total electric energy accumulation time T within the demand period 15min E It is 14.5min.
According to the pulse constant after 10 frequency division, the accumulated time of the electric energy in each slip time 1min and the current equipment power 1kW, the following steps can be determined:
in the first 14 slip periods, the integrated value of the electric energy pulse of 1min of each slip period is (6400 × 10 × 1)/60 =1066.67 pulses, wherein/60 is because 1min =1/60h, and time units need to be unified in the calculation process;
the cumulative value of the electric energy pulses in the 15 th slip time 1min is ((6400 × 10 × 1)/60) × 0.5=533.35 pulses, wherein,/60 is that 1min =1/60h, and the cumulative time of the electric energy in the 15 th slip time 1min is 0.5min, so × 0.5 is needed, and time units need to be unified in the calculation process;
therefore, the total electric energy pulse accumulated value D is within 15min of a demand period T 1066.67 × 14+533.35=15466.73 pulses.
According to pulse constant C, frequency dividing number k and total electric energy pulse accumulated value D T The electric quantity within 15min of one demand period in this embodiment can be calculated as:
E T =D T /(C×k)=15466.73/(6400×10)kwh
finally according to formula E T /T E Calculating to obtain a demand P within 15min of a demand period as follows:
P=E T /T E =(15466.73/(6400×10))/(14.5/60)=1.000kw
among them, 14.5/60 is for converting 14.5min into hours so as to satisfy the unification in time unit.
Based on the parameters of the above embodiments, if the existing calculation method mentioned in the background art is adopted, the following can be obtained:
comparative example 1
With the slip type of the method 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
With the method 2 mentioned in the background, 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 means of the method 3 mentioned in the background, the calculated demand D may be:
taking the pulse counting method as an example, if the number of pulses is stored once in 1 minute, the pulse counting method is used
D=((106*14+53)/6400)/(15/60)=0.96kW;
If the total of 15 minutes pulses is summed, less than one pulse count may be lost before and after this time, mainly because when the demand begins to be calculated, no pulses are present
D=((105.667+106.667*13+53.335)/6400)/(15/60)=0.966kW。
In conclusion, compared with the existing demand calculation method, the demand calculation method can reflect the load change more accurately and has higher calculation precision.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an electric energy meter demand calculation device for realizing the electric energy meter demand calculation method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in one or more embodiments of the electric energy meter demand calculation device provided below can be referred to the limitations on the electric energy meter demand calculation method in the foregoing, and details are not repeated herein.
In one embodiment, as shown in fig. 2, there is provided an electric energy meter demand calculation apparatus including:
a period determination module for determining a slip time t and a power sampling period t 0 Power sampling period t 0 ≤1s;
A power judgment module for judging the current power sampling period t within the ith slip time t 0 Whether the collected power is less than the starting power or not, and if so, judging whether the collected power is less than the starting powerThe power is dynamic, and the electric energy accumulation time is not accumulated; otherwise, sampling the current power for a period t 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein, i belongs to {1,. Eta., n }, and n is more than 1;
an electric energy accumulation time determination module for determining the electric energy accumulation time t in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
an electric energy pulse accumulated value calculating module for calculating the electric energy accumulated time t within the ith slip time t according to the pulse constant after frequency division E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i) And according to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
A demand calculation module for calculating the total electric energy pulse accumulation value D in the demand period T T Total accumulated time T of electric energy E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P in the demand period T.
All or part of each module in the electric energy meter demand calculation device can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server or a terminal, and the internal structure thereof 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, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the acquired electric energy meter freezing data. 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 energy meter freezing.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
determining a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s;
In the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smaller than the starting power or not, and if so, the electric energy accumulation time is not accumulated; otherwise, sampling the current power for a period t 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein i belongs to {1,. Eta., n }, and n > 1;
according to the accumulated time t of the electric energy in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period t = n × t;
according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i) And calculating the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i);
According to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtain total electricity in demand period TEnergy pulse integrated value D T
According to the total electric energy pulse accumulated value D in the demand period T T Total electric energy accumulation time T E And calculating the demand P in the demand period T by the pulse constant and the frequency division number of the pulse constant.
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=(D T /(C×k))/T E
in one embodiment, the processor, when executing the computer program, further implements:
total accumulated time T of electric energy in demand period T E Calculated according to the following formula:
Figure BDA0003688472490000101
in one embodiment, the processor, when executing the computer program, further implements:
total electric energy pulse accumulated value D in demand period T T Calculated according to the following formula:
Figure BDA0003688472490000102
in one embodiment, the processor, when executing the computer program, further implements:
and dividing the frequency of the pulse constant 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 a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s;
In the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smallIf the starting power is less than the starting power, the electric energy accumulation time is not accumulated; otherwise, sampling the current power for a period t 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein i belongs to {1,. Eta., n }, and n > 1;
according to the accumulated time t of the electric energy in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i);
According to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
According to the total electric energy pulse accumulated value D in the demand period T T Total electric energy accumulation time T E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P in the demand 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=(D T /(C×k))/T E
in one embodiment, the processor when executing the computer program further implements:
total accumulated time T of electric energy in demand period T E Calculated according to the following formula:
Figure BDA0003688472490000111
in one embodiment, the processor, when executing the computer program, further implements:
total electric energy pulse integrated value D in demand period T T Calculated according to the following formula:
Figure BDA0003688472490000112
in one embodiment, the processor when executing the computer program further implements:
and dividing the frequency of the pulse constant 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 a slip time t and a power sampling period t 0 Period t of power sampling 0 ≤1s;
In the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smaller than the starting power or not, and if the collected power is smaller than the starting power, the electric energy accumulation time is not accumulated; otherwise, sampling the current power for a period t 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein i belongs to {1,. Eta., n }, and n > 1;
according to the accumulated time t of the electric energy in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i);
According to the accumulated value D of the electric energy pulse in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
According to the total electric energy pulse accumulated value D in the demand period T T Total accumulated time T of electric energy E And calculating the demand P in the demand period T by the pulse constant and the frequency division number of the pulse constant.
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=(D T /(C×k))/T E
in one embodiment, the processor, when executing the computer program, further implements:
total accumulated time T of electric energy in demand period T E Calculated according to the following formula:
Figure BDA0003688472490000121
in one embodiment, the processor when executing the computer program further implements:
total electric energy pulse integrated value D in demand period T T Calculated according to the following formula:
Figure BDA0003688472490000122
in one embodiment, the processor when executing the computer program further implements:
and dividing the frequency of the pulse constant in the MCU of the electric energy meter.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware that is instructed by a computer program, and the computer program may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the 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), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases involved in the embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for calculating demand of an electric energy meter, the method comprising:
determining a slip time t and a power sampling period t 0 Said power sampling period t 0 ≤1s;
In the ith slip time t, the initial electric energy accumulation time is 0, and the current power sampling period t is judged 0 Whether the collected power is smaller than the starting power or not, and if the collected power is smaller than the starting power, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t is used 0 Accumulating the accumulated time of the previous electric energy, and finally determining the accumulated time t of the electric energy in the ith slip time t E (i) Wherein, i belongs to {1,. Eta., n }, and n is more than 1;
according to the electric energy accumulation time t in the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
according to the pulse constant after frequency division and the electric energy accumulation time t in the ith slip time t E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i);
According to the electric energy pulse accumulated value D in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
According to the total electric energy pulse accumulated value D in the demand period T T Total accumulated time T of electric energy E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P in the demand period T.
2. The method of claim 1 wherein said calculating yields a demand P within said demand period T as follows:
P=(D T /(C×k))/T E
wherein, C is the pulse constant, and k is the frequency division number of the pulse constant.
3. Method according to claim 1, characterized in that the total accumulated time T of electric energy in the demand period T is E Calculated according to the following formula:
Figure FDA0003688472480000011
4. method according to claim 1, characterized in that the total integrated value D of the electric energy pulses in the demand period T T Calculated according to the following formula:
Figure FDA0003688472480000012
5. the method of claim 1, further comprising:
and dividing the pulse constant in the MCU of the electric energy meter.
6. The method of claim 1, wherein the division number of the pulse constant is greater than or equal to 5.
7. The method according to claim 1, wherein the slip time t ≧ 1min.
8. The method according to claim 1, wherein the demand period T is greater than or equal to 5min.
9. An electric energy meter demand calculation apparatus, the apparatus comprising:
a period determination module for determining a slip time t and a power sampling period t 0 Said power sampling period t 0 ≤1s;
A power judgment module for judging the current power sampling period t within the ith slip time t 0 Whether the collected power is smaller than the starting power or not, and if the collected power is smaller than the starting power, the electric energy accumulation time is not accumulated; otherwise, the current power sampling period t is used 0 Accumulating the electric energy to the previous timeTime, finally determining the electric energy accumulation time t in the ith slip time t E (i) Wherein, i belongs to {1,. Eta., n }, and n is more than 1;
an electric energy accumulation time determination module for determining the electric energy accumulation time t within the ith slip time t E (i) Obtaining the total electric energy accumulation time T in the demand period T E Wherein the demand period T = n × T;
an electric energy pulse accumulated value calculating module for calculating the electric energy accumulated time t within the ith slip time t according to the pulse constant after frequency division E (i) Calculating with the current power to obtain the accumulated value D of the electric energy pulse within the ith slip time t t (i) And according to the electric energy pulse integrated value D in the ith slip time t t (i) Obtaining the total electric energy pulse accumulated value D in the demand period T T
A demand calculation module for calculating the total electric energy pulse accumulation value D in the demand period T T Total accumulated time T of electric energy E And calculating the pulse constant and the frequency division number of the pulse constant to obtain the demand P in the demand period T.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
CN202210653848.9A 2022-06-10 2022-06-10 Method and device for calculating demand of electric energy meter Pending CN115166350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210653848.9A CN115166350A (en) 2022-06-10 2022-06-10 Method and device for calculating demand of electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210653848.9A CN115166350A (en) 2022-06-10 2022-06-10 Method and device for calculating demand of electric energy meter

Publications (1)

Publication Number Publication Date
CN115166350A true CN115166350A (en) 2022-10-11

Family

ID=83485385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210653848.9A Pending CN115166350A (en) 2022-06-10 2022-06-10 Method and device for calculating demand of electric energy meter

Country Status (1)

Country Link
CN (1) CN115166350A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856422A (en) * 2023-02-27 2023-03-28 中电装备山东电子有限公司 Method and system for calculating demand of electric energy meter

Cited By (2)

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

Similar Documents

Publication Publication Date Title
CN104811344A (en) Network dynamic service monitoring method and apparatus
CN110462414A (en) Device and method for estimating cell resistance
KR20150022896A (en) Device and method for determining a power status according to data from the processing method
US6020734A (en) Electrical utility meter with event-triggered window for highest demands logging
CN115166350A (en) Method and device for calculating demand of electric energy meter
JP2022552957A (en) Method and Apparatus for Determining State of Charge and Health of Rechargeable Battery
AU2016416626A1 (en) Method and device for the use of an electrochemical energy storage device so as to optimize the service life
US11157974B2 (en) Prepaid utility metering with complex rates using advanced metering infrastructure (AMI) smart meters
Bernards et al. Statistical modelling of load profiles incorporating correlations using Copula
CN114118579B (en) New energy station energy storage configuration planning method and device and computer equipment
WO2023029753A1 (en) Device power supply method and apparatus, terminal device and storage medium
CN111398883B (en) Electric energy meter truncation error online evaluation method, system and medium
CN112381436A (en) Time-by-time electrical load generation method, device, electronic equipment and storage medium
CN112782601A (en) Method, system and equipment for acquiring health degree of battery and readable storage medium
CN112072728B (en) Electric quantity determining method and device, electronic equipment and storage medium
CN115871504A (en) Charging pile electric energy metering method and device
CN116540115B (en) Battery energy state monitoring method and battery system
CN113687248B (en) Battery capacity determining method and device, electronic equipment and storage medium
CN116051280A (en) User time-sharing electric quantity fitting calculation method and device
CN117196543A (en) Multi-purpose ammeter recharging management method and system based on fund pool
CN115759398A (en) Power utilization control method and device, computer equipment and storage medium
CN112819995B (en) Data processing method and device, electronic equipment and readable storage medium
CN116562507A (en) Electric bill analysis method and system
Thorvaldsen et al. Analysis of Accuracy of Flexibility Baseline Prediction Methods for Office Building at Different Measuring Points
CN117368766A (en) Method, device, computer equipment, storage medium and product for updating electric quantity state

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