Simulation of a latex balloon with a hydrogen generation system