1 Introduction

It is a challenging and vital task to determine the torsional behavior of reinforced concrete beams, especially when they are strengthened with FRP. However, there has been little investigation on the torsional behavior of these beams, even though there have been many studies and experiments on their bending behavior within specific environmental conditions.

A difficult characteristic of structural behavior is twisting. Torsional stresses develop when shear stresses are not applied through the shear center. The performance of beams reinforced with FRP under torsional loading has been the subject of numerous investigations, with some remarkable laboratory findings.

Standard techniques for calculating Tu may not be compatible with strengthened RC beams. This parameter may be changing, according to ongoing study. To predict the results of experiments, engineers need to use less complicated techniques and mathematical formulas. This demand results from Tu’s depending on several variables. Soft computing techniques might be regarded as an acceptable response. These methods may be used to generate alternatives and solutions for both linear and nonlinear problems when mathematical models are unable to sufficiently explain how the main features of the problem are connected.

Artificial intelligence systems for evaluating and predicting the torsional strength of strengthened RC beams are becoming increasingly popular in the field of RC strengthening research to provide the construction sector with new ideas and strategies for application.

Machine learning has become a powerful technique for assessing the performance of materials and structures. Machine learning has been a potent tool for analyzing structural and material performance over the past decade (Ghafor et al. 2022). Machine learning models are extremely applicable and adaptable because they depend on enormous quantities of measured or accumulated real-world data with characteristics having a wide range of values. ANN and M5P-tree models were two famous soft computing models used in civil and material engineering. Identifying the network parameters, such as the number of hidden layers and neurons, using the ANN algorithm is a time-consuming trial-and-error approach. The M5P algorithm, however, is a reliable method that offers comprehensible linear regression for the inputs and outputs in a nonlinear modeling approach to the splitting process (Almasabha et al. 2022; Alshboul et al. 2022; Kooh et al. 2022; Amlashi et al. 2019).

The main goal of this research is to determine how input parameters, such as the reinforced concrete beam’s width, its height, the FRP sheet’s thickness, its modulus of elasticity, the longitudinal bars’ yielding stress, the transverse bars’ yielding stress, the concrete’s compressive strength, the width of the FRP strips along the length of the beam per center-to-center distance between the FRP strips, the angle at which the FRP is aligned, and the number of layers of the FRP, affect the ultimate torsional strength of RC beam. The following goals were attained through the use of numerous modeling approaches with a significant quantity of experimental data, including 96 tested results: (i) using statistics for assessing how things, such as the reinforced concrete beam’s width, its height, the FRP sheet’s thickness, its modulus of elasticity, the longitudinal bars’ yielding stress, the transverse bars’ yielding stress, the concrete’s compressive strength, the width of the FRP strips along the length of the beam per center-to-center distance between the FRP strips, the angle at which the FRP is aligned, and the number of layers of the FRP, affect the ultimate torsional strength of RC beam; (ii) to ensure that the models may be used by the construction sector without requiring any testing or laboratory evaluation; and (iii) identify the model that accurately predicts the ultimate torsional strength of the RC beam, and utilize that model as a base for further investigation and assessment. The development of soft computing models for predicting the ultimate torsional strength of RC beams for effective application in the construction field is another significant contribution of this work.

2 Literature review

Research on the torsional strength of reinforced concrete beams strengthened with FRP sheets was done by Ghobarah et al. (2002). Different configurations of glass fiber-reinforced polymer (GFRP) and carbon fiber-reinforced polymer (CFRP) were used to strengthen the beams. According to the findings, the full wrap arrangement offered the reinforced concrete beams a performance enhancement that was superior to other configurations. The 45° reinforced beam was also shown to be more effective in pure torsion than the 90° one, as the vertical fibers were kept in tension until failure (Askandar and Mahmood 2019; Askandar et al. 2022).

The effects of glass fiber-reinforced polymer (GFRP) sheets on pure torsion were investigated by Panchacharam and Belarbi (2002). Their study concentrated on several FRP configurations, including end restraint effects, fully wrapped strengthened beams, and U-shaped wrapping. According to the findings, 0° fibers were more ductile and had higher strength than 90° fibers. It was discovered that the continuous wrapping arrangement gave better confinement and was, therefore, more efficient than the strip wrapping option. Due to the poorly regulated shear flow, the U-shaped wrapping configuration was shown to have less resistance. On the other hand, the end restraint strengthened the beam.

