Theoretical modeling of a directly heated solar-driven chemical reactor