Research Article

Horticultural Science and Technology. 31 August 2025. 461-479
https://doi.org/10.7235/HORT.20250041

ABSTRACT


MAIN

  • Introduction

  • Materials and Methods

  •   FEM-based deep neural network

  •   Formulation of physics-based loss functions

  •   Physics-informed neural networks (PINN) model for an agricultural greenhouse

  • Results

  •   Target greenhouse specifications

  •   Training of the PINN model

  •   Section force prediction results using the PINN model

  •   Structural deformation and displacement analysis

  •   Validation of physical meaningfulness with loss reduction

  •   Model generalization under eccentric loading conditions

  • Discussion

Introduction

The increasing frequency of climate change and extreme weather events has highlighted concerns regarding the structural safety of agricultural facilities (Lee et al. 2020; Jeon et al. 2024). Among agricultural facilities, greenhouses represent the predominant form of horticultural structures in Korea, requiring assured structural safety under extreme weather conditions, such as heavy snowfall and strong winds (Lee et al. 2005; Lee et al. 2008; Uematsu and Takahashi 2020). Accurate predictions of internal forces and deformations in frame elements are essential when evaluating the structural safety of greenhouses. Traditionally, this is accomplished through a finite element method (FEM) analysis, which has been widely employed for structural assessments of agricultural greenhouses under snow and wind loads (Liu and Tang 2004; Lee et al. 2005; Park et al. 2010; Nayak and Rao 2014; Paik 2019; Jeon et al. 2022). However, the conventional FEM-based structural analysis presents several limitations. First, it demands substantial computational resources, making it ineffective for analyzing complex structures (Shmigelskyi et al. 2011). Second, it necessitates a complete reanalysis when structural configuration or loading conditions are modified (Farmaga et al. 2011). These limitations become particularly pronounced in scenarios requiring iterative analyses, such as during the design phase or structural reliability assessments (Kirsch 2003; Kim and Eun 2018).

Over the past decade, rapid advances in computing resources and deep learning, particularly deep neural networks (DNNs), have revolutionized computer modeling. Raissi et al. (2019) introduced physics-informed neural networks (PINNs), which directly integrate the laws of physics expressed as partial differential equations (PDEs) into neural networks. PINNs offer the advantage of accurate solution predictions using minimal data by leveraging the laws of physics as prior knowledge. In the PINN framework, fully connected feedforward neural networks predict solutions, while automatic differentiation computes the differential operators in the governing equations. Automatic differentiation, as a continuous differentiation procedure requiring no discretization or approximation, eliminates the discretization and truncation errors inherent in traditional numerical methods, such as FEM (Yuan et al. 2022).

The traditional FEM has the advantages of high reliability and intuitive physical interpretation through decades of validation. However, in complex structures, it incurs high computational costs and requires a complete reanalysis when structural changes occur, such as external loads or cross-section modifications. Additionally, the accuracy of the results depends heavily on the mesh quality, and inefficiencies arise from repetitive calculations when exploring various design parameters (Kirsch 2003; Pepper and Heinrich 2006; Haider 2024). In contrast, PINNs enable rapid predictions after training, making them efficient for iterative analyses, and they require no meshing, allowing flexible applications even in complex geometries. By integrating physical constraints into the loss function, PINNs can generate physically valid results even with limited data, and they naturally connect with gradient-based optimization, making them advantageous for design optimization (Fuchi et al. 2020; Bolandi 2023; de Almeida et al. 2023; Grossmann et al. 2024). However, PINNs require significant time and computing resources for initial training, present difficulties in determining the optimal network architecture and learning parameters, and currently have relatively few validation cases compared to the FEM, necessitating ongoing research to establish reliability (Lawal et al. 2022; Sharma and Shankar 2022; Kaplarevic-Malisic et al. 2023).

PINNs have demonstrated their utility in various fields, such as fluid dynamics, heat transfer analysis, and materials mechanics given their advantages of computational efficiency, mesh independence, and physics-based prediction capabilities. The effectiveness of PINNs has been demonstrated across various fields, particularly in fluid mechanics (Falas et al. 2020; He et al. 2020; Mao et al. 2020; Cai et al. 2021; Wong et al. 2021; Zhu et al. 2021), heat transfer analysis (He and Pathak 2020; Laubscher 2021), and materials science (Chen et al. 2020; Goswami et al. 2020; Zhang et al. 2020; Yin et al. 2021), where they facilitated solutions to forward and inverse problems involving nonlinear PDEs. However, their application to structural analysis remains limited (Mai et al. 2023). Existing applications primarily focus on simple structures amenable to differential equation analysis (Roy et al. 2024). The application of PINNs to complex structures, such as agricultural greenhouses, presents additional challenges due to the difficulty in implementing direct differential equation constraints. To address this limitation, Mai et al. (2023) proposed a novel approach that directly incorporates FEM-based mechanical principles into the loss functions of truss structures.

This study aims to implement a FEM-based loss-function approach for single-span agricultural greenhouses. We predicted the member forces and member deformations using FEM-based deep neural networks incorporating the laws of physics. We developed a prediction model that satisfies structural mechanics constraints by designing loss functions that incorporate equilibrium equations, compatibility conditions, and constitutive relationships for the frame elements. The prediction accuracy of the model was evaluated using a frame model based on standard greenhouse specifications.

Materials and Methods

FEM-based deep neural network

Physics-informed neural networks (PINNs) have gained attention as a viable alternative to traditional finite element method (FEM) structural analysis approaches (Hu et al. 2024). While the FEM calculates member forces using stiffness matrices and load vectors through the linear relationships between loads and deformations (Nath et al. 2024), it has inherent limitations. The method requires substantial computational resources for complex structures and necessitates a complete reanalysis whenever the structural configuration or loading conditions are modified.

