Info
Version: | 3.4.1-gamma |
Author(s): | Andreas Beham |
Last Update: | Friday, July 8, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/mit200/SimSharp |
NuGet Url: | https://www.nuget.org/packages/mit200SimSharp |
Install
Install-Package mit200SimSharp
dotnet add package mit200SimSharp
paket add mit200SimSharp
mit200SimSharp Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
It is implemented in C# and builds on the .NET Framework 4.5 / .NET Standard 2.0. Sim# uses an efficient event queue (adapted from https://github.com/BlueRaja/High-Speed-Priority-Queue-for-C-Sharp). The MachineShop benchmark comes close to 3.5 million events per second on a Core i7-7 2.7Ghz.
Sim# allows modeling processes easily and with little boiler plate code. A process is described as a method that yields events.
When an event is yielded, the process waits on it. Processes are themselves events and so it is convenient to spawn sub-processes that can either be waited upon or that run next to each other. There is no need to inherit from classes or understand a complex object oriented design.