Info
Version: | 3.4.2 |
Author(s): | Andreas Beham |
Last Update: | Friday, June 9, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/heal-research/SimSharp |
NuGet Url: | https://www.nuget.org/packages/SimSharp |
Install
Install-Package SimSharp
dotnet add package SimSharp
paket add SimSharp
SimSharp Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.5
No dependencies.
No 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.