SimSharp 3.3.2

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.

Install-Package SimSharp -Version 3.3.2
dotnet add package SimSharp --version 3.3.2
<PackageReference Include="SimSharp" Version="3.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimSharp --version 3.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimSharp, 3.3.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.2

// Install SimSharp as a Cake Tool
#tool nuget:?package=SimSharp&version=3.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Sim# 3.3.2 contains one enhancement and two bug fixes.
   
   Enhancement
   1) Adds method to obtain samples to the ISampleMonitor interface.
   
   Bug fixes - it fixes two bugs in PseudoRealtimeEnvironment when using it in
   Realtime mode with a scaling factor other than 1.
   1) Getting the value of Now returned the elapsed time without scaling.
   2) When the simulation is stopped, the already elapsed time was wrongly scaled.

  • .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 History

Version Downloads Last updated
3.3.2 539 5/4/2020
3.3.1 272 2/21/2020
3.3.0 654 12/6/2019
3.2.0 10,988 9/1/2019
3.1.1 646 1/4/2019
3.1.0 534 12/17/2018
3.0.11.1 529 6/26/2018
3.0.10 887 9/27/2017
3.0.9 764 3/23/2016
3.0.8 743 8/21/2015
3.0.7 676 3/1/2015
3.0.5 712 9/14/2014
3.0.4 650 8/25/2014