Theoretical model of heat balance in pigs