If you need the source code for that simulation, you should ask the author.

If you do not know how to implement it. Please let me know which part you do not know how to code it and we can discuss.
I hope to be able to help you to code it by yourself.