Version 4.0 (June 7, 2022)
ThermoSysPro modifications from version 3.2
o Package utilizes new fluid connectors that can handle all fluids in package ThermoSysPro.Properties.
o Package handles thermal diffusion as a new option.
o Package replaces packages ThermoSysPro.Combustion, ThermoSysPro.FlueGases, ThermoSysPro.MultiFluids, ThermoSysPro.WaterSolution and ThermoSysPro.WaterSteam.
o Equation DPc[i] = p_Kc*ThermoSysPro.Functions.ThermoSquare(Qc[i], 1.e-3)/rhoc[i]; is replaced by DPc[i] = p_Kc*Qc[i]^2/rhoc[i];
o Equation DPf[i] = p_Kf*ThermoSysPro.Functions.ThermoSquare(Qf[i], 1.e-3)/rhof[i]; is replaced by DPf[i] = p_Kf*Qf[i]^2/rhof[i];
o Equation DPc = p_Kc*ThermoSysPro.Functions.ThermoSquare(Qc, 1.e-3)/rhoc; is replaced by DPc = p_Kc*Qc^2/rhoc;
o Equation DPf = p_Kf*ThermoSysPro.Functions.ThermoSquare(Qf, 1.e-3)/rhof; is replaced by DPf = p_Kf*Qf^2/rhof;
o Component is duplicated in package ThermoSysPro.ElectroMechanics.Machines for package Fluid
o New option: dynamic_energy_balance
o New package: SI that duplicates package Modelica.SIunits
o New package: nonSI
o New package: xSI
o ThermoSysPro.Units.xSI.DifferentialTemperature is replaced by ThermoSysPro.Units.SI.TemperatureDifference
o ThermoSysPro.Units.xSI.DifferentialPressure is replaced by ThermoSysPro.Units.SI.PressureDifference
o ThermoSysPro.Units.xSI.MassFraction is replaced by ThermoSysPro.Units.SI.MassFraction
o All references to Modelica.SIunits are replaced by references to ThermoSysPro.Units
o New parameter: Lc
o New parameter: trackingFactor
o New parameter: thermalLossPhy
o Equation KL = cos(pi*thetaL/180)*(1 - h*tan(pi*thetaL/180)/L); is replaced by KL = cos(pi*thetaL/180)*(1 - h*tan(pi*thetaL/180)/Lc);
o Equation dQloss[i] = pi*D*L/Ns*(0.5*F12*Emi*5.67e-8*(T[i]^4 - (0.0552*T0^(1.5))^4) + hc*(T[i] - T0)); is replaced by dQloss[i] = if thermalLossPhy then pi*D*L/Ns*(0.5*F12*Emi*5.67e-8*(T[i]^4 - (0.0552*T0^(1.5))^4) + hc*(T[i] - T0)) else L/Ns*(A1*deltaT[i] + A2*deltaT[i]^2);