Simulation of the MASK (Magitteri Alessio matthiaS Komm) detector