An efficient gridless semianalytical model was developed to simulate real gas transport in shale formation with nanopores and complex fracture geometry. This model incorporates multiple physics such as gas desorption, adsorbed gas porosity, gas slippage and diffusion, residual water saturation, non-Darcy flow, choke skin, and pressuredependent matrix permeability, and fracture conductivity. Additionally, this model is easy to handle complex fracture geometry through dividing fractures into a number of segments and nodes. We verified the model against a numerical model and an analytical model for bi-wing hydraulic fractures. After validation, the impacts of all these physics on well performance were evaluated in detail through a series of case studies. The simulation results confirm that modeling of gas production from complex fracture geometry as well as modeling important physics in shale gas reservoirs is significant. This study improves our understanding of critical physics affecting gas recovery in shale gas reservoirs.