Nonlinear Analysis of Rotational Springs to Model Semi-Rigid Frames

This paper explains the mathematical foundations of a method for modelling semi-rigid unions. The unions are modelled using rotational rather than linear springs. A nonlinear second-order analysis is required, which includes both the effects of the flexibility of the connections as well as the geometrical nonlinearity of the elements. The first task in the implementation of a 2D Beam element with semi-rigid unions in a nonlinear finite element method (FEM) is to define the vector of internal forces and the tangent stiffness matrix. After defining the formula for this vector and matrix in the context of a semi-rigid steel frame, an iterative adjustment of the springs is proposed. This setting allows a moment–rotation relationship for some given load parameters, dimensions, and unions. Modelling semi-rigid connections is performed using Frye and Morris’ polynomial model. The polynomial model has been used for type-4 semi-rigid joints (end plates without column stiffeners), which are typically semi-rigid with moderate structural complexity and intermediate stiffness characteristics. For each step in a non-linear analysis required to adjust the matrix of tangent stiffness, an additional adjustment of the springs with their own iterative process subsumed in the overall process is required. Loops are used in the proposed computational technique. Other types of connections, dimensions, and other parameters can be used with this method. Several examples are shown in a correlated analysis to demonstrate the efficacy of the design process for semi-rigid joints, and this is the work’s application content. It is demonstrated that using the mathematical method presented in this paper, semi-rigid connections may be implemented in the designs while the stiffness of the connection is verified.


Introduction
The use of semi-rigid joints in structural systems has a variety of engineering applications. Given its speed of assembly, one of its applications is for circumstances when it is interesting for constructive reasons as seismic studies and protection [1,2]. When the connections are properly built, experimental tests have shown that semi-rigid steel frames exhibit ductile and stable hysteretic behavior [3,4]. Hysteretic loops with semi-rigid connections, one of the key damping sources of structures, disperse the energy [5]. The issue is figuring out how to simulate these semi-rigid joints, which behave differently from recessed joints. Its behaviour, as evidenced by experimentally validated models, already reveals a lack of linearity in the behaviour of these joints. The resolution of the case using an incremental method is only one element of the heuristic: the fundamental difficulty is in modelling the union when the stiffness matrix is not constant throughout the process. In the context of the idea of a tangent stiffness matrix, or simply a tangent matrix, in a non-linear finite element method (FEM), some previous works are still relevant [6][7][8].
It is essential to know the work of Dhillon, B.S. and O'Malley, J.W., III in terms of their application to beams with semi-rigid connections at the ends and a mathematical

Problem-Solving Strategy
The topic is the adjustment of rotational springs to model a Beam2D element with semi-rigid connections at its extremities. Adjusting the springs of a Beam2D element requires defining a non-linear relationship between rotation and time. Although this topic has been addressed in a broad sense, its resolution using an incremental method, which is useful for analysis in a non-linear FEM environment, is a case of interest [25,26].
To solve this problem, a Newton-Raphson analogue method has been used in conjunction with a general control method because each step of loading (or loading and displacement, depending on the general control method used) causes a rotation in the spring, which causes an update of the bending moments at the extremities. An expression will be obtained in which time and motion are linked. The springs as well as the stiffness of the section influence this expression. Nested loops are used to solve the problem and codify it. To model the behaviour of springs, it is essential to understand the variables that define their behaviour. In reality, they correspond to the type of semi-rigid union that should be used. The polynomial model of Fryes and Morris for type-4 unions defines the behaviour of these springs. Other polynomial models, or even non-polynomial models, can be used for other types of connections but only with the caution of performing the appropriate derivation.
On the other hand, in order to implement it with an informatic tool and the corresponding code in the context of a nonlinear FEM, some works have been revised [19][20][21], as well as others in which nonlinear problems are addressed in various contexts [13,27]. For a stability failure or post-peak behaviour, the arc-length method with load and displacement control is necessary. However, for a nonlinear analysis between moment and rotation, before the formation of point plastic hinges, the Newton-Raphson method is sufficient [10].

