dictionary { * file shower5.dct * - Shower water temperature regulation - 5 - WITH VARIABLE MATERIAL DELAY * - Delay time as funct. of outlet water temperature (T) (lizard response). * - Cold water flux constant - regulation of warm water flux * to obtain Topt temperature. str80 _model } "* -- state variables -- " "S Wc=Wc+dt*VAc Cold water flux (l/s) " "S Ww=Ww+dt*VAw Warm water flux (l/s) " "* Note: in this case fluxes are levels, not rates. " "R VAc=0 Variat. rate cold flux (l/s/s)" "R VAw=MDL[K*(Topt-T),dly] Variat. rate warm flux (l/s/s)" "A T=(Tc*Wc+Tw*Ww)/(Wc+Ww) Shower water temperature " "A F=Wc+Ww Total water flux (l/s) " "A dly=Rtc*T Delay time (s) " "I Wc=0.2 " "I Ww=0 " "P Topt=35 Optimal temperature (C) " "P Tc=10 Cold water temperature (C) " "P Tw=50 Warm water temperature (C) " "P K=0.03 Adjusting speed " "P Rtc=0.05 Time reaction coeff. (s/C) "