A general approach for kinetic modeling of solid-gas reactions at reactor scale