To compare the effectiveness of carbon fiber-reinforced polymer (CFRP) and glass-fiber-reinforced polymer (GFRP) sheets for torsional strengthening, Ameli et al. (2005) carried out a laboratory investigation in 2005. Two patterns were put to the test: full-length and strip-form full-wrapped U shapes, as well as full-length and strip-form full-wrapped. The results showed that GFRP-reinforced beams achieved 110% in contrast to the control beam and that the greatest torsional strength improvement with CFRP was 143%. Compared to the U-shaped configuration, the full-wrapped configuration had the highest strength. The study also identified FRP rupture and FRP debonding as two popular failure modes when using FRP sheets. Hii and Al-Mahaidi (2006) studied the torsional behavior of beams with various cross-sections in 2006 (hollow and solid). The cracking and deformation patterns in the beams were seen using photogrammetry. According to the results, the solid cross-section beam had a higher load capacity for cracking, although the total load capacity was nearly equal.

Mohammadizadeh et al. (2009) conducted an experiment in 2009 to investigate the torsional behavior of 16 reinforced concrete beams. One or two thicknesses of CFRP sheets were used to strengthen the beams. The usage of FRP sheets greatly improved the beams’ torsional strength, according to the findings. In contrast to the full wrapping arrangement, the U-shaped wrapping configuration had less of an impact on enhancing the torsional capacity. The application of an artificial neural network for predicting the torsional strength of reinforced concrete beams was investigated by Arslan (2010). To assess the torsional and shear capability of T-beams reinforced with CFRP sheets, Deifalla and Ghobarah (2010) carried out an experiment in 2010.

The effects of applying CFRP on reinforced beams with and without conventional reinforcement were examined by Mahmood and Mahmood (2011). The experiment involved strengthening the beams with a full strip with spacing (d/2) or two U-shaped strips and applying a pure torsional load. According to the findings, reinforced beams had a better torsional performance than unreinforced ones. In addition, the final torsional strength of the beams was raised by 79, 74, and 68%, respectively, by the complete strip, U-shaped strip, and strip torsion configurations.

In order to improve the torsional and bending behavior of RC beams, Tudu (2012) carried out an experimental investigation in 2012. According to the outcomes, the entire wrapping pattern outscored the other models. In 2013, experiments on beams strengthened with GFRP under torsion and bending stresses were conducted by Jariwala et al. (2013). The results exhibited that the full wrapping arrangement was superior to other configurations in terms of enhancing torsional resistance. The addition of corner strips increased the ductility of the beams, and it was discovered that utilizing diagonal FRP strips was more efficient than using vertical strips. Three researchers, Rafeeq (2016), Behera et al. (2016), and Elwan (2017), carried out lab tests in 2016 and 2017 to investigate the effects of increasing the torsional strength of CFRP-reinforced beams.

The application of fiber-reinforced polymers (FRP) has become an innovative method of strengthening RC elements. The load-bearing capacity and durability of concrete structures can be significantly enhanced using FRP materials, such as CFRP. FRP is a great choice for strengthening RC elements in buildings, bridges, and other infrastructure due to its high tensile strength and resistance to corrosion. There will be minimal disruption to the existing structure during installation due to its lightweight design and flexibility (Al-Rousan 2015, 2022; Alhassan et al. 2021; Al-Rousan and Issa 2017; Al-Rousan and Abo-Msamh 2019, 2020). The artificial neural network (ANN) is a computation approach to solving a problem that can generate definitive findings with little effort and expense by simulating the capacity of the human brain to learn from the past and make predictions. In the field of structural and earthquake engineering, ANN has grown significantly in recent years, particularly in discovering correlations between data (Ghafor et al. 2022; Ahmadi et al. 2014; Naderpour et al. 2010, 2011, 2016a, 2011; b; Kheyroddin et al. 2014; Rezazadeh Eidgahee et al. 2015; Shafabakhsh et al. 2010; Naderpour and Alavi 2017; Hosseini Vaez et al. 2017).

The theory of torsion in reinforced concrete beams strengthened with FRP is explored in this study, followed by a discussion of the current regulations in this area. The relationship between input and output data to calculate the ultimate torsional strength is then developed utilizing information from relevant experiments in the field of FRP-reinforced RC beams and by developing prediction models.

In addition, there are limitations to the soft computing methods used to predict Tu for strengthened RC beam characteristics. An ANN model was utilized by Naderpour and Fakharian to calculate the Tu of strengthened RC beams. To create the ANN models, they combined 9 input parameters from the literature with 56 experimental results. They concluded that it is an effective strategy to estimate the Tu of strengthened RC beams employing FRP fiber using an ANN model (Naderpour and Fakharian 2017).

