Fuzzy Logic, Neural Network, and Adaptive Neuro-Fuzzy Inference System in Delegation of Standard Concrete Beam Calculations

: Machine learning ( ML ) has been proven effective in various scientiﬁc and industrial domains. Nevertheless, its practical application in the construction industry requires further investigation. Leveraging ML capabilities conserves human resources, reduces errors, and speeds up computation and interpretation tasks. The efﬁcacy of ML algorithms depends on factors like ability, result accuracy, analysis cost, and sensitivity to parameter count and available data volume. This study explores the potential of using ML to delegate structural calculation processes, which is an aspect with limited attention. Concrete beam section calculations based on the American Concrete Institute ( ACI ) standards were chosen as a case study to assess ML’s capacity to emulate a structural designer’s role. Initially, manual design steps and standard considerations for a concrete beam section were parametrically coded in MATLAB. Validation against structural design references ensured code accuracy in calculating shear and bending capacities. The parametric results served as initial data (lookup table) for training ML operators. Various ML techniques, including fuzzy logic ( FL ), neural network ( NN ), and adaptive neuro-fuzzy inference system ( ANFIS ), were coded in MATLAB. A comparative analysis of the three ML operators assessed their performance in replacing standard calculations. Parametric examples illustrated each operator’s precision in delegation compared to direct calculations. The study also explored the impact of the number of parameters and lookup table size on the accuracy of each ML operator. The ﬁndings revealed that while all three operators could delegate standard calculations, their precision varied. Notably, when the lookup table was optimal, ANFIS operators demonstrated the ability to represent standard calculations with varying parameter counts and high precision. Focused on beam calculations, this study provides insights into ML operator performance. The outcomes, including selecting the most capable operator and their sensitivity to parameters and lookup table size, offer valuable guidance for researchers interpreting experimental and numerical analysis results.


Introduction
Artificial intelligence (AI) and machine learning (ML) are two closely related terms in computer science and technology, and while related, their definitions are not interchangeable.AI involves creating machines capable of tasks requiring human intelligence, such as perception, reasoning, learning, and decision making.However, ML is a subset of AI that focuses on training algorithms to learn patterns in data and make predictions or decisions based on them.AI is a broader concept encompassing various fields like computer vision, natural language processing, and robotics.
Moreover, ML concentrates on developing algorithms and statistical models for data analysis and prediction, as highlighted by Burnham (2020) [1].AI often employs a rulebased approach where systems follow programmed rules, while ML utilises a data-driven approach, learning from data to identify patterns and make predictions.AI systems are typically designed and programmed by humans, whereas ML algorithms are trained on data [2].ML algorithms require substantial data for effective training, whereas AI systems can be designed with a smaller set of rules and instructions [1].
The three main ML types are supervised learning, unsupervised learning, and reinforcement learning.In supervised learning, algorithms are trained on labelled datasets to predict outputs given inputs [3].Unsupervised learning identifies patterns in unlabeled datasets, while reinforcement learning involves algorithms making decisions by interacting with an environment and receiving feedback as rewards or penalties [4].Each ML type has strengths and weaknesses with the choice depending on the problem's nature and available data [5].
NN and ANFIS are two types of supervised ML with FL as a mathematical framework for supervised and unsupervised classifications [6].FL, developed by Zadeh (1996) [7], deals with imprecise or uncertain data, offering a flexible approach to handling linguistic variables and sets.FL has applications in various fields, including control systems, pattern recognition, and decision making.In structural studies, FL aids in handling imprecise or uncertain data, allowing for nuanced reasoning and analysis of complex systems [8][9][10][11][12][13].NN, another supervised technique, has been increasingly applied in structural health assessment and system optimisation.It models complex systems and predicts responses to different loads, such as the deflection and stress of steel-concrete composites [14][15][16].ANFIS, a combination of NN and FL, predicts the dynamic performances of structural elements, flexural behavior of concrete beams, and assesses the influencing parameters on corroded concrete beams [17][18][19].Reinforced concrete, a standard construction material, benefits from ML techniques such as FL, NN, and ANFIS to predict mechanical behaviour, compressive strength, and various properties [20][21][22][23].
In conclusion, these ML techniques play crucial roles in predicting and understanding the behaviour of complex structures, thus contributing to advancements in structural engineering.
Despite their potential, several challenges must be addressed to apply the ML approach practically.Some primary challenges can be mentioned.(1) There is a lack of engineer familiarity with this method and the difficulty in modelling complex relationships.
(2) There is also a lack of awareness about the differences in the performance of different ML techniques in a wise tool selection.(3) Other issues include the sensitivity of these techniques to the size of a lookup table, the number of parameters and the type of relationship between the input and output (linear and nonlinear).(4) ML models are often called "black boxes" because they can produce complex and non-intuitive results.This makes it challenging for engineers to interpret and explain the outputs of the models; in other words, the designers do not know up to which level these methods are trustworthy.(5) The studies in which the ML approaches have been used are mainly based on the research and experimental data, and direct comparisons between the standard known calculations and ML's results are needed.
The construction industry is rapidly evolving through additive and subtractive manufacturing and other robotic techniques, paving the way for innovative approaches to automated construction.This shift involves transitioning from manual labour to integrating robots and automated machines.At the same time, established standards and codes provide reliable methods for designing stable structures, which are typically adhered to through manual calculations and software tools like SAP2000 14.2.0 (CSI, New York, CA, USA).However, the potential of automated processes to replace calculating engineers following validated standards remains largely unexplored.Although there has been some investigation into the capability of machine learning operators (MLOs) for interpreting, solving, or optimising structural problems, a comprehensive exploration of various aspects is still lacking.Studies in this domain should assess MLOs' ability to represent structural features, the accuracy of the results, their requirements for proper delegation, and their sensitivity to the type of training data employed.Furthermore, investigations should aim to identify the most capable MLO techniques for these applications.This research gap underscores the need for a more extensive exploration of MLOs' potential in the context of automated structural design and analysis.Integrating MLOs into developing robotic-based construction techniques brings a transformative shift towards a fully automated design and construction process.The ability of MLO to represent designers in this context adds a layer of intelligence and adaptability to the automated processes, thus enhancing efficiency and innovation in the construction industry.
In this context, the current paper aims to discuss three types of ML, including FL, NN, and ANFIS, to reintroduce and compare their performances using a specific example.The standard calculation of a concrete beam, which is well known to engineers, was selected for the case study.This discussion explores the sensitivity of the methods to the number of parameters and the size of the lookup table.Additionally, we compare the accuracy of all methods with each other and routine calculations.

