import pint
import HRHX_integral_model
import ammonia1
import libr3
# Needs update for python 3
#import ejector
import adsorption
from IPython import display
import CoolProp
import pint
ur = pint.UnitRegistry()
c = CoolProp.CoolProp.PropsSI('C','T',353,'P',101325,'Air') * ur.joule / (ur.kilogram * ur.delta_degC)
rho = CoolProp.CoolProp.PropsSI('D','T',353,'P',101325,'Air') * ur.kilogram / ur.m**3
# Given data
volume = 77. * ur.cu_ft / ur.min
DeltaT = 80 * ur.delta_degF
mass = volume * rho
Q = mass * c * DeltaT
c
rho
mass.to_base_units()
Q.to(ur.watt)
spec = adsorption.AdsorptionChillerSpec()
ctrl = adsorption.AdsorptionChillerControl()
spec
adsorption.AdsorptionChiller(spec=)