Building Energy Simulation
Theory and Physics
Overview
Teacher! Today's topic is about building energy simulation, right? What is it exactly?
Annual heating and cooling load calculation. Energy consumption prediction integrating envelope performance, solar heat gain, and internal heat generation.
Governing Equations
Now I understand what my senior meant when they said, "Make sure you do building energy simulation properly."
Discretization Methods
How do you actually solve these equations on a computer?
We use spatial discretization by the Finite Element Method (FEM). We assemble the element stiffness matrix and construct the global stiffness equation.
We perform transformation to the weak form (variational form) and use formulation by the Galerkin method using test functions and shape functions. The choice of element type (low-order elements vs. higher-order elements, full integration vs. reduced integration) directly affects the trade-off between solution accuracy and computational cost.
Matrix Solution Algorithms
What exactly are matrix solution algorithms?
We solve the simultaneous equations using direct methods (LU decomposition, Cholesky decomposition) or iterative methods (CG method, GMRES method). Preconditioned iterative methods are effective for large-scale problems.
| Solver | Classification | Memory Usage | Applicable Scale |
|---|---|---|---|
| LU Decomposition | Direct Method | O(n²) | Small to Medium Scale |
| Cholesky Decomposition | Direct Method (Symmetric Positive Definite) | O(n²) | Small to Medium Scale |
| PCG Method | Iterative Method | O(n) | Large Scale |
| GMRES Method | Iterative Method | O(n·m) | Large Scale / Non-symmetric |
| AMG Preconditioner | Preprocessing | O(n) | Very Large Scale |
So, if you cut corners on the finite element method part, you'll pay for it later. I'll keep that in mind!
Implementation in Commercial Tools
So, what software can be used for building energy simulation?
| Tool Name | Developer/Current | Main File Formats |
|---|---|---|
| Ansys Fluent | Ansys Inc. | .cas, .dat, .msh, .jou |
| COMSOL Multiphysics | COMSOL AB | .mph |
| Simcenter STAR-CCM+ | Siemens Digital Industries Software | .sim, .java, .csv |
| Ansys Mechanical (formerly ANSYS Structural) | Ansys Inc. | .cdb, .rst, .db, .ans, .mac |
Vendor History and Product Integration Background
Do the origins of each software have some dramatic stories?
Ansys Fluent
Next is about Ansys Fluent. What's the story?
Developed by Fluent Inc. Acquired by Ansys in 2006. A general-purpose CFD solver based on unstructured grids.
Current Affiliation: Ansys Inc.
COMSOL Multiphysics
Please tell me about "COMSOL Multiphysics"!
Founded in Sweden in 1986. Started as FEMLAB with MATLAB integration, later renamed COMSOL. Strong in multiphysics.
Current Affiliation: COMSOL AB
After hearing this, I finally understand why development is so important!
Simcenter STAR-CCM+
Next is about Simcenter STAR. What's the story?
Developed by CD-adapco. Acquired by Siemens in 2016 and integrated into the Simcenter brand. Known for polyhedral meshes.
Current Affiliation: Siemens Digital Industries Software
Wow, the story of development is super interesting! Tell me more.
File Formats and Interoperability
Are there any points to note when transferring data between different software?
| Format | Extension | Type | Overview |
|---|---|---|---|
| STEP | .stp/.step | Neutral CAD | 3D CAD data exchange format compliant with ISO 10303. Supports geometry + PMI. |
| IGES | .igs/.iges | Neutral CAD | Early CAD data exchange standard. Has issues with surface data compatibility. Transition to STEP is progressing. |
| VTK | .vtk/.vtu | Visualization | Visualization Toolkit format. Used by ParaView, etc. |
When converting models between different solvers, attention is needed to the correspondence of element types, compatibility of material models, and differences in the representation of loads and boundary conditions. Particularly, higher-order elements and special elements (cohesive elements, user-defined elements, etc.) often cannot be directly converted between solvers.
I see... Formats seem simple at first glance, but they're actually quite profound.