For example If I have to solve the following reaction numerically
\begin{align} *\ce{ + A(g) &<=>[K1] [A*]} \tag{1}\\ \ce{[A{*}] &<=>[k1][k-1] [B{*}]} \tag{2}\\ \ce{[B*] &<=>[K2] [B](g) +}* \tag{3} \end{align}
Where the first and third reactions are fast equilibrium steps.
[* ] represents vacnt site and [A*] and [B*] represent adsorbed species.
The reaction is carried out in a closed container, therefore the concentrations of A(g) and B(g) are not constant. Given initial A(g) and B(g) pressure and assuming zero coverage of reactants initially, how do I solve a system like this numerically.