Obtaintion of the Vector of Internal Forces from Its Analytic Expression
In the context of a nonlinear FEM, which is appropriate for modelling semi-rigid joints in Beam2D elements, the expression that defines the elemental vector of forces must be resolved first. This has been carried out taking into account the second-order effect P, which refers to the transverse deformations caused by the axils. In terms of loads, it will be limited to continuous load, yet same analysis can also be used to punctual load [9]. In any case, in an FEM formulation, the loads, whether punctual, continuous, or a combination of both, will be transferred to the nodes of the beam's extremes using the tools from vectorial mechanics, so that all effects and the nodal loads are equivalent to the first. The steps for the resolution are: (1) Composition and resolution of the free-body diagram of a semi-rigid beam without the P effect, as well as the determination of bending moments and strains; (2) Composition and resolution of the free-body diagram of a semi-rigid beam including the P effect, and the indirect methodology to include the strains in the forces vector from the stiffness matrix; (3) Define the vector of internal forces according to one or more element displacements and a recalculation of the vector of forces based on the results of point (2) using the elemental stiffness matrix.
Without the P effect, Figure 1 is obtained: sponding code in the context of a nonlinear FEM, some works have been revised [19][20][21], as well as others in which nonlinear problems are addressed in various contexts [13,27]. For a stability failure or post-peak behaviour, the arc-length method with load and displacement control is necessary. However, for a nonlinear analysis between moment and rotation, before the formation of point plastic hinges, the Newton-Raphson method is sufficient [10].

Obtaintion of the Vector of Internal Forces from Its Analytic Expression
In the context of a nonlinear FEM, which is appropriate for modelling semi-rigid joints in Beam2D elements, the expression that defines the elemental vector of forces must be resolved first. This has been carried out taking into account the second-order effect P, which refers to the transverse deformations caused by the axils. In terms of loads, it will be limited to continuous load, yet same analysis can also be used to punctual load [9]. In any case, in an FEM formulation, the loads, whether punctual, continuous, or a combination of both, will be transferred to the nodes of the beam's extremes using the tools from vectorial mechanics, so that all effects and the nodal loads are equivalent to the first. The steps for the resolution are: (1) Composition and resolution of the free-body diagram of a semi-rigid beam without the P effect, as well as the determination of bending moments and strains.; (2) Composition and resolution of the free-body diagram of a semi-rigid beam including the P effect, and the indirect methodology to include the strains in the forces vector from the stiffness matrix; (3) Define the vector of internal forces according to one or more element displacements and a recalculation of the vector of forces based on the results of point (2) using the elemental stiffness matrix.
Without the P effect, Figure 1 is obtained: The bending moments and are in charge of recording both the continuous load effect and the opposite rotation effect provided by the springs. Following that, Figure  2 shows a semi-rigid beam with a continuous load.  The bending moments M A and M B are in charge of recording both the continuous load effect and the opposite rotation effect provided by the springs. Following that, Figure 2 shows a semi-rigid beam with a continuous load.
sponding code in the context of a nonlinear FEM, some works have been revised [19][20][21], as well as others in which nonlinear problems are addressed in various contexts [13,27]. For a stability failure or post-peak behaviour, the arc-length method with load and displacement control is necessary. However, for a nonlinear analysis between moment and rotation, before the formation of point plastic hinges, the Newton-Raphson method is sufficient [10].