This study was carried out to predict the torsional strength of a strengthened RC beam using three separate models and ten input parameters due to the lack of investigations on the development of various models.

3 Torsion of RC beams strengthened with FRP sheet

A representation of a typical reinforced concrete beam undergoing torsion evaluation is shown in Fig. 1. The hollow cross-section of the beam is subjected to pure torsion. The figure demonstrates how the torsion is supported by concrete, reinforcement, and FRP sheets operating simultaneously.

Fig. 1
figure 1

Space truss for the torsional analysis of RC beam strengthened with FRP materials

The full torsional capacity of RC beams strengthened with FRP may be evaluated according to a variety of design codes that consider the superposition principle from both the CFRP and steel reinforcement. The ultimate torsional strength, Tu, of the investigated FRP reinforced beams is obtained by adding the contributions from the fibers and the reinforced concrete beam per Eq. (1):

$${T}_{{\text{u}}}={T}_{{\text{u}},{\text{RC}}}+{T}_{{\text{u}},{\text{FRP}}},$$
(1)

The design Eq. (2) proposed by ACI 318-19 can be used to determine the ultimate torsional strength of a reinforced concrete beam, Tu,RC (Askandar and Mahmood 2020; Habeeb Askandar and Darweesh Mahmood 2020; ACI440.2R-17 2017; ACI318M-19 2019):

$${T}_{{\text{u}},{\text{RC}}}=\frac{2\left(0.85\right)\cdot {A}_{^\circ }\cdot {A}_{{\text{t}}}\cdot {f}_{{\text{yv}}}}{S},$$
(2)

Based on the design model in the 2001 FIB Bulletin-14 (FIB 2001), an externally applied FRP laminate will only improve the torsional strength if it completely encircles the beam’s cross-section, allowing the FRP’s tensile forces of the beam, allowing the tensile forces carried by the FRP on each side of the cross-section to form a continuous loop:

$${T}_{{\text{u}},{\text{FRP}}}=2{\varepsilon }_{{\text{fk}},{\text{e}}}{E}_{{\text{fu}}}\frac{{t}_{{\text{f}}}{b}_{{\text{f}}}}{{S}_{{\text{f}}}}bh\cdot {\text{cot}}\theta ,$$
(3)
$${\varepsilon }_{{\text{fk}},{\text{e}}}=0.8{\varepsilon }_{{\text{fe}}} ,$$
(4)
$${\varepsilon }_{{\text{fe}}}=0.17{\left(\frac{{{f}_{{\text{c}}}^{\prime}}^\frac{2}{3}}{{E}_{{\text{fu}}}{\rho }_{{\text{f}}}}\right)}^{0.3}{\varepsilon }_{{\text{fu}}} ,$$
(5)

Equations (6) and (7) are used to calculate the contribution of the FRP to the strength Tu,FRP for beams reinforced with U-shaped FRP (FIB 2001):

$${T}_{{\text{u}},{\text{FRP}}}={\varepsilon }_{{\text{fk}},{\text{e}}}{E}_{{\text{fu}}}\frac{{t}_{{\text{f}}}{b}_{{\text{f}}}}{{S}_{{\text{f}}}}bh\cdot {\text{cot}}\theta ,$$
(6)
$${\varepsilon }_{{\text{fe}}}={\text{min}}. \left[0.17{\left(\frac{{{f}_{{\text{c}}}{^{\prime}}}^\frac{2}{3}}{{E}_{{\text{fu}}}{\rho }_{{\text{f}}}}\right)}^{0.3}{\varepsilon }_{{\text{fu}}} , 0.65{\left(\frac{{{f{^{\prime}}}_{{\text{c}}}}^\frac{2}{3}}{{E}_{{\text{fu}}}{\rho }_{{\text{f}}}}\right)}^{0.56}\times {10}^{-3}\right] ,$$
(7)

Ghobarah et al. (2002) calculated the contribution of the FRP to the ultimate torsional strength, Tu,FRP, using Eqs. (8) and (9):

$${T}_{{\text{u}},{\text{FRP}}}=0.006{w}_{{\text{f}}}{t}_{{\text{f}}}{E}_{{\text{f}}}\frac{bh}{{S}_{{\text{f}}}}$$
(8)
$${T}_{{\text{u}},{\text{FRP}}}=0.003{w}_{{\text{f}}}{t}_{{\text{f}}}{E}_{{\text{f}}}\frac{bh}{{S}_{{\text{f}}}}$$
(9)

