The free open-source Physiolibrary version 3.0 (https://github.com/MarekMatejak/Physiolibrary) has transformed components from physiological domains such as hydraulic (cardiovascular), thermal, osmotic, and chemical into the Modelica Standard Library (MSL) concept of Fluid/Media and Chemical library. Components are extended to include gas transports, acids-bases, electrolytes, nutrient delivery, and endocrines by simply selecting pre-made media.
They can be connected directly (same medium) or across membranes (different media), allowing small physiological models to be integrated into more quantitative models with minimal effort