Is it possible to convert the mask layer by time?

Dear EEMS team:

I have a question about the Mask function.

I would like to recreate a temporarily constructed embankment to prevent the spread and remove pollutants in the event of a pollution incident.
I’m trying to simulate a situation where a dam is built after a pollutant leak. Can I input a time series function that completely blocks the water flow, such as a mask?
Or can this function be simulated using a module other than mask?

Please answer about my question.
Thank you

Yes, you can use a combination of masks and a hydraulic structure controlled by a time series to simulate this scenario. You can see how to do that here: