Water Boundary

Boundary condition of Air

 Description The Water Boundary component models a generic boundary condition for the lumped thermal fluid simulation of Water.

Equations

The calculation is changed based on parameter values of Fidelity of properties and Dynamics of mass in the Water Settings component.

Fidelity of properties = Constant and Dynamics of mass = Static

 In / Outlet = Inlet Pressure is defined with: $\mathrm{port.p}=p$ Temperature is defined with: $\mathrm{port.T}=T$ Mass flow rate is defined with:  State equation: $p=\mathrm{ρ}\cdot \mathrm{HeatTransfer.Properties.Fluid.SimpleWater.R_gas}\cdot T$ $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{hflow}=\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.cp}\cdot T+\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.hflowoff}$ $\mathrm{port.hfow}=\mathrm{hflow}$ $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ (*) The properties are defined in $\mathrm{HeatTransfer.Properties.Fluid.SimpleWater}$, see more in Water Settings.
 In / Outlet = Outlet State equation: $p=\mathrm{ρ}\cdot \mathrm{HeatTransfer.Properties.Fluid.SimpleWater.R_gas}\cdot T$ $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{hflow}=\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.cp}\cdot T+\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.hflowoff}$ $\mathrm{port.hfow}=\mathrm{hflow}$ Other definitions: $\mathrm{port.T}=\mathrm{T__boundary}$ $T=\mathrm{T__boundary}$ $p=\mathrm{port.p}$ (*) The properties are defined in $\mathrm{HeatTransfer.Properties.Fluid.SimpleWater}$, see more in Water Settings.
 Fidelity of properties = Constant and Dynamics of mass = Dynamic Pressure is defined with:  Temperature is defined with:  State equation: $p=\mathrm{ρ}\cdot \mathrm{HeatTransfer.Properties.Fluid.SimpleWater.R_gas}\cdot T$ Definition of Enthalpy: $\mathrm{hflow}=\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.cp}\cdot T+\mathrm{HeatTransfer.Properties.Fluid.SimpleWater.hflowoff}$ $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ Port's variable definitions: $\mathrm{port.p}=p$ $\mathrm{port.hflow}=\mathrm{hflow}$ $\mathrm{port.rho}=\mathrm{ρ}$ $\mathrm{port.T}=T$ (*) The properties are defined in $\mathrm{HeatTransfer.Properties.Fluid.SimpleWater}$, see more in Water Settings.

Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) and Dynamics of mass = Static

 In / Outlet = Inlet Pressure is defined with: $\mathrm{port.p}=p$ Temperature is defined with: $\mathrm{port.T}=T$ Mass flow rate is defined with:  State equation: $\mathrm{ρ}=\mathrm{LUT__ρ}\left(p,T\right);$ $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{hflow}=\mathrm{LUT__ρ}\left(\mathrm{p__boundary},\mathrm{T__boundary}\right)$ $\mathrm{port.hfow}=\mathrm{hflow}$ $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ (*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.
 In / Outlet = Outlet State equation: $p=\mathrm{LUT__ρ}\left(\mathrm{p__boundary},\mathrm{T__boundary}\right)$ $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{hflow}=\mathrm{LUT__hflow}\left(\mathrm{p__boundary},\mathrm{T__boundary}\right)$ $\mathrm{port.hfow}=\mathrm{hflow}$ Other definitions: $\mathrm{port.T}=\mathrm{T__boundary}$ $T=\mathrm{T__boundary}$ $p=\mathrm{p__boundary}$ (*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.

Fidelity of properties : Liquid Water (Lookup table of IAPWS/IF97) and Dynamics of mass = Dynamic

 Pressure is defined with:  Temperature is defined with:  State equation: $\mathrm{ρ}=\mathrm{LUT__ρ}\left(p,T\right);$  Definition of Enthalpy: $\mathrm{hflow}=\mathrm{LUT__ρ}\left(\mathrm{p__},\mathrm{T__}\right)$ $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ (*) The properties are defined with Liquid Water (Lookup table of IAPWS/IF97), see more in Water Settings.

Fidelity of properties : IAPWS/IF97 standard and Dynamics of mass = Static

 In / Outlet = Inlet Pressure is defined with: $\mathrm{port.p}=p$ Temperature is defined with: $\mathrm{port.T}=T$ Mass flow rate is defined with:  State equation: $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{port.hfow}=\mathrm{hflow}$ $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ (*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.
 In / Outlet = Outlet State equation: $\mathrm{port.rho}=\mathrm{ρ}$ Definition of Enthalpy: $\mathrm{port.hfow}=\mathrm{hflow}$  Other definitions: $\mathrm{port.T}=\mathrm{T__boundary}$ $T=\mathrm{T__boundary}$ $p=\mathrm{p__boundary}$ (*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.
 Fidelity of properties : IAPWS/IF97 standard and Dynamics of mass = Dynamic Pressure is defined with:  Temperature is defined with:  State equation:  Definition of Enthalpy:  $u=\mathrm{hflow}-\frac{p}{\mathrm{ρ}}$ Port's variable definitions: $\mathrm{port.p}=p$ $\mathrm{port.hflow}=\mathrm{hflow}$ $\mathrm{port.rho}=\mathrm{ρ}$ $\mathrm{port.T}=T$ (*) The properties are defined with IAPWS/IF97 standard, see more in Water Settings.

Variables

 Symbol Units Description Modelica ID $p$ $\mathrm{Pa}$ Pressure p $T$ $K$ Temperature T $\mathrm{ρ}$ $\frac{\mathrm{kg}}{{m}^{3}}$ Density rho $\mathrm{hflow}$ $\frac{J}{\mathrm{kg}}$ Specific enthalpy hflow $u$ $\frac{J}{\mathrm{kg}}$ Specific energy u $\mathrm{mflow}$ $\frac{\mathrm{kg}}{s}$ Mass flow rate mflow

Connections

 Name Units Condition Description Modelica ID $\mathrm{port}$  Air Port $\mathrm{port_a}$ $\mathrm{p__in}$  if External input of Pressure is true. Input signal of Pressure condition $\mathrm{p_in}$ $\mathrm{T__in}$  if External input of Temperature is true. Input signal of Temperature condition $\mathrm{T_in}$ $\mathrm{mflow__in}$  if External input of Mass flow rate is true. Input signal of Mass flow rate condition $\mathrm{mflow_in}$

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{WaterSettings1}$ $-$ Specify a component of Water simulation settings Settings $\mathrm{p__boundary}$ $101325$ $\mathrm{Pa}$ Boundary condition of pressure p_boundary $\mathrm{false}$ $-$ If true, $\mathrm{p__in}$ is valid p_ext $\mathrm{T__boundary}$ $293.15$ $K$ Boundary condition of temperature T_boundary $\mathrm{false}$ $-$ If true, $\mathrm{T__in}$ is valid T_ext $\mathrm{mflow__boundary}$ $0.001$ $\frac{\mathrm{kg}}{s}$ Boundary condition of mass flow rate mflow_boundary $\mathrm{false}$ $-$ If true, $\mathrm{mflow__in}$ is valid mflow_ext $\mathrm{In}/\mathrm{Outlet}$ $\mathrm{Inlet}$ $-$ Select Inlet or Outlet if Dynamics of mass is Static. InOut