Coding, Standard Beam Section Calculation
This paper aims to assess the performance of machine learning (ML) operators in delegating the standard structural computing process.A broad spectrum of structural subjects and standards can be considered for the case study to analyse or design steel and concrete elements.In this context, we selected the well-known design process of concrete beams (Figure 1) as the subject of interest.Specifically, the beams' bending and shear capacity calculations were defined as the output, referring to the ACI318 − 14 standard [24].At the same time, the adjustable parameters (Figure 1) in the codes were the features of the section.In these calculations, after initialisation and some basic computations such as the section area (A) and the amount of compressive and tensile re-bars, A s , A s, and their percentages ρc, ρ t , along with the beam re-bar balance percentage ρ b , were determined.As  The calculations discussed in this paper mainly refer to manual calculations performed by engineers in the industry.Engineers typically adhere to established standards (codes) when assessing the strength of a concrete beam, with different countries using various standards such as the Eurocode in Europe, DIN in Germany, or ACI in the USA.These standards are primarily developed based on the strength design method (e.g., ACI) or the limit state design method (e.g., Eurocode).
While various types of manual static calculations and standards could be employed to create a lookup table and evaluate the capability of machine learning (ML) methods, the focus here is on assessing the performance of ML rather than emphasising a particular standard.Comparing calculation results based on ACI, Eurocode, and DIN shows similar concrete beam performance.Therefore, the ACI calculation method, characterised by a step-by-step logic and a mechanics-based approach, was chosen for the ACI calculations.In contrast to the DIN method, the ACI method does not rely on using a prepared data table in the beam calculation.
Different programming languages and platforms (e.g., C++) are utilised in machine learning.Among programmers, Python is the most common language for machine learning applications.The key factors driving its prevalence include a broad developer community and an extensive library, making Python the language of choice in the field.
Engineers and scientists often use MATLAB to develop, automate, and integrate deep learning models into domain-specific workflows.MATLAB offers tools to experiment with various machine learning models and select the most suitable ones.The table provides information on MATLAB apps and functions for addressing specific machine-learning tasks.The platform offers both app-based and command-line features for diverse machinelearning endeavours.MATLAB's emphasis on numerical computing makes it an excellent choice for practitioners more inclined towards the practical aspects of machine learning.
This research underscores MATLAB as a preferred choice for scientists and engineers, particularly those interested in the theoretical aspects of machine learning.
Simple algorithmic codes were developed in MATLAB to calculate ACI and parametrically determine the capacities.Considering steel (stirrups) and concrete capacities, the shear calculation was conducted in a single step.The shear capacity (V c ) is 75% of the steel and concrete capacities.The bending performance of the section was categorised into three distinct steps.
Figure 1 illustrates the bending performances based on the comparison between ρ b , ρ t , and the availability of compressive re-bar, leading to three different performance types (P 1. , P 2. , P 3. ).
In the following process, a comparison between the available and minimum allowed re-bar categorises the section to other subcategories P (1.,2.,3.) (1,2) .This category indicates the type of standard formulas for calculating neutral lines and the capacities of each type of section.Finally, a comparison between the amounts of the calculated strains indicates some coefficients which, based on the standard, should be multiplied by the bending results.Numbers showed this last step of calculations as (P (1.,2.,3.)(1.,2.) (1,2) ).Finally, the following discussions interfaced the standard codes as a MATLAB function to all ML operations.
The results from several series of parametric calculations will generate different databases (lookup table) to be inferred with operators, and the operators' results will be compared to the direct ACI coding.The study's primary objective is not to discuss the performance of the beams, and the accuracy of the parametric calculation results is not decisive.Nevertheless, for practical illustration, the accuracy of the coded ACI function was compared to other references.
Table 1 compares the results obtained from the codes and the calculated values in references (Re f ).Ten examples were selected from various concrete design manuals.The features of the reference problems, including material and cross-section properties based on the original problem, were chosen, and the calculation processes using the coded ParsSolution.mwere repeated.The section's features, along with the bending (M u ) and shear (V u ) capacities, are addressed in the table for comparison with the references.
While not all references adhere to the American Concrete Institute (ACI) standards, the outcomes consistently demonstrate similar shear and bending capacities.This alignment verifies the accuracy of the coded ACI and underscores the similarity between the referenced standards.The selection properties, including the height (H e ) and width (W i ), alongside concrete and steel properties and steel mounts, are shown in the first row of Table 1.The N r in this table indicates the depth of the neutral line, which is calculated by both codes and references for bending calculations.Examples with different performance types were selected in the process.
The "Amount" in the sub-column of the "Ref" column indicates the capacity calculated for each identical beam section according to the references, serving as a basis for comparing the results obtained from ParsSolution.m (M u ).The "Name" sub-column of "Ref" specifies the problem number and citation details of the concrete calculation reference associated with each entry.
For instance, the bending capacity of the first section (No.1 Table 1) in the codes and the reference are 7.1 × 10 8 N•mm and 7.08 × 10 8 N•mm, respectively.Similarly, the comparison of shear capacities in example 6 shows 3.53 N and 3.5 N. Generally, it was shown that the maximum difference between the results of the codes and references is 2%, proving the accuracy of the codes.Machine learning encompasses diverse pattern recognition and decision-making techniques without explicit programming.Supervised learning involves training models on labelled datasets with regression and classification handling continuous and discrete outputs.Unsupervised learning explores patterns in unlabelled data using clustering and dimensionality reduction techniques.Reinforcement learning focuses on agents making sequential decisions to maximise rewards [30].These techniques offer flexibility across scientific disciplines and industries.Many tools for different usages were developed, including deep learning, decision making, transfer learning, predictive analytics, and optimisation algorithms.
To represent an engineer, straightforward utilisation is possible by considering the dataset prepared by following standard calculations for regression and classification, which fall into the categories of supervised and unsupervised learning algorithms.Since one of the main objectives is converting discrete results (e.g., from experimental studies) into a continuous space (to calculate non-tested parameters), a regression problem should be defined.In contrast, the classification problem involves a variable with discrete values [31].For regression, FL, with its easy adaptation to different FL lookup tables, and NN, with proven high capacity in predicting chaotic series (e.g., time series), are among the most desirable techniques.Accordingly, the technique developed based on them (ANFIS) is selected in this study.
Despite the various parameters available for tuning, this paper's selection of machine learning (ML) operators is limited due to size constraints.The focus of the current study does not extensively delve into other potential coding variants.Other researchers and engineers initially developed the codes and were chosen to provide an overview for structural engineers.This study offers structural engineers a framework for finding solutions to interpret their numerical and experimental results rather than proposing the best commands.
The developed codes in this study can be replaced by other programming languages or optimised to enhance the performance.Each section briefly mentions some parts of the developed MATLAB codes to provide an overview.

