I have epidemic data observed over `N_t` time points: incident case counts `stoi_hat_t` and bacterial load measurements `B_hat_t`. I want to fit a mechanistic SIR-type ODE model with an additional environmental bacterial compartment.

My model is:
Let the latent state be `(S(t), I(t), R(t), B(t))`, with initial state `y0`, and let the dynamics satisfy

`dS/dt = - beta B / (B + kappa) S,`
`dI/dt = beta B / (B + kappa) S - gamma I,`
`dR/dt = gamma I,`
`dB/dt = xi I - delta B.`

The priors are

`beta ~ half-Cauchy(0, 2.5),`
`gamma ~ half-Cauchy(0, 1),`
`xi ~ half-Cauchy(0, 25),`
`delta ~ half-Cauchy(0, 1).`

The observation model is

`stoi_hat_1 ~ Poisson(S(0) - S(t_1)),`
`stoi_hat_t ~ Poisson(S(t_{t-1}) - S(t_t)), for t = 2, ..., N_t,`
`B_hat_t ~ LogNormal(log(B(t_t)), 0.15), for t = 1, ..., N_t.`

Here:
`stoi_hat_t` is the observed incident count at time t,
`B_hat_t` is the observed bacterial-load measurement at time t,
`S(t)`, `I(t)`, `R(t)`, and `B(t)` are the latent ODE states,
`beta`, `gamma`, `xi`, and `delta` are the transmission, recovery, bacterial production, and bacterial removal parameters,
`kappa` is a fixed saturation constant,
`y0` is the known initial state,
`t` is the vector of observation times,
`N_t` is the number of observation times.

Parameterization notes:
In `Cauchy(mu, sigma)`, `sigma` is a scale parameter.
In `LogNormal(mu, sigma)`, `mu` and `sigma` are the mean and standard deviation on the log scale.
