Simulate CT (current transformer) output?

I found this on a search looking for the same solution. Looks like most respondents didn’t even understand the question.