PINNs can obtain physically valid solutions with minimal data by reflecting the laws of physics expressed as partial differential equations into the loss function by substituting missing data through the incorporation of additional information (Guo et al. 2020; Karniadakis et al. 2021). However, conventional PINNs primarily adopt a direct learning approach for differential equations, limiting their application to complex structures such as greenhouses. To address the direct learning approach, this utilizes a structural analysis with a novel method that directly incorporates FEM-based laws of physics into the loss function.

Formulation of physics-based loss functions

The loss functions in PINNs must be established based on the laws of physics. This study constructed a total loss function, as shown in Equation (1).

(1)
L=LMSE+β1LBC+β2LC+β3LH

Here, LMSE represents the mean squared error (MSE) of the loss term, LBC is the boundary condition of the loss term, LC is the compatible condition of the loss term, and LCE is the constitutive equation of the loss term. The coefficients β1, β2, and β3 are weighting factors that control the relative contribution of each physics-based constraint. Of the weighting coefficients of the loss function, the βi values are set independently by applying a dynamic weighting method to reflect the physical constraints appropriately. The dynamic weighting method, as shown in equation (2), was selected to adjust the relative ratio between the main loss term (MSE) and each physics-based loss term automatically.

(2)
βi=0.1×LMSELossi+1e-8

LMSE is the main loss term, and Lossi represents the boundary condition loss, compatible condition loss, and constitutive equation loss depending on the case. The constant 0.1 is a factor that adjusts the scale of the weighting coefficients, and 1e-8 is a stabilization term that prevents the denominator from becoming zero. This dynamic weighting setting method automatically adjusts the corresponding weights according to changes in the magnitude of each physical loss term during the training process, ensuring that all physical constraints are reflected in a balanced manner during learning.

LMSE evaluates the difference between the predicted and actual values derived from FEM analysis and serves as the most fundamental indicator to ensure the prediction accuracy, as shown in Equation (3).

(3)
LMSE=1Ni=1Nfa,i-f^a,i2+fs,i-f^s,i2+fm,i-f^m,i2+ux,i-u^x,i2+uy,i-u^y,i2

In this equation, N denotes the number of sectional nodes of the greenhouse. In addition, fa, fs, and fm correspondingly represent the axial force, shear force, and bending moment as calculated by the FEM, while f^a, f^s, and f^m likewise indicate the predicted the axial force, shear force, and bending moment as estimated by the PINN. Finally, ux and uy are the corresponding displacement vectors in x and y directions. All predicted values were normalized by the standard deviation to prevent a learning imbalance caused by scale differences between the section forces, displacements, and moments.

LBC is a constraint term that serves to satisfy zero displacement at fixed nodes, evaluating the physical constraint that the displacement should be zero at fixed points. This functions as a necessary constraint term to reflect the boundary conditions accurately when the PINN predicts the actual behavior of the structure. The boundary condition loss was formulated as shown in Equation (4).

(4)
LBC=i fixed u^x,i+u^y,i

Here, u^x,i and u^y,i represent the predicted displacements in x and y directions at each fixed node by the PINN, respectively. Given that the displacement at fixed nodes should be zero, this loss term becomes more accurate as it approaches zero.

LCP is a constraint term to ensure compatibility between the displacement and deformation, restricting any abrupt changes between displacements at adjacent nodes. This is a constraint term that ensures that the structural deformation and internal distribution are physically consistent. The compatibility condition loss was formulated as shown in Equation (5).

(5)
LCP=1N-1i=1N-1u^x,i+1-u^x,i+u^y,i+1-u^y,i+1N-1i=1N-1f^a,i+1-f^a,i+f^s,i+1-f^s,i+f^m,i+1-f^m,i

Finally, LCE is a constraint term to ensure the relationships between the stress-strain responses, which evaluate linear elastic behavior based on Hooke’s law. This function is a necessary constraint term that ensures physically consistent relationships between the applied force and structural response. The constitutive equation loss was formulated as shown in Equation (6).

(6)
LCE=e=1ENεeLf^eEA

In this equation, εe is the strain vector representing the displacement difference between the start and end points of each element in the x and y directions, and f^e is the predicted force vector at the start point of the element.

Physics-informed neural networks (PINN) model for an agricultural greenhouse

The proposed model was designed to predict the section forces (normal force, shear force, and bending moment) and displacements (x and y direction) simultaneously using the frame element characteristics as inputs. The input layer was configured to receive six characteristic values for each frame element, including the node x- and y-coordinates, element length, boundary conditions at the start and end nodes, and applied loads.

The neural network consists of four hidden layers, each containing 512 neurons. A hyperbolic tangent (tanh) activation function was applied to each hidden layer to introduce nonlinearity. The tanh function was chosen considering that the physical quantities in the structural analysis can have both positive and negative values, making it well suited for a structural analysis. Additionally, its output range of ‒1 to 1 aligns with the scale of the normalized input data, improving the training efficiency.

The output layer consists of five neurons responsible for predicting the normal force, shear force, moment, and x- and y-direction displacements. No activation function was applied to the output layer, maintaining a linear output to allow unrestricted predictions of the actual section force magnitudes.

Model training was conducted using the Adam optimization algorithm with an initial learning rate of 0.0001. A ReduceLROnPlateau scheduler was implemented during training to reduce the learning rate by 50% if no improvement in the loss value was observed over 500 epochs. This approach enables rapid convergence in the early stages while allowing fine-tuning through minor adjustments to approach optimal solutions in later stages.

The model architecture was specifically designed with sufficient complexity to internalize the FEM physical principles, ensuring that it learns structural behavior patterns rather than simply learning data patterns. The four hidden layers used here, each with 512 neurons, provided adequate capacity to model the structural responses accurately while maintaining an appropriate scale to prevent overfitting.

Results

Target greenhouse specifications