Obtaintion of the Vector of Internal Forces from Its Analytic Expression
In the context of a nonlinear FEM, which is appropriate for modelling semi-rigid joints in Beam2D elements, the expression that defines the elemental vector of forces must be resolved first. This has been carried out taking into account the second-order effect P, which refers to the transverse deformations caused by the axils. In terms of loads, it will be limited to continuous load, yet same analysis can also be used to punctual load [9]. In any case, in an FEM formulation, the loads, whether punctual, continuous, or a combination of both, will be transferred to the nodes of the beam's extremes using the tools from vectorial mechanics, so that all effects and the nodal loads are equivalent to the first. The steps for the resolution are: (1) Composition and resolution of the free-body diagram of a semi-rigid beam without the P effect, as well as the determination of bending moments and strains.; (2) Composition and resolution of the free-body diagram of a semi-rigid beam including the P effect, and the indirect methodology to include the strains in the forces vector from the stiffness matrix; (3) Define the vector of internal forces according to one or more element displacements and a recalculation of the vector of forces based on the results of point (2) using the elemental stiffness matrix.
Without the P effect, Figure 1 is obtained: The bending moments and are in charge of recording both the continuous load effect and the opposite rotation effect provided by the springs. Following that, Figure  2 shows a semi-rigid beam with a continuous load.  Here, L is the beam's length, and θ rA and θ rB are the semi-rigid beam's rotation at their respective ends, A and B. These rotations are due to the deflexion caused by the corresponding load, which is amplified by the effect of both springs at their ends. The semi-rigid nature of the beam necessitates a flawless fit at its ends. The rotational springs, not the lineal ones, will modulate the beam's behaviour between semi-rigid and embedded, depending on the used type of semi-rigid union.
The effect of the springs opposes the effect of the external loads, causing a rotation in the opposite direction. In  The diagram's springs are removed and replaced by their effects at the appropriate moment and rotation. Each diagram represents an independent phenomenon. Figure 3 depicts the effect of the loads on the rotation, whereas Figures 4 and 5 illustrate the moment and rotation caused by non-linear springs. Each spring will have an impact on the entire beam, regardless of which one is used. When the principle of superposition is applied, an equivalence is obtained that allows the two effects to be compared. their respective ends, A and B. These rotations are due to the deflexion caused by the corresponding load, which is amplified by the effect of both springs at their ends. The semi-rigid nature of the beam necessitates a flawless fit at its ends. The rotational springs, not the lineal ones, will modulate the beam's behaviour between semi-rigid and embedded, depending on the used type of semi-rigid union.
The effect of the springs opposes the effect of the external loads, causing a rotation in the opposite direction. In Figures 3-5, the figure for continuous loading becomes smudged. The diagram's springs are removed and replaced by their effects at the appropriate moment and rotation. Each diagram represents an independent phenomenon. Figure 3 depicts the effect of the loads on the rotation, whereas Figures 4 and 5 illustrate the moment and rotation caused by non-linear springs. Each spring will have an impact on the entire beam, regardless of which one is used. When the principle of superposition is applied, an equivalence is obtained that allows the two effects to be compared.   The final step entails replacing moment and rotation in each of the extremes to obtain the equations with the moments that will be used in subsequent reasoning. It is important to note that the loads will not generate in any case a moment of underrun; however, they will generate a rotation, and it is necessary to calculate it based on these loads. This rotation causes a deflection, which is partially counteracted by the springs. Extending Euler-Bernoulli's beam theory to the prismatic and constant curvature-curved beam, the moment-curvature relation can be stated as in Equation (1): where: : The effect of the springs on the relative rotation of the beam in i depend, of the Frye and Morris' polynomial model for type-4 unions; : Rotational stiffness of the spring in the end i; their respective ends, A and B. These rotations are due to the deflexion caused by the corresponding load, which is amplified by the effect of both springs at their ends. The semi-rigid nature of the beam necessitates a flawless fit at its ends. The rotational springs, not the lineal ones, will modulate the beam's behaviour between semi-rigid and embedded, depending on the used type of semi-rigid union.
The effect of the springs opposes the effect of the external loads, causing a rotation in the opposite direction. In Figures 3-5, the figure for continuous loading becomes smudged. The diagram's springs are removed and replaced by their effects at the appropriate moment and rotation. Each diagram represents an independent phenomenon. Figure 3 depicts the effect of the loads on the rotation, whereas Figures 4 and 5 illustrate the moment and rotation caused by non-linear springs. Each spring will have an impact on the entire beam, regardless of which one is used. When the principle of superposition is applied, an equivalence is obtained that allows the two effects to be compared.   The final step entails replacing moment and rotation in each of the extremes to obtain the equations with the moments that will be used in subsequent reasoning. It is important to note that the loads will not generate in any case a moment of underrun; however, they will generate a rotation, and it is necessary to calculate it based on these loads. This rotation causes a deflection, which is partially counteracted by the springs. Extending Euler-Bernoulli's beam theory to the prismatic and constant curvature-curved beam, the moment-curvature relation can be stated as in Equation (1): where: : The effect of the springs on the relative rotation of the beam in i depend, of the Frye and Morris' polynomial model for type-4 unions; : Rotational stiffness of the spring in the end i; corresponding load, which is amplified by the effect of both springs at their ends. The semi-rigid nature of the beam necessitates a flawless fit at its ends. The rotational springs, not the lineal ones, will modulate the beam's behaviour between semi-rigid and embedded, depending on the used type of semi-rigid union.
The effect of the springs opposes the effect of the external loads, causing a rotation in the opposite direction. In Figures 3-5, the figure for continuous loading becomes smudged. The diagram's springs are removed and replaced by their effects at the appropriate moment and rotation. Each diagram represents an independent phenomenon. Figure 3 depicts the effect of the loads on the rotation, whereas Figures 4 and 5 illustrate the moment and rotation caused by non-linear springs. Each spring will have an impact on the entire beam, regardless of which one is used. When the principle of superposition is applied, an equivalence is obtained that allows the two effects to be compared.   The final step entails replacing moment and rotation in each of the extremes to obtain the equations with the moments that will be used in subsequent reasoning. It is important to note that the loads will not generate in any case a moment of underrun; however, they will generate a rotation, and it is necessary to calculate it based on these loads. This rotation causes a deflection, which is partially counteracted by the springs. Extending Euler-Bernoulli's beam theory to the prismatic and constant curvature-curved beam, the moment-curvature relation can be stated as in Equation (1): where: : The effect of the springs on the relative rotation of the beam in i depend, of the Frye and Morris' polynomial model for type-4 unions; : Rotational stiffness of the spring in the end i; The final step entails replacing moment and rotation in each of the extremes to obtain the equations with the moments that will be used in subsequent reasoning. It is important to note that the loads will not generate in any case a moment of underrun; however, they will generate a rotation, and it is necessary to calculate it based on these loads. This rotation causes a deflection, which is partially counteracted by the springs. Extending Euler-Bernoulli's beam theory to the prismatic and constant curvature-curved beam, the moment-curvature relation can be stated as in Equation (1): where: θ ri : The effect of the springs on the relative rotation of the beam in i depend, of the Frye and Morris' polynomial model for type-4 unions; k i : Rotational stiffness of the spring in the end i; M i : Rotation moment in the extreme i.
The following rotations are obtained by removing the springs at the extremes and considering the continuous load, W, the M A and M B moments, and establishing the rotation in an elastic plan. Equation (2) is obtained: It is worth noting that the bending caused by a non-linear spring in a semi-rigid beam has been replaced by an equivalent bending moment applied at the extreme. This moment generates two rotations: one larger at the extreme where the moment is applied and one smaller at the opposite extreme. Equations (3) and (4) are obtained by using the beam symmetry: Adding the three rotations at either end, Equation (5) is obtained: Knowing the rotations in a semi-rigid beam due to a constant load and two moments at either end that will replace the springs, it is possible to establish equations that relate moment and global rotation. Equations (6) and (7) are obtained by combining Equations (3)-(5) into one and rearranging the terms: Equations (8) and (9) are generated by rearranging these equations and defining variables that depend on the spring stiffness and material constants: where: Coupling the moments in A and B according to Equations (1) and (5) and Equations (6) and (7), Equations (10) and (11) are obtained: Finally, a relationship between the moment and rotation is found, which is reliant not only on the stiffness of the section but also on the stiffness of the springs. The values at the ends due to the load are those referred to in Equation (12) in terms of shear forces, taking into account equilibrium conditions and the values at the ends due to the load: Entropy 2022, 24, 953 6 of 16 Following the same reasoning and procedure, we arrive at Equations (13) and (14): where: V A : Value of the shear forces in A, updated because of the effect of the springs; V B : Value of the shear forces in B, updated because of the effect of the springs. The actA and actB variables update the springs' effect and are only dependent on spring-specific variables (stiffness) and material constants (E, I). According to Frye and Morris' polynomial model, the stiffness value is dependent on associated parameters. Convergence issues can arise if you make the wrong decision. Studies on this topic may be found in Benterkia's thesis [28] and Diaz et al.'s review of many models [29].
Analysing the effect transversal displacement in the beam as shown in Figure 6: Finally, a relationship between the moment and rotation is found, which is reliant not only on the stiffness of the section but also on the stiffness of the springs. The values at the ends due to the load are those referred to in Equation (12) in terms of shear forces, taking into account equilibrium conditions and the values at the ends due to the load: Following the same reasoning and procedure, we arrive at Equations (13) and (14): where: : Value of the shear forces in A, updated because of the effect of the springs; : Value of the shear forces in B, updated because of the effect of the springs.
The actA and actB variables update the springs' effect and are only dependent on spring-specific variables (stiffness) and material constants (E, I). According to Frye and Morris' polynomial model, the stiffness value is dependent on associated parameters. Convergence issues can arise if you make the wrong decision. Studies on this topic may be found in Benterkia's thesis [28] and Diaz et al.'s review of many models [29].
Analysing the effect transversal displacement in the beam as shown in Figure 6: In this scenario, Figure 7, the axial forces are no longer perfectly aligned, and a second order moment appears: Whether there are axial forces of traction or compression impacting the transverse deformation, the moment mentioned appears. The P effect is actually the combined influence of the axial and the moment on the transverse deformation caused by the first. As a result, although in a nonlinear manner, this axial force indirectly affects the tangent stiffness matrix. Its impact can be felt in this stiffness test, as we will see below. The action of In this scenario, Figure 7, the axial forces are no longer perfectly aligned, and a second order moment appears: Finally, a relationship between the moment and rotation is found, which is reliant not only on the stiffness of the section but also on the stiffness of the springs. The values at the ends due to the load are those referred to in Equation (12) in terms of shear forces, taking into account equilibrium conditions and the values at the ends due to the load: Following the same reasoning and procedure, we arrive at Equations (13) and (14): where: : Value of the shear forces in A, updated because of the effect of the springs; : Value of the shear forces in B, updated because of the effect of the springs.
The actA and actB variables update the springs' effect and are only dependent on spring-specific variables (stiffness) and material constants (E, I). According to Frye and Morris' polynomial model, the stiffness value is dependent on associated parameters. Convergence issues can arise if you make the wrong decision. Studies on this topic may be found in Benterkia's thesis [28] and Diaz et al.'s review of many models [29].
Analysing the effect transversal displacement in the beam as shown in Figure 6: In this scenario, Figure 7, the axial forces are no longer perfectly aligned, and a second order moment appears: Whether there are axial forces of traction or compression impacting the transverse deformation, the moment mentioned appears. The P effect is actually the combined influence of the axial and the moment on the transverse deformation caused by the first. As a result, although in a nonlinear manner, this axial force indirectly affects the tangent stiffness matrix. Its impact can be felt in this stiffness test, as we will see below. The action of Whether there are axial forces of traction or compression impacting the transverse deformation, the moment mentioned appears. The P effect is actually the combined influence of the axial and the moment on the transverse deformation caused by the first. As a result, although in a nonlinear manner, this axial force indirectly affects the tangent stiffness matrix. Its impact can be felt in this stiffness test, as we will see below. The action of loads and springs is reinforced in this situation by the transverse displacement, caused by the axials' influence. There are a number of arguments that can be used to bring the solution closer together.
Returning to the case of a simple-supported beam with two rotational springs at its ends, if the springs and their respective rigidities are included (Equation (1)), it can be demonstrated how this affects the transverse deformation quantitatively, allowing modified slope deflection equations to be used. These equations are derived from the equations already inferred above, while also accounting for the fact that the springs change the  (4) and (5)) from θ A and θ B to θ A − θ rA and θ B − θ rB , respectively. Equations (15) and (16) are the outcome of this: So, Equation (17) results: The relative rotation θ rA and θ rB of the beam ends in the effect of the springs. Taking into account some variables that depend exclusively on factors intrinsic to each spring (stiffness) and type of bar (length, section and moment of inertia). Now, it is possible to reformulate the above equations as follows, in Equations (18) and (19): where: r ii , r jj and r ij are parameters that are solely dependent on bar and spring parameters. Finally, the information needed to define the elemental vector of internal forces is now available. In this case, the most efficient method is to conduct a force analysis and include spring effects, elastic stiffness and the P-delta effect via the stiffness matrix. The updating of short-term moments and efforts (Equations (9), (10), (12) and (13)) is crucial because failure to include this updating in the defining code can result in convergence issues. With the nodal displacements and this matrix included, the total elemental vector of internal forces in matrixial format is: where: P e int : Elemental force vector updated because of the effects of the springs and the P-delta effect; [k delta ]: Non-linear matrix that includes stiffness due to the P-delta effect. The following is a detailed definition of the term: where: All of these parameters are based on the previously defined spring stiffness spring stiffness kA and kB.
[k delta ] + k semirig : We can refer to this matricidal total as the nonlinear stiffness matrix of a beam 2D element incorporating P-delta effects, which includes both the P-delta and springs effects; T trans f : Rotation matrix whose only function is to influence the rotation related to the coordinates of the element in concordance with the coordinates of the global structure; P e act : Internal force vector updated as a result of the spring. As it has been previously stated, it does not contain axial forces.

