The invention discloses a power distribution system based on comprehensive energy and its configuration method, including public grid facilities, load equipment, PC control terminal equipment, wireless communication facilities, full load identification module, monitoring module, electric energy storage module, and electric energy storage device , Distributed energy generation device, power confluence device, power failure identification module, control terminal module, power control module and inverter. The beneficial effects of the present invention are: the integrated energy-based power supply distribution system and its configuration method of the present invention, the power failure identification module monitors the operating status of public grid facilities, the full load identification module monitors the electric energy storage module, and the electric energy control module controls The electric energy is directly supplied to the public grid facilities, which realizes the power supplement when the public grid facilities are out of power, and at the same time stores the electric energy when the public grid facilities are in normal operation, so as to provide electric energy when the public grid facilities are powered off.