AP4C-SIM Chemical Detector Simulator