All the variables used in the equations stated above are included in Table 1. The features of the FRP sheets, such as the modulus of elasticity, which can vary depending on the kind of GFRP or CFRP, sheet thickness, effective width, and number of layers, have significant effects on torsional strength. FRP strengthening configurations are shown in Fig. 2.

Table 1 Torsional strength effective parameters for FRP-strengthened RC beams
Fig. 2
figure 2

FRP strengthening configurations

4 Methodology and models

4.1 Data collection

96 datasets were gathered for this study from numerous literature sources and placed into an excel sheet. The information was then divided into three groups, statistically examined, and sorted at random. 70% of the data were included in the largest group, which was referred to as the training dataset and utilized to create models. The models were tested and validated using the remaining two groups, each of which contained 15% of the datasets (Yu et al. 2018; Qadir et al. 2019). The variables database and the measured torsional strength for each sample are summarized in Table 2. Based on the authors’ searches, the vast majority of earlier research investigating the impact of FRP Sheets, which are used to strengthen RC beams, on torsional strength was gathered.

Table 2 Statistical specifications of input data

The input dataset is shown in Table 2 and includes (a) the reinforced concrete beam’s width (mm), (b) its height (mm), (c) the FRP sheet’s thickness (mm), (d) its modulus of elasticity (MPa), (e) the longitudinal bars’ yielding stress (MPa), (f) the transverse bars’ yielding stress (MPa), (g) the concrete’s compressive strength (MPa), (h) the width of the FRP strips along the length of the beam (mm) per center-to-center distance between the FRP strips (mm), (i) the angle at which the FRP is aligned (deg.), and (j) the number of layers of the FRP (no.).

The enhanced RC beam’s torsional strength was predicted using the presented dataset, which included the 10 independent components described above. This prediction was made in comparison to the observed reported Tu (kN m). Utilizing all of the mentioned input characteristics is intended to decrease the quantity of laboratory test batches required to quickly optimize the number of components for a specific Tu. Figure 3 illustrates the method used in this experiment.

Fig. 3
figure 3

The flowchart diagram process followed in this study

4.2 Modeling

It is impossible to draw a direct connection between actual Tu and predicted Tu. Several additional elements and input variables are examined in the data analysis in the following part. These involve the dimensions (width, height, and thickness) of the RC beam; elastic modulus; the yielding stresses of the longitudinal and transverse bars; the compressive strength of the concrete; and factors about the FRP sheet. These parameters are the number of layers, the alignment angle, the width of the strips along the length of the beam, and the distance between the centers of the strips. In order to measure the impact of each parameter on Tu, three distinct soft computing approaches are offered, as shown below.

4.2.1 Linear relationship model (LR)

As previously stated, the goal of this work is to develop a model that assesses the impact of the greatest possible number of parameters on the Tu of strengthened RC beam. Equation (10) illustrates the use of linear regression as a general technique for evaluating Tu:

$${T}_{{\text{u}}}={\alpha }_{1}+{\alpha }_{2}\left({t}_{{\text{FRP}}}\right)$$
(10)

where \({\alpha }_{1}\) and \({\alpha }_{2}\) represent the model’s inputs, ultimate torsional strength (Tu), and FRP thickness (tFRP), respectively. After taking all the perimeters influencing the torsional strength, the equation becomes as shown in Eq. (11):

$${T}_{{\text{u}}}={\alpha }_{1}+{\alpha }_{2}\left(b\right)+{\alpha }_{3}\left(h\right)+{\alpha }_{4}\left({t}_{{\text{FRP}}}\right)+{\alpha }_{5}\left({E}_{{\text{FRP}}}\right)+{\alpha }_{6}\left({f}_{{\text{yl}}}\right)+{\alpha }_{7}\left({f}_{{\text{yt}}}\right)+{\alpha }_{8}\left({f}_{c}^{\prime}\right)+{\alpha }_{9}\left(\frac{{w}_{{\text{f}}}}{{S}_{{\text{f}}}}\right)+{\alpha }_{10}\left({\theta }_{{\text{FRP}}}\right)+{\alpha }_{11}\left({n}_{{\text{layer}}}\right)$$
(11)

