Skip to content

Commit

Permalink
Increase version number to 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
abeham committed Dec 6, 2019
1 parent 8dfd410 commit 685d224
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Authors>Andreas Beham</Authors>
<Version>3.2</Version>
<Version>3.3</Version>
<Company>HEAL, FH Upper Austria</Company>
<Product>Sim# (Benchmarks)</Product>
<Description />
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/Samples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>3.2</Version>
<Version>3.3</Version>
<Authors>Andreas Beham</Authors>
<Company>HEAL, FH Upper Austria</Company>
<Product>Sim# (Samples)</Product>
Expand Down
36 changes: 4 additions & 32 deletions src/SimSharp/SimSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,18 @@
<DelaySign>False</DelaySign>
<AssemblyName>SimSharp</AssemblyName>
<RootNamespace>SimSharp</RootNamespace>
<Version>3.2</Version>
<Version>3.3</Version>
<Authors>Andreas Beham</Authors>
<Description>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.

SimPy 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.</Description>
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.</Description>
<Product>Sim#</Product>
<Company>HEAL, FH Upper Austria</Company>
<Copyright>Andreas Beham</Copyright>
<PackageProjectUrl>https://github.com/abeham/SimSharp</PackageProjectUrl>
<PackageReleaseNotes>3.2
- Introduces monitoring in resources: Resources can now track statistics such as length of queue, waiting time, etc.
- Introduce a report class that summarizes several monitors or logs periodically
- Change to MIT license

3.1.1
- Fixes a bug when canceling a request of ResourcePool while it is still in the request queue (added unit test)
- Improves When* events with respect to canceled requests for all resources
<PackageReleaseNotes>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.

3.1.0
- Introduce a faster non-thread safe Simulation class (Environment is now obsolete - backwards compatibility should be preserved)
- Introduce When* events for resources allowing to observe changes without having to fall back to using tiny intervals
- Introduce PriorityStore that can be used whenever a simple priority queue should be modeled
- Introduce permuted congruential generator (PCG) as default random number generator in Simulation (Environment will still default to System.Random as before)
- Change method to generate normal distributed random values to Marsaglia-polar method (Environment still uses the old method)
- Introduce additional API methods to provide a separate RNG instance
- Introduce additional API for generating log-normal distributed values (by giving desired mean and stdev)
- Remove warnings by changing "Process" property of events to "Owner" also enabling to set it (when ownership changes, e.g. as the request is handed to a different process)
- PreemptiveResource now uses the same priority handling as SimPy (breaks backwards compatibility - results may change)
- Remove net40 target (simplifies the build)
- Fix GasStationRefueling sample

3.0.11
- Fixed bug that would cause an infinite loop in ResourcePool when requesting unavailable objects

3.0.10
- Added target for .NET Standard 2.0 in addition to .NET Framework 4 and .NET Framework 4.5
- Fixed bug that would allow a process to continue if it yielded a failed process that has already been processed

3.0.9
- Fixed bug that would not dispose of resource requests if they are released before they are processed</PackageReleaseNotes>
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.</PackageReleaseNotes>
<NeutralLanguage />
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>3.2</Version>
<Version>3.3</Version>
<Authors>Andreas Beham</Authors>
<Company>HEAL, FH Upper Austria</Company>
<Product>Sim# (Tests)</Product>
Expand Down

0 comments on commit 685d224

Please sign in to comment.