ycjwanok 发表于 2010-8-13 20:25:55

求问CHKTRE(ICODE)这个函数

这边要用到 但看不明白 问问各位CHKTRE(ICODE)函数是什么作用的? 返回值个表示什么意思?
手册里给的解释如下
CALL CHKTRE(ICODE)
If the case contains Type 4 (or greater) buses with in-service branches then an error condition is
returned. Counts number of islands not containing a Type 3 (swing) bus. It may be inappropriate to
call this subroutine with generators converted; since there will be no Type 3 buses, it will simply
count every island (finding at least one unless there is no working case).
ICODE Error code (integer output):
0 No errors.
-1 No in-service buses remaining.
-2 There are Type 4 buses with in-service branches connected.
>0 Number of islands without a Type 3 bus.
太谢谢了
页: [1]
查看完整版本: 求问CHKTRE(ICODE)这个函数

招聘斑竹