Here, b stands for a reinforced concrete beam’s width in millimeters, h for its height in millimeters, and tfrp for the thickness of FRP in millimeters. wfrp stands for width of FRP strips along the length of the beam (mm); Sf stands for center to center spacing of FRP strips (mm); \({\theta }_{{\text{FRP}}}\) stands for angle of FRP alignment (degree); and nlayer stands for FRP number of layers. Efrp stands for modulus of elasticity of the FRP sheet (MPa); fyl stands for yielding stress of longitudinal bars (MPa); fyt stands for yielding stress of transverse bars.

The model’s parameters are \({\alpha }_{1}, {\alpha }_{2}, {\alpha }_{3}, {\alpha }_{4}, {\alpha }_{5}, {\alpha }_{6}, {\alpha }_{7}. {\alpha }_{8}, {\alpha }_{9}, {\alpha }_{10}, {\text{and}} {\alpha }_{11}\). Equation (11) can be used to expand Eq. (10) since all factors can be altered linearly. Tu may be influenced by a variety of elements that interact with one another, but this is not always the case. To accurately predict the torsional strength, the model must be updated frequently.

4.2.2 Nonlinear model (NLR)

Part of basic, Eq. (12) can be used to create an NLR model (Ghafor et al. 2022). Equation (3) can be used to predict the Tu by stating the relationship between the various components in Eqs. (10) and (11):

$${T}_{{\text{u}}}={\alpha }_{1}\times {(b)}^{{\alpha }_{2}}\times {\left(h\right)}^{{\alpha }_{3}}\times {\left({t}_{{\text{FRP}}}\right)}^{{\alpha }_{4}}\times {\left({E}_{{\text{FRP}}}\right)}^{{\alpha }_{5}}\times {\left({f}_{{\text{yl}}}\right)}^{{\alpha }_{6}}\times {\left({f}_{{\text{yt}}}\right)}^{{\alpha }_{7}}\times {\left({f}_{{\text{c}}}^{\prime}\right)}^{{\alpha }_{8}}\times {\left(\frac{{w}_{{\text{f}}}}{{S}_{{\text{f}}}}\right)}^{{\alpha }_{9}}\times {\left({\theta }_{{\text{FRP}}}\right)}^{{\alpha }_{10}}\times {({n}_{{\text{layer}}})}^{{\alpha }_{11}}+{\alpha }_{12}\times {(b)}^{{\alpha }_{13}}\times {\left(h\right)}^{{\alpha }_{14}}\times {\left({t}_{{\text{FRP}}}\right)}^{{\alpha }_{15}}\times {\left({E}_{{\text{FRP}}}\right)}^{{\alpha }_{16}}\times {\left({f}_{{\text{yl}}}\right)}^{{\alpha }_{17}}\times {\left({f}_{{\text{yt}}}\right)}^{{\alpha }_{18}}\times {\left({f}_{{\text{c}}}^{\prime}\right)}^{{\alpha }_{19}}\times {\left(\frac{{w}_{{\text{f}}}}{{S}_{{\text{f}}}}\right)}^{{\alpha }_{20}}\times {\left({\theta }_{{\text{FRP}}}\right)}^{{\alpha }_{21}}\times {({n}_{{\text{layer}}})}^{{\alpha }_{22}}$$
(12)

The LR model’s parameters are the same as those that were previously established. In addition, in a similar way to the LR model, the sum of error squares and the least square method was employed to calculate the values of each parameter using the EXCEL program and a solver.

4.2.3 ANN model

The opposite of feed-forward neural networks is an artificial neural network (ANN) (Ghafor et al. 2022). Input, output, and hidden layers make up the three different layers that comprise these networks. The input layer is in charge of receiving input data; the output layer is in charge of creating predictions and categorizations; and the hidden layer (or layers) stands in between the input and output levels, allowing data to transfer from one layer to the next.

Trial cycles show that the number of hidden layers is not constant and can be altered to enhance the model’s performance. In order to identify the ideal system configuration, the study’s authors analyzed a number of factors, including the number of hidden layers, neurons, momentum, learning rate, and iterations.

They discovered that when the ANN had one hidden layers, each with 5 neurons (as shown in Fig. 4), 2000 iterations, a learning rate of 0.2, and a momentum of 0.1, the maximum efficiency was attained. The lowest MAE and RMSE values, as well as the highest R2 value, were obtained by these settings. Equations (13)–(15) (Ghafor et al. 2022; Quinlan 1992; Malerba et al. 2004) provide the equations for the ANN model.

Fig. 4
figure 4

ANN model optimal network architecture

