Disclosure of Invention
One or more embodiments of the present specification provide a method, an apparatus, and a medium for detecting abnormal energy consumption of an apparatus in a tunnel, which are used to solve the following technical problems: because the types and the quantity of the tunnel devices in the tunnel are large, and the tunnel environment also has certain influence on the operation of the tunnel devices, the conventional device energy consumption detection method does not consider the factors, and can not detect abnormal energy consumption devices in time.
One or more embodiments of the present disclosure adopt the following technical solutions:
one or more embodiments of the present specification provide a method for detecting an abnormal energy consumption of a device in a tunnel, where the method includes: acquiring current electric energy data of tunnel equipment and current environment data in a tunnel, wherein the tunnel equipment comprises power supply equipment and a plurality of tunnel control equipment; determining an energy-saving control parameter of each tunnel control device based on the current environment data so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device; generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter; judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data of the power supply equipment in the current electric energy data and the specified power supply amount; if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption in the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameters so as to realize the detection of the equipment with abnormal energy consumption.
Optionally, in one or more embodiments of the present specification, determining an energy saving control parameter of each tunnel control device based on the current environment data specifically includes: determining a current device type of a current tunnel control device, wherein the device type comprises a lighting device, a ventilation device and a broadcasting device; acquiring specified environment data from the current environment data according to the current device type of the current tunnel control device, wherein the specified environment data is related to the running state of the current tunnel control device; and acquiring the equipment parameters of the current tunnel control equipment, and setting the energy-saving control parameters of the current tunnel control equipment under the current environmental data through the equipment parameters of the current tunnel control equipment and the specified environmental data.
Optionally, in one or more embodiments of the present specification, acquiring, by using the current device type of the current tunnel control device, specified environment data from the current environment data specifically includes: acquiring a mapping relation between a pre-constructed environmental data type and an equipment type; determining an environment data type corresponding to the current equipment type according to the current equipment type of the current tunnel control equipment and the mapping relation; dividing the current environment data into a plurality of environment data types according to a preset classification rule, wherein the environment data types comprise illumination environment data, air composition environment data and air flowing environment data; and determining the specified environmental data corresponding to the environmental data type in the current environmental data according to the environmental data type corresponding to the current equipment type.
Optionally, in one or more embodiments of the present specification, when the tunnel control device is a lighting device, setting, by using the device parameter of the current tunnel control device and the specified environment data, an energy saving control parameter of the current tunnel control device under the current environment data specifically includes: when the tunnel control device is a lighting device, determining the specified environment data as the environment brightness at a plurality of positions in the tunnel; determining adjacent environment brightness at the adjacent position of the lighting equipment in the specified environment data through equipment installation position information in equipment parameters of the lighting equipment, wherein the equipment installation position information is used for representing the position of the lighting equipment in the tunnel; determining the tunnel illumination brightness level of the illumination equipment according to the adjacent environment brightness; calculating the illumination power corresponding to the illumination equipment under each illumination grade through the illumination grade in the equipment parameters of the illumination equipment and a preset power calculation rule; and determining the tunnel illumination brightness level of the illumination equipment according to the adjacent environment brightness, so as to determine the illumination power of the illumination equipment according to the tunnel illumination brightness level, and taking the illumination power as an energy-saving control parameter of the illumination equipment.
Optionally, in one or more embodiments of the present specification, when the tunnel control device is a ventilation device, setting, by using the device parameter of the current tunnel control device and the specified environment data, an energy saving control parameter of the current tunnel control device under the current environment data specifically includes: when the tunnel control equipment is ventilation equipment, determining the specified environment data as the air flow speed and the gas composition in the tunnel; determining the air flow speed and the gas composition at the position adjacent to the ventilation equipment in the specified environment data through equipment installation position information in equipment parameters of the ventilation equipment so as to determine the ventilation quantity required in the tunnel, wherein the equipment installation position information is used for representing the position of the ventilation equipment in the tunnel; calculating ventilation power corresponding to the ventilation equipment under each ventilation quantity according to the ventilation quantity grade in the equipment parameters of the ventilation equipment and a preset power calculation rule; and determining the current ventilation rate grade of the ventilation equipment according to the ventilation rate required in the tunnel, so as to determine the ventilation power of the ventilation equipment according to the current ventilation rate grade, and taking the ventilation power as an energy-saving control parameter of the ventilation equipment.
Optionally, in one or more embodiments of the present specification, the generating, by using the electric energy data of each tunnel control device under the energy saving control parameter, a specified power supply amount of the power supply device specifically includes: acquiring a circuit connection relation between the power supply equipment and the plurality of tunnel control equipment; determining an operation rule of electric energy data of the plurality of tunnel control devices under the energy-saving control parameters based on the circuit connection relation; and according to the operation rule, calculating the electric energy data of the plurality of tunnel control devices under the energy-saving control parameters to obtain the specified power supply amount of the power supply device.
Optionally, in one or more embodiments of the present specification, determining, according to the current electric energy data of each tunnel control device in the current electric energy data and the electric energy data of each tunnel control device under the energy saving control parameter, a specified tunnel control device with abnormal energy consumption in the plurality of tunnel control devices specifically includes: calculating a difference value between the current electric energy data of each tunnel control device in the current electric energy data and the electric energy data of each tunnel control device under the energy-saving control parameters to obtain a theoretical difference value of each tunnel control device; obtaining a theoretical difference absolute value of each tunnel control device based on the theoretical difference of each tunnel control device; and judging the relation between the theoretical difference absolute value of each tunnel control device and a preset difference threshold, and taking the appointed tunnel control device, of the plurality of tunnel control devices, with the theoretical difference absolute value larger than the preset difference threshold as the tunnel control device with abnormal energy consumption.
Optionally, in one or more embodiments of the present specification, the determining, based on the current electric energy data of the power supply device in the current electric energy data and the specified power supply amount, whether the power supply device has an energy consumption abnormality specifically includes: converting the current electric energy data of the power supply equipment into the actual power supply quantity of the power supply equipment according to a preset calculation rule; calculating a difference value between an actual power supply amount of the power supply device and the specified power supply amount; and if the absolute value of the difference is larger than a preset power supply error threshold value, judging that the power supply equipment has abnormal energy consumption.
One or more embodiments of the present specification provide an apparatus for detecting an abnormal energy consumption of an apparatus in a tunnel, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring current electric energy data of tunnel equipment and current environment data in a tunnel, wherein the tunnel equipment comprises power supply equipment and a plurality of tunnel control equipment; determining an energy-saving control parameter of each tunnel control device based on the current environment data so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device; generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter; judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data of the power supply equipment in the current electric energy data and the specified power supply amount; if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption in the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameters so as to realize the detection of the equipment with abnormal energy consumption.
One or more embodiments of the present specification provide a non-transitory computer storage medium storing computer-executable instructions configured to:
acquiring current electric energy data of tunnel equipment and current environment data in a tunnel, wherein the tunnel equipment comprises power supply equipment and a plurality of tunnel control equipment; determining an energy-saving control parameter of each tunnel control device based on the current environment data so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device; generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter; judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data of the power supply equipment in the current electric energy data and the specified power supply amount; if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption in the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameters so as to realize the detection of the equipment with abnormal energy consumption.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: the tunnel equipment is divided into the power supply equipment and the tunnel control equipment, the primary judgment of all the tunnel equipment is realized through the data analysis of the power supply equipment by utilizing the power supply characteristics of the power supply equipment, each tunnel control equipment does not need to be analyzed, the abnormal energy consumption condition of the equipment in the tunnel can be found in time, and the timeliness of abnormal energy consumption monitoring is improved; in addition, when energy consumption judgment is carried out, the environment in the tunnel is considered, the energy-saving control parameter of each tunnel control device is set according to the current tunnel environment data, the electric energy data corresponding to the energy-saving control parameter is calculated, the specified power supply quantity of the power supply device is generated according to the electric energy data of each tunnel control device and is used as a reference value, the device is guaranteed to be kept in a normal operation state in a most energy-saving mode under the current environment, and unnecessary energy loss is reduced.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present specification without any creative effort shall fall within the protection scope of the present specification.
The embodiment of the present specification provides a method for detecting an abnormal energy consumption of a device in a tunnel, where an execution subject in the embodiment of the present specification may be a server, or may be any device having a data processing capability. Fig. 1 is a schematic flowchart of a method for detecting abnormal energy consumption of a device in a tunnel according to an embodiment of the present specification, and as shown in fig. 1, the method mainly includes the following steps:
step S101, acquiring current electric energy data of tunnel equipment and current environment data in a tunnel.
The tunnel device includes a power supply device and a plurality of tunnel control devices.
In a road tunnel, in order to ensure the driving safety of drivers, a plurality of tunnel devices are usually arranged in the tunnel. The tunnel road is illuminated by the lighting equipment, so that the visual field in the driving process is clear, the road surface condition in the tunnel is improved, the visual enjoyment in the tunnel is improved, the fatigue of a driver is relieved, and the improvement of the tunnel traffic capacity is facilitated to ensure the traffic safety. In addition, the lighting equipment is arranged at different positions and plays different roles, the lighting equipment arranged in the middle section of the tunnel is used for lighting the road, and the lighting equipment arranged at the hole is used for weakening the light adaptation and the dark adaptation caused by the brightness change of the visual field. The tail gas in the running process of the vehicle in the tunnel is relieved by arranging the ventilation equipment, and the air circulation in the tunnel is kept. Through the arrangement of broadcast equipment, voice prompt is carried out on a driver, and the driver is reminded of paying attention to the special driving environment of the tunnel; in addition, the monitoring device is arranged, illegal driving behaviors of the driver are monitored through the monitoring device, the driver is stimulated to comply with traffic regulations, and various emergencies in the tunnel can be monitored.
In an embodiment of the present specification, current power data of the tunnel device and current environment data in the tunnel are obtained, where the power data may refer to current power consumption of the tunnel device, or may be other power parameters that can measure energy consumption. The current environmental data can be obtained by an environment detection sensor, and can be brightness in the tunnel, air flow speed in the tunnel, gas composition in the air, and environmental humidity and environmental temperature data in the tunnel. The tunnel device includes a power supply device and a plurality of tunnel control devices, where the tunnel control devices refer to lighting devices, ventilation devices, broadcasting devices, monitoring devices, and the like, and such devices all require an external power supply, and therefore, a power supply device is also required.
Step S102, determining an energy-saving control parameter of each tunnel control device based on the current environment data, so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device.
The environment of the tunnel may affect the energy saving control parameters of the tunnel control device, for example, if the brightness of the tunnel in the environment is high, the lighting device at the corresponding position of the tunnel may set a lower illumination brightness, and conversely, if the brightness in the tunnel is low, the lighting device at the corresponding position may set a higher illumination brightness. The illumination equipment has different brightness levels and different required electric energy, energy-saving parameters of the tunnel control equipment are set through environment data, the energy consumption of the tunnel control equipment can be further reduced, the illumination time of each illumination equipment can be set according to the brightness at different positions, and when the brightness in the tunnel is higher, a plurality of equipment indirect illumination modes can be adopted. Similarly, the ventilation rate of the ventilation device and the auxiliary air flow efficiency can be determined according to the air flow speed and the air composition. In addition, the broadcasting equipment externally plays the prompt tone, the air composition in the tunnel is different from the environment humidity, and the sound transmission can be influenced to a certain extent, so that the playing volume of the broadcasting equipment can be determined according to the air composition and the environment humidity in the environment.
Determining energy-saving control parameters of each tunnel control device based on the current environment data, specifically comprising: determining a current device type of a current tunnel control device, wherein the device type comprises a lighting device, a ventilation device and a broadcasting device; acquiring appointed environment data from the current environment data according to the current device type of the current tunnel control device, wherein the appointed environment data is related to the running state of the current tunnel control device; and acquiring the equipment parameters of the current tunnel control equipment, and setting the energy-saving control parameters of the current tunnel control equipment under the current environmental data through the equipment parameters of the current tunnel control equipment and the specified environmental data.
In one embodiment of the present specification, a plurality of tunnel control devices are provided in a tunnel, and the tunnel control devices are different in kind and are affected differently by environmental factors, in other words, different types of tunnel control devices are affected by different tunnel environment data. The tunnel control devices are classified into a plurality of types in advance, and the device types include lighting devices, ventilation devices and broadcasting devices. Determining the current device type of the current tunnel control device, and acquiring appointed environment data in the current environment data, wherein the appointed environment data is related to the running state of the current tunnel control device. It should be noted that the operation state here may be a device level, such as a middle lighting level, a high ventilation level. And acquiring the equipment parameters of the current tunnel control equipment from a pre-stored database according to the equipment name of the current tunnel control equipment so as to set the energy-saving control parameters of the current tunnel control equipment under the current environmental data through the equipment parameters of the current tunnel control equipment and the specified environmental data.
Acquiring specified environment data from the current environment data according to the current device type of the current tunnel control device, wherein the method specifically comprises the following steps: acquiring a mapping relation between a pre-constructed environmental data type and an equipment type; determining an environment data type corresponding to the current equipment type according to the current equipment type of the current tunnel control equipment and the mapping relation; dividing the current environment data into a plurality of environment data types according to a preset classification rule, wherein the environment data types comprise illumination environment data, air composition environment data and air flowing environment data; and determining the specified environment data corresponding to the environment data type in the current environment data according to the environment data type corresponding to the current equipment type.
In one embodiment of the present description, a large amount of historical environmental data is obtained, along with the level of operation of different types of tunnel control devices under the historical environmental data. And performing correlation analysis on the historical environmental data and the operation grades of the different types of tunnel control equipment to obtain the environmental data types related to the operation grades of each type of tunnel control equipment. Based on the method, a mapping relation between the environment data type and the device type is constructed. And determining the type of the environmental data influencing the type of the equipment according to the mapping relation table of the types of the environmental data and the equipment and the type of the equipment of the current tunnel control equipment. It should be noted that, the current environment data also needs to be divided into a plurality of environment data types, where the classification rule may be divided according to data sources, and a device identifier is set for each data acquisition device, where the device identifier is used to identify the type of the environment data that can be acquired, for example, a brightness identifier may be set for a brightness sensor, and if there is brightness information with the brightness identifier in the environment data, the environment data is classified as illumination-type environment data. And determining the specified environment data corresponding to the environment data type in the current environment data according to the environment data type corresponding to the current equipment type. And setting the energy-saving control parameters of the current tunnel control equipment under the current environment data through the equipment parameters of the tunnel control equipment and the specified environment data, wherein the equipment parameters comprise but are not limited to the installation position of the equipment, various factory parameters of the equipment and various normal operation parameters of the equipment.
It should be noted that different types of tunnel control devices have different ways of setting the energy saving control parameter of the current tunnel control device under the current environment data through the device parameter of the tunnel control device and the specified environment data.
When the tunnel control device is an illumination device, setting an energy-saving control parameter of the current tunnel control device under the current environment data through the device parameter of the current tunnel control device and the specified environment data, specifically including: when the tunnel control device is a lighting device, determining the specified environment data as the environment brightness at a plurality of positions in the tunnel; determining the adjacent environment brightness at the adjacent position of the lighting equipment in the specified environment data through equipment installation position information in the equipment parameters of the lighting equipment, wherein the equipment installation position information is used for representing the position of the lighting equipment in the tunnel; determining the tunnel illumination brightness level of the illumination equipment according to the adjacent environment brightness; calculating the illumination power corresponding to the illumination equipment under each illumination grade according to the illumination grade in the equipment parameters of the illumination equipment and a preset power calculation rule; and determining the illumination power of the illumination equipment according to the tunnel illumination brightness level, and taking the illumination power as an energy-saving control parameter of the illumination equipment.
In one embodiment of the present specification, when the tunnel control device is a lighting class device, the type of environment data corresponding to the lighting class device is lighting class environment data. There may be differences in illumination data at different locations of the tunnel, for example, there may be large differences in brightness at the tunnel mouth and in the tunnel middle. Therefore, the lighting-class environment data includes the ambient brightness at a plurality of positions, that is, the environment data is specified as the ambient brightness at a plurality of positions in the tunnel. The device installation position information in the device parameters is used for determining the adjacent environment brightness at the position adjacent to the current tunnel control device in the appointed environment data, the position of the illumination device in the tunnel can be identified due to the device installation position information, and when the environment data uploaded by the data acquisition device is acquired, the device identification and the device position of the data acquisition device can be carried in the environment data, so that the adjacent environment brightness at the position adjacent to the current tunnel control device can be determined based on the device installation position information and the device position.
And determining the tunnel illumination brightness level of the illumination type equipment through the adjacent environment brightness, wherein the illumination brightness level can be equipment first-gear illumination, equipment second-gear illumination and equipment third-gear illumination, wherein the illumination brightness of the equipment first-gear illumination is lower than that of the equipment second-gear illumination, and the illumination brightness of the equipment second-gear illumination is lower than that of the equipment third-gear illumination. And calculating the corresponding illumination power of the illumination equipment under each illumination grade through the illumination grade in the equipment parameters of the illumination equipment and a preset power calculation rule. The factory parameters of the lighting devices are provided with the lighting grade of each lighting device and the working parameters under the lighting grade, and the lighting power corresponding to each lighting grade can be obtained through calculation according to the working parameters under the lighting grade. And determining the illumination power of the illumination equipment according to the illumination brightness level of the tunnel, and taking the illumination power as an energy-saving control parameter of the illumination equipment. That is, for the current tunnel environment, the device operation parameters corresponding to the energy-saving control parameters can satisfy the normal operation of the tunnel device. It should be noted that, in addition to the illumination brightness level, the working time of each illumination device can be set to realize the spaced working of two adjacent illumination devices, so as to achieve the effects of energy saving and emission reduction.
When the tunnel control device is a ventilation device, setting energy-saving control parameters of the current tunnel control device under the current environmental data through the device parameters of the current tunnel control device and the specified environmental data, specifically including: when the tunnel control equipment is ventilation equipment, determining the specified environmental data as the air flow speed and the gas composition in the tunnel; determining the air flow speed and the gas composition at the position adjacent to the ventilation equipment in the specified environment data through equipment installation position information in equipment parameters of the ventilation equipment so as to determine the required ventilation quantity in the tunnel, wherein the equipment installation position information is used for indicating the position of the ventilation equipment in the tunnel; calculating the ventilation power corresponding to the ventilation equipment under each ventilation quantity according to the ventilation quantity grade in the equipment parameters of the ventilation equipment and a preset power calculation rule; and determining the current ventilation rate grade of the ventilation equipment according to the ventilation rate required in the tunnel, so as to determine the ventilation power of the ventilation equipment according to the current ventilation rate grade, and taking the ventilation power as an energy-saving control parameter of the ventilation equipment.
In one embodiment of the present description, when the tunnel control device is a ventilation type device, the operation of the classifying device is related to the air flow velocity and the gas composition in the environment. That is, the specified environmental data are the air flow velocity and the gas composition within the tunnel. The specified environmental data at the adjacent position is determined by the device installation position information in the device parameters in the same manner as the adjacent position determination in the ventilation type device. The required ventilation quantity in the tunnel, namely the ventilation quantity required to be provided by the ventilation type equipment under the current environment is determined through analyzing the air flow speed and the gas composition at the adjacent position of the ventilation type equipment.
The ventilation power corresponding to the ventilation equipment under each ventilation quantity is calculated through the ventilation quantity grade in the equipment parameters of the ventilation equipment and a preset power calculation rule, the ventilation quantity grade of each ventilation equipment and working parameters under the ventilation quantity grade are set in factory parameters of the ventilation equipment, and the ventilation power corresponding to each ventilation quantity grade can be calculated through the working parameters under the ventilation quantity grade. And determining the ventilation volume grade of the ventilation equipment according to the ventilation volume required to be provided by the ventilation equipment in the former environment, further determining the ventilation power, and taking the ventilation power as an energy-saving control parameter of the ventilation equipment.
In an embodiment of the present specification, the energy-saving control parameter of the broadcast device may be device operating power, and since the propagation of the broadcast sound in the tunnel is closely related to the air composition in the tunnel, the broadcast volume and the broadcast time are set by the air composition in the tunnel, and the operating power of the device is obtained as the energy-saving control parameter.
In an embodiment of the present specification, the electric energy data of each tunnel control device under the energy saving control parameter is generated through the energy saving control parameter of each tunnel control device, it should be noted that the electric energy data of the tunnel control device under the energy saving control parameter may be understood as the electric energy data required by the device under the current environment, and the electric energy data may be the power consumption in a fixed time interval, for example, the electric energy required by operating for one hour under the current environment.
And step S103, generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter.
Generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameters, specifically comprising: acquiring the circuit connection relation between the power supply equipment and a plurality of tunnel control equipment; determining an operation rule of the electric energy data of the plurality of tunnel control devices under the energy-saving control parameter based on the circuit connection relation; and according to the operation rule, calculating the electric energy data of the plurality of tunnel control devices under the energy-saving control parameter to obtain the specified power supply amount of the power supply device.
Due to different tunnel lengths, for a shorter tunnel, the number of tunnel control devices in the tunnel is relatively small, and there may be one required power supply device.
In one embodiment of the present specification, a circuit connection relationship between the power supply apparatus and the tunnel control apparatus is obtained, where the connection relationship includes a connection relationship between the power supply apparatus and a plurality of tunnel control apparatuses and a connection relationship between the plurality of tunnel control apparatuses. The method comprises the steps of determining an operation rule of electric energy data under the energy-saving control parameters through a circuit connection relation, wherein the operation rule can be in a superposition mode or other complex operations, and according to the operation rule, operating the electric energy data under the energy-saving control parameters of a plurality of tunnel control devices to obtain the specified power supply quantity of the power supply device, wherein the specified power supply quantity refers to the theoretical power supply quantity which needs to be provided for maintaining the operation of the plurality of tunnel control devices under the energy-saving control parameters for a fixed time interval under the current environment, and the fixed time can be ten minutes or one hour. And if a plurality of power supply equipment exist, calculating the control equipment which supplies power to the same power supply equipment in the plurality of tunnel control equipment according to the circuit connection relation to obtain the theoretical power supply quantity of each power supply equipment.
And step S104, judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data and the specified power supply quantity of the power supply equipment in the current electric energy data.
Based on the current electric energy data and the specified power supply amount of the power supply equipment in the current electric energy data, judging whether the power supply equipment has energy consumption abnormality, and specifically comprising the following steps: converting the current electric energy data of the power supply equipment into the actual power supply quantity of the power supply equipment according to a preset calculation rule; calculating a difference between an actual power supply amount of the power supply apparatus and the specified power supply amount; and if the absolute value of the difference is larger than a preset power supply error threshold, judging that the power supply equipment has abnormal energy consumption.
In an embodiment of the present specification, the current power data of the power supply device is converted into the actual power supply amount of the power supply device according to a preset calculation rule, where the calculation rule may be an electric amount calculation manner in the power field. And calculating a difference value between the actual power supply amount and the specified power supply amount of the power supply equipment, and if the absolute value of the difference value is greater than a preset power supply error threshold value, judging that the power supply equipment has abnormal energy consumption.
Step S105, if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption from the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameters, so as to realize the detection of the equipment with abnormal energy consumption.
According to the current electric energy data of each tunnel control device in the current electric energy data and the electric energy data of each tunnel control device under the energy-saving control parameters, the specified tunnel control device with abnormal energy consumption is determined in the plurality of tunnel control devices, and the method specifically comprises the following steps: calculating the difference value between the current electric energy data of each tunnel control device in the current electric energy data and the electric energy data of each tunnel control device under the energy-saving control parameter to obtain the theoretical difference value of each tunnel control device; obtaining a theoretical difference absolute value of each tunnel control device based on the theoretical difference of each tunnel control device; and judging the relation between the theoretical difference absolute value of each tunnel control device and a preset difference threshold, and taking the appointed tunnel control device of the plurality of tunnel control devices, of which the theoretical difference absolute value is greater than the preset difference threshold, as the tunnel control device with abnormal energy consumption.
In an embodiment of the present specification, if the power supply device has an abnormal energy consumption, it indicates that an operation failure occurs in the tunnel control device, and therefore, the tunnel control device having the abnormal energy consumption needs to be determined according to a data comparison between current energy data of each tunnel control device in the current energy data and energy data of each tunnel control device under the energy-saving control parameter.
And calculating the difference value between the current electric energy data of each tunnel control device and the electric energy data of each tunnel control device under the energy-saving control parameters to obtain the theoretical difference value of each tunnel control device, and calculating the difference value absolute value from the theoretical difference value to obtain the theoretical difference value absolute value. And judging the size relation between the theoretical difference absolute value of each tunnel control device and a preset difference threshold, and taking the appointed tunnel control device of the plurality of tunnel control devices, of which the theoretical difference absolute value is greater than the preset difference threshold, as the tunnel control device with abnormal energy consumption.
According to the technical scheme, the tunnel equipment is divided into the power supply equipment and the tunnel control equipment, the primary judgment of all the tunnel equipment is realized through data analysis of the power supply equipment by utilizing the power supply characteristics of the power supply equipment, each tunnel control equipment does not need to be analyzed, the abnormal energy consumption condition of the equipment in the tunnel can be found in time, and the timeliness of abnormal energy consumption monitoring is improved; in addition, when energy consumption judgment is carried out, the environment in the tunnel is considered, the energy-saving control parameter of each tunnel control device is set according to the current tunnel environment data, the electric energy data corresponding to the energy-saving control parameter is calculated, the specified power supply quantity of the power supply device is generated according to the electric energy data of each tunnel control device and is used as a reference value, the device is guaranteed to be kept in a normal operation state in a most energy-saving mode under the current environment, and unnecessary energy loss is reduced.
An embodiment of the present specification further provides an apparatus for detecting an abnormal energy consumption of an apparatus in a tunnel, where fig. 2 is a schematic structural diagram of the apparatus for detecting an abnormal energy consumption of an apparatus in a tunnel provided in the embodiment of the present specification, and as shown in fig. 2, the apparatus includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to:
acquiring current electric energy data of tunnel equipment and current environment data in a tunnel, wherein the tunnel equipment comprises power supply equipment and a plurality of tunnel control equipment; determining an energy-saving control parameter of each tunnel control device based on the current environment data so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device; generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter; judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data of the power supply equipment in the current electric energy data and the specified power supply amount; if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption in the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameter so as to realize the detection of the equipment with abnormal energy consumption.
Embodiments of the present specification also provide a non-volatile computer storage medium storing computer-executable instructions configured to:
acquiring current electric energy data of tunnel equipment and current environment data in a tunnel, wherein the tunnel equipment comprises power supply equipment and a plurality of tunnel control equipment; determining an energy-saving control parameter of each tunnel control device based on the current environment data so as to generate electric energy data of each tunnel control device under the energy-saving control parameter through the energy-saving control parameter of each tunnel control device; generating the specified power supply amount of the power supply equipment through the electric energy data of each tunnel control equipment under the energy-saving control parameter; judging whether the power supply equipment has abnormal energy consumption or not based on the current electric energy data of the power supply equipment in the current electric energy data and the specified power supply amount; if the power supply equipment has abnormal energy consumption, determining the specified tunnel control equipment with abnormal energy consumption in the plurality of tunnel control equipment according to the current electric energy data of each tunnel control equipment in the current electric energy data and the electric energy data of each tunnel control equipment under the energy-saving control parameter so as to realize the detection of the equipment with abnormal energy consumption.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the device, and the nonvolatile computer storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiments of the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is merely one or more embodiments of the present disclosure and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments of the present description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of the claims of the present specification.