Gas-reservoir engineering