twr_calculation