Different types of simulation methods can be used for patient flow optimization, depending on the purpose, scope, and level of detail of the analysis. Discrete-event simulation (DES) models the system as a sequence of events that occur at discrete points in time, such as arrivals, departures, services, and transfers. This method captures the stochastic and dynamic nature of patient flow, allowing for the evaluation of resource allocation, scheduling, and prioritization policies. Agent-based simulation (ABS) models the system as a collection of autonomous agents that interact with each other and the environment. This method captures the heterogeneity and adaptability of patient flow, allowing for the evaluation of individual behaviors, preferences, and decisions. System dynamics simulation (SDS) models the system as a set of interrelated feedback loops that influence the stock and flow of resources. This method captures the long-term and aggregate effects of patient flow, allowing for the evaluation of system-wide policies, trends, and feedback mechanisms.