Developing and testing a Fuzzy Logic algorithm to alleviate the risk of flooding by controlling a flow control device in a laboratory setting