问答中心分类: 井和动态如何使用Trigger控制STARS蒸汽吞吐周期自动转换,执行语句怎么写?
0
cc 管理员 asked 3年 ago
1 Answers
0
admin 管理员 answered 3年 ago

Trigger的使用参考《第47期:TRIGGER(触发)功能的使用方法》,链接:http://learncmg.cn/?p=6867。关键字段请参考STARS自带算例stwwm044.dat,如下:
 
*TRIGGER ‘TRIG_1’ *ON_ELAPSED ‘TIME’ TRELTD > 0.0 *APPLY_TIMES 3 *INCREMENT 365.0
**DTWELL .02
**OUTSRF *GRID *NONE
*DTMAX 1
*SHUTIN ‘Producer 1’  
*OPEN ‘Injector 1’
**STOP
*END_TRIGGER
 
**TRIGGER 2 CONTROLS switching FROM INJECTION TO SOAK
**TIMES ARE RELATIVE TO TIME OF TRIGGER DEFINETION
 
*TRIGGER ‘TRIG_2’ *ON_ELAPSED ‘TIME’ TRELTD > 10.0 *APPLY_TIMES 3 *INCREMENT 365
**DTWELL 7
**OUTSRF *GRID *REMOVE *PRES
*DTMAX 0.25
*DTMAX 0.5
*DTMAX 1
*SHUTIN ‘Producer 1’  
*SHUTIN ‘Injector 1’
*END_TRIGGER
 
**TRIGGER 3 CONTROLS switching FROM SOAK TO PRODUCTION
**TIMES ARE RELATIVE TO TIME OF TRIGGER DEFINETION
 
*TRIGGER ‘TRIG_3’ *ON_ELAPSED ‘TIME’ TRELTD > 17.0 *APPLY_TIMES 3 *INCREMENT 365
**DTWELL 1
**OUTSRF *GRID *PRES
*DTMAX 5
*OPEN ‘Producer 1’  
*SHUTIN ‘Injector 1’
*END_TRIGGER