Seol mar théacs é seo: Discrete-time model for variable structure systems