RubyGems Navigation menu

y_petri 2.3.4

YPetri is a gem for modelling of dynamical systems. It caters solely to the two main concerns of modelling, model specification and simulation, and it excels in the first one. Dynamical systems are described under a Petri net paradigm. YPetri implements a universal Petri net abstraction that integrates discrete/continous, deterministic/stochastic, timed/timeless and stoichiometric/nonstoichiometric dichotomies of the extended Petri nets, and allows efficient specification of any kind of dynamical system. Like Petri nets themselves, YPetri was inspired by problems from the domain of chemistry (biochemical pathway modelling), but it is not specific it. Other gems, YChem and YCell are planned to cater to the concerns specific to chemistry and cell biochemistry. As a part of this effort, an extended version of YPetri is under development. Its name is YNelson, its usage is practically identical to YPetri, but it covers more concerns than just Petri net specification and simulation. Namely, YNelson allows relations among Petri net nodes and parameters to be captured under a zz structure paradigm (which was developed by Ted Nelson) and it also provides higher level of abstraction in Petri net specification by providing commands that create more than one Petri net node per command.


  1. 2.3.4 - November 28, 2014 (103 KB)
  2. 2.3.3 - April 24, 2014 (102 KB)
  3. 2.3.2 - April 23, 2014 (102 KB)
  4. 2.2.4 - October 22, 2013 (76.5 KB)
  5. 2.2.3 - October 21, 2013 (76 KB)
Show all versions (51 total)

Development Dependencies:


  • boris



Total downloads 22,186

For this version 26

Show all versions (51 total)

Required Ruby Version: >= 2.0



gem 'y_petri', '~> 2.3.4' = Copy to clipboard Copied!

gem install y_petri = Copy to clipboard Copied!