Name | Description |
---|---|
PartialStaticTwoPortCoolingTower | Cooling tower with variable speed |
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | PartialMedium | Medium in the component | |
Initialization | |||
MassFlowRate | m_flow | Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction) [kg/s] | |
Pressure | dp | Pressure difference between port_a and port_b [Pa] | |
Advanced | |||
Temp | flowDirection | Modelica_Fluid.Types.FlowDir... | Unidirectional (port_a -> port_b) or bidirectional flow component |
Type | Name | Description |
---|---|---|
FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
input RealInput | TAir | Entering air dry or wet bulb temperature |
model PartialStaticTwoPortCoolingTower "Cooling tower with variable speed" extends Fluids.Interfaces.PartialStaticTwoPortHeatMassTransfer; extends Buildings.BaseClasses.BaseIcon; Modelica.SIunits.CelsiusTemperature TWatIn_degC(start=35) "Water inlet temperature"; Modelica.SIunits.CelsiusTemperature TWatOut_degC(start=28) "Water outlet temperature"; Modelica.SIunits.CelsiusTemperature TAirIn_degC(start=25) "Air dry-bulb inlet temperature"; Modelica.Blocks.Interfaces.RealInput TAir(redeclare type SignalType = Modelica.SIunits.Temperature) "Entering air dry or wet bulb temperature"; equation TWatIn_degC = medium_a.T_degC; TWatOut_degC = medium_b.T_degC; TAirIn_degC = Modelica.SIunits.Conversions.to_degC(TAir); dp = 0; mXi_flow = zeros(Medium.nXi); // no mass added or removed (sensible heat only) end PartialStaticTwoPortCoolingTower;