To predict the section forces in frame structures using the PINN, this study selected an agricultural single-span greenhouse that adhered to the domestic standard specifications for non-disaster-resistant horticultural facilities in Korea. According to the standard specifications for agricultural single-span greenhouses, as shown in Fig. 1, the eave height was 2 m, the ridge height was 4m, and pipes were embedded 40 cm into the ground. The structural members for the rafters are structural steel pipes (SPVHS) with dimensions of Ø42.1 mm × 2.1 t, conforming to KS D 3760 standards. These rafters are installed at 65 cm intervals to ensure structural integrity.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F1.jpg
Fig. 1.

Nodal configuration and dimensions of the single-span greenhouse frame model.

Additionally, the load applied to the single-span greenhouse was established as a snow load. Snow loads act as a continuous vertical load on agricultural greenhouses, serving as a static external load that increases the possibility of a structural collapse. Among greenhouse collapse accidents due to external loads, it has been found that collapses due to snow loads account for 47% of all cases (Ryu et al. 2019). Snow loads can be considered as an appropriate load for the first step of verifying the performance of the PINN, as their distribution patterns are relatively clear and allow for a static analysis.

The snow load was applied according to standard specifications, corresponding to a design load for a maximum snow depth of 40 cm, with the unit weight of snow set to 1.0 kN/m3. Considering the rafter spacing of 65 cm, the final design load was established as 250 N/m. Furthermore, to verify the performance of the PINN model under various load conditions, an eccentric snow load was also applied. An eccentric snow load simulates an asymmetric load condition where more snow accumulates on one side of the greenhouse structure, potentially causing more extreme stress states in the structure. For the eccentric load configuration, the load was set to change linearly according to the distance from the central axis (x-axis) of the greenhouse. By applying an eccentricity coefficient of 0.7, the load increases to approximately 130% (‒325 N/m) of the basic load at the left end of the greenhouse, maintains the basic load (‒250 N/m) at the center, and decreases linearly to approximately 60% (‒150 N/m) of the basic load toward the right end. This linear eccentric load distribution reasonably simulates the asymmetric load conditions that could occur in actual snow conditions while allowing an evaluation of the PINN’s prediction performance under complex load conditions.

Training of the PINN model

The PINN model results were validated by comparing them with the results from a conventional FEM analysis of an agricultural single-span greenhouse. The PINN model training showed stable convergence, with an initial loss value of 1.701, which decreased to 1.900×10-5 after 5,000 iterations (Fig. 2). During the initial 500 iterations, the loss value decreased rapidly to 2.578×10-3, indicating that the model quickly learned the overall structural behavior characteristics. In the middle phase of training (from 500 to 2,500 iterations), the loss gradually decreased to 8.636×10-4, demonstrating stable learning progress. Notably, the loss curve in this phase followed an almost linear downward trend, suggesting that the model consistently learned the detailed structural behavior characteristics.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F2.jpg
Fig. 2.

Training loss convergence of the PINN model.

After 2,500 iterations, when the rate of loss reduction became more gradual, a continuous performance improvement was achieved, ultimately reaching a very low loss value. The training process exhibited stability, confirming the effective implementation of the physics-based loss function and the appropriate selection of the learning rate and model architecture. In particular, the gradual convergence characteristics in the later training phase suggested that the model achieved good generalization performance without overfitting.

Section force prediction results using the PINN model

The PINN model demonstrated high accuracy in predicting section forces compared with the FEM analysis results. For the normal force, at the support (node 1), the model predicted 1,171.12 N, compared to the FEM analysis value of 1,171.11 N. At the midspan (node 9), the prediction was 626.74 N, whereas the FEM yielded 626.38 N, resulting in an error of 0.06%. For the shear force at the support, the model’s prediction was 507.96 N, precisely matching the FEM result. At the midspan, it predicted 47.66 N compared to the FEM value of 47.94 N, yielding an error of 0.58%. For the bending moment, at the support, the PINN prediction precisely matched the FEM value of 559.28 N·m. Also at the midspan, it predicted 251.84 N·m, compared to 248.75 N·m from the FEM, with an error of 1.24% (Table 1).

Table 1.

Comparison of predicted section forces (PINN) with FEM analysis results at each node

Element Axial (N) Shear (N) Moment (N·m)
FEM PINN FEM PINN FEM PINN
1 1171.11 1171.12 507.96 507.96 559.28 559.28
2 1171.11 1171.12 507.96 507.98 48.79 48.80
3 1171.11 1171.08 507.96 507.92 461.70 461.71
4 1153.39 1153.45 282.68 282.77 239.70 239.66
5 985.68 985.52 253.10 252.88 91.00 91.14
6 841.06 841.33 235.25 235.61 27.98 27.70
7 730.32 730.15 229.97 229.47 129.70 130.67
8 652.02 651.87 115.04 115.54 226.88 224.54
9 626.38 626.74 47.94 47.66 248.75 251.84
10 652.02 651.88 115.04 115.27 226.88 224.74
11 730.32 730.04 229.97 229.44 129.70 130.30
12 841.06 841.44 235.25 235.87 27.98 28.03
13 985.68 985.50 253.10 252.76 91.00 90.95
14 1153.39 1153.46 282.68 282.78 239.70 239.74
15 1171.11 1171.08 507.96 507.94 461.70 461.67
16 1171.11 1171.13 507.96 507.95 48.79 48.82
17 1171.11 1171.11 507.96 507.96 559.28 559.28

The distribution of section forces across the entire structure is shown in Fig. 3. The normal force exhibits a symmetrical nonlinear decrease from a maximum value of 1,171.11 N at the supports to a minimum value of 626.38 N at midspan, which the PINN predicted accurately. The shear force decreases sharply, from 507.96 N at the supports to 47.94 N at the midspan, with the PINN successfully capturing the steep transition in the region of nodes 8–10. The bending moment follows a complex distribution pattern, starting at 559.28 N·m at the supports, dropping to local minima of 48.79 N·m at nodes 2 and 16, and reaching 248.75 N·m at the midspan. The PINN prediction matched these variations with high accuracy. These results confirm that the PINN effectively learns and generalizes the mechanical behavior of the structure using its physics-based loss function.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F3.jpg
Fig. 3.

