I'm sorry if this is a weird question, but I have a system of differential equations of the form \begin{align} \begin{bmatrix} S_1'=f_1(S_1, S_2, S_3,...S_n) \\ S_2'=f_2(S_1, S_2, S_3,...S_n) \\ S_3'=f_3(S_1, S_2, S_3,...S_n) \\ \vdots \\ S_n'=f_n(S_1, S_2, S_3,...S_n) \end{bmatrix} \end{align}
where $f_i(S_1, S_2, S_3,...S_n)$ is a non-linear function that is a type of logistic model equation. As such it currently stands that $0\leq S_1, S_2, S_3, ..., S_n \leq 1 \forall t>0$.
However I was wondering if I could restrict these differential equations even harder to the point in which all of the values of $S_k$ could sum to $1$, or written in math $$ \sum_{k=1}^n S_k(t) = 1 $$
I looked around, but I couldn't find anything like this. Do any of you have an idea on what I could possibly do to solve this?
Note I only am doing this numerically, an explicit solution to all equations will not be required, so if something is only numerically solvable, that is still good