Definition of the Tangent Stiffness Matrix
The vector of internal forces determines the tangent stiffness matrix. However, in cases when there are semi-rigid joints with non-linear matrices, the matrices are required to obtain the added stiffness or tangent stiffness matrix. The fact that the springs have a non-linear character necessitates the updating of this internal vector of forces, making the problem more difficult to solve. For this reason, the matrix is referred to as a tangent stiffness matrix, as it is required to linearize the residual equation in a nonlinear incremental method. If the elemental vector of forces (Equation (20)) is derived from the elemental displacements, the following result is obtained: There is a geometric term and a material stiffness term. In this case, it is impossible to accept the possibility of smaller displacements, but it is reasonable to assume that the material is linear. As a result, the second term is equal to zero, leaving only the first. This first term refers to geometric stiffness; nevertheless, it is not linear due to two factors: the P-delta effect and the springs effect. As a result, the following equation is obtained: Without taking into account non-linear springs, the stiffness matrix responsible for the P-delta effect is the matrix P; the first of the terms is referred to as the "Stiffness geometrical matrix" [3,22]. The deductions mentioned in previous references are applied to the formulation of the matrix that includes this P effect. This geometric matrix is based on the axil effort, which is implemented using the form function for longitudinal deformation in a non-linear FEM environment.
Returning to the usual formulation, the matrix of stiffness in global coordinates is obtained by multiplying by a matrix of coordinates transformation: This matrix will allow for the acquisition of new internal forces that can be compared to external forces, and whose reminder must converge to zero for some displacement increases. Once the problem has been solved, the matrix tangent solution to the problem is obtained, in accordance with the primary control method used (load control, or load and displacement, depending on the case). When it comes to coding, one thing to keep in mind is that the vector of internal forces, Pe, must be updated due to the non-linear effect of the springs. This vector of force update includes reversible moments and reversible efforts due to gravitational forces and spring effects, but not exiles. This is consistent with the effect of a transversal load superimposed on a beam with rotational springs, given that these springs do not generate axil effort. It is critical to incorporate these efforts' updates because, on the contrary, the resolution of the beam-spring system using two nested Newton-Raphson equations does not converge.

