modelTank_pL
Information
Model Tank_pL represents a liquid receiver. It is assumed to be in thermodynamic equilibrium at all times, i.e. the vapor and liquid are saturated at the given pressure. It is modeled with a dynamic energy and mass balances.
The exhaust flow rate is defined as saturated liquid while the supply flow rate coming from the inlet can be either subcooled (in which case the receiver pressure is going to decrease), saturated (in which case the receiver pressure remains constant) or two-phase (in which case the receiver pressure is going to increase).
It uses L , the relative level, and p, pressure, as state variables
It only requires one saturation call to the thermodynamic properties.
Modelling options
In the Initialization tab the following options are availabe:
Sylvain Quoilin, March 2013.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Volume | Vtot | 0.002 | Volume of the tank |
| Modelica.SIunits.Pressure | p_ng | 0 | Partial pressure of non-condensable gases |
| Initialisation | |||
| Modelica.SIunits.Pressure | pstart | 5e5 | Initial pressure |
| Real | L_start | 0.6 | Initial level |
| Boolean | impose_L | true | Set to yes to impose the initial tank level |
| Boolean | impose_pressure | false | Set to yes to impose the initial tank pressure |
| Boolean | SteadyState_p | false | Set to yes to impose initial steady-state on the pressure |
| Boolean | SteadyState_L | false | Set to yes to impose initial steady-state on the tank level |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | level | ||
| Interfaces.Fluid.FlangeA | InFlow | ||
| Interfaces.Fluid.FlangeB | OutFlow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.SaturationProperties | sat | ||
| Modelica.SIunits.Pressure | p_tot | Total pressure of the system | |
| Medium.Density | rho | Inlet density | |
| Modelica.SIunits.Volume | Vl | Volume of the fluid in liquid phase [m3] | |
| Modelica.SIunits.Volume | Vv | Volume of the fluid in vapor phase [m3] | |
| Modelica.SIunits.MassFlowRate | M_dot_ex | Outlet mass flow [kg/s] | |
| Modelica.SIunits.MassFlowRate | M_dot_su | Inlet mass flow [kg/s] | |
| Modelica.SIunits.SpecificEnthalpy | h_ex | Outlet enthalpy [kJ/kg] | |
| Modelica.SIunits.SpecificEnthalpy | h_su | Inlet enthalpy [kJ/kg] | |
| Modelica.SIunits.Pressure | p | ||
| Modelica.SIunits.Mass | M | Total mass of the fluid stored [kg] | |
| Modelica.SIunits.Enthalpy | H | ||
| Real | L | Level in the tank | |
| Real | H_der | derivative of the total enthalpy |
Contents
| Name | Description |
|---|---|
| Medium |