This article discusses the Modelica.Fluid library that has been included in the Modelica Standard Library 3.1. Modelica.Fluid provides interfaces and basic components for the device-oriented modeling of onedimensional thermo-fluid flow in networks containing vessels; pipes; fluid machines; valves and fittings.

A unique feature of Modelica.Fluid is that the component equations and the media models as well as pressure loss and heat transfer correlations are decoupled from each other. All components are implemented such that they can be used for media from the Modelica.Media library. This means that an incompressible or compressible medium; a single or a multiple substance medium with one or more phases might be used with one and the same model as long as the modeling assumptions made hold. Furthermore;

trace substances are supported.
Modeling assumptions can be configured globally in an outer System object. This covers in particular the initialization; uni- or bi-directional flow; and dynamic or steady-state formulation of mass; energy; and momentum balance. All assumptions can be locally refined for every component.

While Modelica.Fluid contains a reasonable set of component models; the goal of the library is not to provide a comprehensive set of models; but rather to provide interfaces and best practices for the treatment of issues such as connector design and implementation of energy; mass and momentum balances. Applications from various domains are presented.