The invention discloses a
thermodynamic system topology generation folding method and device, and the method comprises the steps: obtaining a
thermodynamic system block diagram, analyzing the hierarchical structure of the
thermodynamic system block diagram, generating a hierarchical
topological graph, and obtaining topology description data. According to the topology description data, visible components and ports are screened in a folding mode, and a screened
data set is generated. A unit number is allocated from the screened
data set to generate a set of numbered units. And searching a direct connection path from the
numbering unit set, and generating a connection pair
list. And generating folding components based on the connected pair
list, and updating the connection of the folding components to obtain a folding component set. Normalized naming from the set of folded components generates a named folded component description. And describing the reserved
numbering unit, the folding component and the port from the named folding component, and generating folded thermodynamic
system block diagram data. Therefore, by means of the thermodynamic
system topology generation folding method, representation of a complex thermodynamic
system can be effectively simplified,
system analysis and design efficiency is improved, and convenience is provided for optimization of the thermodynamic system.