Identify the best-hidden layer and neurons for an ANN model based on the model’s R2, MAE, and RMSE performances, as stated in Tables 2 and 3.

Table 3 The tested ANN architectures

From linear node 0:

$${T}_{{\text{u}}}={\text{Threshold}}+ \left(\frac{{\text{Node}} 1}{1+{e}^{-B1}}\right)+\left(\frac{{\text{Node}} 2}{1+{e}^{-B2}}\right)+\dots$$
(13)

From sigmoid node 1:

$$B1={\text{Threshold}}+ \sum \left({\text{Attribute}} \times {\text{Variable}}\right)$$
(14)

From sigmoid node 2:

$$B2={\text{Threshold}}+ \sum \left({\text{Attribute}} \times {\text{Variable}}\right)$$
(15)

4.3 Assessment criteria for the developed models

A variety of indicators were used to evaluate the proposed models’ efficacy, and the outcomes were computed using the equations provided. To ensure a thorough and comprehensive examination of a model’s performance, it is crucial to apply multiple evaluation methodologies. A more thorough evaluation of the model’s capabilities and constraints is made possible by the use of a variety of metrics:

$${R}^{2}={\left(\frac{{\sum }_{i=1}^{N}\left({T}_{{\text{p}}}-{p}^{\prime}\right)\left({T}_{{\text{a}}}-{a}^{\prime}\right)}{\sqrt{\left[{\sum }_{i=1}^{N}{\left({T}_{{\text{p}}}-{p}^{\prime}\right)}^{2}\right]\left[{\sum }_{i=1}^{N}{\left({T}_{{\text{a}}}-{a}^{\prime}\right)}^{2}\right]}}\right)}^{2}$$
(16)
$${\text{RMSE}}=\sqrt{\frac{{\sum }_{i=1}^{N}{\left({T}_{{\text{a}}}-{T}_{{\text{p}}}\right)}^{2}}{N}}$$
(17)
$${\text{MAE}}=\frac{{\sum }_{i=1}^{N}\left|{T}_{{\text{p}}}-{T}_{{\text{a}}}\right|}{N}$$
(18)
$${\text{SI}}=\frac{{\text{RMSE}}}{{p}^{\prime}}$$
(19)
$${\text{OBJ}}=\left(\frac{{n}_{tr}}{{n}_{{\text{all}}}}\times \frac{{{\text{RMSE}}}_{{\text{tr}}}+{{\text{MAE}}}_{{\text{tr}}}}{{R}_{{\text{tr}}}^{2}+1}\right)+\left(\frac{{n}_{{\text{tst}}}}{{n}_{{\text{all}}}}\times \frac{{{\text{RMSE}}}_{{\text{tst}}}+{{\text{MAE}}}_{{\text{tst}}}}{{R}_{{\text{tst}}}^{2}+1}\right)$$
(20)

According to the earlier formulations, Tp and Ta stand for the predicted and actual values of the route pattern, respectively. a′ and p′, respectively, represent the means of the actual and predicted values. The letters tr, tst, and N stand for trained datasets, tested datasets, and the number of patterns (collected data) in the connected dataset, respectively. In terms of the SI parameter, a model performs (poorly) when it is larger than 0.3, (fairly) when it is between 0.2 and 0.3, (well) when it is between 0.1 and 0.2, and (excellently) when it is less than 0.1 (Ghafor et al. 2022; Li et al. 2013).

5 Results and analysis

5.1 The LR model

The relation between measured and predicted Tu for both training and assessment is shown in Fig. 5a, b. The values of each parameter in the current model were calculated using the sum of error squares and the least squares method. This model suggests that the Tu of strengthened RC beams is greatly influenced by the FRP sheet thickness and the number of layers. Equation (21) illustrates the LR model equation with different weight parameters:

Fig. 5
figure 5

Comparison of the Tu that were tested and the Tu that the LR model predicted; a training datasets; b testing datasets

$${T}_{{\text{u}}}=-45.512+0.123 \left(b\right)+0.093 \left(h\right)+26.681 \left({t}_{{\text{FRP}}}\right)+0.033 \left({E}_{{\text{FRP}}}\right)-0.031\left({f}_{{\text{yl}}}\right)-0.008 \left({f}_{{\text{yt}}}\right)+0.228 \left({f}_{{\text{c}}}^{\prime}\right)+3.364\left(\frac{{w}_{{\text{f}}}}{{S}_{{\text{f}}}}\right)+0.008 \left({\theta }_{{\text{FRP}}}\right)+7.898 \left({n}_{{\text{layer}}} \right)$$
(21)

