V121

different behaviour for stp.preference, check code, if 'per' the
valve_switch is used, if 'total', then total_switch is used. prepared
for day segmentation