Text this: Algorithm development for optimization of a refrigeration system