BackgroundFish migration has severely been impacted by dam construction. Through the disruption of fish migration routes, freshwater fish communities have seen an incredible decline. Fishways, which have been constructed to mitigate the problem, have been shown to underperform. This is in part due to fish navigation still being largely misunderstood. Recent developments in tracking technology and modelling make it possible today to track (aquatic) animals at very fine spatial (down to one meter) and temporal (down to every second) scales. Hidden Markov models are appropriate models to analyse behavioural states at these fine scales. In this study we link fine-scale tracking data of barbel (Barbus barbus) and grayling (Thymallus thymallus) to a fine-scale hydrodynamic model. With a HMM we analyse the fish’s behavioural switches to understand their movement and navigation behaviour near a barrier and fishway outflow in the Iller river in Southern Germany.MethodsFish were tracked with acoustic telemetry as they approached a hydropower facility and were presented with a fishway. Tracking resulted in fish tracks with variable intervals between subsequent fish positions. This variability stems from both a variable interval between tag emissions and missing detections within a track. After track regularisation hidden Markov models were fitted using different parameters. The tested parameters are step length, straightness index calculated over a 3-min moving window, and straightness index calculated over a 10-min window. The best performing model (based on a selection by AIC) was then expanded by allowing flow velocity and spatial velocity gradient to affect the transition matrix between behavioural states.ResultsIn this study it was found that using step length to identify behavioural states with hidden Markov models underperformed when compared to models constructed using straightness index. Of the two different straightness indices assessed, the index calculated over a 10-min moving window performed better. Linking behavioural states to the ecohydraulic environment showed an effect of the spatial velocity gradient on behavioural switches. On the contrary, flow velocity did not show an effect on the behavioural transition matrix.ConclusionsWe found that behavioural switches were affected by the spatial velocity gradient caused by the attraction flow coming from the fishway. Insight into fish navigation and fish reactions to the ecohydraulic environment can aid in the construction of fishways and improve overall fishway efficiencies, thereby helping to mitigate the effects migration barriers have on the aquatic ecosystem.