setpoint and simple calc