No-Linear Rotary Spring Adjustment
To solve the non-linear problem and use rotational springs in structural systems with semi-rigid joints, it is required to find the balance function between the moment and the rotation for each of the load steps. Each step in the loading process necessitates its own adjustment within the overall control method that governs the process. The adjustment of springs necessitates iterative procedures for the adjustment of the added stiffness matrix and internal force vector Pe. The several iterations to be completed are referred to as sub-iterations in each iteration of this internal spring adjustment. General iterations are the iterations required to complete each step of the loading process. Each loading step, together with its general iterations, is governed by a general incremental method that differs from that of the springs. In essence, the problem is simple: adjusting the springs using a the Newton-Raphson method, selecting the appropriate initial values and correctly formulating the handling functions in the process code is all that is required.
The springs' added stiffness matrix and vector of forces have been adjusted and updated using two Newton-Raphson equations in series, each of which has been nested using the general incremental resolving method. This incremental generic method is completely independent of the formula and function of the two Newton-Raphson springs in series. The two series adjustments are required with the nested Newton-Raphson equation because they must be resolved inside each iteration general required to resolve each load step. There must be as many Newton-Raphson adjustments as each sub-iteration requires, as well as for each iteration of each loading step. All of this is based on a single Beam2D element. As a result, the adjustment process is depicted graphically in the following flow diagram in Figure 8.
Because the vector of internal forces Pe is updated by the effect of the springs and external loads, the two nested Newton-Raphson equations for the springs, in series with respect to the general control method, will not have the same income values. The points to consider in the implementation of the two nested Newton-Raphson applications in series in one code are presented in a synthesis format, making the overall process of assembly of different elements in a nonlinear FEM known. This procedure is applicable to any type of semi-rigid mouldable union using non-linear rotational springs: (1) Identifying the relative rotation generated by the springs (theta_r_observada, ec. 3 a 5); (2) Obtaining the tangent stiffness matrix of each spring through derivation according to the increments in moment Mr(A) y Mr(B); (3) Define the reminder as the difference between the observed and the calculated rotation; (4) The results of stiffness for the springs are obtained by several iterations, for a generic iteration i of the loading dock j. The primary control method that oversees the process specifies the loading steps; (5) Once the Kt of each spring has been determined, the elemental stiffness may be calculated. Without updating, a Pe is obtained. With this Kt, a vector of internal forces Pe is obtained, which has been updated due to the springs' effect. This is now performed for each general iteration i of the loading process j.

