Adapt set parameter as function of measured conditions