The Elevator Problem

Ever frustrated about waiting for elevators and thinking there must be a better arrangement of default positions to minimise waiting time? Here’s an app I wrote you can try out! I wrote this with UCL Institute of Child Health in mind – so a 5-storey high building. Use the website for best experience.

You can customise:

  • number of elevators
  • elevator speed
  • door operation time
  • distribution of destinations, and call volume for:
    morning-peak;
    evening-peak; and,
    non-peak hours
https://ichelevatorsimulation.streamlit.app?embed=true

With my simulations, the best configuration with default setting + elevator speed = 4.0, door operation time = 0.2 minute per stop:

Morning-Peak: with avg. wait of 0.54 minutes.
1 lift on ground floor
1 lift on 3rd floor

Evening-Peak: with avg. wait of 0.24 minutes.
1 lift on ground floor
1 lift on 4th floor
(Assuming half the calls for elevator per hour than morning peak)

Non-Peak: with avg. wait of 0.14 minutes.
1 lift on 2nd floor
1 lift on 3rd floor
(Assuming even fewer calls per hour)

Of course – I still need to update my assumptions on number of calls, elevator speed, and distribution of journeys. And there are quite a few other things I did not consider in this simulation, such as multiple stops.

I think a model like this reveals insight I don’t directly think of, such as, when elevator speed is fast enough, it does not really matter what configuration of default is set; or, when call load is really high, the small amount of operation time add up exponentially.

Nerdiness and jokes aside, I suppose this would be a good exercise/tool to communicate research findings to the public – but creating these interactive models with immediate feedback – to justify decision-making, resource distribution, and the many different stakeholders & things one need to balance.

It has been a fun little practice!

Reasoning History

We now pursue evidence, theories and testable assumptions more than ever. When I was younger, for those who know me, I’d love to self-proclaim as a reasonable person [now spotted a few flaws of doing so]. More required to be now as an academic.

Yet its no better time amidst of a historical event, to reflect upon this stream of thought, and how this pursue of reasoning has shaped our education, progression in science and medicine, religion and history.

The role and meaning of history has claimed to be shifted away from edification, by providing moral or political exemplars to emulate or to avoid and to offer cautionary reviews of past events to guide future action, to “objective description”, pure records of evidence and events – and nothing more.

For example, stark similarities were shared amongst terrible emporors in ancient China – as if they were reincarnations of the same person. This could be represented as a sign of caution for later Kings. Yet the scientific paradigm crowned objective evidence, we’d discuss and criticise whether this description of x really originated from a reliable source etc…Personal insights, first-person experiences and qualitative work has little role in publication (other than fictions duh). Arts and poems disvalued as nothing more than a niche hobby.

The traditional value of histories lay in shaping individuals and societies toward the highest ideals of their times. History under scientific lens demands individual’s ability to evaluate evidence, speculate biases, and moral awareness to bring true value into societies. This creates an easy opening for those in power to shape reality, mould expertise and build pseudo-authority by limiting access to information.

I encourage you to list a few things that does not require reasoning. I’d always loved to lay on my bed and stare into the blue sky as a kid – just realised over the weekend that I haven’t done so in years. Trying to do that more. Notice what you feel in this period of time. This, instead of what the history book says, will be your history when you look back in time. We create our own history.

Stay Safe. God Bless.

*note: I am not advocating anyone to disregard history, tradition etc., but to encourage oneself to make personal sense of history. Also encouraging myself to relax a bit 🙂