26 lines
648 B
Python
26 lines
648 B
Python
T_dyn.target = 1
|
|
htr_still.target = 0
|
|
htr_sorb.target = 0
|
|
T_mix.control_off() # this switches off mix heater fully
|
|
T_stat.auto_flow = True
|
|
T_stat.flowpars = ((1.0, 5.0), (4.0, 20.0)) # increase base flow slighly
|
|
if not dil.sorbpumped:
|
|
print('start sorbpump')
|
|
T_stat.target = 6
|
|
T_sorb.target = 40
|
|
|
|
print(f'sorb pump time: {dil.sorb_pump_time} sec')
|
|
sleep(dil.sorb_pump_time)
|
|
dil.sorbpumped = True
|
|
T_mix.control_off() # this switches off mix heater fully
|
|
else:
|
|
print('no sorb pump needed')
|
|
|
|
htr_sorb.target = 0
|
|
T_stat.target = 1
|
|
p_stat.target = 12
|
|
dil.condense()
|
|
while dil._isBusy():
|
|
sleep(1)
|
|
p_stat.target = 8
|