The distributed energy system driven by natural gas has the characteristics of being close to users, energy echelon utilization, low carbon, high efficiency, clean and environmental protection. Distributed energy system can provide users with various forms of energy such as cooling in summer , heating in winter, domestic hot water, steam and electricity. Taking a pharmaceutical industrial park as research object, it provides a kind of cogeneration system combined cooling,heating, power and steam. Installed configuration is given through the analysis of load, economic analysis and sensitivity analysis on the cogeneration system. The results show that there is a positive linear relationship between electricity price , steam price and system economy, while static investment , natural gas price have a negative linear correlation with system economy.Establishing a linkage mechanism between the price of cold,hot,electricity and the price of natural gas is conducive to improving the economic efficiency and reducing the operating risk of the project.