Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Discrete event simulation

by agentz (Novice)
on May 28, 2007 at 01:22 UTC ( [id://617783] : note . print w/replies, xml ) Need Help??

in reply to Discrete event simulation

I've produced an event simulator named Sim which is somewhat similar to Simpy in my SVN repos:

The Sim Simulator

Only 2 .pm files, pretty simple to implement, but still rather powerful ;)

It's truly general-purpose and thoroughly tested at the moment though it's currently a subproject of my logic circuit simulator, Tesla , which uses it as the core.

There is some (English) POD in the .pm files of Sim and I've also written a trivial M/M/1 and M/M/m sample app here:

SuperMarcket Simulation

A corresponding report with some code snippets and interesting pictures can also be found here:


Sorry for the Chinese characters in this report, but there is always a Google Translate :)

If you find this thing useful, I may feel like putting it onto CPAN.

Hope this helps.

Cheers, agentz

Replies are listed 'Best First'.
Re^2: Discrete event simulation
by nferraz (Monk) on May 28, 2007 at 15:03 UTC

    I think this is really interesting, AND useful. You should definitely put it on CPAN.

      Glad you like it :)

      Will do in the next few days.

      Sim 0.02 has just been uploaded to CPAN. Enjoy~ :)

      - agentz

        I think this module is useful for students. It should be upgraded to use for the scientific purpose like SimPy. Also, it is needed many helps of perl manias to upgrade this module. I hope this module to be a representative modele for Perl.