Distribution of section forces along the greenhouse frame: (a) axial force comparison, (b) shear force comparison, and (c) moment comparison between the FEM and PINN simulations.

Structural deformation and displacement analysis

The maximum displacement difference in the x-direction was observed at node 10, measuring 0.119 mm (1.19×10-4 m), while in the y-direction, the largest difference occurred at node 9 at 0.100 mm (1.00×10-4 m). At the boundary conditions (nodes 1 and 17), both the x and y directions showed minimal differences at the micrometer (10-6 m) level. Across all nodes, the average displacement difference was 2.47×10-5 m in the x-direction and 7.80×10-6 m in the y-direction, indicating relatively high accuracy during y-direction predictions. Notably, at nodes experiencing maximum displacements - nodes 3 and 15 (±4.16 cm in the x-direction) and node 9 (‒7.44 cm in the y-direction) - the differences remained below 0.1 mm, confirming the PINN’s accuracy in predicting major structural deformations (Table 2).

Table 2.

Comparison of nodal displacements between FEM and PINN analyses with corresponding absolute differences

Node FEM PINN Difference
X Y X Y X Y
1 0.0000 0.0000 0.0000 0.0000 ‒4.27.E‒07 ‒1.91.E‒06
2 ‒0.0185 0.0018 ‒0.0185 0.0018 0.00.E+00 0.00.E+00
3 ‒0.0416 0.0041 ‒0.0416 0.0041 0.00.E+00 ‒1.00.E‒05
4 ‒0.0374 0.0000 ‒0.0374 0.0000 0.00.E+00 ‒1.40.E‒06
5 ‒0.0230 ‒0.0163 ‒0.0230 ‒0.0163 0.00.E+00 0.00.E+00
6 ‒0.0101 ‒0.0366 ‒0.0100 ‒0.0366 1.00.E‒04 0.00.E+00
7 ‒0.0025 ‒0.0554 ‒0.0026 ‒0.0554 ‒3.00.E‒05 0.00.E+00
8 ‒0.0004 ‒0.0694 ‒0.0004 ‒0.0694 2.00.E‒06 0.00.E+00
9 0.0000 ‒0.0744 0.0001 ‒0.0745 ‒8.50.E‒05 ‒1.00.E‒04
10 0.0004 ‒0.0694 0.0003 ‒0.0694 1.19.E‒04 0.00.E+00
11 0.0025 ‒0.0554 0.0026 ‒0.0554 ‒4.00.E‒05 0.00.E+00
12 0.0101 ‒0.0366 0.0101 ‒0.0366 0.00.E+00 0.00.E+00
13 0.0230 ‒0.0163 0.0230 ‒0.0163 0.00.E+00 0.00.E+00
14 0.0374 0.0000 0.0374 0.0000 0.00.E+00 8.70.E‒06
15 0.0416 0.0041 0.0416 0.0041 0.00.E+00 ‒1.00.E‒05
16 0.0185 0.0018 0.0185 0.0018 0.00.E+00 0.00.E+00
17 0.0000 0.0000 0.0000 0.0000 ‒1.04.E‒06 ‒2.49.E‒06

As illustrated in Fig. 4, the deformed shapes under a snow load predicted by the FEM (blue solid line) and the PINN (red dotted line) closely align with the original shape (dotted line). The agreement was particularly evident at critical points, specifically the midspan with maximum vertical deflection (‒7.44 cm) and the sides with maximum horizontal displacements (±4.16 cm). These results validate the capability of the PINN to capture the global deformation behavior of such structures accurately.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F4.jpg
Fig. 4.

Comparison of deformed shapes between the FEM and PINN.

Validation of physical meaningfulness with loss reduction

Using the PINN, predictions of sectional forces and displacements were made when a snow load acts on a single-span greenhouse. An additional analysis was conducted to verify whether the model maintains physically meaningful solutions as the loss function value decreases during the PINN model training process. For this purpose, the errors in the sectional forces (axial force, shear force, bending moment) and displacements (x, y directions) were quantitatively evaluated according to changes in the loss function values.

The change in the absolute error of the sectional forces according to the training epoch is visualized in Fig. 5. Initially, the errors started at approximately 180 N for the axial force, 100 N for the shear force, and 140 Nm for the moment, and these errors decreased rapidly as training progressed. In particular, after approximately 1,000 epochs, the absolute errors of all sectional force elements decreased significantly, and after 2,000 epochs, they became even more stable. At the completion of training at 5,000 epochs, the absolute errors of the axial force, shear force, and moment were reduced to 0.022 N, 0.019 N, and 0.023 N, respectively. Fig. 6 visualizes the changes in the absolute errors for the displacements. The displacement errors started at approximately 0.015 m in the x direction and at 0.024 m in the y direction at the beginning of training and decreased rapidly as training progressed. After about 500 epochs, they maintained very small errors below 0.0005 m (0.5 mm). Finally, at 5,000 epochs, the absolute errors of displacement in the x and y directions both converged to 1.36 µm.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F5.jpg
Fig. 5.

Absolute errors of section force predictions over the training epochs.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F6.jpg
Fig. 6.

Absolute errors of displacement predictions over the training epochs.

An analysis of physical significance when the loss function decreased below specific threshold values is presented in Table 3, clearly showing how the absolute errors in the sectional forces and displacements improve as the loss function decreases. When the loss function was approximately 0.1 (around 200 epochs), the absolute error in the sectional forces was 17.5 N and the absolute error in the displacements was 671 µm. When the loss function decreased to approximately 0.00001 (around 1500 epochs), the absolute error in the sectional forces improved significantly to 0.302 N, while the absolute error in the displacements to 20.7 µm. Particularly noteworthy is that when the loss function value decreased below approximately 0.0001 (above 1200 epochs), the prediction errors decreased to physically meaningful levels. At this point, the sectional force error decreased to below 0.522 N, and the displacement error fell to less than 45 µm. This demonstrates a level of accuracy that can be used for safety assessments of actual structures. Finally, at 5000 epochs, when the loss function decreased to 9.29×10-8, the absolute error in the sectional forces converged to 0.0222 N, the absolute error in the displacements went to 1.36 µm, and the boundary condition violations fell to the level of 0.089 µm. These outcomes represent very high accuracy at the level required for high-precision structural analyses, proving that the PINN model successfully learned the physical laws.

