Mass and heat transfer modeling of bio-substrates during packaging