Fluidized‐bed reactor model with generalized particle balances. Part I: Formulation and solution