This is a simple program that maps the dynamics between LacI and TetR in a one of the first toggle switch systems created by Gardner et al (2000). The comments in the code make modifications easier to implement. Created during one of my university courses. Send me a message if you need help.
https://www.nature.com/articles/35002131 (If you don't have access, use sci-hub)