SimSharp 3.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SimSharp --version 3.3.0
NuGet\Install-Package SimSharp -Version 3.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimSharp" Version="3.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimSharp --version 3.3.0
#r "nuget: SimSharp, 3.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimSharp as a Cake Addin
#addin nuget:?package=SimSharp&version=3.3.0

// Install SimSharp as a Cake Tool
#tool nuget:?package=SimSharp&version=3.3.0

Sim# aims to port the concepts used in SimPy (https://pypi.python.org/pypi/simpy) to the .NET world. 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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SimSharp:

Package Downloads
Rnsm.BookingSimulation

包含售票仿真,分析功能。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.4.2 2,454 6/9/2023
3.4.1 6,615 2/8/2022
3.4.1-pre2 483 2/4/2022
3.4.1-pre1 522 2/4/2022
3.4.0 721 1/12/2022
3.3.2 9,171 5/4/2020
3.3.1 919 2/21/2020
3.3.0 1,299 12/6/2019
3.2.0 12,154 9/1/2019
3.1.1 1,560 1/4/2019
3.1.0 1,231 12/17/2018
3.0.11.1 1,264 6/26/2018
3.0.10 1,701 9/27/2017
3.0.9 1,481 3/23/2016
3.0.8 1,525 8/21/2015
3.0.7 1,533 3/1/2015
3.0.5 1,483 9/14/2014
3.0.4 1,386 8/25/2014

Sim# 3.3 adds a pseudo realtime simulation environment which is derived from ThreadSafeSimulation. This new environment is very flexible and may dynamically change speed from running in virtual time to running in scaled realtime. It does not provide a realtime guarantee however. It introduces a wall clock delay that is equal to the difference between the next event's date and the current simulation time. It uses a Stopwatch to track the current time while the simulation is delayed.

A very rare bug has been fixed with respect to generating normal-distributed random numbers. It could arise in thread-safe simulations with asynchronous interactions and multiple sources of randomness, i.e., multiple RNGs.