Text this: Risk and decision analysis in maintenance optimization and flood management