Table 3.

Error reduction patterns across loss function thresholds

Loss threshold Epoch reached Actual loss Force absolute error Displacement
absolute error
0.1 200 2.68E‒02 1.75E+01 6.71E‒04
0.01 300 5.34E‒03 7.74E+00 3.91E‒04
0.001 800 3.67E‒04 1.80E+00 1.47E‒04
0.0001 1200 4.35E‒05 5.22E‒01 4.50E‒05
0.00001 1500 1.26E‒05 3.02E‒01 2.07E‒05

The degree of boundary condition violations also improved with a decrease in the loss function. As shown in Fig. 7, the fixed point displacement difference, which was initially about 2×10-2 m (20mm), decreased to the range of 10-3 ~ 10-4 m as the loss function decreased to levels of 0.1 and 0.01. Notably, at approximately 1,500 epochs, a rapid decrease occurred, improving to below 10-6 m (1 µm), and as training continued, it steadily decreased, finally converging to a level of 8.9×10-8 m (0.089 µm). As can be confirmed from the graph, the final result is indicated as “Final difference: 0.00000009 m,” which represents a very small error at the nanometer (nm) level, signifying that the PINN model satisfied the boundary conditions almost perfectly. Through these results, it is demonstrated that the FEM-based PINN model proposed in this study provides physically meaningful solutions reliably when subjected to sufficient training and specifically adheres to boundary conditions, which are important in a structural analysis, with high accuracy.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F7.jpg
Fig. 7.

Fixed support displacement error reduction over the training epochs.

Model generalization under eccentric loading conditions

To evaluate the generalization performance of the PINN model, validation was conducted not only under uniform load but also under eccentric load conditions. The eccentric load was set to change linearly according to the distance from the central axis, with a load of 334.75 N/m applied at the left end and 62.25 N/m at the right end of a single-span greenhouse with an eccentricity coefficient of 0.7.

The PINN model demonstrated excellent agreement with the FEM results in predicting sectional forces under eccentric load conditions (Fig. 8). For the axial force, it predicted an asymmetric pattern with a maximum value of 1440.69 N at the left support (node 1) and a minimum value of 431.59 N at the center part (node 8) with an average error of 0.06%. The shear force showed a maximum value of 478.32 N at the left part (node 3) and was predicted with an average error of 0.43%. Although a relatively high maximum error of 3.13% occurred near node 10, where the value was small, the absolute error was only 1.67 N. Due to the eccentric load, the bending moment showed distinct asymmetry with 476.98 N·m at the right support (node 17) and 229.79 N·m at the left support (node 1). The PINN model predicted this bending moment distribution with an average error of 2.03%. The relatively higher error in the bending moment is considered to be due to increased nonlinearity in the complex distribution pattern caused by the eccentric load.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F8.jpg
Fig. 8.

Comparison of section forces under eccentric loading (FEM vs PINN).

Additionally, as shown in Fig. 9, the deformation shape of the structure under an eccentric load was also accurately predicted by the PINN model. Comparing the deformed shape from the original structure shape (dotted line), it can be seen that the FEM (blue solid line) and PINN (red dotted line) results are very similar. A quantitative analysis of the displacement prediction accuracy level showed that the average error in the x-direction displacement was 0.022 mm with a maximum error of 0.105 mm, while the average error in the y-direction displacement was 0.030 mm, with a maximum error of 0.130 mm. Considering the maximum displacement magnitude of the structure (about 50 mm), these are very small levels, showing that the PINN model accurately predicts the deformation shape even under eccentric load conditions. Furthermore, the displacement analysis results showed that the structure exhibited an asymmetric deformation pattern due to the eccentric load, with the maximum vertical deflection of ‒5.10 cm occurring at node 7 and the maximum horizontal displacement of 5.08 cm arising node 14. The PINN model successfully captured the characteristics of this complex asymmetric deformation pattern, indicating that the approach of integrating physical constraints into the loss function worked effectively.

https://cdn.apub.kr/journalsite/sites/kshs/2025-043-04/N020250041/images/HST_20250041_F9.jpg
Fig. 9.

Comparison of deformed shapes under eccentric loading (FEM vs PINN).

Discussion

This study has established a foundation for implementing physics-informed neural networks within structural analysis contexts and identified both their capabilities and present constraints. The methodology shows particular promise for applications in horticultural engineering, especially with regard to structural safety assessments of greenhouses. Modern greenhouse structures present unique challenges due to their irregular loading conditions, seasonal variations, and the complex interactions between the structural components and the cultivation systems. These structures face dynamic loading conditions from wind, snow, and equipment installations, while simultaneously requiring precise environmental control for optimal crop growth. This combination makes structural integrity assessments of these structures crucial not only for crop protection and economic sustainability but also for maintaining stable growing conditions and good energy efficiency.

The PINN approach’s capacity to manage intricate geometries and deliver swift safety evaluations holds considerable promise to benefit greenhouse designers and operators. Its ability to provide rapid structural assessments becomes particularly valuable when evaluating the impact of modifications such as the installation of additional growing systems, climate control equipment, or when assessing the effects of adaptations to changing environmental loads on the structural stability. This capability could significantly improve the design optimization of greenhouse structures, leading to the more efficient use of materials while ensuring structural safety.

