A lattice model for prediction of ice failure in interaction with sloping structures