HVACAPI
Index
Ai4EComponentLib.HVAC.CoolingTower
Ai4EComponentLib.HVAC.FanCoil
Ai4EComponentLib.HVAC.FlowPort
Ai4EComponentLib.HVAC.Pump
Ai4EComponentLib.HVAC.SimplePipe
Ai4EComponentLib.HVAC.source
HVAC Components
Ai4EComponentLib.HVAC.CoolingTower
— MethodCoolingTower(; name, Tw, ΔTct)
Component: CoolingTower
States:
qc(t)
: [kg/s
] Cooling water mass flowTci(t)
: [K
] Water supply temperature of cooling waterTco(t)
: [K
] Return water temperatureΔT(t)
: [K
] Temperature difference between supply and return water
Parameters:
Tw
: [K
] Water temperatureΔTct
: [K
] Temperature difference between water and air
Equations:
qc ~ inlet.qm
: [kg/s
] Cooling water mass flowTci ~ outlet.T
: [K
] Water supply temperature of cooling waterTco ~ inlet.T
: [K
] Return water temperatureTci ~ Tw + ΔTct
: [K
] Water temperatureΔT ~ Tco - Tci
: [K
] Temperature difference between supply and return waterinlet.qm + outlet.qm ~ 0
: [kg/s
] Mass balanceinlet.p ~ outlet.p
: [Pa
] Pressure balance
Arguments:
Connectors:
inlet
: Inlet of cooling toweroutlet
: Outlet of cooling tower
Ai4EComponentLib.HVAC.FanCoil
— MethodFanCoil(; name, D, Qf0, Tai0, Twi0, Tai, cp)
Component: FanCoil
States:
Qf(t)
: [W
] Actual heat transferTwi(t)
: [K
] Actual inlet water temperatureTwo(t)
: [K
] Actual outlet water temperature
Arguments:
D
: [Vector{Float64}
] Coefficient of fan coilQf0
: [W
] Rated heat transferTai0
: [K
] Rated inlet air temperatureTwi0
: [K
] Rated inlet water temperatureTai
: [K
] Inlet air temperaturecp
: [J/(kg·K)
] Specific heat of water
Connectors:
inlet
: Inlet of fan coiloutlet
: Outlet of fan coil
Ai4EComponentLib.HVAC.FlowPort
— MethodFlowPort(; name, T0)
A pipe port(inlet or outlet) in an pipe network.
States:
p(t)
: [Pa
] The pressure at this portq(t)
: [m³/s
] The volume flow passing through this portT(t)
: [K
] The temperature at this port
Ai4EComponentLib.HVAC.Pump
— MethodPump(; name, D, n0, ρ, g)
Component: CentrifugalPump
States:
n(t)
: [rpm
] Actual speed of pumpqv(t)
: [m³/s
] Actual volume flow rateH(t)
: [m
] Actual headη(t)
: [-
] Actual efficiencyP(t)
: [W
] Actual power
Parameters:
D
: [m
] Diameter of pumpn0
: [rpm
] Rated speed of pumpρ
: [kg/m³
] Density of liquidg
: [m/s²
] Gravitational acceleration
Arguments:
name
: Name of the componentD
: [m
] Diameter of pumpn0
: [rpm
] Rated speed of pumpρ
: [kg/m³
] Density of liquidg
: [m/s²
] Gravitational acceleration
Connectors:
inlet
: Inlet of pumpoutlet
: Outlet of pump
Ai4EComponentLib.HVAC.SimplePipe
— MethodSimplePipe(; name, R, T)
Component: SimplePipe(pipe with fixed friction factor f
)
States:
Parameters:
R
: [Pa·s/m³
] Friction factor
Arguments:
Connectors:
inlet
: Inlet of pipeoutlet
: Outlet of pipe
Ai4EComponentLib.HVAC.source
— Methodsource(; name, qm, p, t0)
Component: Source
States: