Variable control tool in MATLAB for energy transformation processes. (December 2020)