HVACAPI

Index

HVAC Components

Ai4EComponentLib.HVAC.CoolingTowerMethod
CoolingTower(; name, Tw, ΔTct)

Component: CoolingTower

States:

  • qc(t): [kg/s] Cooling water mass flow
  • Tci(t): [K] Water supply temperature of cooling water
  • Tco(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 flow
  • Tci ~ outlet.T: [K] Water supply temperature of cooling water
  • Tco ~ inlet.T: [K] Return water temperature
  • Tci ~ Tw + ΔTct: [K] Water temperature
  • ΔT ~ Tco - Tci: [K] Temperature difference between supply and return water
  • inlet.qm + outlet.qm ~ 0: [kg/s] Mass balance
  • inlet.p ~ outlet.p: [Pa] Pressure balance

Arguments:

Connectors:

  • inlet: Inlet of cooling tower
  • outlet: Outlet of cooling tower
source
Ai4EComponentLib.HVAC.FanCoilMethod
FanCoil(; name, D, Qf0, Tai0, Twi0, Tai, cp)

Component: FanCoil

States:

  • Qf(t): [W] Actual heat transfer
  • Twi(t): [K] Actual inlet water temperature
  • Two(t): [K] Actual outlet water temperature

Arguments:

  • D: [Vector{Float64}] Coefficient of fan coil
  • Qf0: [W] Rated heat transfer
  • Tai0: [K] Rated inlet air temperature
  • Twi0: [K] Rated inlet water temperature
  • Tai: [K] Inlet air temperature
  • cp: [J/(kg·K)] Specific heat of water

Connectors:

  • inlet: Inlet of fan coil
  • outlet: Outlet of fan coil
source
Ai4EComponentLib.HVAC.FlowPortMethod
FlowPort(; name, T0)

A pipe port(inlet or outlet) in an pipe network.

States:

  • p(t): [Pa] The pressure at this port
  • q(t): [m³/s] The volume flow passing through this port
  • T(t): [K] The temperature at this port
source
Ai4EComponentLib.HVAC.PumpMethod
Pump(; name, D, n0, ρ, g)

Component: CentrifugalPump

States:

  • n(t): [rpm] Actual speed of pump
  • qv(t): [m³/s] Actual volume flow rate
  • H(t): [m] Actual head
  • η(t): [-] Actual efficiency
  • P(t): [W] Actual power

Parameters:

  • D: [m] Diameter of pump
  • n0: [rpm] Rated speed of pump
  • ρ: [kg/m³] Density of liquid
  • g: [m/s²] Gravitational acceleration

Arguments:

  • name: Name of the component
  • D: [m] Diameter of pump
  • n0: [rpm] Rated speed of pump
  • ρ: [kg/m³] Density of liquid
  • g: [m/s²] Gravitational acceleration

Connectors:

  • inlet: Inlet of pump
  • outlet: Outlet of pump
source
Ai4EComponentLib.HVAC.SimplePipeMethod
SimplePipe(; name, R, T)

Component: SimplePipe(pipe with fixed friction factor f)

States:

Parameters:

  • R: [Pa·s/m³] Friction factor

Arguments:

Connectors:

  • inlet: Inlet of pipe
  • outlet: Outlet of pipe
source