FlowPort

connector FlowPort "Connector flow port"
    parameter Modelica.Thermal.FluidHeatFlow.Media.Medium medium "Medium in the connector";
    Modelica.SIunits.Pressure p;
    flow Modelica.SIunits.MassFlowRate m_flow;
    Modelica.SIunits.SpecificEnthalpy h;
    flow Modelica.SIunits.EnthalpyFlowRate H_flow;

    annotation (Documentation(info = "<html>\nBasic definition of the connector.<br>\n<strong>Variables:</strong>\n<ul>\n<li>Pressure p</li>\n<li>flow MassFlowRate m_flow</li>\n<li>Specific Enthalpy h</li>\n<li>flow EnthaplyFlowRate H_flow</li>\n</ul>\nIf ports with different media are connected, the simulation is asserted due to the check of parameter.\n</html>"));
end FlowPort;