SIMtrix/Simplis Simulator
The sensor you talk about is a simple current-controlled voltage source. You can place it by invoking >place>controlled sources>Current Controlled Voltage source:



However, if it does the job of sensing the current, I prefer to resort to a current-controlled current source (press F) that I direct to a 1-ohm resistance. That way, I can easily add another current source which compensates the sub-harmonic poles:



\$k_r\$ and \$k_i\$ are parameters you can pass using a .VAR statement placed in the control window that you invoke pressing F11:

.VAR kr=0.05

.VAR ri=200m

as an example.

Finally, please note that this current-controlled voltage or current source plays the role of a current-sense transformer (without the magnetic environment of course) and does not provide damping as a normal sense resistor would do.