The economic system is a complex adaptive system (CAS), which is composed of many heterogeneous, dispersed and interconnected actors. Because of ignoring these features, traditional macroeconomic models have many defects. In view of the fact that economic security problems are characterized by multiple and miscellaneous source data, wide range of involvement and complex behavior, an economic system needs to be simulated. In this paper, based on big data technology, we conduct china's economic security simulation from three aspects: economic security simulation method, economic security simulation modeling and calibration technology, and economic security early warning simulation visualization technology. In the end, we apply the method of this paper to a case study of a rare earth new material company, and analyze the advantages and disadvantages of various safety investment schemes based on the simulation results. Case analysis proves that the method proposed in this paper can simulate economic dynamics to achieve dynamic assessment of economic development and economic security prediction.