The tFRP has the most influence on the Tu, as shown in the equation above. This might be in line with the experimental results that have been published in the literature. The assessment parameters for this model’s R2, RMSE, and MAE are 0.844, 7.51, and 5.48 MPa, respectively.

Furthermore, as shown in Sect. 5, the current model’s OBJ and SI values for the training dataset are 7.09 and 0.37, respectively.

5.2 NLR model

As a training and testing dataset, Fig. 6a, b illustrates the relation between predicted and real Tu. The most significant factors affecting the Tu, according to the current model, are the angle of FRP alignment (θFRP), FRP thickness (tFRP), FRP number of layers (nlayer) and width of FRP strips throughout the length of the beam per Center to center spacing of FRP strips (Wf/Sf). This was supported by numerous experimental programs from earlier studies, as shown in Table 2. Equation (22), which offers a formula for the NLR model with various variable parameters, states as follows:

Fig. 6
figure 6

Comparison of the Tu that were tested and the Tu that the NLR model predicted; a training datasets; b testing datasets

$${T}_{{\text{u}}}=0.0000911 \times {\left(b\right)}^{24.008}\times {\left(h\right)}^{15.388}\times {({t}_{{\text{FRP}}})}^{-10.933}\times {({E}_{{\text{FRP}}})}^{-125.98}\times {\left({f}_{{\text{yl}}}\right)}^{3.190}\times {({f}_{{\text{yt}}})}^{-15.322}\times {({f}_{{\text{c}}}^{\prime})}^{110.771}\times {(\frac{{W}_{{\text{f}}}}{{S}_{{\text{f}}}})}^{0.569}\times {({\theta }_{{\text{FRP}}})}^{-0.191}\times {({n}_{{\text{layer}}})}^{-0.191}+0.004{\times \left(b\right)}^{1.379}\times {\left(h\right)}^{-0.079}\times {({t}_{{\text{FRP}}})}^{1.812}\times {({E}_{{\text{FRP}}})}^{1.422}\times {\left({f}_{{\text{yl}}}\right)}^{-0.780}\times {({f}_{{\text{yt}}})}^{-0.041}\times {({f}_{{\text{c}}}^{\prime})}^{0.634}\times {(\frac{{W}_{{\text{f}}}}{{S}_{{\text{f}}}})}^{0.080}\times {({\theta }_{{\text{FRP}}})}^{0.003}\times {({n}_{{\text{layer}}})}^{0.376}$$
(22)

A measurement of this model’s R2, RMSE, and MAE is 0.9645, 3.61, and 2.75 MPa. The OBJ and SI values for the training dataset are 3.44 and 0.18, respectively.

5.3 ANN model

Comparison of predicted and actual Tu for training and testing datasets is shown in Fig. 7a, b. The training datasets have an error line of + 5 and − 18%, whereas the testing data have an error line of + 12 and − 15%, which is better than the other suggested models. The assessment parameters for R2, RMSE, and MAE are 0.9864, 3.07, and 2.40, respectively. The current model’s OBJ and SI values for the training set are 2.63 and 0.17, respectively.

Fig. 7
figure 7

a Comparison of the Tu that were tested and the Tu that the ANN model predicted; b testing datasets

6 Model comparisons

To assess how well each model predicted the torsional strength of the strengthened RC beam, statistical indicators from Sect. 5 were employed. Figures 8, 9 and 10 for R2 values, RMSE, and MAE, respectively, reveal that the ANN model has a higher R2 and lower RMSE and MAE values when compared to the LR and NLR. Based on testing datasets, Fig. 11 displays model Tu estimates for strengthened RC beams. Figure 12 also displays the residual error for all models that utilize the training and testing datasets. The estimated and predicted Tu evaluations in Figs. 13 and 14 for the ANN model are comparable, indicating that the ANN model outperforms other models.

Fig. 8
figure 8

R2 results for training and testing datasets for various proposed models

Fig. 9
figure 9

RMSE results for training and testing datasets for various proposed models

Fig. 10
figure 10

MAE results for training and testing datasets for various proposed models

Fig. 11
figure 11

Comparison of model predictions from the test datasets

Fig. 12
figure 12

Tu residual error diagram utilizing entire datasets for all models

Fig. 13
figure 13

All of the models’ OBJ values

Fig. 14
figure 14

SI performance parameter results of all models