We explore an implementation of PINNs for structural analysis applications, demonstrating their capability to address structural mechanics challenges that conventional methods find difficult. A key innovation of this work involves the direct incorporation of structural physical governing equations within the neural network architecture, enabling the system to discover solutions conforming to both structural equilibrium requirements and boundary conditions. The integration of FEM physical principles into the PINN’s loss function represents a significant advancement in structural analysis methodologies, addressing the limitations of both conventional PINN implementations and traditional FEM analyses. While traditional PINNs have limited applicability to complex structural geometries due to their reliance on direct differential equation learning, our FEM-based approach enables practical applications to actual structures while maintaining feasible computational efficiency.

The PINN approach presents a mesh-independent analytical approach, in contrast to the FEM, which necessitates mesh creation. PINNs employ stochastically selected points across the domain, thereby preserving the solution continuity and non-linearity without segmented approximations (Lee 2022). Through the elimination of response linearization (commonly employed in the FEM), PINNs exhibit an enhanced ability to represent intricate structural behaviors with less than 1% error (Mouratidou et al. 2024).

Our study revealed that the PINN approach delivered exceptional accuracy in structural response predictions, achieving results that were closely aligned with FEM solutions across the test scenarios here. The accuracy achieved in section force and displacement predictions suggests the robustness of the PINN. Maintaining micrometer-level accuracy in displacement predictions and capturing complex bending moment distributions indicate that the physics-based constraints effectively guide the learning process. This level of accuracy was achieved with minimal training data, demonstrating the value of incorporating physical principles into the neural network architecture.

The PINN model proposed in this study demonstrated excellent generalization performance even under eccentric load conditions. Under asymmetrically distributed snow loads of ‒334.75 N/m at the left end and ‒65.25 N/m at the right end, the model accurately predicted the asymmetric distributions of internal forces and deformations. The axial force showed a very low error rate of 0.06% on average, the shear force 0.43%, and the bending moment 2.03%. These successful predictions under non-uniform load conditions demonstrate that the model robustly learned the fundamental physical principles of the structure rather than demonstrating simple pattern recognition. Particularly noteworthy is that it accurately captured the complex asymmetric deformation pattern caused by the eccentric load. The average errors in the displacement predictions were very low at 0.022 mm in the x-direction and 0.030 mm in the y-direction, and the model accurately predicted both the location and magnitude (‒5.10 cm) of the maximum vertical deflection. These results prove that the PINN model can accurately predict structural behaviors not only under uniform loads but also under complex load patterns, showing strong potential for effective use in assessing the structural safety of greenhouses under various environmental conditions.

Additionally, this study verified the physical significance of the prediction results according to decreases in loss function values. As the loss function value decreased from 0.1 to 0.00001, the sectional force error decreased sharply from 17.5 N to 0.302 N, and the displacement error fell from 0.671 mm to 0.021 mm. Particularly, when the loss function value decreased to less than 0.0001 (around 1200 epochs), the sectional force error reached practical accuracy of less than 0.522 N, with the displacement error below 0.045 mm. These results show that the proposed physics-based loss function works effectively during the learning process, with the model converging toward finding physically meaningful solutions. The degree of the boundary condition violation also greatly improved from about 20 mm initially to 0.089 µm at the end as learning progressed. These results demonstrate that after sufficient training, the PINN model can provide solutions that almost perfectly satisfy the boundary conditions required in a conventional FEM analysis, suggesting that the PINN approach can serve as a valuable alternative in the field of structural analysis given how it provides solutions that comply with physical laws as well as good numerical accuracy.

While acknowledging this adaptability, it becomes essential to examine how PINNs measure up against the FEM regarding computational performance. PINN training demands resource-intensive iterative optimization processes, whereas FEM solutions follow a more straightforward path for given mesh configurations (Grossmann et al. 2024). Grossmann et al. (2024) demonstrated that FEM solutions achieved high-accuracy convergence one to three orders of magnitude more rapidly than PINN methodologies in specific benchmark PDE scenarios. This finding of this study supports that the traditional FEM maintains advantages in terms of raw computational speed and precision across numerous applications.

Regarding accuracy metrics, our PINN approach effectively captured broad response characteristics; however, stress concentrations showed slightly reduced precision compared to refined FEM models. This discrepancy is likely attributable to the PINN’s loss function balancing requirements and the potential necessity for an augmented network capacity or longer training duration to capture fine-scale phenomena. The current validation is limited to a single loading condition and specific structural configuration. While the results are promising, comprehensive validation across different load conditions and structural configurations is necessary. The present implementation also does not address structural nonlinearities or dynamic behaviors, which are essential aspects of a comprehensive structural analysis.

Further research should focus on extending these capabilities to more complex scenarios, including nonlinear material behaviors and dynamic loading conditions. The method proposed here shows particular promise for applications requiring iterative analyses, such as optimization studies and reliability assessments, which are increasingly important for agricultural structures under extreme weather conditions. Through systematic investigations of these research directions, scholars can strengthen PINN reliability and applicability, potentially establishing these models as standard analytical tools alongside, or complementary to, conventional methods such as the FEM. The implementation of PINNs in greenhouse structural analysis could revolutionize how we approach safety assessments in horticultural facilities, ultimately contributing to more resilient and efficient protected cultivation systems.

Acknowledgements

This research was supported by the “Research Base Construction Fund Support Program” funded by Jeonbuk National University in 2025.

References

1

Bolandi H (2023) Beyond Finite Element: Physics Informed Neural Network for Stress Prediction. Michigan State University

10.1007/s10489-023-04923-8
2

Cai SZ, Mao ZP, Wang ZC, Yin ML, Karniadakis GE (2021) Physics-informed neural networks (PINNs) for fluid mechanics: a review. Acta Mech Sinica-Prc 37:1727-1738. https://doi.org/10.1007/s10409-021-01148-1

10.1007/s10409-021-01148-1
3

