A system and method for controlling a flow of a fluid using an adaptive
closed-loop-control algorithm is described. One embodiment includes a
method for receiving a set point indicator and/or a sensor indicator
generated by a sensor. A response time of a closed-loop-control algorithm
is modified when at least one threshold value is satisfied based on the
sensor indicator and/or the set point indicator. The closed-loop-control
algorithm, which is implemented by a flow controller, is stabilized in
response to the modifying of the response time of the closed-loop-control
algorithm by adjusting at least one parameter associated with the
closed-loop-control algorithm.