Text this: Variable control tool in MATLAB for energy transformation processes