models/simulatespin library