1 Answers
这种问题需要使用TRIGGER控制,设置如下:
TRIGGER ‘Trigger-foam’
ON_ELAPSED ‘TIME’ TIMSIM > 0.0 **以是时间为控制参数
APPLY_TIMES 10 INCREMENT 120.0 **循环一次120天,共循环10次
*SHUTIN ‘injector-gas’
*OPEN ‘injector-foam’
END_TRIGGER
TRIGGER ‘Trigger-gas’
ON_ELAPSED ‘TIME’ TIMSIM > 31.0
APPLY_TIMES 10 INCREMENT 120.0
*DTMAX 1
*OPEN ‘injector-gas’
*SHUTIN ‘injector-foam’
END_TRIGGER