## 3 Methodology
### Simulation Variables  
The following describes the physical and operational conditions for the three different platform configurations that will be used in the simulation. The total platform width [a], as well as the total stair width [e], are identical for all three platforms. Likewise, the platform length and the dimensions of the trains are the same for all evaluated configurations. Therefore, the station dimensions are exactly the same for all the configurations to be simulated (see Table 1). As a result of the above, the platform configuration for the station simulation can be seen in the following figure using AnyLogic 2023 (see Figure 3). AnyLogic unifies all modern modeling and simulation approaches, as it simultaneously integrates agent-based simulation, system dynamics, and discrete event systems, with macro-, meso-, and microscopic-scale levels. It allows work with flow diagrams, state diagrams, action diagrams, and process flow diagrams. It operates in Linux, Apple, and  
Figure 2: Typology of the infrastructure used in metro stations: (**a**) central island platform; (**b**) side platform; (**c**) mixed platform. Windows environments, and is integrable with Java engines and editing tools such as Eclipse. It enables the export of simulation models into small Java applications to be used from any web browser. Additionally, it has a pedestrian library that describes pedestrian behavior and a railway library that allows for the programming of train operations. Both pedestrians and trains can be visualized in 3D. For all of these reasons, AnyLogic includes all the necessary features to carry out the simulations for this research. The pedestrian library of AnyLogic allows the simulation of pedestrian flows in physical environments, such as areas with high pedestrian traffic like subway or train stations. It enables the collection of statistical data on pedestrian density and the estimation of wait times. It is a powerful library for detecting potential problems arising from the interaction between pedestrians and their environment or with other pedestrians. Pedestrian models have two design areas: the environment and the behavior. The environment incorporates walls, areas, stairs, ramps, queues, and service areas. The behavior defines the physical rules of pedestrian conduct. The train library of AnyLogic allows for the modeling, simulation, and visualization of train operations at various levels of scale and complexity. The library enables the creation of accurate designs for trains, carriages, dimensions, door widths, seating arrangements, density, route topology, and train accelerations and decelerations, in addition to all types of train operations and switching yards. In the AnyLogic simulation tool, the physical environment must be designed, and the agents that interact within it, their characteristics, and the relationships between them need to be defined. The characteristics of the pedestrians, namely their origins and destinations, behaviors, and interaction relationships are established. Additionally, the topology of the trains and carriages, along with the operating conditions of the train, are defined. \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline \multirow{2}{*}{**Platform**} & \multicolumn{4}{c}{**Stairs**} & \multicolumn{4}{c}{**Platform**} \\ \cline{2-7}  & **Number of** & **Width of** & **Total Width** & **Number of** & **Width of** & **Total Width** \\  & **Stairs** & **Stairs** & **of Stairs** & **Platforms** & **Platform** & **of Platform** \\ \hline Central & 4 & e & e & 1 & a & a \\ Side & 8 & e/2 & e & 2 & a/2 & a \\ Mixed & 12 & e/3 & e & 3 & a/3 & a \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Dimensions and configuration used in the simulation at the platforms. Figure 3: Simulated scenarios: (**a**) side platform; (**b**) central island platform; (**c**) mixed platform.