> restart:#"m05_p10"

Se quiere introducir 150 litros de agua en un depósito hermético de 200 litros, inicialmente lleno de aire a presión atmosférica, desde un gran recipiente 50 m por debajo del anterior, utilizando una bomba que da 60 litros/hora. Se pide:

a) Variación de la presión del aire con el nivel de agua en el depósito, y valor final.

b) Potencia que va consumiendo la bomba, y valores inicial y final.

c) Energía total consumida.

d) Generación de entropía.

Datos:

> read"../therm_eq.m":read"../therm_proc.m":with(therm_proc):

> su1:="H2O":su2:="Aire":dat:=[V1=0.2*m_^3,V2=0.05*m_^3,L=50*m_,mdot=60/3600*kg_/s_];

`:=`(dat, [V1 = `+`(`*`(.2, `*`(`^`(m_, 3)))), V2 = `+`(`*`(0.5e-1, `*`(`^`(m_, 3)))), L = `+`(`*`(50, `*`(m_))), mdot = `+`(`/`(`*`(`/`(1, 60), `*`(kg_)), `*`(s_)))])

Image

Esquema:

> `:=`(Sistemas, [agua_cir, air_enc, amb])

> `:=`(Estados, [1, 2, 3, 4])

Eqs. const.:

> eqETw:=rho=rho0;eqETa:=subs(eq1_11,eq1_12);eqEE:=eq1_16;ldat:=get_liq_data(su1):gdat:=get_gas_data(su2):dat:=op(dat),Const,gdat,ldat,SI2,SI1:

`:=`(eqETw, rho = rho0)

`:=`(eqETa, `/`(`*`(m), `*`(V)) = `/`(`*`(p), `*`(R, `*`(T))))

`:=`(eqEE, DU = `*`(m, `*`(c[v], `*`(DT))))

a) Variación de la presión del aire con el nivel de agua en el depósito, y valor final.

> p1:=p0:p_:=p1*V1/V;eqV:=V1=V+Vw;Vw:=V1-(mdot/rho0)*t;p2:=p1*V1/V2;p2_:=subs(dat,p2):'p2'=evalf(%/(1000*Pa_/kPa_));

`:=`(p_, `/`(`*`(p0, `*`(V1)), `*`(V)))

`:=`(eqV, V1 = `+`(V, Vw))

`:=`(Vw, `+`(V1, `-`(`/`(`*`(mdot, `*`(t)), `*`(rho0)))))

`:=`(p2, `/`(`*`(p0, `*`(V1)), `*`(V2)))

p2 = `+`(`*`(400.0000000, `*`(kPa_)))

b) Potencia que va consumiendo la bomba, y valores inicial y final.

> P:=mdot*((p-p0)/(rho0)+g*L)/eta;eta:=1;Pmin_:=subs(p=p0,rho0=rho,dat,P);Pmax_:=subs(p=p2,rho0=rho,dat,P);

`:=`(P, `/`(`*`(mdot, `*`(`+`(`/`(`*`(`+`(p, `-`(p0))), `*`(rho0)), `*`(g, `*`(L))))), `*`(eta)))

`:=`(eta, 1)

`:=`(Pmin_, `+`(`*`(8.172208333, `*`(W_))))

`:=`(Pmax_, `+`(`*`(13.18222837, `*`(W_))))

c) Energía total consumida

> t2_:=(V1-V2)/(mdot/rho0);t2__:=subs(rho0=rho,dat,t2_);W:=Int(P,t=0..t2);W_:=collect(expand((int(subs(p=p_,V=V1-(mdot/rho0)*t,P),t=0..t2))),mdot);W__:=evalf(subs(t2=t2__,rho0=rho,dat,SI0,W_))*J_:'W'=evalf(%/(1000*J_/kJ_));

`:=`(t2_, `/`(`*`(`+`(V1, `-`(V2)), `*`(rho0)), `*`(mdot)))

`:=`(t2__, `+`(`*`(8982.00, `*`(s_))))

`:=`(W, Int(`*`(mdot, `*`(`+`(`/`(`*`(`+`(p, `-`(p0))), `*`(rho0)), `*`(g, `*`(L))))), t = 0 .. t2))
`:=`(W_, `+`(`-`(`/`(`*`(mdot, `*`(int(`+`(`/`(`*`(p0, `*`(mdot, `*`(t))), `*`(`+`(`-`(`*`(V1, `*`(rho0))), `*`(mdot, `*`(t))))), `/`(`*`(g, `*`(L, `*`(`^`(rho0, 2), `*`(V1)))), `*`(`+`(`-`(`*`(V1, `*...

W = `+`(`*`(86.12866249, `*`(kJ_)))

d) Generación de entropía.

> Sgen:='Wlost/T0';Sgen:=('W'-Wid)/T0;Sgen_eta1:=0;

`:=`(Sgen, `/`(`*`(Wlost), `*`(T0)))

`:=`(Sgen, `/`(`*`(`+`(W, `-`(Wid))), `*`(T0)))

`:=`(Sgen_eta1, 0)

>