I've been using the SimPy module for Python - that does Discrete Event Simulations. Now, the code has gotten fairly large now and there are quite a few processes occurring in parallel that interact with one another.
How is the best way to show this in terms of documenting? Class hierarchy structures don't adequately capture the interactions between the processes, and almost all auto-generation software gets stuck on the fact that all the code is effectively inheriting from the SimPy module, so a full SimPy documentation is generated for each class :/
I imagine something like UML could be of use, but I'm not too clued up on that. It would need to capture:
- Processes
- Events
- Queues (including Processes waiting for resources...:)
- Resources (like arrays that can be populated/depopulated etc. and have a certain capacity)
So basically, any neat simulation code documenting tools?
Cheers