The OBJ values for all developed models are displayed in Fig. 13. The pressures for the LR, NLR, and ANN models are 7.09, 3.40, and 2.63 kN m, respectively. The OBJ value of the ANN model was 29 and 170% less than that of the NLR model, and NLR model, respectively. This further illustrates that for beams strengthened with FRP sheets, the ANN approach is more reliable in predicting the Tu.

The SI values for the supplied models during the training and testing processes are shown in Fig. 14. The figure shows that, based on their performance as determined by the Scatter Index (SI) values, the three machine learning models linear regression (LR), non-linear regression (NLR), and artificial neural networks (ANN) are compared in this study. The observed SI values for the data-trained set were 0.37 for LR, 0.18 for NLR, and 0.17 for ANN. On the other hand, it was discovered that the SI values for the data-tested set were 0.18 for ANN, 0.30 for NLR, and 0.44 for LR. Noteworthy SI values include 0 and 0.1, which denote excellent performance, 0.1–0.2, which denotes good performance, 0.2–0.3, which denotes fair performance, and 0.3–0.4, which denotes poor performance. In the data-tested set, the ANN model exhibited good performance based on these classifications, while the NLR and LR models performed fair and poorly, respectively. In the training phase, the SI value of the ANN model is 118% lower than that of the LR model, and in the testing phase, it is 144% lower.

In addition, the ANN model revealed lower SI values in the NLR model, including decreases of 6 and 67% in training and testing, respectively. This demonstrated that the ANN model can predict the Tu of FRP-strengthened RC beams more accurately and competently than NLR, and LR models. Hoang et al. concluded the same result. In 2023, the flexural moment of FRP-strengthened RC beams was predicted using ANN (Le Hoang et al. 2023).

In conclusion, it is important to note that any models with allowable errors can be utilized to predict the Tu of FRP-enhanced RC beams without the need for experimental programs. In addition, compared to other models, the ANN model can produce more accurate findings.

7 Sensitivity analysis

The models that were developed show an outstanding ability to accurately predict the ultimate torsional strength (Tu) of RC-strengthened beams. However, it is also crucial to explain how the model’s output varies depending on the parameters that were selected. This feature significantly contributes to the development of user confidence in the predictive model.

Establishing a mechanistic understanding of the link between input and output variables requires conducting sensitivity analysis. This study enables the removal of unimportant factors by assessing the effects of various input parameters on the result. As a result, this lessens model complexity and minimizes training time.

Various unique training datasets were used for the sensitivity analysis, each of which only contained one input variable that was retrieved at a time. Specific evaluation criteria, such as R2, RMSE, and MAE, were uniquely constructed for each training dataset. The calculation of the relative contribution of each model parameter was then done. Figure 15 shows the results of the sensitivity analysis.

Fig. 15
figure 15

Contribution of the model parameters in predicting the Tu of strengthened RC beams

The results of this investigation overwhelmingly support the concept that the θFRP is the most important factor influencing Tu prediction.

8 Conclusion

Significant time and cost savings can be achieved by increasing the prediction models’ accuracy and reliability for the torsional strength of RC beams. This study investigated 96 different strengthening configurations by analyzing data from earlier studies. Important conclusions established by this investigation are as follows:

  1. 1.

    The models developed in this study generally provide an efficient method to predict the torsional strength of FRP-strengthened reinforced concrete (RC) beams, particularly the ANN model. As a result, fewer substantial experimental experiments and trial batches in the lab may be performed.

  2. 2.

    Based on the statistical evaluation and sensitivity analysis, the ANN model outperforms the other two models. For training and testing datasets, the model’s R2 values are 0.99, and 0.93 respectively. Furthermore, the ANN model’s training dataset has additional sensitivity indicators for the RMSE, MAE, OBJ, and SI, which are 3.07 MPa, 2.41 MPa, 2.63, and 0.17, respectively. Thus, the ANN model is appropriate to be utilized in the preliminary design of the torsional strength of FPR-strengthened RC beams and possesses a higher degree of generality and predictive capacity.

  3. 3.

    The predicted torsional strengths of the FRP-strengthened RC beam with the ANN model were within + 5 and − 18% of the measured torsional strength of the FRP-strengthened RC beam for the training datasets. However, this value was increased to + 20 and − 45% for the other remaining models.

  4. 4.

    The obtained results show that the angle of FRP alignment (θFRP), and the width of FRP strips per c/c spacing of FRP strips (wf/Sf) are the most significant parameters for predicting the torsional strength of the FRP-strengthened RC beams.