# \#sunode

**URL:** https://discourse.pymc.io/tag/sunode/17.md

[Latest](https://discourse.pymc.io/latest.md) · [Categories](https://discourse.pymc.io/categories.md) · [Tags](https://discourse.pymc.io/tags.md)

---

## [How to handle the type conflict between symbol variable 't' in sunode and numerical lists for MCMC simulation in a pymc/sunode model](https://discourse.pymc.io/t/how-to-handle-the-type-conflict-between-symbol-variable-t-in-sunode-and-numerical-lists-for-mcmc-simulation-in-a-pymc-sunode-model/16697)

<div class="topic-metadata">

**Author:** [@Dimlitter](https://discourse.pymc.io/u/Dimlitter)\
**Replies:** 1\
**Last updated:** [March 25, 2025, 4:37pm UTC](https://discourse.pymc.io/t/how-to-handle-the-type-conflict-between-symbol-variable-t-in-sunode-and-numerical-lists-for-mcmc-simulation-in-a-pymc-sunode-model/16697 "2025-03-25T16:37:45Z")

</div>

Hello everyone! Is anyone here familiar with pymc/sunode and sympy? Now I have a problem. My code is an MCMC simulation of the number of new infections with the flu, and I use pymc and sunode. The data I have is the ind…

---

## [How to increase mxstep in "sunode"](https://discourse.pymc.io/t/how-to-increase-mxstep-in-sunode/14594)

<div class="topic-metadata">

**Author:** [@battikoi](https://discourse.pymc.io/u/battikoi)\
**Replies:** 8\
**Last updated:** [July 4, 2024, 5:57am UTC](https://discourse.pymc.io/t/how-to-increase-mxstep-in-sunode/14594 "2024-07-04T05:57:27Z")

</div>

Hello everyone, Please forgive my beginner question. I’m currently working on simulating very complex differential equations related to chemical reactions to determine the reaction constants. I’m using sunode.wrappers…

---

## [Sunode pytensor rewrite failure error?](https://discourse.pymc.io/t/sunode-pytensor-rewrite-failure-error/14242)

<div class="topic-metadata">

**Author:** [@jpicks038](https://discourse.pymc.io/u/jpicks038)\
**Replies:** 0\
**Last updated:** [April 12, 2024, 6:03pm UTC](https://discourse.pymc.io/t/sunode-pytensor-rewrite-failure-error/14242 "2024-04-12T18:03:56Z")

</div>

Hi all. This is maybe a technical sunode question so apologies if it’s in the wrong place. I’m trying to implement PyMC on an ODE model using sunode (I was able to get what I need to work just using scipy odeint, but it…

---

## [Sunode on Mac ARM64: PackagesNotFoundError . Work around?](https://discourse.pymc.io/t/sunode-on-mac-arm64-packagesnotfounderror-work-around/13441)

<div class="topic-metadata">

**Author:** [@DrEntropy](https://discourse.pymc.io/u/DrEntropy)\
**Replies:** 1\
**Last updated:** [January 6, 2024, 12:58am UTC](https://discourse.pymc.io/t/sunode-on-mac-arm64-packagesnotfounderror-work-around/13441 "2024-01-06T00:58:43Z")

</div>

I there any plan to make a version of sunode available for Mac ARM64 ? Or is there a workaround that I am not seeing?

---

## [SIR ODE model with Sunode](https://discourse.pymc.io/t/sir-ode-model-with-sunode/12368)

<div class="topic-metadata">

**Author:** [@Simon](https://discourse.pymc.io/u/Simon)\
**Replies:** 1\
**Last updated:** [July 18, 2023, 1:44pm UTC](https://discourse.pymc.io/t/sir-ode-model-with-sunode/12368 "2023-07-18T13:44:34Z")

</div>

\*\* I edit as I have found the problem, I wasn’t stating the “observed” variable in the likelihood (y), but it would still be nice to have some advice on how to improve sampling, as estimates are still slightly off. My ap…

---

## ["import sunode" error](https://discourse.pymc.io/t/import-sunode-error/11991)

<div class="topic-metadata">

**Author:** [@chiiingky](https://discourse.pymc.io/u/chiiingky)\
**Replies:** 10\
**Last updated:** [June 9, 2023, 9:44pm UTC](https://discourse.pymc.io/t/import-sunode-error/11991 "2023-06-09T21:44:07Z")

</div>

Hello everyone, I am following the sunode installation guide from Quickstart with PyMC. For some reason, I can’t seem to run the example code posted in there past the “import sunode” line. The error message: File "/hom…

---

## [Conversion from SunODE to pure PyMC 4](https://discourse.pymc.io/t/conversion-from-sunode-to-pure-pymc-4/9956)

<div class="topic-metadata">

**Author:** [@DerekKH707](https://discourse.pymc.io/u/DerekKH707)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 8:27pm UTC](https://discourse.pymc.io/t/conversion-from-sunode-to-pure-pymc-4/9956 "2022-07-19T20:27:34Z")

</div>

Hello all, I am working on comparing SunODE to just raw PyMC 4, and am having trouble translating a SunODE Lotka-Volterra model (Hudson Bay), to PyMC 4. Mainly just want to compare the 2 and see which one we want to use…

---

## [SunODE installation in Google Cloud Platform using PyMC 4.0](https://discourse.pymc.io/t/sunode-installation-in-google-cloud-platform-using-pymc-4-0/9877)

<div class="topic-metadata">

**Author:** [@DerekKH707](https://discourse.pymc.io/u/DerekKH707)\
**Replies:** 6\
**Last updated:** [July 19, 2022, 8:17pm UTC](https://discourse.pymc.io/t/sunode-installation-in-google-cloud-platform-using-pymc-4-0/9877 "2022-07-19T20:17:07Z")

</div>

Exactly what the title says. Trying to use SunODE for disease modeling but haven’t been very successful in getting it to work with PyMC 4. Got some sign of life on 3.0, but we’re not sure if the code is working correctly…

---

## [Fitting a hierarchical ODE with Sunode](https://discourse.pymc.io/t/fitting-a-hierarchical-ode-with-sunode/8710)

<div class="topic-metadata">

**Author:** [@zult](https://discourse.pymc.io/u/zult)\
**Replies:** 3\
**Last updated:** [February 8, 2022, 8:53am UTC](https://discourse.pymc.io/t/fitting-a-hierarchical-ode-with-sunode/8710 "2022-02-08T08:53:48Z")

</div>

Hello, I’m attempting to fit a hierarchical ODE model using sunode and I’m struggling with the best way to get all the dimensions to agree for sampling. In this toy example, I’m fitting measured drug amounts across mult…

---

## [Installing sunode in Google Colaboratory](https://discourse.pymc.io/t/installing-sunode-in-google-colaboratory/8035)

<div class="topic-metadata">

**Author:** [@tirthankar\_sengupta](https://discourse.pymc.io/u/tirthankar_sengupta)\
**Replies:** 0\
**Last updated:** [September 16, 2021, 1:50pm UTC](https://discourse.pymc.io/t/installing-sunode-in-google-colaboratory/8035 "2021-09-16T13:50:46Z")

</div>

I am trying to install sunode in Google Colaboratory. The package sunode gets installed by the following code after installing conda: ! wget https://repo.anaconda.com/miniconda/Miniconda3-py37\_4.8.2-Linux-x86\_64.sh ! c…

---

## [Hierarchical model - Shape of observed data](https://discourse.pymc.io/t/hierarchical-model-shape-of-observed-data/7468)

<div class="topic-metadata">

**Author:** [@sj\_R](https://discourse.pymc.io/u/sj_R)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 3:19pm UTC](https://discourse.pymc.io/t/hierarchical-model-shape-of-observed-data/7468 "2021-05-18T15:19:55Z")

</div>

Hello, I am trying to fit a hierarchical model for the parameters of an SIR model. I am using the ‘sunode’ model to solve the ODE and assuming that I have two groups in my data the data structure returned from sunode (‘…
