Simulation of proton–neutron collisions in inverse kinematics and its possible application