Results and Discussion
An analysis with various variants is carried out based on the previous foundations and a code according to the problem. The validity of the model has been confirmed by comparing the rotation diagrams for type-4 unions and similar loads from the models of Dhillon, B.S. and O'Malley, J.W., III [9] (Figure 9 and Table 1) Table 1). For the specific case, beams with given material characteristics and Fryes and Morris model values are examined for a semi-rigid connection with W 12 × 72 section and plate and bolts spacing for a semi-rigid type-4 connection (type-5 of Dhillon). The type-4 of Fryes and Morris is used when there are less deviations between the mathematical model and the experimental results. Table 1 is obtained: The examined alternatives include: a beam with two semi-rigid joints in each of its extremities and a cantilevered beam with a semi-rigid joint in one of its extremities. Different loads with and without P-delta effect are applied. The distance between supports is considered constant with a lenght of 7.75 m. [17]. The moment values used are 275.40 kN·m and 282.42 kN·m. The following are the moment-rotation diagrams obtained using the proposed adjustment method. Figures 9-14 show these results: The examined alternatives include: a beam with two semi-rigid joints in each of its extremities and a cantilevered beam with a semi-rigid joint in one of its extremities. Different loads with and without P-delta effect are applied. The distance between supports is considered constant with a lenght of 7.75 m. [17]. The moment values used are 275.40 kNm and 282.42 kNm. The following are the moment-rotation diagrams obtained using the proposed adjustment method. Figures 9-14 show these results:   The maximum rotation obtained is 0.0099 rad. In the case of a moment equal to 282.42 kNm. We obtain 0.0102 rad. The curve maintains its slope, which is appropriate for this type of union; however, the rotation in this case increases as the moment increases.
If the process is repeated for a cantilevered beam at one of its extremities and a semirigid union at one of the moment's extremities, the following result is obtained and shown in Figures 11 and 12: The maximum rotation obtained is 0.0099 rad. In the case of a moment equal to 282.42 kN·m.
We obtain 0.0102 rad. The curve maintains its slope, which is appropriate for this type of union; however, the rotation in this case increases as the moment increases.
If the process is repeated for a cantilevered beam at one of its extremities and a semirigid union at one of the moment's extremities, the following result is obtained and shown in Figures 11 and 12: In this case, we obtain 0.0213 rad and 0.0218 rad rotations, respectively. In addition to increasing the rotation, increasing the moment enhances the rotation as well. However, the effect of the cantilever becomes apparent in the rotation, with a beam mounted on two supports increasing significantly. The order of the rotation is increasing. In this case, it is possible to observe that the curve is still the same. We obtain 0.0102 rad. The curve maintains its slope, which is appropriate for this type of union; however, the rotation in this case increases as the moment increases.
If the process is repeated for a cantilevered beam at one of its extremities and a semirigid union at one of the moment's extremities, the following result is obtained and shown in Figures 11 and 12:  In this case, we obtain 0.0213 rad and 0.0218 rad rotations, respectively. In addition to increasing the rotation, increasing the moment enhances the rotation as well. However, the effect of the cantilever becomes apparent in the rotation, with a beam mounted on two supports increasing significantly. The order of the rotation is increasing. In this case, it is possible to observe that the curve is still the same.
It is possible to see in the previous diagrams, which correspond to semi-rigid joints, that the moment-rotation relationship is clearly not linear. Following that, it is possible to demonstrate the P-delta effect. To see this effect in greater detail, an amplification factor of ×10 to a 12 kN transversal traction load is applied. To see a better P-delta effect, turning on the option of increase obtains the following result for a moment of 282.42 kN·m. Figures 13 and 14 show the aforementioned results. It is possible to see in the previous diagrams, which correspond to semi-rigid joints, that the moment-rotation relationship is clearly not linear. Following that, it is possible to demonstrate the P-delta effect. To see this effect in greater detail, an amplification factor of ×10 to a 12 kN transversal traction load is applied. To see a better P-delta effect, turning on the option of increase obtains the following result for a moment of 282.42 kN·m. Figures 13 and 14 show the aforementioned results. The rotation increases as a result of a loss of overall stiffness. Now, tracing efforts provide: If the moment is aligned with an axial traction, the p-delta effect will effectively linearize the moment-rotation curve for the same initial conditions (load steps, applied load, etc). This implies that this effect has an impact on the tangential stiffness matrix. Despite the fact that the rotation must be interpreted qualitatively by the amplification factor used. The effect is an increase in the overall stiffness of the beam for tracing efforts accompanied by transverse load when this P-delta effect is assessed. In contrast, during compression efforts, the rotations increase, resulting in a reduction in the element's overall stiffness and an increase in the rotation at its extremes. Although it is more crucial to consider this effect in columns, the beams may experience instabilities that will be more evident in the case of semi-rigid joints. possible to observe that the curve is still the same.
It is possible to see in the previous diagrams, which correspond to semi-rigid joints, that the moment-rotation relationship is clearly not linear. Following that, it is possible to demonstrate the P-delta effect. To see this effect in greater detail, an amplification factor of ×10 to a 12 kN transversal traction load is applied. To see a better P-delta effect, turning on the option of increase obtains the following result for a moment of 282.42 kN·m. Figures 13 and 14 show the aforementioned results. The rotation increases as a result of a loss of overall stiffness. Now, tracing efforts provide: If the moment is aligned with an axial traction, the p-delta effect will effectively linearize the moment-rotation curve for the same initial conditions (load steps, applied load, etc). This implies that this effect has an impact on the tangential stiffness matrix. Despite the fact that the rotation must be interpreted qualitatively by the amplification factor used. The effect is an increase in the overall stiffness of the beam for tracing efforts accompanied by transverse load when this P-delta effect is assessed. In contrast, during compression efforts, the rotations increase, resulting in a reduction in the element's overall stiffness and an increase in the rotation at its extremes. Although it is more crucial to consider this effect in columns, the beams may experience instabilities that will be more evident in the case of semi-rigid joints.

