modelFluid_Volume

A very simple control volume for liquid

Extends from ClaRa.Basics.Icons.Volume.

Information

1. Purpose of model

Simple control volume for vle fluids. The volume has a heat port and variable number of fluid ports.

2. Level of detail, physical effects considered, and physical insight

L2: Model ist based on law of conservation of mass or volume. Fluid in the volume is assumed to be idaelly stirred, so the fluid in the volume has one temperature and one pressure. Kinetic energy and potential energy are neglected.

3. Limits of validity

Model is only valid for single phase fluids and nor pressure losses are included.

4. Interfaces

heatPort: model gives temperature and may get heat flow

ports[nPorts]: a variable number of fluid ports

5. Nomenclature

nPorts: number of fluid connections to the volume

V_const: Volume of Fluid

6. Governing Equations

The governing equations are law of conservation of mass or volume and the conservation of energy. The balance of mass is described in tne formula below. You can choose to use a steady state mass balance. In this case the sum of entering and leaving mass flow is to be zero.


The conservation of energy is shown in the following formula. The kinetic and potential energy are neglected. The amount of energy in the volume can be changed due to heat transfer or mass transfer (konvektive energy). There is no possibilty to add direct electrical or mechanical energy.

Image at src="Sketchbook/tr/Thermal/Images/equations/energy_balance.png" missing

7. Remarks for Usage

The simulation should be performed with steady mass balance. The inflowing an outflowing mass has always the same amount. On the other hand the simulation could also be performed with assuming constant fluid volume. The mass increases or decreases due to temperature

8. Validation

(no validation)

9. References

(no remarks)

10. Version History

Model created by Tobias Ramm (tobias.ramm@tuhh.de) on Fri Mar 20 2015

Revised and edited by Lisa Andresen (andresen@tuhh.de), Jun 2015

Parameters

TypeNameDefaultDescription
SI.VolumeV_startV_constStart Volume
IntegernPorts2Number of fluid ports
SI.VolumeV_const2Volume
SI.Massm_constV_start*d_startTotal system mass
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.fluid1Medium in the component
BooleanUse_steady_state_mass_balancetrueSteady state mass balance
Initialisation
BooleanuseHomotopysimCenter.useHomotopyTrue, if homotopy method is used during initialisation
SI.SpecificEnthalpyh_start1e5Start value of sytsem specific enthalpy
SI.Pressurep_start1e5Start value of sytsem pressure
Nominal Values
SI.Pressurep_nom1e5Nominal pressure
SI.SpecificEnthalpyh_nom1e5Nominal specific enthalpy

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPort_inFluid port
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
SI.VolumeVVolume
SI.MassmTotal system mass
SI.SpecificEnthalpyh
SI.PressurepSystem pressure
SI.TemperatureTSystem temperature
SI.Temperature[nPorts]T_portsInlet Temperature
SI.Densitydbulk.d
Realdrhodt
SI.HeatFlowRateQ_flowHeat Flow Rate
SI.EnthalpyFlowRate[nPorts]H_flowEnthalpy flow rate passing from inlet to volume
TILMedia.VLEFluid_phfluidPorts