Modelling of gas evolution during powder rehydration for Broadband Acoustic Resonance Dissolution Sepectroscopy (BARDS)