Mathematical modeling of thermal interactions in a self-cooling pilot-scale photobioreactor