modelSplit_L2_Y

Split model extended from the ClaRa library

Extends from ClaRa.Components.VolumesValvesFittings.Fittings.SplitVLE_L2_Y (A voluminous split for 2 outputs).

Information

Purpose of model

A model of a split/join that is used to split or join mass flow rates in a hydraulic circuit. It is based on the three balance equations of mass, energy, and momentum. It is not discretized and only features one control volume. No heat losses are considered, but a replaceable pressure loss model is implemented. It contains four fluid models from the TIL media that are used to determine the states of the fluid from the specific enthalpy, the mass fractions of the components of the fluid, and the pressure.

Level of detail, physical effects considered, and physical insight

L2 (defined in the CodingConventions)

  • pressure loss
  • thermal intertia
  • variable fluid properties
  • mass storages due to density changes

Limits of validity

The volume of the split has to be known. Moreover, the chosen pressure loss model has to fit the investigation purpose.

Interfaces

Governing Equations

The equations have been simplified for an easier description of the model.

V*rho*dh/dt=m_in*h_in+m_out1*h_out1+m_out2*h_out2

p_in-p=delta_p(m_flow_in)

p-p_out1=delta_p(m_flow_out1)

p-p_out2=delta_p(m_flow_out2)

drho/dt*V=m_flow_in+m_flow_out1+m_flow_out2

delta_p is calculated according to the chosen pressure loss model.

References

The model was extended from the ClaRa library.

Version History

Model was documented by Jan Westphal (j.westphal@tuhh.de) January 2025

Parameters

TypeNameDefaultDescription
BooleanshowExpertSummary (from SplitVLE_L2_Y)simCenter.showExpertSummary|Summary and Visualisation||True, if expert summary should be applied
BooleanshowData (from SplitVLE_L2_Y)true|Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false
BooleanpreciseTwoPhase (from SplitVLE_L2_Y)true|Expert Stettings||True, if two-phase transients should be capured precisely
Summary and Visualisation
IntegerN_sets (from DataInterfaceVector)0Number of data sets to be provided (if showData=true)
Fundamental Definitions
TILMedia.VLEFluid.Types.BaseVLEFluidmedium (from SplitVLE_L2_Y)simCenter.fluid1Medium in the component
Initialisation
BooleanuseHomotopy (from SplitVLE_L2_Y)simCenter.useHomotopyTrue, if homotopy method is used during initialisation
Basics.Units.EnthalpyMassSpecifich_start (from SplitVLE_L2_Y)1e5Start value of sytsem specific enthalpy
Basics.Units.Pressurep_start (from SplitVLE_L2_Y)1e5Start value of sytsem pressure
ClaRa.Basics.Units.MassFraction[medium.nc - 1]xi_start (from SplitVLE_L2_Y)medium.xi_default
IntegerinitOption (from SplitVLE_L2_Y)0Type of initialisation
General › Geometry
Basics.Units.Volumevolume (from SplitVLE_L2_Y)0.1System Volume
General › Nominal Values
Basics.Units.MassFlowRate[2]m_flow_out_nom (from SplitVLE_L2_Y){10, 10}Nominal mass flow rates at outlet
Nominal Values
Basics.Units.Pressurep_nom (from SplitVLE_L2_Y)1e5Nominal pressure
Basics.Units.EnthalpyMassSpecifich_nom (from SplitVLE_L2_Y)1e5Nominal specific enthalpy

Connectors

TypeNameDefaultDescription
ClaRa.Basics.Interfaces.EyeOut[N_sets]eye (from DataInterfaceVector)
ClaRa.Basics.Interfaces.FluidPortIninlet (from SplitVLE_L2_Y)Inlet port
ClaRa.Basics.Interfaces.FluidPortOutoutlet1 (from SplitVLE_L2_Y)Outlet port
ClaRa.Basics.Interfaces.FluidPortOutoutlet2 (from SplitVLE_L2_Y)Outlet port

Components

TypeNameDefaultDescription
Stringcomplexity (from ComplexityLevel)"??"
ClaRa.SimCentersimCenter (from SplitVLE_L2_Y)
Basics.Units.EnthalpyFlowRateH_flow_in (from SplitVLE_L2_Y)
Basics.Units.EnthalpyFlowRate[2]H_flow_out (from SplitVLE_L2_Y)
Basics.Units.EnthalpyMassSpecifich (from SplitVLE_L2_Y)
Basics.Units.Massmass (from SplitVLE_L2_Y)Total system mass
Realdrhodt (from SplitVLE_L2_Y)
Basics.Units.Pressurep (from SplitVLE_L2_Y)System pressure
ClaRa.Basics.Units.MassFlowRate[medium.nc - 1]Xi_flow_in (from SplitVLE_L2_Y)Mass fraction flows at inlet
ClaRa.Basics.Units.MassFlowRate[2,medium.nc - 1]Xi_flow_out (from SplitVLE_L2_Y)Mass fraction flows at outlet
ClaRa.Basics.Units.MassFraction[medium.nc - 1]xi (from SplitVLE_L2_Y)Mass fraction
Summarysummary (from SplitVLE_L2_Y)