How to map over flows with various parameter values?