Multiple light pulse input in copasi

Skip to first unread message

sanjana kb

May 31, 2022, 6:08:18 PM5/31/22
to COPASI User Forum

I started using copasi recently, and I am trying to simulate a pDawn system for light activated gene expression. As this system is light induced, I wanted to give multiple pulse cycles with each cycle 30 sec light and 60 min darkness (i.e. Gene expression induces in light and stops in dark). I was able to simulate one pulse cycle but wasn’t able to simulate multiple pulse cycles. Can someone please share their insights on this. I can also share my model if necessary.

Thank you,

With kind regards,


Frank Bergmann

Jun 1, 2022, 3:02:22 AM6/1/22
to COPASI User Forum
One way to do this is with an event (or two). Given a global variable 'light' initially set to 1, i have one event resetting light to '0' (after 30 seconds) whenever light is detected to be 1. A second event triggers every 90 seconds to turn the light on:


i hope this helps. 



Jun 1, 2022, 9:01:04 AM6/1/22

see also this thread that appeared previously on this list, where there
is an attached example:
> --
> You received this message because you are subscribed to the Google
> Groups "COPASI User Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
> <>.
> To view this discussion on the web visit
> <>.

Pedro Mendes, PhD
Professor and Director
Richard D. Berlin Center for Cell Analysis and Modeling
University of Connecticut School of Medicine
group website:

sanjana kb

Jun 3, 2022, 7:26:58 AM6/3/22
to COPASI User Forum
Dear Dr. Bergmann and Dr. Mendes,

Thank you so much for taking your time and sharing your insights and references. I was able to implement Multiple pulse cycles for my model.

With kind regards,

Reply all
Reply to author
0 new messages