Professional Documents
Culture Documents
Design and Implementation of Large Scale Public Building Energy
Design and Implementation of Large Scale Public Building Energy
Research Article
Design and Implementation of Large-Scale Public Building Energy
Consumption Monitoring Platform Based on BP Neural Network
1
School of Urban Construction, Yangtze University, Jingzhou 434100, China
2
Yangtze University College of Arts and Sciences, Jingzhou 434100, China
Received 9 September 2021; Revised 30 September 2021; Accepted 6 October 2021; Published 19 October 2021
Copyright © 2021 Xiancheng Liu and Congxiang Tian. This is an open access article distributed under the Creative Commons
Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is
properly cited.
With the rapid development of network technology, people are increasingly dependent on the internet. When BP neural network
(BNN) performs simulation calculation, it has the advantages of fast training speed, high accuracy, and strong robustness and is
widely used in large-scale public (LSP) building energy consumption (BEC) monitoring platforms (LPB). Therefore, the purpose
of this paper to study the energy consumption monitoring platform of large public (LP) buildings is to better monitor the energy
consumption of public buildings, so as to supplement or remedy at any time. This article mainly uses the data analysis method and
the experimental method to carry on the relevant research and the system test to the BNN. The experimental results show that the
monitoring system (MS) platform designed in this paper has real-time performance, and its time consumption is between 2 s and
3 s, and the data accords with theory and reality.
performance. Compared with HTTP requests, it needs to (4) The building ECMS adopts the internet of things
wait for the client to initiate a request before the server can technology, which uses various smart meters on site
respond, and the delay is significantly less. WebSocket de- to collect the energy consumption of various elec-
fines extensions. Users can extend the protocol and im- trical equipment in the building.
plement some custom subprotocols.
It should be noted that the internet of things refers to
connecting any object with the network through information
sensing equipment according to the agreed protocol, and the
2.2.2. Web Service Interface Technology. From the per-
object exchanges and communicates information through the
spective of program application, Web Service is an appli-
information media. The internet of things is the information
cation that exposes to the outside world that it can call APIs
transmission and control between things, people, and things.
through the use of the web; from the perspective of software
There are the following key technologies in the application of
development, Web Service is a set of specifications for
the internet of things: sensor technology, which is also the key
implementing network service calls and releases [8, 9].
technology in computer application. Most computers process
digital signals. Since the advent of computers, sensors have been
2.2.3. XML Technology. According to the rules of XML, required to convert analog signals into digital signals for
various documents can be written, and data can be ex- computer processing. Embedded system technology: it is a
changed on the web or among many other data sources. In complex technology integrating computer software and hard-
the rules of XML, the XML document is divided into three ware, sensor technology, integrated circuit technology, and
parts, including XML declaration, XML elements, and op- electronic application technology.
tional processing instructions [10, 11].
LSP building ECMS is a relatively complex information
2.2.6. ZigBee Technology. The purpose of ZigBee technology
system integrating software and hardware. Its establishment
is to perfectly serve the establishment of wireless sensor
requires the use of various key technologies such as internet
networks in the industrial field and wireless communication
of things technology, communication technology, and sys-
networking in the control field. It has the advantages of
tem growth technology. These core technologies are dis-
strong self-organization, low complexity, low rate trans-
cussed below.
mission, economy, reliability, efficiency, and large capacity.
The ZigBee network has three topological structures.
ZigBee is a wireless network protocol with low speed and
2.2.4. B/S Architecture. This technology is a new network short distance transmission. It mainly relies on wireless
structure derived from the growth of the internet and web network for transmission. It can connect wirelessly in a short
technologies. It is an improvement to the C/S architecture, distance. Data transmission with large information capacity
and the B/S architecture has more advantages. LSP building is the main feature of ZigBee technology. In addition, an-
ECMSs provide real-time BEC information access services to other advantage of ZigBee technology is its strong com-
managers, operation and maintenance personnel, owners, patibility. When operating, it can connect the control
and the public, requiring different management and access network in the home without collision and can be well
rights. The B/S architecture has the characteristics of cen- integrated with the network. The characteristics of ZigBee
tralized data processing, flexible access methods, simple wireless communication technology are as follows: ZigBee’s
development and maintenance, and cross-platform opera- energy consumption is significantly lower than that of other
tion [12, 13]. wireless communication technologies; the investment cost
required for ZigBee R&D and use is low; ZigBee has high
safety and reliability.
2.2.5. Internet of Things Technology
(1) The perception layer is the basis of the internet of
things to identify objects and information collection 2.3. Building Energy Consumption Analysis Model Based on
and can also be called the sensing layer. BNN
(2) The network layer is the bridge of the entire internet 2.3.1. Feasibility of Automated Analysis of BEC
of things. It connects the perception layer and the
communication network as a channel for informa- (1) The existing BEC evaluation indicators include:
tion exchange and transmission to realize the Building energy intensity index: building energy in-
communication system of the internet of things. tensity indicators refer to the amount of building
(3) As the interface between the internet of things and energy consumed per unit area of a building, such as
users, the application layer has a high degree of lighting power consumption per square meter and air
intelligence and can be well integrated with industry conditioning power consumption per square meter.
needs. It can complete the functions of information Building energy efficiency indicators: building en-
collection, transmission, and aggregation of items ergy efficiency indicators refer to the ratio of services
and realize the intelligent application of the internet provided by energy-consuming equipment to the
of things [14]. amount of energy consumed.
4 Security and Communication Networks
The data basis of the model analysis in this paper is 2.4.1. Basic Functions of the System
the green BEC index data. The calculation of the
(1) According to the demand analysis of the real-time
index value is calculated based on the building’s one-
MS for BEC, this platform needs to implement the
day energy consumption data and equipment op-
following basic functions in order to achieve the final
eration data and is compared with the public
energy consumption monitoring tasks and goals.
building standard value.
(2) Data collection of BEC: According to the current
(2) The selection of indicator data is mainly based on the
tasks and main objectives of BEC monitoring, only
following three aspects:
electric energy data will be collected for the time
Universality: the selected index must be universal being, and water, coal, gas, etc. It can be planned in a
and applicable to public buildings. timely manner according to the situation in the
Representativeness: the selected BEC index must future.
meet the attributes that can directly or indirectly (3) Real-time transmission of energy consumption data
derive that the building has energy-saving potential. at the collecting end: The energy consumption data
Hierarchical: the selected index must be able to be collector is also responsible for packaging the col-
divided into levels or subitems, so that the weak links lected energy consumption data in a prescribed
of energy consumption of the building can be spe- format and remotely transmitting it to the system
cifically located, and the energy-saving potential item energy consumption database of the data center. This
can be found. transmission and control is through the hardware of
(3) The energy consumption building analysis model the data collector and the built-in management and
chooses the BNN to process and analyze the BEC control software to fulfill.
indicators for the following reasons: (4) Server-side energy consumption data reception and
Realize automatic knowledge acquisition. After the data analysis and storage. After the server receives
BNN is trained and learned, it can realize the au- the energy consumption data packet uploaded by the
tomatic acquisition of knowledge and can auto- collector, it needs to verify the correctness of the data
matically store the relevant rule knowledge. packet, and then split and analyze the energy con-
sumption data of the data packet according to the
The interference noise is eliminated. The BNN
energy splitting rules of the building.
learned through training can automatically eliminate
the noise interference in the BEC index data. (5) Statistical analysis of energy consumption data: Data
from energy consumption monitoring can be used
Improved analysis speed: in the process of analysis, if
for optimization calculations.
simple methods such as rule matching, process re-
cursion, and step backtracking are used to achieve (6) Upload the data to the superior department in
the purpose of reasoning and analysis, the analysis charge: The relevant data of the provincial building
speed is very slow. ECMS needs to be aggregated and uploaded to the
National Data Center in accordance with
Note that there are two definitions of building energy regulations.
consumption: generalized building energy consumption
refers to the whole process energy consumption from
building material manufacturing, building construction to 2.4.2. Performance Requirements
building use. In a narrow sense, building energy con-
sumption, that is, building operation energy consumption, is (1) Timeliness requirements: The real-time ECMS em-
people’s daily energy consumption, such as heating, air phasizes the real-time nature of data and has strong
conditioning, lighting, cooking, laundry and so on. Its main timeliness. The data required and the results after
features include: large climate differences between the South analysis and processing can reflect the real-time
and the north, large differences in energy consumption energy consumption in a timely manner.
between urban and rural housing, and large differences in (2) Security requirements: The security of the ECMS
energy consumption per unit building area except heating of includes the security of system access and data
public buildings of different sizes. security.
(3) System solution is also required.
2.4. The Overall Design of the Monitoring System. LSP The specific scheme of this system is shown in Figure 1.
building floors are mainly based on the monitored
buildings, and the energy consumption information of
these buildings is the main data processing object of this 2.4.3. System Framework. Taking into account the maturity
system. Therefore, the demand analysis of LSP building of BNN used in engineering and the real-time requirements
floors needs to be specific to the BEC. Process require- in intrusion detection, the system uses BNN as the artificial
ments and analyze the system requirements of the building intelligence part, which works in parallel with the traditional
owner. intrusion detection part.
Security and Communication Networks 5
Smart
to save the data passed by the data collector in real time, and energy-consuming equipment. Analyze energy effi-
the backup data is to save hourly and daily real-time data ciency and monitor energy consumption in real time.
backup, difference, and energy consumption value. (2) Page design:
(1) Software design: Login page: The user logs in to the system through
The data center module can achieve the following: the access address, user name, and password.
Authenticate the collector. Real-time monitoring page: The real-time moni-
toring page refers to the real-time monitoring/alarm
Send configuration information.
page. The page supports query operations, alarm
Monitor whether the data collector is working confirmation operations, and alarm mask
properly. operations.
Receive and store the data collected by the collector. Energy consumption information page: The energy
Back up historical data. consumption information overview page contains
Request a data collector. two subpages: energy billboards and indicator
rankings.
(2) Message boundary processing:
Building information page: Building information
The communication between the data center and the
provides users with an overview of energy-con-
data collector adopts the TCP communication mode.
suming building information, including basic in-
TCP processes the data in a stream mode, and there
formation and additional information.
is no message boundary.
Energy statistics page: The module is divided into five
In addition, TCP is designed to adapt to the hier-
parts: classified energy consumption statistics,
archical protocol hierarchy supporting multinetwork
itemized energy consumption statistics, time-sharing
applications. Paired processes in host computers
energy consumption statistics, component energy
connected to different but interconnected computer
consumption statistics, and meter energy con-
communication networks rely on TCP to provide
sumption statistics.
reliable communication services. In order to ensure
the reliability of message transmission, TCP gives
each packet a sequence number. At the same time, 3. System Test
the sequence number also ensures the sequential
3.1. System Test Content and Method. The test of BEC real-
reception of packets transmitted to the receiving
time MS mainly revolves around data collection, data
entity. Then, the receiving entity sends back a cor-
processing, function realization, and other aspects to assess
responding acknowledgement to the successfully
the overall ability of the system. For the testing of a software
received bytes. If the sending entity does not receive
system, in addition to the conventional ease of use, security,
an acknowledgement within a reasonable round-trip
compatibility, and other tests, the function realization of the
delay, the corresponding data will be retransmitted.
software system is often the focus. System performance
(3) Implementation of database access: testing is to test changes through load testing and stress
ADO.NET technology is used in the realization of testing.
database access.
(4) Central database design: 3.2. Function Test. Test environment deployment.
The database includes a total of seven tables. The Simulation server computer: install Windows Server
basic configuration table of point information in- 2018.
cludes fields such as point code, point name, device Simulate a client computer: install Windows XP.
address, device type, data address, and data type. Technical parameters are shown in Table 1.
Test preparation: according to the black box test method,
the test case is designed as the original data uploaded by the
2.6.2. Business display module. The application server of the client, and the data upload by the data collector is simulated.
platform software of the energy consumption monitoring
center uses Windows Server 2018 as the server operating
system. 3.2.1. Testing Process. The simulation client sends the test
energy consumption data packet XML file through FTP and
(1) Functional design: checks the files under the Ems Data folder of the simulation
The business display platform uses classified server to confirm whether the server can receive the data
household measurement data for electricity, water, packet normally, so as to detect the correctness of the data
gas, heat, and cold as the basis of comprehensive receiving module in the data acquisition subsystem. Check
statistical analysis, comprehensively counts various the functional modules of the data analysis subsystem, and
energy consumption data, and combines the energy log in to the system through the owner user to detect
use status and equipment operation status of various whether the user can correctly access the energy
Security and Communication Networks 7
Monitoring layer
Data access
TCP UDP
interface
Energy consumption
XML THREAD
function interface
consumption information of the relevant building and the collection frequency, and the test ignores the processing
whether the user can correctly query and statistical data. delay caused by the instability of the network or hardware.
4. Test Analysis
3.3. Performance Test. For building energy consumption
monitoring systems, the main users of building owners and 4.1. The Number of Collection Points and the Time-Consuming
government energy-saving department managers do not Performance Test of System Energy Consumption Collection.
often visit the system for business processing, so the system This test is to set that when the collection frequency is
load and pressure caused by this are not large. Therefore, in constant, the system will complete a test of the relationship
this performance test, after the energy consumption data is between the data collection time and the number of col-
sent from the data collector, it is transmitted to the system lection points for all collection points. The specific situation
data server through the network. The server receives and is shown in Table 2.
stores the original data packet, and the process of verifying, It can be seen from Figure 4 that the system can process
analyzing, and storing the data packet is regarded as one the data uploaded from the energy consumption collector in
time. The collection of energy consumption is time-con- a normal time. With the increase in the number of collection
suming, and the performance test of the data processing points, the time-consuming collection of energy con-
capability of the system is carried out. The test is carried out sumption is more time-consuming than the theoretical time
by setting the number of monitoring collection points and consumption.
8 Security and Communication Networks
Table 2: Number of collection points and energy consumption 450 430 1.55
collection time-consuming test results. 1.536
400 1.5
Number of collection Theoretical time Actual time 350
280 1.45
points consumption consumption 300
Multiple
250 1.4
1 3 2
Tme
200 1.384
200 1.368
15 3 2.1 150
1.35
1.333 130 1.333
30 3 2.3 150
1.3
95 100 90
45 3 2.5 100 75 65
60 3 2.7 50 1.25
0 1.2
8 16 24 32 40
3.5 Frequency
3 3 3 3 3
3 2.7 20, Time consuming
2.3 2.5
2.5 2 2.1 60 Time consuming
2
Time
Multiple relationship
1.5
1 Figure 5: Collection frequency and energy consumption collection
0.5 time-consuming test results.
0
1 15 30 45 60
Nodes and energy consumption. Experimental results show that
Theoretical time-consuming when the sampling interval is shorter and the number of
Actual time-consuming collection points is high, the time-consuming collection of
energy consumption will increase. Therefore, in this ex-
Figure 4: Number of collection points and energy consumption
collection time-consuming test results.
periment, it is necessary to select an appropriate frequency to
ensure the operation of the system and the accuracy of the
results. With the advent of the cloud era, big data has also
Table 3: Collection frequency and energy consumption collection attracted more and more attention. Against the backdrop of
time-consuming test results. technological innovation represented by cloud computing,
Acquisition 20, time 60, time Multiple these data that originally seemed difficult to collect and use
frequency consuming consuming relationship began to be easily used. Through continuous innovation in
8 280 430 1.536 all walks of life, big data will gradually create more value for
16 150 200 1.333 mankind.
24 95 130 1.368
32 75 100 1.333 Data Availability
40 65 90 1.384
The experimental data used to support the findings of this
4.2. Collection Frequency and System Energy Consumption study are available from the corresponding author upon
Collection Time-Consuming Performance Test. Different request.
users have different requirements for data accuracy. In this
test, the collection points are set to 20 and 60, respectively, Conflicts of Interest
and the collection frequency is selected at 8 minutes, 16
minutes, 24 minutes, 32 minutes, and 40 minutes, respec- The authors declare that they have no conflicts of interest.
tively. The specific test results are shown in Table 3.
It can be seen from Figure 5 that the shorter the sampling Acknowledgments
interval, the more the number of collection points, and the
more time taken to collect energy consumption. In order to This work was supported by Science and Technology Re-
ensure the performance of system data processing, an ap- search Project of Hubei Education Department, No.
propriate collection frequency should be set to ensure the B2020345.
normal operation of the system.
References
5. Conclusion [1] M. Li, M. Liu, and M. Zhao, “Energy consumption prediction
With the changes of the times, people’s demand for and of large public buildings based on PCA-BP neural network,”
Modern Building Electricity, vol. 7, no. 4, pp. 5–9, 2016.
consumption of energy are increasing. In this big data, high-
[2] J. Li and Y. Jiang, “Research on electricity consumption
speed, and intelligent society, for some LSP construction prediction of public buildings based on BP neural network,”
energy-consuming enterprises, using internet technology to Software Guide, vol. 018, no. 7, pp. 49–52, 2019.
calculate and predict people’s energy consumption is a way [3] Z. Chen, W. Wang, and H. Jingquan, “LoRa-based energy
worth trying. The public building ECMS studied in this consumption monitoring of large public buildings,” Computer
paper calculates the detection time of power consumption and Digital Engineering, vol. 48, no. 373, pp. 73–78, 2020.
Security and Communication Networks 9