Profile

Cover photo
Stefan Scherfke
135 followers|48,480 views
AboutPostsPhotosVideos

Stream

Stefan Scherfke

Shared publicly  - 
1
Add a comment...

Stefan Scherfke

Shared publicly  - 
 
mosaik is finally Open Source!
2
1
Britta Müller's profile photo
Add a comment...

Stefan Scherfke

Shared publicly  - 
 
 
Guide to SimPy Environments
1
Add a comment...
 
The video of my talk about +SimPy is already online. #pyconde
2
Add a comment...
Have him in circles
135 people
Garret Alfert's profile photo
Sebastian Beer's profile photo
Eileen Nielebock's profile photo

Stefan Scherfke

Shared publicly  - 
 
 
New guide to SimPy events.
1
Add a comment...

Stefan Scherfke

Shared publicly  - 
 
 
SimPy 3.0.3 has been released. It includes an improved documentation and fixes
two issues for Windows users (see https://pypi.python.org/pypi/simpy/3.0.3/#changelog-for-simpy for details).
1
Add a comment...

Stefan Scherfke

Shared publicly  - 
 
 
We wrote a new topical guide “SimPy Basics” that explains how SimPy works.
1
Add a comment...

Stefan Scherfke

Shared publicly  - 
 
 
After one and a half year of development and many iterations, prototypes, and endless discussions, we now proudly release SimPy 3.

SimPy 3 has been completely rewritten from scratch. Our main goals were to simplify the API and code base as well as making SimPy more flexible and
extensible. Some of the most important changes are:

• Stronger focus on events. Processes yield event instances and are suspended until the event is triggered. An example for an event is a timeout (formerly known as hold), but even processes are now events, too (you can wait until a process terminates).
• Events can be combined with "&" (and) and "|" (or) to create condition events.
• Process can now be defined by any generator function. You don’t have to subclass Process anymore.
• No more global simulation state. Every simulation stores its state in an environment which is comparable to the old Simulation class.
• Improved resource system with newly added resource types.
• Removed plotting and GUI capabilities. Pyside [1] and matplotlib [2] are much better with this.
• Greatly improved test suite. Its cleaner, and the tests are shorter and more numerous.
• Completely overhauled documentation.

There is a guide for porting from SimPy 2 to SimPy 3 [3]. If you want to stick to SimPy 2 for a while, change your requirements to "simpy>=2.3,<3".

All in all, SimPy has become a framework for asynchronous programming based on coroutines. It brings more than ten years of experience and scientific know-how in the field of event-discrete simulation to the world of asynchronous programming and should thus be a solid foundation for everything based on an event loop.

SimPy 3 is dedicated to Klaus G. Müller and Tony Vignaux who originally created SimPy in 2002. Without their hard work and efforts to create and document SimPy and to build a friendly community around it, we wouldn’t be where we are today. Thank you!


[1] http://qt-project.org/wiki/PySide
[2] http://matplotlib.org/
[3] https://simpy.readthedocs.org/en/latest/topical_guides/porting_from_simpy2.html


Cheers,
Ontje and Stefan
3
Add a comment...
People
Have him in circles
135 people
Garret Alfert's profile photo
Sebastian Beer's profile photo
Eileen Nielebock's profile photo
Basic Information
Gender
Male
Story
Tagline
Nothing is impossible. Not if you can imagine it.
Links
Contributor to