{'fraction_non_alphanumeric': 0.01996007984031936, 'fraction_numerical': 0.0, 'mean_word_length': 4.93491124260355, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Illustration of a Parallel and Discrete Event Simulator using Scala

Discrete-event Simulation has been used widely in academia as well as in the industry in different areas. However, Discrete-event Simulation (DES) has severe limitations as it is designed to work on a single processor as a single process. With Moore’s Law coming to an end, the designers of processors embed more cores on a single processor. A standard DES cannot take advantage of multiple cores. Parallel Discrete Event Simulators (PDES) take advantage of multiple cores in modern processors. However, the design and implementation of a simulation scenario as a PDES is challenging to achieve. The challenge is to synchronise the execution of various processes and to make them communicate with each other. This paper attempts to create a simple PDES to describe the Simulation of multiple lifts in Scala. We demonstrate the ease and flexibility of Scala in designing and developing a simulation using multi-threading architecture.