Chen YY, Lu L, Karniadakis GE, Dal Negro L (2020) Physics-informed neural networks for inverse problems in nano-optics and metamaterials. Opt Express 28:11618-11633. https://doi.org/10.1364/Oe.384875

10.1364/OE.38487532403669
4

de Almeida EF, da Silva S, Cunha Jr A (2023) Physics-informed neural networks for solving elasticity problems. In 27th International Congress on Mechanical Engineering (COBEM 2023)

5

Falas S, Konstantinou C, Michael MK (2020) Special Session: Physics-Informed Neural Networks for Securing Water Distribution Systems. Pr Ieee Comp Design pp 37-40. https://doi.org/10.1109/Iccd50377.2020.00022

10.1109/ICCD50377.2020.00022
6

Farmaga I, Shmigelskyi P, Spiewak P, Ciupinski L (2011) Evaluation of computational complexity of finite element analysis. In 2011 11th International Conference The Experience of Designing and Application of CAD Systems in Microelectronics (CADSM). IEEE, pp 213-214

7

Fuchi KW, Wolf EM, Makhija DS, Wukie NA, Schrock CR, Beran PS (2020) Investigation of Analysis and Gradient-Based Design Optimization Using Neural Networks. Proceedings of the Asme 2020 Conference on Smart Materials, Adaptive Structures and Intelligent Systems (Smasis2020)https://doi.org/10.1115/SMASIS2020-2241

10.1115/SMASIS2020-2241
8

Goswami S, Anitescu C, Chakraborty S, Rabczuk T (2020) Transfer learning enhanced physics informed neural network for phase-field modeling of fracture. Theor Appl Fract Mec 106:102447. https://doi.org/10.1016/j.tafmec.2019.102447

10.1016/j.tafmec.2019.102447
9

Grossmann TG, Komorowska UJ, Latz J, Schönlieb CB (2024) Can physics-informed neural networks beat the finite element method? IMA J Applied Math 89:143-174. https://doi.org/10.1093/imamat/hxae011

10.1093/imamat/hxae01138933736PMC11197852
10

Guo YA, Cao XQ, Liu BN, Gao M (2020) Solving Partial Differential Equations Using Deep Learning and Physical Constraints. Appl Sci-Basel 10:5917. https://doi.org/10.3390/app10175917

10.3390/app10175917
11

Haider A (2024) Efficiency enhancement techniques in finite element analysis: navigating complexity for agile design exploration. Aircr Eng Aerosp Tec 96:662-668. https://doi.org/10.1108/Aeat-02-2024-0053

10.1108/AEAT-02-2024-0053
12

He H, Pathak J (2020) An unsupervised learning approach to solving heat equations on chip based on auto encoder and image gradient. arXiv preprint arXiv:200709684. https://doi.org/10.48550/arXiv.2007.09684

10.48550/arXiv.2007.09684
13

He QZ, Barajas-Solano D, Tartakovsky G, Tartakovsky AM (2020) Physics-informed neural networks for multiphysics data assimilation with application to subsurface transport. Adv Water Resour 141:103610. https://doi.org/10.1016/j.advwatres.2020.103610

10.1016/j.advwatres.2020.103610
14

Hu HT, Qi LH, Chao XJ (2024) Physics-informed Neural Networks (PINN) for computational solid mechanics: Numerical frameworks and applications. Thin Wall Struct 205:112495. https://doi.org/10.1016/j.tws.2024.112495

10.1016/j.tws.2024.112495
15

Jeon J, Kim S, Kim T (2024) Structural Safety Changes and Reinforcement Effect of Raising the Height of Korean Plastic Greenhouses. Hortic Sci Technol 43:198-211. https://doi.org/10.7235/HORT.20250019

10.7235/HORT.20250019
16

Jeon J, Lee H, Yoon S (2022) Optimal Section Design of Korean Agricultural Greenhouse Response to Climate Change Based on Monte Carlo Simulation. Agriculture-Basel 12:1413. https://doi.org/10.3390/agriculture12091413

10.3390/agriculture12091413
17

Kaplarevic-Malisic A, Andrijevic B, Bojovic F, Nikolic S, Krstic L, Stojanovic B, Ivanovic M (2023) Identifying optimal architectures of physics-informed neural networks by evolutionary strategy. Appl Soft Comput 146:110646. https://doi.org/10.1016/j.asoc.2023.110646

10.1016/j.asoc.2023.110646
18

Karniadakis GE, Kevrekidis IG, Lu L, Perdikaris P, Wang SF, Yang L (2021) Physics-informed machine learning. Nat Rev Phys 3:422-440. https://doi.org/10.1038/s42254-021-00314-5

10.1038/s42254-021-00314-5
19

Kim YS, Eun HC (2018) Reanalysis of Modified Structures by Adding or Removing Substructures. Adv Civ Eng 2018. https://doi.org/10.1155/2018/3084078

10.1155/2018/3084078
20

Kirsch U (2003) A unified reanalysis approach for structural analysis, design, and optimization. Struct Multidiscip O 25:67-85. https://doi.org/10.1007/s00158-002-0269-0

10.1007/s00158-002-0269-0
21

Laubscher R (2021) Simulation of multi-species flow and heat transfer using physics-informed neural networks. Phys Fluids 33. https://doi.org/10.1063/5.0058529

10.1063/5.0058529
22

Lawal ZK, Yassin H, Lai DTC, Idris AC (2022) Physics-Informed Neural Network (PINN) Evolution and Beyond: A Systematic Literature Review and Bibliometric Analysis. Big Data Cogn Comput 6:140. https://doi.org/10.3390/bdcc6040140

10.3390/bdcc6040140
23

Lee S (2022) Physics-Informed Neural Networks and its Applications. J Kor Academia-Industrial Cop Soc 23:755-760. https://doi.org/10.5762/KAIS.2022.23.12.755

10.5762/KAIS.2022.23.12.755
24

