Development of a semi-analytical model for simulation of gas production in shale gas reservoirs