The invention provides a
pipe network flow resistance rapid calculation method based on
Modelica, and relates to the technical field of
system modeling and simulation. The
pipe network flow resistance rapid calculation method based on
Modelica comprises the following steps: step 1, flow resistance node
decomposition; 2, constructing a characteristic flow resistance
unit model; step 3, constructing a flow resistance
system model; 4, calibrating and verifying experimental data; and 5, carrying out
simulation analysis and application. According to the method, through establishment and accumulation of the characteristic flow resistance
unit model library, firstly, characteristic flow resistance unit models can be flexibly constructed by using
multiple methods, such as a mechanism model, a mechanism data fusion model and an integrated external model, modeling is carried out on the flow resistance unit in
multiple modes, and the modeling
modes are flexible and diversified; and meanwhile, the accumulated flow resistance
unit model can be reused and applied to multiple objects, the applicability is wider, the calculation efficiency can be greatly improved in the mode that the unified
solver is used for generating code operation and the mode is achieved through
Modelica language
programming, and the calculation efficiency is higher.