Real sensor fails below 1 L/min. Most libraries do not model this. Add a threshold in firmware.
: Close and reopen Proteus. Search for "YF-S201" in the component picker ( The Engineering Projects Simulation Alternatives yfs201 proteus library