**Abstract**

The origin-destination matrix is a two-dimensional matrix that describes the probability of a passenger travelling from one floor in the building to another. It is a two-dimensional square matrix. The row index denotes the origin floor and the row index denotes the destination floor for the passenger journey. A previous chapter described the methodology for constructing the origin-destination matrix (OD matrix) from the user requirements. However, that chapter placed the restriction that any floor must either be assigned as an entrance floor or an occupant floor, but not both. This chapter relaxes this restriction and shows a method for developing the origin-destination matrix that allows any floor to either be an entrance floor; an occupant floor; or both. The origin destination matrix can be compiled using three sets of parameters: the mix of traffic (incoming traffic, outgoing traffic, inter-floor traffic; and inter-entrance traffic); the floor populations; and the entrance percentage bias (i.e., the relative strength of the arrivals at the entrance floors). The origindestination matrix can be used for the generation of random passenger origindestination pairs (which is necessary when using the Monte Carlo Simulation (MCS) method to calculate the round-trip time or in elevator traffic software).

**Keywords:** elevator, lift, round trip time, incoming traffic, outgoing traffic, inter-floor traffic, inter-entrance traffic, general traffic conditions, Monte Carlo simulation, origin-destination matrix
