How to add a new gas chemical reaction that depend on sunlight

Thank you for your patient help. I see what you mean. But the reaction still occurs during the day and night. Do I need to modify the AEROSOL_CHEMISTRY.F to have a switch for sunlight according to Add a new heterogeneous reaction that only happens with sunlight