# ODE solution positivity for systems biology models

**URL:** <https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601>\
**Category:** Modelling & Simulations\
**Tags:** differentialequation\
**Created:** [March 5, 2025, 11:02pm UTC](https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601 "2025-03-05T23:02:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![homegnome0](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/homegnome0/32/215644_2.png) [@homegnome0](https://discourse.julialang.org/u/homegnome0)\
**Post date:** [March 6, 2025, 5:53pm UTC](https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601/7 "2025-03-06T17:53:46Z")

</div>

Certainly, if that would help. The basic form is:  
\frac{dT}{dt} = 1 - \theta\_{12} T I \\ \frac{dI}{dt} = \theta\_{12} T I - E I \\ \frac{dE}{dt} = \theta\_3 - \theta\_4 E \frac{Q^n}{1+Q^n} \\ \frac{dQ}{dt} = \theta\_5 I \\ T(0) = \theta\_6 e^{-\theta\_{12}} \\ I(0) = \theta\_6 \left(1-e^{-\theta\_{12}} \right) \\ E(0) = 0 \\ Q(0) = 0.

The variable I is the problem variable that goes negative (or becomes very close to zero) and its log is the main observable.

---

_[View the full topic](https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601)._
