Procedure for estimating effects of ion beam interaction with spacecraft