It looks like you're new here. If you want to get involved, click one of these buttons!
Hi, I've added the following Article Blog - Petri net programming (part 1) and linked to it from the Blog-articles-in-progress page.
It's an introductory applied theory article, on Petri net programming. The idea for the writing format is to approach the concepts with the aim of writing programs that make them work. The readership would include coding enthusiasts, professional programmers, scientists interested in programming models, software engineers and computer scientists. They start with a tutorial recap of the topic, and then give programs to exercise the concepts, followed by a concept-based analysis of the code. The programs will be working toy models, which should give the readers some "clay" to work with.
This is the first of two articles on Petri net programming. It introduces Petri nets and then gives an expository presentation of a simulator program. This is applied to the simplified model of water synthesis / dissociation presented in the Network Theory blog. The firing rule is just to choose a random enabled transition. Here is the output from a sample run:
H, O, H2O, Transition 5, 3, 4, split 7, 4, 3, split 9, 5, 2, combine 7, 4, 3, combine 5, 3, 4, split 7, 4, 3, split 9, 5, 2, split 11, 6, 1, combine 9, 5, 2, split ...
The following article will extend the discussion and the code to cover the stochastic Petri nets.
By and large, it says what I meant to say, in the way I meant to say it. I am open to any feedback or suggestions, and whether there are any revisions I should make to get it blog-appropriate. I will be editing it, to change markdown to html, and to get the links right.
Personal note: I find blog writing to be really fun and educational. If you can learn enough about a topic to be able to write about it, and say something that is true and useful, then you can make a contribution without being an expert. You just need to be a sufficient number of steps ahead of your hypothesized reader. And if you did your homework, and "blogged" really far and wide, you'd be on the path towards becoming an expert.