Lee S, Lee J, Lee H (2005) Development of one-span vinyl house for reduction of damage by heavy snow. In Proceedings of the Korean Society for Bio-Environment Control Conference. The Korean Society for Bio-Environment Control, pp 138-144

25

Lee SG, Lee JW, Kwak CS, Lee HW (2008) Experimental study on the ground support conditions of pipe ends in single span pipe greenhouse. J Bio-Env Con 17:188-196.

26

Lee SI, Lee JH, Jeong YJ, Choi W (2020) Development of a structural analysis model for pipe structures to reflect ground conditions. Biosyst Eng 197:231-244. https://doi.org/10.1016/j.biosystemseng.2020.06.018

10.1016/j.biosystemseng.2020.06.018
27

Liu N, Tang WH (2004) System reliability evaluation of nonlinear continuum structures - a probabilistic FEM approach. Finite Elem Anal Des 40:595-610. https://doi.org/10.1016/S0168-874x(03)00098-2

10.1016/S0168-874X(03)00098-2
28

Mai HT, Truong TT, Kang J, Mai DD, Lee J (2023) A robust physics-informed neural network approach for predicting structural instability. Finite Elem Anal Des 216:103893. https://doi.org/10.1016/j.finel.2022.103893

10.1016/j.finel.2022.103893
29

Mao ZP, Jagtap AD, Karniadakis GE (2020) Physics-informed neural networks for high-speed flows. Comput Method Appl M 360:112789. https://doi.org/10.1016/j.cma.2019.112789

10.1016/j.cma.2019.112789
30

Mouratidou AD, Drosopoulos GA, Stavroulakis GE (2024) Ensemble of physics-informed neural networks for solving plane elasticity problems with examples. Acta Mech 235:6703-6722. https://doi.org/10.1007/s00707-024-04053-3

10.1007/s00707-024-04053-3
31

Nath D, Ankit, Neog DR, Gautam SS (2024) Application of Machine Learning and Deep Learning in Finite Element Analysis: A Comprehensive Review. Arch Comput Method E 31:2945-2984. https://doi.org/10.1007/s11831-024-10063-0

10.1007/s11831-024-10063-0
32

Nayak AK, Rao KR (2014) Estimation of wind load on a greenhouse and evaluation of its structural stability. Int J Agri Eng 7:461-466. https://doi.org/10.15740/HAS/IJAE/7.2/461-466

10.15740/HAS/IJAE/7.2/461-466
33

Paik S (2019) A Study on the Structural Safety Analysis for Vinyl House at Snow Load. J Korean Soc Saf 34:34-39. https://doi.org/10.14346/JKOSOS.2019.34.2.34

10.14346/JKOSOS.2019.34.2.34
34

Park SE, Lee JW, Lee SG, Lee HW, Choi JH (2010) The cause analysis of greenhouse damage for heavy snow using large displacement analysis. J Korean Assoc Spat Struct 10:61-68.

35

Pepper DW, Heinrich JC (2006) The finite element method : basic concepts and applications, Ed 2nd. Taylor & Francis, New York

36

Raissi M, Perdikaris P, Karniadakis GE (2019) Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J Comput Phys 378:686-707. https://doi.org/10.1016/j.jcp.2018.10.045

10.1016/j.jcp.2018.10.045
37

Roy A, Chatterjee T, Adhikari S (2024) A physics-informed neural network enhanced importance sampling (PINN-IS) for data-free reliability analysis. Probabilist Eng Mech 78:103701. https://doi.org/10.1016/j.probengmech.2024.103701

10.1016/j.probengmech.2024.103701
38

Ryu H, Choi M, Cho M, Yu I, Kim S (2019) Damage index estimation by analysis of meteorological disasters on film plastic greenhouses. Int J Agr Biol Eng 12:58-63. https://doi.org/10.25165/j.ijabe.20191205.4493

10.25165/j.ijabe.20191205.4493
39

Sharma R, Shankar V (2022) Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless Discretizations. Adv Neur In.

40

Shmigelskyi P, Farmaga I, Spiewak P, Ciupinski L (2011) Evaluation of computational complexity of finite element analysis using gaussian elimination. Радиоэлектроника и информатика:20-23.

41

Uematsu Y, Takahashi K (2020) Collapse and reinforcement of pipe-framed greenhouse under static wind loading. J Civil Eng Archit 14:583-594. https://doi.org/10.17265/1934-7359/2020.11.001

10.17265/1934-7359/2020.11.00133253344
42

Wong JC, Ooi C, Chiu PH, Dao MH (2021) Improved surrogate modeling of fluid dynamics with physics-informed neural networks. arXiv preprint arXiv:210501838. https://doi.org/10.48550/arXiv.2105.01838

10.48550/arXiv.2105.01838
43

Yin ML, Zheng XN, Humphrey JD, Karniadakis GE (2021) Non-invasive inference of thrombus material properties with physics-informed neural networks. Comput Method Appl M 375:113603. https://doi.org/10.1016/j.cma.2020.113603

10.1016/j.cma.2020.11360333414569PMC7785048
44

Yuan L, Ni YQ, Deng XY, Hao S (2022) A-PINN: Auxiliary physics informed neural networks for forward and inverse problems of nonlinear integro-differential equations. J Comput Phys 462:111260. https://doi.org/10.1016/j.jcp.2022.111260

10.1016/j.jcp.2022.111260
45

Zhang E, Yin M, Karniadakis GE (2020) Physics-informed neural networks for nonhomogeneous material identification in elasticity imaging. arXiv preprint arXiv:200904525. https://doi.org/10.48550/arXiv.2009.04525

10.48550/arXiv.2009.04525
46

Zhu QM, Liu ZL, Yan JH (2021) Machine learning for metal additive manufacturing: predicting temperature and melt pool fluid dynamics using physics-informed neural networks. Comput Mech 67:619-635. https://doi.org/10.1007/s00466-020-01952-9

10.1007/s00466-020-01952-9
페이지 상단으로 이동하기