Text this: Mathematical modeling of thermal effectiveness of a ternary combined cycle plant