Based on the analysis of big data, this paper studies the impact of user behavior response on the cost structure of the microgrid system in the power grid system. The article first conducts in-depth research on distributed power generation and energy storage systems, focusing on the principles and output characteristics of smart power distribution and utilization in power grids, researches smart power distribution and utilization systems in power grids, and makes a more comprehensive discussion of the current situation. Secondly, a big data analysis platform was built, and distributed storage and computing were studied. The platform was used to perform distributed storage and regulation of electricity consumption data, and the electricity consumption information data was divided into the important load, controllable load and transferable load, constructed a microgrid system model based on electricity consumption behavior response, and analyzed a calculation example. After that, a micro-grid system was simulated based on HOMER software, and the optimal capacity configuration of the system was performed. Under this configuration, the micro-grid system has the highest economic efficiency. At the same time, a demand-side load control system was built. Introduced distributed power as a controllable load, integrated new energy access and load control technology, coordinated the contradiction between the power grid and distributed power, and completed a cost-benefit analysis. Finally, for demand-side management electricity price response, peak-valley time-of-use price, the most important implementation method, according to the cost structure theory, the peak-valley period is divided according to the membership function in fuzzy mathematics, and the user's response model to peak-valley time-of-use price is established. The experiment uses the original data to simulate, find the user response model parameters based on the load transfer rate, and complete the comparative analysis of the effect under the peak-valley time-of-use electricity price, which is of great significance to the implementation and improvement of the peak-valley time-of-use electricity price project. The analysis results of the calculation examples show that the method constructed in this paper can effectively realize the power quality analysis of the distribution network in the big data environment. The research results provide technical support for the management of the rural grid voltage deviation of the power company, and lay the foundation for improving the safe operation and management of the power grid.