Conclusions
Following the completion of the work, it is possible to state that the Newton-Raphson method can be used to adjust and obtain moment-rotation diagrams that correlate to semi-rigid links. In the context of a nonlinear FEM, the model is implemented using rotationally nonlinear springs. According to the method presented, to adjust the tangential stiffness matrix and obtain the vector of internal forces, the use of two Newton-Raphson equations nested in series with the appropriate general control method is required. Furthermore, the moment-rotation relationship demonstrates a clear lack of geometric linearity. In the cases studied, the nonlinearity may be seen in beams with semi-rigid connections at both ends, as well as a cantilever; however, the order of the rotations differs. Small variations in the variables of a polynomial model might lead to convergence errors. In addition, proper initial value selection in Newton-Raphson nested equations facilitates convergence. Finally, it is possible to state that for tracing efforts, the P-delta effect entails a linearization of the moment-rotation curve, as well as a loss of stiffness and an increase

Conclusions
Following the completion of the work, it is possible to state that the Newton-Raphson method can be used to adjust and obtain moment-rotation diagrams that correlate to semirigid links. In the context of a nonlinear FEM, the model is implemented using rotationally nonlinear springs. According to the method presented, to adjust the tangential stiffness matrix and obtain the vector of internal forces, the use of two Newton-Raphson equations nested in series with the appropriate general control method is required. Furthermore, the moment-rotation relationship demonstrates a clear lack of geometric linearity. In the cases studied, the nonlinearity may be seen in beams with semi-rigid connections at both ends, as well as a cantilever; however, the order of the rotations differs. Small variations in the variables of a polynomial model might lead to convergence errors. In addition, proper initial value selection in Newton-Raphson nested equations facilitates convergence. Finally, it is possible to state that for tracing efforts, the P-delta effect entails a linearization of the moment-rotation curve, as well as a loss of stiffness and an increase in rotation in the case of compression axils. This coupling effect should be considered not just in columns but also in beam elements.