Research on distributed energy system based on spatial structure analysis