Problem Definitions (Preparation of lookup Table)
For discussing different ML techniques, all following sections use the proved codes as a MATLAB function called ParsSolution.m.This function can parametrically calculate different ranges of the variables based on ACI.It imports all of the section parameters, including height (H e (mm)), width (W i (mm)), concrete compressive strength ( f c (n/mm 2 ), steel yield strength ( f y (n/mm 2 )), compressive re-bar (A s (mm 2 )), and tensile re-bar (A s (mm 2 )) and it calculates the shear (V c (N.m/m) and bending capacity (M u (N•mm)).
ParsSolution : [V c , M u , P] = BeamParsSolution1(LT Si , Par No , , As, As , ST, Fc, Fy, He, Wi); Integrating random input and randomisation is pivotal in various machine learning operator (MLO) techniques, especially in generating initial solutions for metaheuristic algorithms.As the discussed operators perform complex regression in a multidimensional data space-beyond the scope of straightforward mathematical solutions (e.g., x, y, z)-assessing their performance in interpreting datasets with chaotic data becomes crucial.To evaluate the sensitivity of the operators, the coded ParsSolution.mdemonstrated its capability to produce both random and harmonic data.This evaluation involved varying each beam feature individually and randomly within the selected range with corresponding bending and shear capacities calculated based on these random features.Furthermore, considering that some studies, such as experimental research, might yield chaotic results, the ability of the operators to interpret chaotic datasets is essential.Figure 2 visually represents a series of analyses encompassing the properties of 50 distinct beam sections.The inputs for these analyses were randomly generated using the randi function, with each variable constrained within specified ranges detailed in Table 2.This approach aims to illuminate the sensitivity of the operators in handling diverse and unpredictable datasets, showcasing their adaptability to chaotic data patterns.The selected range commences from the minimum values (e.g., W i > 0.1 m and A s > 0), encompassing average dimensions and material properties typical in the building construction industry (e.g., H 2 : 0.4 m and f c : 35 MPa).It gradually extends to achieve a diverse distribution, incorporating the maximum commonly available material types (e.g., f y : 600 MPa and f c : 70 MPa) while adhering to constraints such as balanced rebar percentages.The impacts of these variables on the bending and shear capacities are depicted in the last blue diagrams.The performance types in the bar chart (P) are indicated in blue, red, and orange.For example, in the first section, the bar chart displays 2 for the height in blue, 2 for the red, and 1 for the orange part on top of the bar.This signifies that the performance of this section falls into the category (2.2.1).It indicates that the tensile re-bar yields, the compressive does not yield, and the strain is higher than 0.004 (Chart in Figure 1).In addition to the parameters and the ranges, ParsSolution requires two other criteria.The first criterion informs ParsSolution about the number of parameters selected in each calculation series (Par No ).This means all different features of the section can be selected parametrically (i.e., A s , A s, S T , f c , F y , H e , W i with ParNo = 7) or just some (e.g., A s , A s, S T with ParNo = 3).The second criterion is the size of the lookup table (LT Si ) or, in other words, the number of calculated sections.The number of parameters (Par No ) and the size of the lookup table (LT Si ) are primary measures considered for dissecting the performances of the machine learning operator (MLO) in the following sections.An MLO that can delegate the results with higher accuracy and less initial data (low LT Si ) has more desirable performance.This becomes especially important when considering the challenges in data production.Data can be collected in different fields through questioning experts, numerical analysis, or experimental tests, while in structural engineering, increasing the LT Si , especially in experimental studies, is complex and costly.

Parametric Evaluation of the Beams
In this study, beam capacity was selected as one of the straightforward structural calculations to evaluate the MLO.Similarly, ParsSolution can be used for independent parametric evaluations and connected to an optimisation algorithm.Such a function, similar to software (e.g., SAP2000 Section Designer (CSi, New York, NY, USA)) can easily calculate the capacity of sections with different parameters.Therefore, various operators can use it for multi-analysis to consider different aspects of the section's performances, perform statistical evaluations, and conduct sensitivity analysis using MATLAB Simulink.
One straightforward evaluation without coding sensitivity analysis is assessing the influence of each parameter on M u and V c .Table 3 shows the effect of doubling the parameters in this range on bending and shear capacities.This evaluation indicates that doubling the amount of all parameters increases the shear and bending capacity by 7.18 times and 8.14 times, respectively.It means that bending capacity is more sensitive (No.1).In other words, if the influence of stirrups is ignored, despite no changes in increasing M u , the changes in V c are reduced to 4.74 (No.2).This implies that in the selected range (Table 2), distances between the stirrups influence the shear capacity up to 34%.The distance between the stirrups cannot be changed limitlessly due to standard limitations (e.g., for maintaining the ductility of beams), but the range was accepted as a parametric study.
In this range, height has a similar influence on shear and bending and exhibits a linear relation (No.3).Width has a higher effect on shear than on bending (No.4).The changes in bending are not linear, and the width's effect on bending increases in one step (due to changes in P).F c also exhibits a similar low effect on V c and M u ; this implies that increasing the concrete properties, considering the associated costs, in comparison to changes in other parameters, is not economical (No.5).Generally, the lowest influence is shown by compressive re-bar (No.7).The highest is observed for height and tensile re-bars (No.8).No H e (%) W i (%) f c (%) f y (%) A s (%) A s (%) S t (%) M u (%) V c (%)

Machine Learning Operatos (MLO)
To discuss the performance of the following MLO, the specific range is based on the expected dimensions and properties of the material used in all the following investigations (Table 2).The parameters linearly increased in the prepared lookup table.Based on the ACI calculation, the first section selects FL for delegating, interpreting, and using data (lookup table).Likewise, the NN and ANFIS will repeat the same process.Additionally, their sensitivity to the size of LT Si and Par No will be investigated.Finally, their performances regarding the different sizes of the lookup table and the number of parameters will be compared.

Fuzzy Logic (FL)
Since MATLAB GUI cannot generate codes to accept different 'input' and 'output' parameters, codes for making the interpreter of the lookup table and MembershipFounctions were developed.In the membership function, two types of functions were regarded, including ('trim f ' and 'gaussm f ') to be adjusted by the operator (Fac ∈ 1, 2).Assigning the inputs to outputs for such a range of data was not effortless for making the rules.Hence, a ' f or' loop based on the lookup table was developed to develop adaptable codes for all essential parameters in designing the beams.Here, '1' was regarded as the variables and weight for all rows of the rule table.Then, the lookup table and 'mamdani' was used to make the ' f is' ( f is = new f is('LookupTableFIS', 'mamdani').Furthermore, 'input' and 'output' by addvar were assigned to the ' f is' and finalised by adding the rules.Figure 3 displays an example of the series of section calculations.In this example, H e , f y , A S as the variables were selected, and 250 sections were calculated to make the lookup table (LT Si = 250).This figure shows how the parameters change linearly to increase the bending and shear capacity based on ACI.The same input in FL, the lookup table, is used, and the two diagrams show the FL delegating results.In these diagrams, the flat parameters indicate the not chosen variable, which means Par No = 3.The shown parameter in the last two diagrams, in blue, is the shear and bending capacity based on ACI.Likewise, red diagrams display the results of the FL operator.In these diagrams, the yellow bars are the difference between the targets (diversity between input from ACI codes and FL outputs).A similar example was made, utilising randomised input and, accordingly, chaotic results of FL and ACI.This example shows the capacity of FL to interpret the not-sorted input.This capability shows its importance when several results of the studies against the current study regarding the type of the input parameters cannot be sorted, as shown in Figure 4.In another example in which just H e as the variable and (LT Si = 500) as the table size were selected, the maximum error (differences between FL and the standard divided by the ACI capacities in each section) was limited to 1617%.In this example, with three parameters, the error increased to '50%' and '59%' for the calculation of shear and bending, respectively, displaying a considerably low accuracy.In Figure 3, the wave format of these FL diagrams and errors shows that the error amount is not the same in different sections.The errors' changes are not related to beam section performance but come from the nature of FL.In another example with the '1' parameter and '100' lookup table size, the error in shear and bending capacity was '17 and 19%' compared to the previous example with the '500' lookup table size, which is just '1%' percent less accurate.It means up to some limits, despite its positive influence, increasing the size considerably raises the analysing Costs but cannot significantly improve the accuracy.Nonetheless, adjusting the FL codes and changes in several parameters or the lookup table size can influence the results more.The influences of these adjusting components should be evaluated parametrically.Two more loops were added to the codes to evaluate the capability of adjusting the MLO.The first ' f or' loop operates the MLO by a different range of initial data in the lookup table.It means if the LT Si is for instance 1208, ParsolutionSolution function, in the specific range, calculates 1208 beam sections to be referenced by FL operator LT Si ∈ [20,416,812,1208,1604,2000].This evaluation shows how much data (including all parameters) are needed for the selected beam example.The other parameters, such as a nest (loop), were also regarded.This loop, in five different steps, changes the number of parameters.This additional ' f or' loop (PARA) in five different steps selects different parameters, which are decided based on the results of parametric evaluations (efficiency of the parameter on the capacity), as shown in Table 3.It was written by a switch case or function, demanding 5 × 6 = 30, general operations, while each one may have up to 2000 beam calculations.
The shear and bending errors and the standard deviation results are shown in Figure 5. Since the Costs of analysis is an important factor for evaluating the desirability of an operator's performance, the duration of the process was also measured and documented in these diagrams.In Figure 5, all analyses with any 'Par No ' reduced the error by increasing the LT Si , indicating the capability of them in case of a suitable size of lookup table.The sensitivity of error to the amount of LT Si reduced when the size of the table increased.In all of the errors and standard deviation, disregarding the Par No , the accuracy is considerably low when the LT Si < 250.Increasing the 'Par No increases the analysis Costs, but the influence of increasing the Par No on the errors is not linear.For instance, Par No = 4 has higher accuracy than Par No = 3.This influence might be related to the value of Par No and the type of the membership functions.Despite the high probability of low accuracy in using FL in delegating the codes, it can operate more stably (with less scattered results) with suitable adjustment and input.

Neural Network (NN)
To compare NN and FL, Figure 6 displays the same examples solved and delegated by NN codes.The codes of NN were developed in MATLAB.In order to fit the network, as the activation operators, sigmoid activation ('sigmoid') and hyperbolic tangent sigmoid ('tansig'), along with linear function ('purelin') for transferring the input were selected.In addition to inputs, targets and the number of hidden layers (NHL), these operators were (by the 'new f f ' command) assigned to the network.The 'in/output' and 're/post-processing' functions were coded for choosing.Likewise, operators were coded for removing rows with constant values ('removeconstantrows') and mapping rows with minimum and maximum values ('mapminmax').Furthermore, 'dividerand' was used for the random division of data and every sample ('sample') was picked in which 70% of the data was selected for training and 30% was selected for validation and testing the selected network.Additionally, for choosing and helping the train function, Levenberg-Marquardt ('trainlm') and mean squared error ('mse') were assigned to the network performance function.In the codes, the number of hidden layers (NHL) as an adjustable parameter was regarded (e.g., NHL = 5).The same types of lookup tables as the input imported by FL were prepared in this section to be interpreted by NN. Figure 6 illustrates the results of these two examples with sorted and randomised input types.In this example, the size of the table and number of parameters are 250 and 3 respectively (LT Si = 250, Par No = 3).Likewise, the red and blue diagrams show the NN and ACI results, while the differences between NN and ACI are shown in the yellow bar.The remarkably higher accuracy of NN compared to FL in both delegated results is visible.Generally, the bending capacity (M u ), compared to shear (V c ), has a higher number of effective parameters, which causes the relation between the feature and output to be more non-linear.The error results in these two examples show that NN can present a more exact bending capacity in sorted inputs.However, randomised input bending diagrams are less exact.The NN operator also calculated several other examples based on and in comparison to FL; it can be calculated that the capability of the neural network for delegating the ACI calculation is considerably higher.
One of the main components of the neural network is the number of hidden layers (NHL).In a series of examples, the same problem (LT Si = 250, Par No = 3) with different numbers of hidden layers (NHL = [1-10]) was repeated, as shown in Figure 7.It can be seen that compared to the chaotic nature of the coded NN, the NHL cannot show a strong influence on the results of this example.Based on multiple examples tested by the current study, it can be concluded that increasing the number of layers for more than three layers has more influence on the analysis Costs than the number of errors.
Nonetheless, the main highlight of using NN is the chaotic amount of accuracy.In other words, despite the input parameters, they gradually increased in a series of examples.The error amounts in some were almost zero, but in others, they were several times higher than the maximum bending and shear capacity amounts.To illustrate, a repetition of the same problem was documented in Figure 7.In these examples (LT Si = 100, Par No = 3, NHL = 10), the error of delegating the shear and bending beside the error standard deviation was displayed.It can be seen that the error in examples 1 and 6 is almost zero, while in example 2, the shear is 30 times higher than ACI calculations.Despite FL showing, in general, lower accuracy, such an issue (chaotic results) was not detected.Some examples have acceptable performance in bending error and are high in shear.Hence, in an operator like NN with low robustness, the error amounts in objects may differ considerably.There was a high probability of facing low accuracy in the results of FL and, despite the high capability, the chaotic results of NN indicate the necessity of developing a method using the potentials of FL and NN while solving their issues.Remember that in all the MLOs in this study against other multi-objective optimisation algorithms, the objects (here V c and M u ) are calculated separately in two different parallel interpreting processes.

Adaptive Neuro-Fuzzy-Inference System (ANFIS)
ANFIS is a hybrid AI model that combines the strengths of FL and NN.This operator was similarly developed in MATLAB, regarding the same feature coded for FL and NN.As the TrainData, features of the beam section and the capacity of the beams calculated by ACI codes were selected.Inputs by Gaussian membership function 'gaussm f ' and linear output types in '5' layers were selected ('linear').Substitute clustering was chosen to remove and generate the system (Sub.Clustering).The options by 'inputdlg' were assigned to create the dialogue box 'PARAMS'.The data, including the inputs, outputs and training data, were assigned to the ' f is' by 'gen f is2', using the selected FIS generation approach.During the initial investigations, 'Sub.Clustering' with 'gen f is2' and 'gen f is3' were both tried, and due to this study's low influence and concentration, 'gen f is3' was applied to the results and used.The cluster number was '10', and the exponent matric was partitioned to '2'.The number of maximum iterations and the number of epochs was '100', and the minimum improvement was '1 × 10 −5 '.In these studies, the initial step was 0.01, and the step size was 0.9, while 1.1 was the step size increasing rate and 0 was the error target assigned.
Like the previous section, as in the first examples, three parameters and the sorted and randomised inputs were selected for direct comparison.Figure 8 shows the results of ANFIS in the delegation of beam calculations.It can be seen that the error in the calculation of bending and shear capacities is deficient (approaching zero).Generally, ANFIS has a robust homogeneous performance.The range of examples made by ANFIS displayed higher accuracy in calculating the bending in all examples with different LT Si and Par No , and it was repeated that on average, the bending error was less than the shear error.The shear error increases especially with a low number of LT Si and Par No .In this investigation, different example series were solved by ANFIS.Based on an example with LT Si = 2400, when the number of parameters is 7, the calculation accuracy is ≈ 6 × 10 4 times lower than the same operation with a 1 parameter.Despite this, the error range in both is less than 1.3% and ignorable, as shown in Figure 9.  Bending Error (σ) Similar results were experienced for the standard deviation V C and M u .It might be concluded that the capability of this operator is more suitable for complex structural issues.If the duration of the process of analysing Costs is regarded, increasing the LT Si is the main factor for raising the Costs.Likewise, increasing the Par No , from 1 to 7, when LT Si = 800 on average increased the analysing Costs to 450%.ANFIS, in repeating the same problem, had the same results, proving its analytical stability.Additionally, increasing the size of LT Si in sorted input type proved its low positive influence on reducing the error, but randomised input increased the error.Likewise, the duration of FL has an exponential relation with Par No and LT Si .In representing the small problem, FL performs faster than NN and ANFIS.As mentioned, this study just selected MATLAB as a proper platform, and rewriting the codes in primary programming languages (e.g., C + +) can considerably reduce the analysing Costs.

Comparison between the three MLO
The accuracy (Error), duration (time) and robustness of the operator are the three selected.Hence, Figure 10 (Right) contrasts the MLO operations' robustness by running the same problem with times to compare directly.
A general contrast between the performance of the MLO was made by fitting 3D surfaces to the results.This surface is also managed in MATLAB, while the size of the lookup table (LT Si ) and parameter number (Par No ), along with the average amount of shear and bending amounts, were separately selected.Figure 11 displays the accuracy of all three coded ML operators (including FL, NN and ANFIS).The top diagrams of Figure 11 illustrate the bending and shear errors in the down row.The results of various analyses were shown next to each other in these diagrams.The average amounts of shear and bending differences (error between ACI and MLO), regarding the range of LT Si = [15-2400], Par No = [1][2][3][4][5], by fitting surfaces on them were plotted in MATLAB.Generally, one of the main usages of the MLO is curve fitting.Despite the higher power of MLO for fitting continuous surfaces to the discrete data and the synergy between curve fitting and all discussed MLO, simple codes in MATLAB were used in this diagram due to its simplicity.
FL has the lowest accuracy despite the highest stability in the calculations and results.The amount of error in the calculation of the bending capacity reduces by reducing the size of the lookup table and increasing the number of parameters.On average, the bending calculated by FL and ACI in this range maximum differs by ±53.8%, while for shear, this difference increases to ±119.8%.Generally, FL's initial coding starts with defining the linguistic variables.The linguistic variables include the following: (1) the variable's name (e.g., A s Height Width), (2) the amount of variables for each group (e.g., A s in [0.2,0.5,0]),(3) the range of the changes in variables (e.g., height of a beam), and (4) an FL set.Hence, each linguistic variable can be defined.It enables the FL to convert the initial digits to FL parameters (called fuzzification) and, after the operation, to digits (called defuzzification).This will be continued by developing the rules for the logical implications needed.The conversion of the digits to logical and linguistic variables enables the FL to import different types of data (e.g., verbal information of a questionary form) but can be the reason for reducing the accuracy of the results (increasing the error).The results of NN on average show (±15.7,±7.52%) error for shear and bending, respectively, which is considerably lower than FL.Likewise, increasing the size of the lookup table or, in other words, preparing more initial data (e.g., from numerical or experimental structural analyses) can reduce the errors and scattered results faced more in calculating bending capacities.

FL NN ANFIS
Due to the issues of FL and NN (i.e., low accuracy and analysing stability), this study also developed ANFIS codes.The results of this operator, which has the advantages of FL and NN, are shown in the last column of Figure 11.Against FL and NN, enlarging the lookup table can considerably increase the analysis Costs and does not enhance the accuracy.Increasing the number of parameters (beams sections feature) also reduces accuracy.Additionally, its performance in the calculation of shear compared to bending calculation is more accurate.ANFIS, with all sizes of inputs, should have entirely acceptable performance while, on average, the differences between the ACI direct calculation and ANFIS for bending and shear are (±0.83,±0.11%).The maximum experienced average error, in general, is less than 1.5%, which indicates the capability of ANFIS for delegating standard designs.The beam calculation represents a simple and well-known problem for engineers.Choosing this problem not only makes it easier to assess the performance of ML operators by avoiding the complexity of other structural problems but also highlights the differences between the capacities and performances of different ML techniques.Previous studies may not have directly compared these techniques for a specific problem.Additionally, apart from evaluating the capability of ML operators, this study discusses their limitations, including the amount of error and low robustness in their operation.This emphasises the importance of avoiding overly complex problems for properly evaluating MLO.
Furthermore, choosing beam calculation creates a versatile lookup table with various dimensions, encompassing random and harmonic variables.This choice also provides the flexibility to alter the number of parameters, facilitating an assessment of the sensitivity of ML techniques to these changes.It is important to note that due to limitations in the size of lookup tables, conducting a comprehensive study of this nature faces challenges.However, the significance of these achievements becomes apparent when applied to other types of structural studies, mainly when dealing with experimental results.
In many experimental studies, the complete details of the calculation approach are often unavailable, and researchers must rely on a limited dataset.In such cases, ML techniques offer a viable solution for continuously evaluating results.Therefore, the careful selection of operator types, considering their sensitivity to the size of the lookup table and the corresponding number of parameters based on the findings of this study, holds considerable importance.

Conclusions
This study explores the effectiveness of various machine learning (ML) techniques in automating traditional structural calculations, aiming to assess the feasibility of replacing a design engineer with an ML operator.To evaluate this concept practically, the study addresses diverse structural problems, encompassing structural analysis and design, and employs various ML methods.This study's chosen structural problem is the standard calculation of a reinforced concrete beam section based on the ACI code.These operators were individually coded in MATLAB after validating the accuracy of the coded standard through comparisons with established references.Since the operators require training data, lookup tables based on standard parametric calculations were prepared.The study delves into the relationship between the errors of each operator (i.e., in comparison to direct ACI-based calculations) and factors like the number of parameters and the size of the lookup tables.
Despite the multitude of computational operators developed in recent decades, such as those for deep learning and optimisations, this study focuses on specific ML techniques to interpret the lookup tables with different amounts of data and parameters.
All three coded operators are adaptable and capable of delegating the standard parametric calculation.Nonetheless, the performance of all three operators depends on the number of parameters and size of training data.The first selected technique was FL, which showed the lowest accuracy and most stable operation, as demonstrated by repeating the same problems.The utilisation of NN for regression of the data, compared to FL, showed considerably higher accuracy, while the speed of the operation (analysing Costs) is slightly lower.Despite the high capacity of the NN, the results of its operation on the same problem are less stable.Likewise, the scatter performance of NN in bending calculation is considerably higher.This high probability of facing low accuracy in the results of FL and, despite its high capability, chaotic results of NN indicate the necessity of developing a method using the potentials of FL and NN while solving their issues.
Hence, the same process and variables with the ANFIS were studied.Overall, ANFIS provides a robust framework for modelling systems for calculating beam capacities, indicating the ability to handle uncertainty and learn from structural studies data.ANFIS can delegate the ACI calculation, with, on average, less than ±1% difference.Nonetheless, more complex subjects, such as larger input sizes or parameter numbers, can slightly reduce the precision of ANFIS.
In future studies, to increase the accuracy and reduce the analysing Costs, the developed FL, NN, and ANFIS codes should be developed in other platforms and primary coding languages (e.g., C++ or VB) for preparing software.The developed MLO was also used with the most common adjustments and parameters.The coding options and parameters should be tuned in the next step for a more desirable operation.
Algorithm adjustment is the process of modifying the algorithms used by a machine learning model to enhance its performance.Each operator, including optimisation algorithms, offers a wide range of selected commands and parameters.In the case of NN, the number of hidden layers was briefly studied.For instance, when defining the membership function in FL, various types of line geometries, such as trim f (triangular), trapm f (trapezoidal), gaussm f (Gaussian curve), or sm f with a constant shape, can be utilised.Similarly, selecting an FL inference system function that best suits the available data is crucial for each input (e.g., F y and f c) and output variable.The optimal adjustment of coding parameters, achievable through manipulation, should prepare the most robust and accurate operator.However, a delicate balance must be maintained between the cost of analyses and the required accuracy.Some adjustments may slightly improve the operator's performance but significantly increase the required time.Additionally, increasing the operator's or function's complexity in several cases reduces its accuracy.This phenomenon is akin to fitting a polynomial function with high-degree functions to x and y data when a lower degree is often more straightforward and accurate.

Figure 2 .
Figure 2. Random features of the 50 beam sections and the capacity based on ACI.

Figure 7 .
Figure 7. NN results for (right) discussing the influence of NHL and (left) robustness of the results in the repetition of an exact problem.

Figure 10 (
Figure10(Left) displays a series of examples based on a randomised lookup table, in which LT Si range increases up to 1000.The error of V C and M u , in addition to the analysing duration, which increases alongside the LT Si , is entirely visible in NN diagrams.ANFIS, in addition to having higher accuracy, has a robust performance; it did not indicate significant changes in V C and M u capacity representation of the ACI bending and shear capacity with less than 1% differences.In this range, the analysing Costs of FL and NN are similar and for the same problems, they are almost 66% of ANFIS.The other examples showed higher differences between the Costs of FL and NN compared to ANFIS by increasing the LT Si , Par No and NHL.

Figure 11 .
Figure 11.Comparison between the performances of the discussed MLO, by fitting surfaces to shear and bending errors, while LT Si = [15 − 2000],Par No = [1 − 5] were regarded as the parameter ranges.

Table 1 .
Verification of the accuracy of the coded beam calculations in comparison to the references.

Table 2 .
Selected range of changes in the variables.

Table 3 .
influence of parameters changes on the beam capacities (all numbers are percentages).
Time comparison as the Costs for regarding different MLOs, numbers of parameters and size of the lookup table without the duration of time needed for the production of the lookup table and stability of the results upon repetition of similar problems.