The engine compartment fan is triggered by different variables, the only set variable as far as I know if that it normally (I did not say always) triggers if the engine bay temperature exceeds 158° F. Mine normally only comes on after idling for a very long time or in summer bumper to bumper traffic.
See this post:
Engine rear passenger side blower fan.