TIL Suite New concepts in TIL 3 and TILMedia 3
TIL Suite New concepts in TIL 3 and TILMedia 3
Contents
1. TILMedia 3 New substance categories New property, variable names
New types and mixtures
2. Modelica 3 Stream connector Locally balanced models
3. TIL 3 Icons TILMedia related changes Singularity approach Limiter MoistAirWallCell SIM component
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
Gas (ideal gases):
Pure substances (TILMedia.DryAir, VDIWA.Nitrogen)
Mixtures (TILMedia.MoistAir, VDI4670.MoistAir, abitrary VDIWA-mixtures)
Liquids (incompressible liquids):
Pure substance (TILMedia.Water, TILMedia.Glysantin_50)
VLEFluids (fluids with two phase region):
Pure substances (TILMedia.CO2, TILMedia.Water, Refprop.R134a, TILMediaRT.R407C)
Mixtures (all Refprop mixtures)
Solids: temperature dependent properties
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New substance categories
Similar to Refprop nomenclature:
R744 (TILMedia.)CO2
R718 (TILMedia.)Water
R717 (TILMedia.)Ammonia
H2O (TILMedia.)Water
SimpleMoistAir (TILMedia.)MoistAir
VDI4670MoistAir VDI4670.MoistAir
TemoGas_Stickstoff VDIWA.Nitrogen
TemoFluid_R410A TILMediaRT.R410A
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New property names
RefrigerantName vleFluidType
xi mass fraction
x molar fraction
xw (moist air) humRatio
pS (moist air) p_s
x (steam mass fraction) q (steam quality)
drhodh drhodh_pxi
sat VLE
nu (kin. viscosity) eta (dyn. viscosity)
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New variable names
One record per medium:
Definition of pure medium or mixture name and number
of mixture components
Predefined mediums selectable via dropdown menus
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New types and mixtures
Locally Balanced:
InputChoice.ph VLEFluid_ph
Input only via modifier!
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New interface
Medium classes
_ph, _pT, _ps, _dT
Medium Functions TILMedia.Functions.specificEnthalpy_pTxi() replace FunctionBasedMedia (startvalue: h=h_pT(1e5,300))
New:
Medium Object Functions
TILMedia.ObjectFunctions
Calculation of properties in a function like interface using MediumPointers
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL Media 3
New interface
Replacement of Semi-Linear
Numerical Advantages
Multiple connection
Stream Connector
1 x flow Variable (m_flow)
Stream variables: desciption of flow properties, that
are transportet with mass flow.
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
Modelica 3
Stream Connector
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
1 2 hout,1 hout,2 inStream(hout,2)
=hout,1
actualStream(hout)
hout,1hout,2
Modelica 3
Stream Connector
port.h_outflow:
compulsory variable, to be defined and visible anywhere
inStream(port.h_outflow):
h_outflow of the opposite side
actualStream(port.h_outflow):
actual value, replacement for port.h
Each model must be balanced
(equal number of variables and equations)
Unbalanced Boundary configuration moved into
separate models
Boundary
BoundaryOverdetermined
BoundaryUnderdetermined
nPressureStates, nRefrigerants removed from SIM
Dymola now is able to trace back missing equations
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
Modelica 3
Locally Balanced
Adjusted component icons (selection rectangle)
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL 2 TIL 3
TIL 3
New substance categories
RefrigerantComponents VLEFluidComponents
MoistAirComponents&GasComponents
GasComponents
On VLEFluid- and Gasside mixtures can be simulated
Zero massflowrate and / singularity approaches
implemented TIL (complex system-models much more
stable)
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL 3
TILMedia related changes
In addition to port.h_outflow a port.h_limit exists
alphaAState: delayed change of alphaA
h_limit: minimal specific enthalpy that is allowed to enter
the control volume
yLimit:
used to adjust the singularity approach
shall have values between 0 and 1 to stabilize the
system
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL 3
Singularity approach
TIL 3
Limiter
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
Optimization of dp/dt approach;:
Allowing for calculation of zero
mass flow, e.g. in case of
compressor shutdown, closing of
valves, switching between flow
paths
TIL 3
MoistAirWallCell
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
Replacement for connected
MoistAirCell and WallCell:
Accounting for thermal capacity
of contained water
Allowing for freezing of
contained water
Numerical optimization yielding a
explicit solution of the
MoistAirWallCell
Allowing for condensation of
various substances, not only
water
TIL 3
SIM component
TIL 3 / TLK-Thermo GmbH / www.tlk-thermo.de / May 2012
TIL 2
TIL 3