International audienceWe present a unifying, tractable approach for studying the spread of viruses causing complex diseases that require to be modeled using a large number of types (e.g., infective stage, clinical state, risk factor class). We show that recording each infected individual's infection age, i.e., the time elapsed since infection, 1. The age distribution $n(t, a)$ of the population at time $t$ can be described by means of a first-order, one-dimensional partial differential equation (PDE) known as the McKendrick-von Foerster equation. 2. The frequency of type $i$ at time $t$ is simply obtained by integrating the probability $p(a, i)$ of being in state $i$ at age a against the age distribution $n(t, a)$. The advantage of this app...