Source code for nrel_5mw_controller.util

"""Utility functions."""


[docs]def saturate(x, a, b): return min(max(x, a), b)