A building intelligent optimization method and system based on BIM software
By building a digital twin model in the building and using the enhanced PSO algorithm to optimize HVAC settings, the problem of insufficient information support and energy waste in the operation and maintenance phases of the building energy management system is solved, and real-time optimization of building performance and energy efficiency improvement are achieved.
Patent Information
- Application Number
- CN202410548894.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-06
AI Technical Summary
The existing building energy management system lacks effective information support and data integration during the operation and maintenance stages, resulting in serious energy waste and the lack of an intelligent decision support system.
The building intelligent optimization method based on BIM software extracts key data of the building model, builds a digital twin model, and combines real-time sensor data to update and optimize HVAC status. It uses the enhanced PSO algorithm to adjust HVAC settings to achieve energy efficiency and cost optimization. .
It improves the integration and efficiency of building information management, reduces energy waste, improves living comfort and operating cost management, and achieves real-time optimization and precise control of building performance.
Smart Images

Figure CN118313964B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building design management, and in particular to a building intelligent optimization method and system based on BIM software. Background Art
[0002] With the acceleration of urbanization, the challenges of energy consumption and environmental impact of buildings are becoming increasingly severe. According to statistics, energy consumption in the operation stage of buildings accounts for about 40% of global energy consumption. Existing building energy management systems often rely on traditional control strategies, which are mostly static and lack adaptability to environmental changes and occupant behavior. For example, HVAC (Heating, Ventilation, and Air Conditioning) systems often operate at non-optimal times or conditions, resulting in serious energy waste.
[0003] BIM (Building Information Modeling) technology is a revolutionary building information management tool that can provide a three-dimensional digital representation of a building. Although BIM technology has been widely used in the design and construction phases of building projects, it is less integrated in the operation and maintenance phases. BIM models are often not updated or used after the project is completed, resulting in a lack of effective information support in the operation phase. In addition, the lack of data integration between various systems and equipment in the building, the existence of data island problems, and the lack of efficient data analysis tools and intelligent decision support systems make it difficult for building managers to optimize building performance in real time.
[0004] In response to the above problems, the industry has not yet proposed a better technical solution. Summary of the invention
[0005] The present invention provides a building intelligent optimization method, system, electronic device, storage medium and computer program product based on BIM software, which are used to at least solve the problem that BIM software in the prior art cannot support the optimization of building performance in the operation and maintenance stages.
[0006] The present invention provides a building intelligent optimization method based on BIM software, comprising: based on BIM software with an open API interface, extracting key data of building model from the BIM model corresponding to the target building to be optimized; the key data of building model includes building geometry, material properties, space layout and current HVAC settings; based on the key data of building model, constructing a digital twin model for the target building; based on sensor modules deployed at various preset key positions in the target building, respectively collecting corresponding real-time building space sensor data; the sensor modules include temperature and humidity sensors, air flow sensors, CO2 sensors and energy consumption monitors; based on the real-time building space sensor data, updating the real-time HVAC status of each model space in the digital twin model; and updating the real-time HVAC status of each model space in the digital twin model. The state and the historical HVAC state set of the digital twin model corresponding to the preset historical time period are input into a preset HVAC setting evaluation model to determine an HVAC evaluation report corresponding to the current HVAC setting; the HVAC evaluation report includes energy efficiency prediction results, cost prediction results and comfort prediction results for each model space; according to the energy efficiency prediction results, the cost prediction results and the comfort prediction results, at least one target model space in the digital twin model that needs to perform HVAC setting optimization is determined; for each of the target model spaces, at least one candidate HVAC setting adjustment scheme corresponding to the target model space is determined, and a target HVAC setting adjustment scheme for the target model space is determined from each of the candidate HVAC setting adjustment schemes according to the enhanced PSO algorithm.
[0007] The present invention also provides a building intelligent optimization system based on BIM software, including: a key data extraction unit, configured to extract building model key data from the BIM model corresponding to the target building to be optimized based on BIM software with an open API interface; the building model key data includes building geometry, material properties, space layout and HVAC current settings; a twin model construction unit, configured to construct a digital twin model for the target building based on the building model key data; a sensor data acquisition unit, configured to respectively collect corresponding real-time building space sensor data based on sensor modules deployed at various preset key positions in the target building; the sensor modules include temperature and humidity sensors, air flow sensors, CO2 sensors and energy consumption monitors; a twin model update unit, configured to update the real-time HVAC status of each model space in the digital twin model based on the real-time building space sensor data; HVAC settings A setting evaluation unit is configured to input the real-time HVAC state and the historical HVAC state set of the digital twin model corresponding to the preset historical time period into a preset HVAC setting evaluation model to determine an HVAC evaluation report corresponding to the current HVAC setting; the HVAC evaluation report includes energy efficiency prediction results, cost prediction results and comfort prediction results for each model space; an optimization space determination unit is configured to determine at least one target model space in the digital twin model that needs to perform HVAC setting optimization based on the energy efficiency prediction results, the cost prediction results and the comfort prediction results; an HVAC setting adjustment unit is configured to determine at least one candidate HVAC setting adjustment scheme corresponding to each target model space, and determine a target HVAC setting adjustment scheme for the target model space from each of the candidate HVAC setting adjustment schemes according to the enhanced PSO algorithm.
[0008] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for intelligent building optimization based on BIM software as described above is implemented.
[0009] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for intelligent building optimization based on BIM software.
[0010] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned building intelligent optimization methods based on BIM software.
[0011] The building intelligent optimization method and system based on BIM software provided by the present invention can produce at least the following technical effects:
[0012] (1) Through the open API interface of BIM software, key building data is extracted and a digital twin model is constructed, so that the operation and maintenance phases of the building can effectively utilize the large amount of data resources originally generated in the design and construction phases. This not only improves the utilization rate of information, but also makes building information management more integrated and efficient.
[0013] (2) By monitoring the real-time environmental sensor parameters of the building space (such as temperature and humidity, air flow rate, CO2 concentration, etc.) and combining these sensor data with the digital twin model, the building management platform system can more accurately control the indoor environment according to the real-time sensor status of different model spaces in the digital twin model, which helps to improve the comfort and satisfaction of building occupants.
[0014] (3) By updating the HVAC status of each model space in the digital twin model in real time, combined with historical data and prediction models, this technical solution can provide accurate energy efficiency prediction results and cost prediction results based on the actual usage of each space. By optimizing the HVAC settings, unnecessary energy waste can be significantly reduced, thereby achieving energy cost savings. For example, if a space is not frequently used during a period of time, the system can automatically adjust the HVAC settings of the space to reduce energy consumption without affecting comfort, thereby achieving energy efficiency optimization and cost savings.
[0015] (4) By comparing and analyzing the historical HVAC status data of the digital twin model with the real-time data, accurate predictions of future energy efficiency and costs can be made. In addition, selecting the best HVAC setting adjustment plan based on the enhanced PSO (Particle Swarm Optimization) algorithm can make the decision-making process more scientific and systematic, reduce the uncertainty of human judgment, and help achieve accurate adjustment of the HVAC settings of the building space.
[0016] Through the embodiments of the present invention, using BIM software, the building management platform system can automatically adjust the operation mode or design scheme of the HVAC system according to real-time and historical data to adapt to actual needs and avoid the waste of resources that may be caused by traditional static control strategies. As a result, the intelligent level of building energy management is comprehensively improved, efficient use of energy is achieved, operating costs are reduced, and the living experience of building residents is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flowchart of an example of a building intelligent optimization method based on BIM software according to an embodiment of the present invention is shown;
[0019] Figure 2 A schematic diagram showing an example of a HVAC setting evaluation model according to an embodiment of the present invention is shown;
[0020] Figure 3 An operational flow chart of an example of determining a target HVAC setting adjustment plan according to an enhanced PSO algorithm according to an embodiment of the present invention is shown;
[0021] Figure 4 A structural block diagram of an example of a building intelligent optimization system based on BIM software according to an embodiment of the present invention is shown;
[0022] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0025] Figure 1 A flowchart of an example of a building intelligent optimization method based on BIM software according to an embodiment of the present invention is shown.
[0026] Regarding the execution subject of the method of the embodiment of the present invention, it can be any electronic device with processing and computing capabilities, such as a computer terminal, a mobile phone terminal, etc. More specifically, in combination with the business service scenario of building design optimization, its execution subject can be a building management platform server, which uses BIM software technology in the building operation and maintenance stage, integrates and utilizes digital twin models, real-time sensor data and advanced optimization algorithms to eliminate data silos between various systems and devices, and realizes real-time optimization of building performance, energy efficiency improvement, cost reduction, comfort improvement, and data integration and decision support capabilities. It provides strong technical support for the sustainable development and intelligent management of urban buildings.
[0027] like Figure 1 As shown, in step S110, based on the BIM software with an open API interface, key data of the building model is extracted from the BIM model corresponding to the target building to be optimized.
[0028] Here, the key data of the building model includes the building geometry, material properties, spatial layout, and current HVAC settings. Specifically, the API interface of the BIM software is used to automatically extract key data such as building structure, material properties, environmental factors, etc. from the design model. The types of BIM software can be diverse, such as Autodesk Revit, Graphisoft ArchiCAD, and so on.
[0029] For example, for the BIM software Autodesk Revit, through Revit's API, developers can write programs to automatically extract key data of a building from the BIM model, such as floor plans, wall material properties, and HVAC system configurations.
[0030] In step S120, a digital twin model of the target building is constructed based on the key data of the building model.
[0031] In some embodiments, after extracting key building model data such as the building's geometric structure, material properties, spatial layout, and current settings of the HVAC system from the BIM model, data preprocessing can be performed, and then professional modeling tools and software (such as Autodesk Revit, Rhino, etc.) can be used to build a digital twin model to ensure that the accuracy and level of detail of the model are consistent with the actual building.
[0032] Exemplarily, the data preprocessing operation before digital twin modeling can convert the geometric data in BIM into a format acceptable to the model, for example, into a three-dimensional mesh or volume element, and convert the material data into thermal performance parameters, density, reflectivity, etc., for use in digital twin simulation. In addition, the building space layout data is preprocessed to ensure that it matches the various predefined room information and area information of the digital twin model. For the current HVAC settings, HVAC model parameters such as wind speed, temperature setting range, CO2 emission standards, etc. can be configured.
[0033] In step S130, corresponding real-time building space sensor data are collected based on the sensor modules deployed at various preset key positions in the target building.
[0034] Here, the sensor module includes temperature and humidity sensors, air flow sensors, CO2 sensors and energy consumption monitors. Therefore, by deploying sensors in physical buildings, real-time data such as environment, energy consumption, and usage status are collected and transmitted to the building management platform server in real time.
[0035] In some implementations, corresponding sensor modules are deployed in each independent space area of the building, and corresponding sensor modules can also be deployed for the main equipment configuration to achieve comprehensive coverage monitoring. In addition, after each type of sensor completes data collection, it is necessary to normalize the data collected by different sensors through the edge node to eliminate the dimension and scale differences between the data. Then, using methods such as standardization or scaling, the data is scaled to a unified range, which is conducive to subsequent modeling and analysis.
[0036] In step S140, the real-time HVAC status of each model space in the digital twin model is updated based on the real-time building space sensor data.
[0037] In some embodiments, in order to achieve the correct integration and mapping of real-time data collected from various sensors to the corresponding model space, various sensor data (such as temperature, humidity, etc.) can also be converted into a standard format before updating the digital twin model for easy processing and analysis. Then, the data of each sensor is mapped to the corresponding spatial location. For example, the sensor data of each room or area needs to match the corresponding room or area in the digital twin model. Furthermore, in the digital twin model, the real-time data is used to update the HVAC status of the corresponding space. Specifically, the relevant parameters in the model (such as temperature settings, humidity levels, and CO2 concentrations) can be adjusted according to the real-time data. On the user interface of the model, the displayed data is updated in real time, for example, by changing the color to indicate different temperature levels.
[0038] Therefore, by updating the digital twin model in real time to reflect the actual building status, the model can instantly respond to environmental changes and equipment performance changes, making building operation management more flexible and precise.
[0039] In step S150, the real-time HVAC state and the historical HVAC state set of the digital twin model corresponding to the preset historical time period are input into the preset HVAC setting evaluation model to determine the HVAC evaluation report corresponding to the current HVAC setting.
[0040] Here, the HVAC assessment report contains the energy efficiency prediction results, cost prediction results and comfort prediction results for each model space. Therefore, the energy efficiency, cost and comfort benefits of the current setting scheme are analyzed through the preset HVAC setting assessment model, so that managers can have an intuitive and clear understanding of the performance of the current HVAC setting.
[0041] In addition, the HVAC setting evaluation model can adopt various non-restrictive structures, such as a deep learning model, etc. It should be noted that the input of the HVAC setting evaluation model is the HVAC state time series of the digital twin model, which, in addition to having the time sequence feature, also carries the spatial information of the model space.
[0042] In some embodiments, the HVAC setting assessment model may adopt a hybrid network that integrates CNN (Convolutional Neural Network) and LSTM (Long Short-Term Memory), which combines the spatial data processing capabilities of CNN and the time series analysis advantages of LSTM, and can effectively process and analyze the potential impact of HVAC system settings on the building environment. More details will be expanded below in conjunction with other examples.
[0043] In step S160, at least one target model space in the digital twin model that requires HVAC setting optimization is determined based on the energy efficiency prediction results, the cost prediction results, and the comfort prediction results.
[0044] In some embodiments, corresponding management indicators, such as qualified thresholds, are set for energy efficiency, cost, and comfort, respectively, and each prediction result is compared with the corresponding management indicator to screen out a target model space in which at least one HVAC effect in the digital twin model is not qualified.
[0045] In step S170, for each target model space, at least one candidate HVAC setting adjustment scheme corresponding to the target model space is determined, and a target HVAC setting adjustment scheme for the target model space is determined from the candidate HVAC setting adjustment schemes according to the enhanced PSO algorithm.
[0046] Here, a particle swarm optimization intelligent algorithm is used to generate and evaluate different adjustment schemes to help find the optimal or near-optimal configuration while taking into account the balance of energy efficiency, cost, and comfort. Therefore, using the PSO algorithm to intelligently select the best HVAC setting adjustment scheme can make the decision-making process more scientific and systematic, reduce the uncertainty of human judgment, and help achieve accurate adjustment of the HVAC settings of the building space. In some cases, for this technical scenario, the PSO algorithm can also be enhanced, which can use an enhanced PSO algorithm with multi-objective optimization and adaptive inertia weight adjustment. More details and advantages will be discussed below in conjunction with other embodiments.
[0047] Figure 2 A schematic diagram of the structure of an example of an HVAC setting evaluation model according to an embodiment of the present invention is shown.
[0048] like Figure 2 As shown, the HVAC setting assessment model 200 adopts an enhanced convolutional LSTM network, which includes a cascaded multi-resolution convolutional layer 210, a dynamic weight adjustment layer 220, a convolutional LSTM layer 230 and an output layer 240.
[0049] The multi-resolution convolution layer 210 is used to capture spatial features of spatial time series data from multiple scales to determine corresponding multi-scale fused feature data, where the spatial time series data is determined based on the real-time HVAC state and the historical HVAC state set.
[0050] More specifically, the multi-resolution convolutional layer 210 is used to perform the following operations:
[0051] Convolution operations are performed on the spatial time series data according to the convolution kernels of various preset sizes, thereby generating a set of feature maps corresponding to different spatial scales:
[0052] F k×k (X) = ReLU(W k×k *X+b k×k ), Formula (1)
[0053] In the formula, X represents spatial time series data, W k×k represents the convolution kernel weight, b k×k represents the convolution kernel bias term, F k×k (X) represents the feature map of the convolution kernel of the corresponding scale; k represents the convolution kernel size, ReLU represents the nonlinear activation function, * Represents a convolution operation.
[0054] Perform feature fusion on the feature maps corresponding to each convolution kernel to obtain the corresponding multi-scale fusion feature data:
[0055] F merged =Concat(F k×k (X)), Formula (2)
[0056] In the formula, Concat represents the feature concatenation operation, F merged Represents multi-scale fusion feature data.
[0057] Through multi-resolution convolutional layers, the model can capture the features of spatial time series data at different scales, allowing the model to not only identify large-scale layout features (such as overall room and area layouts), but also accurately capture small-scale detail features (such as the location and status of specific equipment). This multi-scale feature capture capability enables the model to more comprehensively understand and analyze the building environment when evaluating energy efficiency, cost, and comfort.
[0058] The dynamic weight adjustment layer 220 is used to weight the multi-scale fusion feature data through the attention mechanism to obtain spatial dynamic weighted features, thereby dynamically adjusting the influence of different model spaces.
[0059] More specifically, the dynamic weight adjustment layer is used to perform the following operations:
[0060] parsing at least one model space tag corresponding to the multi-scale fusion feature data;
[0061] For each model space marker, a separate attention score is generated to reflect the importance of each area under the current real-time data and operating conditions:
[0062] A region =softmax(W region *F merged +b region ), Formula (3)
[0063] In the formula, A region Represents model space markup region Attention weight matrix, W region and b region They represent the weight and bias of the attention network respectively.
[0064] According to the attention scores corresponding to the spatial markers of each model, the multi-scale fusion feature data is weighted for attention calculation, so that the features of each region are dynamically weighted using the corresponding features:
[0065]
[0066] In the formula, F weighted represents the spatial dynamic weighted feature, and A represents the spatial attention weight matrix composed of the attention scores corresponding to each model space marker.
[0067] Through the attention mechanism of the dynamic weight adjustment layer, the influence of different model spaces can be dynamically adjusted according to real-time data, allowing the model to adjust its output in real time according to the current environment and operating conditions, such as in response to daily or seasonal changes, special events or environmental changes.
[0068] The convolutional LSTM layer 230 is used to process the spatial dynamic weighted features to obtain the final hidden state with spatiotemporal dependency features.
[0069] It should be noted that the convolutional LSTM layer combines the deep learning capabilities of time series analysis and the convolutional processing capabilities of spatial features, allowing the model to not only capture temporal dependencies but also maintain spatial local correlations. As a result, the model can more accurately predict and evaluate the performance of the HVAC system at different times and in different spatial locations.
[0070] More specifically, each convolutional LSTM unit in the convolutional LSTM layer 230 is used to process spatially dynamic weighted features by maintaining an internal state to capture temporal dependencies while applying convolution operations to preserve spatial local correlations:
[0071] Forget Gate t :
[0072] f t =σ(W f *[H t-1 ,X t ]+b f ), Formula (5)
[0073] Input Gate i t and candidate cell status
[0074] i t =σ(W i *[H t-1 ,X t ]+b i ), Formula (6)
[0075]
[0076] Unit status update C t :
[0077]
[0078] Output gate o t and the final hidden state H t :
[0079] o t =σ(W o *[Ht-1 ,X t ]+b o ), Formula (9)
[0080]
[0081] In the formula, σ is the sigmoid activation function. tanh is the hyperbolic tangent activation function, which is used to create new candidate states. W represents the Hadamard product used for state update. f and b f Respectively represent the weight and bias of the forget gate, W C and b C Represent the weight and bias of the candidate unit state, W i and b i Respectively represent the weight and bias of the input gate state, W o and b o Represent the weight and bias of the output gate state respectively.
[0082] The output layer 240 is used to predict the energy efficiency prediction result, cost prediction result and comfort prediction result of the HVAC system according to the final hidden state.
[0083] Through the output layer 240, the model can predict multiple related targets based on features processed and fused at multiple layers. This multi-tasking capability helps to optimize the allocation and use of resources.
[0084] More specifically, the output layer 240 is used to perform the following operations:
[0085] Extract the final hidden state H based on the shared layer processing t The task-shared feature H in shared :
[0086] H shared =ReLU(W shared H t +b shared ), Formula (11)
[0087] Where W shared and b shared Represent the weight and bias of the shared layer respectively;
[0088] The task shared feature H shared With the original final hidden state H t Fusion is performed to obtain the fusion feature H fused :
[0089] H fused =Concat(H shared ,Ht ), Formula (12)
[0090] The fusion feature H fused Input to each task output layer respectively:
[0091] y efficiency =W y1 H fused +b y1 , Formula (13)
[0092] y cost =W y2 H fused +b y2 , Formula (14)
[0093] y comfort =W y3 H fused +b y3 , Formula (15)
[0094] In the formula, y efficiency ,y cost and comfort They represent the output results of the task output layer for energy efficiency prediction task, cost prediction task and comfort prediction task respectively. y1 ,W y2 ,W y3 and b y1 ,b y2 ,b y3 Represent the weights and biases of the output layer of each task respectively.
[0095] By integrating the task-shared features in the final hidden state with the original state, the model can make comprehensive use of historical and real-time data to more accurately predict energy efficiency, cost, and comfort. This multi-tasking capability not only improves the accuracy of the prediction, but also optimizes the allocation and use of resources.
[0096] In the enhanced convolutional LSTM model provided in the embodiment of the present invention, a multi-resolution convolutional layer is used, and a multi-resolution convolutional layer for a visualized digital twin model is introduced, allowing the model to capture spatial features at different scales. Thus, a more comprehensive understanding of spatial features is provided, from fine-grained local details to broad regional layouts. By utilizing the fusion of multi-scale features, the model can more accurately understand and predict the spatial effects of the HVAC system, thereby optimizing energy efficiency and comfort.
[0097] In addition, the addition of an attention mechanism to the basic convolutional LSTM allows the model to dynamically adjust the influence of different spatial regions based on real-time data. As a result, the weights of features are dynamically adjusted according to actual operating conditions and real-time data, which enhances the model's adaptability to environmental changes, allowing resource allocation to be more focused on the areas that need the most attention at the moment, and improving the efficiency and effectiveness of energy use.
[0098] Furthermore, shared layers and fused features are introduced in the output layer, and the task-shared features are combined with the final hidden state, and then input into the output layer specific to each task. Thus, through richer information fusion, more accurate multi-objective prediction (energy efficiency, cost, and comfort) is provided, and multi-task processing capabilities are improved, so that the model can effectively use shared underlying information when predicting different evaluation results, reduce repeated calculations, and improve efficiency.
[0099] In some examples of the embodiments of the present invention, the enhanced PSO algorithm is an enhanced PSO algorithm that combines multi-objective optimization and adaptive inertia weight adjustment. More specifically, by developing a framework that includes multiple optimization objectives such as cost, energy efficiency, construction time, and user comfort, the main optimization objectives are clarified, such as minimizing energy consumption, maximizing user comfort (temperature, humidity control), and extending equipment life. In addition, in the adaptive inertia weight, an initial higher inertia weight is set to support extensive exploration of the solution space, and it is gradually reduced as the iteration progresses to enhance the particle's ability to develop the optimal solution area.
[0100] Figure 3 An operational flow chart of an example of determining a target HVAC setting adjustment plan according to an enhanced PSO algorithm according to an embodiment of the present invention is shown.
[0101] like Figure 3 As shown, in step S310, a particle swarm is initialized based on each candidate HVAC setting adjustment scheme, and the position and velocity of each particle are randomly initialized.
[0102] The particle's inertia weight w is adaptively updated in the following way:
[0103]
[0104] In the formula, J current Indicates the current iteration number, J largest Indicates the maximum number of iterations; w max represents the initial inertia weight, w min represents the termination inertia weight, w max >w min .
[0105] By applying adaptive inertia weights, the algorithm can dynamically adjust between global search and local fine search, effectively preventing the algorithm from converging to the local optimal solution prematurely and enhancing the comprehensiveness of the search. Based on this strategy, the quality of the solution is improved, ensuring that truly useful solutions are found in complex optimization environments.
[0106] In step S320, the fitness of each particle in the particle swarm corresponding to the multi-objective fitness function is calculated according to the HVAC fitness function.
[0107] Here, the multi-objective fitness function includes energy efficiency fitness function, cost fitness function and comfort fitness function:
[0108]
[0109]
[0110] S(x)=-(α1·|T 设置 (x)-T 理想 |+α2·|W 实际 (x)-W 理想 |+α3·CON CO2 (x)), Formula (19)
[0111] In the formula, x represents a particle, F(x) represents the environmental fitness of the particle; E(x) represents the energy efficiency fitness of the particle, e(x) represents the system energy consumption of the candidate HVAC setting adjustment scheme corresponding to x; C(x) represents the cost fitness of the particle, c 能源 (x) represents the corresponding energy consumption cost, c 维护 (x) represents the corresponding system maintenance cost; S(x) represents the particle comfort adaptability; T 设置 (x),W 实际 (x),CON CO2 (x) represents the space setting temperature, actual space humidity and space CO2 concentration corresponding to x, T 理想 ,W 理想 They represent the ideal temperature and humidity of the space respectively; α1, α2, α3 represent the influencing factors corresponding to temperature, humidity and CO2 concentration respectively;
[0112] By integrating multi-objective fitness functions (energy efficiency, cost, comfort), the enhanced PSO algorithm is able to find effective trade-offs between these often conflicting objectives. The generated Pareto front provides a set of solutions that allow decision makers to choose the most suitable solution based on different priorities. This improves the flexibility and adaptability of decision-making, which is particularly suitable for building design management that requires comprehensive consideration of multiple conditions.
[0113] In step S330, in each update iteration, a non-dominated sorting is performed based on the fitness of each particle in the particle swarm at each target.
[0114] More specifically, an empty set S is initialized for each particle p To store the particles dominated by this particle, and a counter n p Indicates the number of other particles that dominate this particle.
[0115] For any combination of particle pairs p and q in the particle swarm, the fitness and non-dominated relationship of the particle pairs are compared to determine the Pareto frontier.
[0116] When for all targets, the fitness of p in each target is not less than the fitness corresponding to q, and there is at least one target j where the fitness of p is greater than the fitness corresponding to q, it is determined that particle p dominates particle q, and q is added to S p And increase n q Count.
[0117] When n q When =0, it means that particle q is not dominated by any other particle in the particle group and is assigned to the Pareto front.
[0118] Through non-dominated sorting, the algorithm can effectively update and maintain a high-quality Pareto front, ensure the non-inferiority and optimization of the solution, and achieve the solution of high-quality Pareto front.
[0119] In step S340, the crowding degree of each particle in the Pareto front is calculated.
[0120] Sort the particles on each Pareto front according to each goal;
[0121] Set infinite crowding values for the particles with the minimum and maximum fitness values of each target to preserve the boundary extreme values;
[0122] For each particle i in the frontier, its crowding degree d at each target j i Calculated by the following formula:
[0123]
[0124] In the formula, f j (i+1) and f j (i-1) is the fitness value of the neighboring particles of particle i on target j, f j (max) and f j (min) represents the maximum fitness and minimum fitness value on target j;
[0125] It should be noted that since environmental conditions and system control requirements may change frequently, the algorithm can better adapt to environmental changes and system dynamics by updating the fitness of particles in real time and adjusting the search strategy of particles using crowding information.
[0126] Therefore, through the calculation of crowding, the enhanced PSO algorithm not only focuses on finding excellent solutions, but also pays attention to maintaining the diversity of the solution set, which helps to maintain the diversity of solutions on the Pareto front, avoids all solutions from gathering in a specific area of the Pareto front, and helps to provide a wider selection space, thereby increasing the possibility of finding more innovative and more effective solutions.
[0127] In step S350, the global best position gbest is determined according to the position of the particle with the minimum crowding degree in the particle group, and the individual best position pBest of each particle is determined. i .
[0128] Specifically, for each particle i in the particle swarm, the individual best position pBest i , which can be determined by:
[0129] The current position of particle i at the mth iteration is denoted by x i (m), and assume that the individual best position is pBest i , after each iteration, the new position x of the particle is i (m+1) and pBest i The non-dominated relationship is compared and the individual best position is updated according to the comparison result:
[0130] When x i (m+1) dominates pBest i , or x i (m+1) and pBest i are non-dominated and x i (m+1) is less than pBest i When the congestion degree is i (m+1) Update pBest:
[0131] pBest i =x i (m+1), Formula (21)
[0132] In step S360, for each particle in the particle group, the individual optimal position and the global optimal position corresponding to the particle are updated.
[0133] More specifically, the corresponding particle update formula is:
[0134] v i(m+1)=w×v i (m)+c 1,i ×rand()×(pBest i -x i (m))+c 2,i ×rand()×(gBest-x i (m)), Formula (22)
[0135] x i (m+1)=x i (m)+v' i , Formula (23)
[0136] c 1,i =c1·(1-d(pBest i )), Formula (24)
[0137] c 2,i =c2·(1-d(gBest)), Formula (25)
[0138] In the formula, v i (m) represents the velocity of particle i at the mth iteration, v i (m+1) represents the velocity of particle i at the m+1th iteration; w represents the inertia weight of the particle; d(pBest i ) represents the crowding degree of the individual best position of particle i, d(gBest) represents the crowding degree of the global best position; c1 and c2 represent the preset learning factors, c 1,i and c 2,i They represent the adaptive learning factors for particle i respectively; rand1() and rand2() are random numbers in the interval [0,1].
[0139] In step S370, after each iteration, the set similarity between the current Pareto front and the current Pareto front of the previous iteration is compared, and it is determined whether the iteration stop condition is met according to the set similarity.
[0140] By monitoring the similarity of the Pareto front (e.g., Jaccard similarity) to determine whether the iteration should stop, an intelligent control mechanism is provided to ensure that the algorithm runs a sufficient number of iterations to explore the solution space while avoiding the waste of resources due to invalid iterations. Therefore, judging the iteration stop condition based on the stability of the Pareto front can avoid invalid iterations, save computing resources, and ensure the stability and reliability of the solution.
[0141] In step S380 , a target HVAC setting adjustment plan is determined based on at least one particle in the Pareto front that meets the iteration stop condition.
[0142] More specifically, when the iteration stopping condition is met, the most suitable HVAC adjustment scheme to be implemented is selected from the Pareto frontier. For example, the Analytic Hierarchy Process (AHP) can be used to evaluate and select the optimal scheme.
[0143] In the embodiment of the present invention, the BIM model data is directly applied, and the enhanced PSO algorithm can be used to optimize according to the specific parameters and operation data of the actual building, so that the optimization result is more suitable for actual application, thereby improving the practical value and effectiveness of the algorithm.
[0144] Through the embodiments of the present invention, in the scenario of building intelligent optimization, the enhanced PSO algorithm is applied, which can not only efficiently handle complex multi-objective problems, but also can be flexibly adjusted according to actual application needs. It can provide stable and high-quality optimization results, significantly improve the energy efficiency management level of buildings, optimize energy consumption, and improve the comfort of residents or users, while reducing operating costs. It has important practical value and broad application prospects.
[0145] The building intelligent optimization system based on BIM software provided by the present invention is described below. The building intelligent optimization system based on BIM software described below and the building intelligent optimization method based on BIM software described above can refer to each other.
[0146] Figure 4 A structural block diagram of an example of a building intelligent optimization system based on BIM software according to an embodiment of the present invention is shown.
[0147] like Figure 4 As shown, the building intelligent optimization system 400 based on BIM software includes a key data extraction unit 410, a twin model construction unit 420, a sensor data acquisition unit 430, a twin model update unit 440, an HVAC setting evaluation unit 450, an optimized space determination unit 460 and an HVAC setting adjustment unit 470.
[0148] The key data extraction unit 410 is configured to extract the key data of the building model from the BIM model corresponding to the target building to be optimized based on the BIM software with an open API interface; the key data of the building model includes the building geometry, material properties, space layout and current HVAC settings.
[0149] The twin model construction unit 420 is configured to construct a digital twin model for the target building based on the key data of the building model.
[0150] The sensor data acquisition unit 430 is configured to collect corresponding real-time building space sensor data based on sensor modules deployed at various preset key positions in the target building; the sensor modules include temperature and humidity sensors, air flow rate sensors, CO2 sensors and energy consumption monitors.
[0151] The twin model updating unit 440 is configured to update the real-time HVAC status of each model space in the digital twin model based on the real-time building space sensor data.
[0152] The HVAC setting evaluation unit 450 is configured to input the real-time HVAC state and the historical HVAC state set of the digital twin model corresponding to the preset historical time period into the preset HVAC setting evaluation model to determine the HVAC evaluation report corresponding to the current HVAC setting; the HVAC evaluation report includes energy efficiency prediction results, cost prediction results and comfort prediction results for each model space.
[0153] The optimization space determination unit 460 is configured to determine at least one target model space in the digital twin model where HVAC settings need to be optimized based on the energy efficiency prediction result, the cost prediction result, and the comfort prediction result.
[0154] The HVAC setting adjustment unit 470 is configured to determine, for each of the target model spaces, at least one candidate HVAC setting adjustment scheme corresponding to the target model space, and determine a target HVAC setting adjustment scheme for the target model space from among the candidate HVAC setting adjustment schemes according to the enhanced PSO algorithm.
[0155] Figure 5 is a schematic diagram of the hardware structure of an electronic device for executing a building intelligent optimization method based on BIM software provided by another embodiment of the present invention, such as Figure 5 As shown, the device includes:
[0156] One or more processors 510 and memory 520, Figure 5 A processor 510 is taken as an example.
[0157] The device for executing the building intelligent optimization method based on BIM software may further include: an input device 530 and an output device 540 .
[0158] The processor 510, the memory 520, the input device 530 and the output device 540 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0159] The memory 520, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the building intelligent optimization method based on BIM software in the embodiment of the present invention. The processor 510 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 520, that is, the building intelligent optimization method based on BIM software in the above method embodiment is realized.
[0160] The memory 520 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 520 may optionally include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0161] The input device 530 may receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 540 may include a display device such as a display screen.
[0162] The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, the building intelligent optimization method based on BIM software in any of the above method embodiments is executed.
[0163] The above product can execute the building intelligent optimization method based on BIM software provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0164] The electronic devices of the embodiments of the present invention exist in various forms, including but not limited to:
[0165] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.
[0166] (2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.
[0167] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.
[0168] (4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.
[0169] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A building intelligent optimization method based on BIM software, comprising: Based on BIM software with an open API interface, extract key data of the building model from the BIM model corresponding to the target building to be optimized; The building model key data includes building geometry, material properties, spatial layout and HVAC current settings; Based on the key data of the building model, construct a digital twin model for the target building; Based on the sensor modules deployed at various preset key positions in the target building, corresponding real-time building space sensor data are collected respectively; The sensor module includes a temperature and humidity sensor, an air flow rate sensor, a CO2 sensor and an energy consumption monitor; Based on the real-time building space sensor data, updating the real-time HVAC status of each model space in the digital twin model; Inputting the real-time HVAC state and the historical HVAC state set of the digital twin model corresponding to a preset historical time period into a preset HVAC setting evaluation model to determine an HVAC evaluation report corresponding to the current HVAC setting; the HVAC evaluation report includes energy efficiency prediction results, cost prediction results, and comfort prediction results for each model space; Determining at least one target model space in the digital twin model for which HVAC setting optimization is required according to the energy efficiency prediction result, the cost prediction result, and the comfort prediction result; For each of the target model spaces, determining at least one candidate HVAC setting adjustment scheme corresponding to the target model space, and determining a target HVAC setting adjustment scheme for the target model space from each of the candidate HVAC setting adjustment schemes according to an enhanced PSO algorithm; The HVAC setting assessment model adopts an enhanced convolutional LSTM network, which includes a cascaded multi-resolution convolutional layer, a dynamic weight adjustment layer, a convolutional LSTM layer and an output layer; The multi-resolution convolution layer is used to capture the spatial features of spatial time series data from multiple scales to determine corresponding multi-scale fusion feature data; The spatial time series data is determined based on the real-time HVAC state and the historical HVAC state set; The dynamic weight adjustment layer is used to weight the multi-scale fusion feature data through an attention mechanism to obtain spatial dynamic weighted features, thereby dynamically adjusting the influence of different model spaces; The convolutional LSTM layer is used to process the spatial dynamic weighted features to obtain the final hidden state with spatiotemporal dependency features; The output layer is used to predict the energy efficiency prediction result, cost prediction result and comfort prediction result of the HVAC system according to the final hidden state.
2. The method according to claim 1, wherein: The multi-resolution convolutional layer is used to perform the following operations: Convolution operations are performed on the spatial time series data according to the convolution kernels of various preset sizes, thereby generating a set of feature maps corresponding to different spatial scales: , In the formula, represents spatial time series data, represents the convolution kernel weight, represents the convolution kernel bias term, Represents the feature map of the convolution kernel of the corresponding scale; k represents the convolution kernel size, represents a nonlinear activation function, and * represents a convolution operation; Perform feature fusion on the feature maps corresponding to each convolution kernel to obtain the corresponding multi-scale fusion feature data: , In the formula, represents the feature concatenation operation, Represents multi-scale fusion feature data.
3. The method according to claim 2, wherein: The dynamic weight adjustment layer is used to perform the following operations: parsing at least one model space marker corresponding to the multi-scale fusion feature data; For each of the model space markers, a separate attention score is generated to reflect the importance of each area under the current real-time data and operating conditions: , In the formula, Represents model space markup The attention weight matrix, and Represent the weight and bias of the attention network respectively; According to the attention scores corresponding to the spatial markers of each model, the multi-scale fusion feature data is weighted by attention, so that the features of each region are dynamically weighted using the corresponding attention weights: , In the formula, represents the spatial dynamic weighted feature, Represents the spatial attention weight matrix composed of the attention scores corresponding to each model space marker.
4. The method according to claim 3, wherein: The convolutional LSTM layer is used to perform the following operations: Each convolutional LSTM unit is used to process the spatially dynamic weighted features by maintaining an internal state to capture temporal dependencies while applying convolution operations to preserve spatial local correlations: Forget Gate : , Input Gate and candidate cell status : , , Unit Status Update : , Output Gate and the final hidden state : , , In the formula, is the sigmoid activation function; is the hyperbolic tangent activation function, which is used to create new candidate states; Represents the Hadamard product used for state update; and Represent the weight and bias of the forget gate respectively; and Represent the weight and bias of the candidate unit state respectively; and Represent the weight and bias of the input gate state respectively; and Represent the weight and bias of the output gate state respectively.
5. The method according to claim 4, wherein: The output layer is used to perform the following operations: Extracting the final hidden state based on shared layer processing Task sharing features in : , In the formula, and Represent the weight and bias of the shared layer respectively; Tasks share features With the original final hidden state Fusion is performed to obtain fusion features : , The fusion features Input to each task output layer respectively: , , , In the formula, , and They represent the output results of the task output layer for the energy efficiency prediction task, the cost prediction task, and the comfort prediction task respectively; and Represent the weights and biases of the output layer of each task respectively.
6. The method according to any one of claims 1 to 5, wherein: The enhanced PSO algorithm is an enhanced PSO algorithm that combines multi-objective optimization and adaptive inertia weight adjustment. The step of determining a target HVAC setting adjustment scheme for the target model space from each of the candidate HVAC setting adjustment schemes according to the enhanced PSO algorithm comprises: Initializing a particle swarm based on each of the candidate HVAC setting adjustment schemes, and randomly initializing a position and a velocity of each particle; The inertia weight of the particles is calculated by To perform adaptive updates: , In the formula, Indicates the current iteration number, Indicates the maximum number of iterations; represents the initial inertia weight, represents the termination inertia weight, ; According to the HVAC fitness function, the fitness of each particle in the particle swarm corresponding to the multi-objective fitness function is calculated. The multi-objective fitness function includes energy efficiency fitness function, cost fitness function and comfort fitness function: , , , In the formula, x represents a particle; represents the particle energy efficiency fitness, express x the system energy consumption of the corresponding candidate HVAC setting adjustment solutions; represents the particle cost fitness, represents the corresponding energy consumption cost, Indicates the corresponding system maintenance cost; represents the particle comfort fitness; express x The corresponding space setting temperature, actual space humidity and space CO2 concentration, They represent the ideal temperature and humidity of the space respectively; Respectively represent the influencing factors corresponding to temperature, humidity and CO2 concentration; In each update iteration, a non-dominated sorting is performed based on the fitness of each particle in the particle swarm at each goal: Initialize an empty collection for each particle To store the particles dominated by this particle, and a counter represents the number of other particles that dominate this particle; For any combination of particle pairs in the particle swarm and , the fitness and non-domination relations of particle pairs are compared to determine the Pareto front: When for all targets, The fitness of each target is not less than The corresponding fitness, and there is at least one target Down The fitness is greater than When the corresponding fitness is determined, the particle Dominate Particles , add to and increase Count of; when When is not dominated by any other particle in the swarm, it is assigned to the Pareto front; Compute the crowding degree of each particle in the Pareto front: Sort the particles on each Pareto front according to each goal; Set infinite crowding values for the particles with the minimum and maximum fitness values of each target to preserve the boundary extreme values; For each particle in the frontier , which in each target The congestion Calculated by the following formula: , In the formula, and It is a particle On Target The fitness values of the neighboring particles on and Indicates that the target The maximum and minimum fitness values on ; Determine the global optimal position according to the position of the particle with the minimum crowding degree in the particle swarm ; For each particle in the particle swarm The individual best position , which is determined by: particle In the The current position of the iteration is expressed as , and assumes its individual optimal position to be , after each iteration, the new position of the particle and The non-dominated relationship is compared and the individual best position is updated according to the comparison result: when Dominate ,or and are non-dominant and Less than When the congestion is right To update: , For each particle in the particle swarm, the particle is updated according to its corresponding individual optimal position and global optimal position. The corresponding particle update formula is: , , , , In the formula, Represents particles i In the The speed of iterations, Represents particles i In the The speed of iterations; Represents the inertia weight of the particle; Represents particles The crowding degree of the individual best position is represents the congestion degree of the global optimal position; and represents the preset learning factor, and Respectively for particles i Adaptive learning factor; and Random numbers in the interval [0,1] respectively; After each iteration, the set similarity between the current Pareto front and the Pareto front of the previous iteration is compared, and whether the iteration stop condition is met is determined according to the set similarity; A target HVAC setting adjustment plan is determined based on at least one particle in the Pareto front that meets the iteration stopping condition.
7. A building intelligent optimization system based on BIM software, comprising: The key data extraction unit is configured to extract key data of the building model from the BIM model corresponding to the target building to be optimized based on the BIM software with an open API interface; The building model key data includes building geometry, material properties, spatial layout and HVAC current settings; A twin model construction unit is configured to construct a digital twin model for the target building based on the key data of the building model; A sensor data acquisition unit is configured to respectively collect corresponding real-time building space sensor data based on sensor modules deployed at various preset key positions in the target building; The sensor module includes a temperature and humidity sensor, an air flow rate sensor, a CO2 sensor and an energy consumption monitor; A twin model updating unit configured to update the real-time HVAC status of each model space in the digital twin model based on the real-time building space sensor data; An HVAC setting evaluation unit is configured to input the real-time HVAC state and a historical HVAC state set of the digital twin model corresponding to a preset historical time period into a preset HVAC setting evaluation model to determine an HVAC evaluation report corresponding to the current HVAC setting; the HVAC evaluation report includes energy efficiency prediction results, cost prediction results, and comfort prediction results for each model space; an optimization space determination unit, configured to determine at least one target model space in the digital twin model for which HVAC setting optimization is required based on the energy efficiency prediction result, the cost prediction result, and the comfort prediction result; An HVAC setting adjustment unit is configured to determine, for each of the target model spaces, at least one candidate HVAC setting adjustment scheme corresponding to the target model space, and determine a target HVAC setting adjustment scheme for the target model space from each of the candidate HVAC setting adjustment schemes according to an enhanced PSO algorithm; The HVAC setting assessment model adopts an enhanced convolutional LSTM network, which includes a cascaded multi-resolution convolutional layer, a dynamic weight adjustment layer, a convolutional LSTM layer and an output layer; The multi-resolution convolution layer is used to capture the spatial features of spatial time series data from multiple scales to determine corresponding multi-scale fusion feature data; The spatial time series data is determined based on the real-time HVAC state and the historical HVAC state set; The dynamic weight adjustment layer is used to weight the multi-scale fusion feature data through an attention mechanism to obtain spatial dynamic weighted features, thereby dynamically adjusting the influence of different model spaces; The convolutional LSTM layer is used to process the spatial dynamic weighted features to obtain the final hidden state with spatiotemporal dependency features; The output layer is used to predict the energy efficiency prediction result, cost prediction result and comfort prediction result of the HVAC system according to the final hidden state.
8. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the building intelligent optimization method based on BIM software as claimed in any one of claims 1 to 6 is implemented.
