{"title":"使用Scala的并行和离散事件模拟器的说明","authors":"A. B. Evanjalin, R. Saranya, Kiran Kumar Kondru","doi":"10.1109/icacfct53978.2021.9837380","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":312952,"journal":{"name":"2021 First International Conference on Advances in Computing and Future Communication Technologies (ICACFCT)","volume":"79 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Illustration of a Parallel and Discrete Event Simulator using Scala\",\"authors\":\"A. B. Evanjalin, R. Saranya, Kiran Kumar Kondru\",\"doi\":\"10.1109/icacfct53978.2021.9837380\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"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.\",\"PeriodicalId\":312952,\"journal\":{\"name\":\"2021 First International Conference on Advances in Computing and Future Communication Technologies (ICACFCT)\",\"volume\":\"79 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 First International Conference on Advances in Computing and Future Communication Technologies (ICACFCT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/icacfct53978.2021.9837380\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 First International Conference on Advances in Computing and Future Communication Technologies (ICACFCT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/icacfct53978.2021.9837380","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":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.