The following example in Skoog's Analytical Chemistry uses mass-balance and charge-balance equations to calculate the solubility of iron(III) hydroxide in aqueous solution.
$$
\begin{align}
\ce{Fe(OH)3 (s) &<=> Fe^3+ (aq) + 3OH- (aq)} \\
\ce{2H2O (l) &<=> H3O+ (aq) + OH- (aq)}
\end{align}
$$
...
@Robin That "etc." of yours is a tiny door with a really big hairy monster behind it. All those who tried to develop such modules were devoured by this monster, hence we're out of luck. — Ivan Neretin1 hour ago