How to implement summation term with upper and lower limits in COPASI

15 views
Skip to first unread message

sanjana kb

unread,
Mar 13, 2025, 8:03:20 PMMar 13
to COPASI User Forum

Dear all,

I am working on a model that includes a discrete differential equation describing the rate of change of Th17 cells over time. I need to incorporate a summation term in COPASI

Eqn.png

where, i represents different generations of proliferating Th17-related cells, and NT,Prol =18 denotes the total number of proliferating Th17 cell generations.

Is there any easy way to implement this?

Thank you,

With Kind Regards,

Sanjana


Pedro Mendes

unread,
Mar 13, 2025, 11:01:50 PMMar 13
to copasi-u...@googlegroups.com
*** Attention: This is an external email. Use caution responding, opening attachments or clicking on links. ***
Hi Sanjana,

If NT,Prol =18 is constant throughout the simulation, then there may be a way. If that parameter changes throughout the simulation it is unlikely we can implement that.

Pedro
-- 
Pedro Mendes, PhD
Professor and Director
Richard D. Berlin Center for Cell Analysis and Modeling
University of Connecticut School of Medicine
group website: http://www.comp-sys-bio.org

sanjana kb

unread,
Mar 14, 2025, 3:46:36 AMMar 14
to COPASI User Forum

Dear Pedro,

Thank you for your response.

The value of NT,Prol is 18 and remains constant throughout the simulation of this model.

Please let me know if you have any pointers on implementing this.

With Kind Regards,

Sanjana

Matthias König

unread,
Mar 14, 2025, 4:16:37 AMMar 14
to copasi-u...@googlegroups.com

Hi Sanjana,

I have a similar use case, and I use sbmlutils to create models programmatically in Python before loading them into COPASI.

You can find an example of how to generate a linear chain based on an external variable here:
Linear Chain Example
In the example, you simply loop through until , creating your species and reactions dynamically.

The resulting SBML model can then be easily converted to COPASI.

I hope this helps!

Best regards,


--
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 copasi-user-fo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/copasi-user-forum/97ea9da7-166f-4dee-a6cf-294231d68c22n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages