A method and apparatus for analyzing steady state and transient flow in a
complex fluid network, modeling phase changes, compressibility, mixture
thermodynamics, external body forces such as gravity and centrifugal
force and conjugate heat transfer. In some embodiments, a graphical user
interface provides for the interactive development of a fluid network
simulation having nodes and branches. In some embodiments, mass, energy,
and specific conservation equations are solved at the nodes, and momentum
conservation equations are solved in the branches. In some embodiments,
contained herein are data objects for computing thermodynamic and
thermophysical properties for fluids. In some embodiments, the systems of
equations describing the fluid network are solved by a hybrid numerical
method that is a combination of the Newton-Raphson and successive
substitution methods.