The cosmic muon and detector simulation framework of the extreme energy events (EEE) experiment