Summary of the invention
Technical matters to be solved by this invention is to provide a kind of building energy consumption metering separate system based on virtual integration technology, can realize by this system the metering inferring famous subitem from the change of total amount.
In order to solve the problems of the technologies described above a kind of building energy consumption metering separate system based on virtual integration technology of the present invention, comprise intelligent switch and control terminal, described intelligent switch is connected to subscriber's line circuit incoming end, and intelligent switch is connected with control terminal, described user at least two.
The improvement project of technique scheme, also comprises wireless router, and described wireless router connects intelligent switch and control terminal respectively.
Based on a building energy consumption metering separate method for virtual integration technology, comprise the steps:
Step one: according to the data of intelligent switch record, obtains respective electricity consumption initial function in time after being averaged:
F
i (t)wherein i=1, N are 1.
Step 2: choose t, by each component of t divided by total amount, described total electricity consumption function is:
···············②
The each component function of described t is:
Wherein i=1, N are 3.
Wi (t) represents i-th user when moment t, ratio shared in total electricity consumption; Component function can be called weighting function;
Step 3: total ammeter is obtained after digital-to-analog conversion total electricity consumption function at that time:
G
always (t)4.
Step 4: t total electricity consumption is multiplied by each component obtains each user electricity consumption function at the weighted value of t:
G
i (t)=W
i (t)* G
always (t)wherein i=1, N are 5.
T often can be different from the power consumption of second day t, then need the component function upgrading t every day, utilize the function in step 2 ~ 4 to calculate and obtain new component function W
newly(t), then release each user power utilization amount.
When the component function of t can not be upgraded every day, a consumption departure function can be used to revise, selected i-th user is fluctuated at t power consumption every day, its value is Δ f, after M days statistics, show that i-th user occurs the probability of fluctuation in t, and the fluctuation probability distribution function of a day.In process afterwards, occur that the probability size of fluctuation is revised according to each user at t power consumption.
Building energy consumption metering separate system and method based on virtual integration technology of the present invention, adopt mathematical model and computer simulation, by a closed-loop adaptation network, under remote online or monitored off-line, complete the electricity consumption situation being inferred outstanding many, each isolated user by ammeter.
Embodiment
From attached Fig. 1 and 2, a kind of building energy consumption metering separate system based on virtual integration technology of the present invention: be included in the intelligent switch 1 on each subscriber's line circuit incoming end, described intelligent switch 1 connects computer or mobile phone 2 by wireless router 3, by plural user's network consisting system.
By the known flow process of the present invention of accompanying drawing 3 be:
1. the initial situation of each group user
In order to measure initial value, we utilize a kind of intelligent switch, and the function of this switch automatically records each user on each time, be in the state opened or closed.Again according to the power of each user, this user electricity consumption function in time in a day just can be drawn.Compared with respectively filling an independent ammeter with each user, the advantage of the method be install and use easy to maintenance, price is cheap.The data of this intelligent switch export by USB flash disk, or the method for wire/wireless transfers supervisory control desk.Also by the method for manual record, recorded the switch conditions of each time period by each user voluntarily, and then gather.
These two kinds of methods are all feasible, then through after a while, as one month, obtain respective electricity consumption initial function in time after being averaged:
F
i (t)wherein i=1, N are 1.
2. weighting function
Second step determines when moment t, the ratio that each user is shared in total electricity consumption ... .. i.e. weighting function, first calculates total electricity consumption function, it for each with electric component with:
···············②
Calculate when moment t again, each user weighting function at that time, namely at each component of t divided by total amount:
Wherein i=1, N are 3.
Wi (t) represents i-th user when moment t, and ratio shared in total electricity consumption, this is a changeable parameters function, needs to adjust according to feedback signal.
3. total electricity consumption
Total electricity consumption function from total ammeter obtains at that time after digital-to-analog conversion:
G
always (t)4.
4. often organize the electricity consumption of user
Then t total electricity consumption is multiplied by each component and obtains weight assignment function at the weighted value in that moment, be i.e. the electricity consumption function of each user:
G
i (t)=W
i (t)* G
always (t)wherein i=1, N are 5.
Be exactly total we record the component value of each user that electricity consumption situation is derived from ammeter, this is an opened loop control obtaining value, and in order to adapt to the situation that electricity consumption constantly changes, we need a close-loop feedback signal to adjust.
5. Stochastic sum error function
Each user may be different from the previous day at the power consumption of t, and this change can be divided into two classes, and a class is regular error change, and another kind of is accidentally random change.The object of algorithm finds when what user occurs ANOMALOUS VARIATIONS, to form feedback signal, revises weighting function, obtain new user and divide Fabric function.
A) real time on-line monitoring, by the remote telemetry device such as intelligent switch, photoelectric sensor, according to 2., 3., 4., 5. formula calculate new weighting function W in real time (t), then extrapolate the power consumption of each user.
B) time delay off-line monitoring, by the remote telemetry device such as intelligent switch, photoelectric sensor, obtain the switch conditions of each user after terminating at one day, according to 2., 3., 4., 5. formula calculate new weighting function W off-line (t), then extrapolate the power consumption of each user.
But c), if when weighting function can not be upgraded in time every day, a consumption departure function can be used to revise.First, assuming that the i-th (i=1, N) individual user is fluctuation at t power consumption every day, its value is Δ f, N number of wave function is just there is concerning N number of user, after M days (as 30 days) statistics, show that i-th user occurs the probability of fluctuation in t, and the fluctuation probability distribution function of a day.N number of probability distribution function is had concerning N number of user.In process afterwards, occur that the probability size of fluctuation is revised according to each user at t power consumption.
C.1) first, obtain in i-th user one month, (by intelligent apparatus or manually input), the wave function of every day, if i-th user is fluctuated in jth sky is:
Δ f
ij (t)=f
new ij (t)-f
old i (t)wherein i=1...., N; J=1...., 30 6.
Then, calculate and obtain in i-th user one month, occur the probability of fluctuation in t:
Wherein i=1 ..., N is 7.
Wherein, P is probability; One is unit function, and in one (x-T), when x-T is more than or equal to 0, its value is 1, and when x-T is less than 0, its value is 0; Abs (x) is ABS function; T is threshold value.
C.2) last according in t, who occurs the maximum probability of fluctuation, whose override obtains compensates, and is then arranged in order.As first found kth user's maximum probability, being worth for P, then adding correction Δ f now, each user power utilization amount G revises (k):
[p, k]=Max (P
t (i)) wherein i=1 ..., N is 8.
G
revise (k)=f
(k)+ Δ f
(k)wherein k=1 ..., N is 9.
When electricity consumption occurs that system is floated, as the change in season, the change etc. of electricity consumption device, this just needs by these information feed back to weighting function, and weighting function then correspondingly needs to carry out adaptively changing.
First, calculate whether new total electricity consumption function G is newly old with old total electricity consumption function G exists outstanding difference mutually by correlation analysis, when there is the difference on statistical significance when related coefficient, then think that both are different:
····················⑩
Wherein:
When two electricity consumption curves are significantly different, then calculate new weighting function, revise from 9. formula f, according to 2. and 3. formula:
W
new i (t)(11)
Each user power utilization amount (kilowatt):
G
new i (t)=W
new i (t)* G
always (t)wherein i=1 ..., N (12)
Each user power utilization total work (degree):
Ki(t)=∫G
i(t)dt··················(13)
If there is small probability, incident, electricity consumption component function cannot be obtained by (11) and (12) formula, then need the actual conditions checking user.
Accompanying drawing 4 ~ 8 is the design sketch adopting native system and method to obtain.