3.2.2. Counterweight Values of Each Loading Point at Different Construction Stages

The model bridge is divided into 20 construction stages. Manually calculating the counterweight loads of the 29 loading points at different construction stages would be a massive workload. In this study, the ANSYS APDL [31] programming language was utilized to develop a set of counterweight load calculation programs, which can automate the aforementioned task. The basic process is shown in Figure 9.

**Figure 9.** Flow chart of counterweight statistics at each loading point.

In Figure 9, ArrayMass is a 20 × 29 two-dimensional array, with the first dimension used to store construction stage information and the second dimension used to store loading point numbers; ArrayPoint is a one-dimensional array with 28 elements, and *x* = {*x*1, *x*2, ··· , *x*28} is used to store information; *i* represents the construction stage, taking *<sup>i</sup>* <sup>∈</sup> {<sup>1</sup> <sup>≤</sup> *<sup>i</sup>* <sup>≤</sup> <sup>20</sup>|*<sup>i</sup>* <sup>∈</sup> *<sup>N</sup>*<sup>+</sup> }; and *<sup>j</sup>* represents the element number in the finite element model, taking *<sup>j</sup>* <sup>∈</sup> {<sup>1</sup> <sup>≤</sup> *<sup>j</sup>* <sup>≤</sup> <sup>6660</sup>|*<sup>j</sup>* <sup>∈</sup> *<sup>N</sup>*<sup>+</sup> }.
