/* RESP

Formula for biomass loss due to respiration

Alan Bundy, 7.9.83 */


isform(resp, situation(LifeForm, Time), Energy=resp(Biomass,Temp))
	:- ncc lifeform(Lifeform),
	   cc respiration(LifeForm, Time, Energy),
	   cc temperature(Time,Temp),
	   cc biomass(LifeForm,Time,Biomass).

prepare(resp, R, biomass, respiration(LF,T,R), situation(LF,T)).
		% form situation in most direct way

relates(resp, [biomass,temperature]).	% resp relates biomass and temperature

preference(resp,1).	% resp is a first preference formula


