Doesn’t seem that complex. Work out your minutes per 100m pace (various methods online, 400m + 200m TT etc), set it in intervals.icu then add your activity on strava. Intervals works out the TSS and adds it to your graph.
I guess using an HRM while swimming would be even better.
I started looking into swim TSS and gave up. It's complicated.