设为首页收藏本站|繁體中文 快速切换版块

 找回密码
 立即加入
搜索
查看: 1297|回复: 0

求问CHKTRE(ICODE)这个函数

[复制链接]

该用户从未签到

尚未签到

发表于 2010-8-13 20:25:55 | 显示全部楼层 |阅读模式

马上加入,结交更多好友,共享更多资料,让你轻松玩转电力研学社区!

您需要 登录 才可以下载或查看,没有账号?立即加入

×
这边要用到 但看不明白 问问各位  CHKTRE(ICODE)函数是什么作用的? 返回值个表示什么意思?# }' i/ p* R: y  F
手册里给的解释如下
! N3 y4 ?7 G# }" U" H1 \/ _5 nCALL CHKTRE(ICODE)
1 Z' q# C4 t' z  DIf the case contains Type 4 (or greater) buses with in-service branches then an error condition is2 x' A( v  B% J' @% Y' ?
returned. Counts number of islands not containing a Type 3 (swing) bus. It may be inappropriate to
6 ^  S5 v3 K7 L- i' Gcall this subroutine with generators converted; since there will be no Type 3 buses, it will simply
7 z- f9 s6 _9 ^: C  |* f; K3 kcount every island (finding at least one unless there is no working case).
9 {3 v8 z& n! B# k' DICODE Error code (integer output):5 Y: y6 x) V' T- B9 T( V
0 No errors.
+ O& W# v& g8 W) V, c/ j-1 No in-service buses remaining.
. t' U6 c3 ?% Y4 K-2 There are Type 4 buses with in-service branches connected.2 V4 @1 K" X# ]" X% d0 E# C
>0 Number of islands without a Type 3 bus.
2 Y2 v6 v% i6 L- M' Z太谢谢了
"真诚赞赏,手留余香"
还没有人打赏,支持一下
楼主热帖
帖文化:【文明发帖 和谐互动】 社区精神:【创新、交流、互助、共享】
您需要登录后才可以回帖 登录 | 立即加入

本版积分规则

招聘斑竹

小黑屋|手机版|APP下载(beta)|Archiver|电力研学网 ( 赣ICP备12000811号-1|赣公网安备36040302000210号 )|网站地图

GMT+8, 2026-3-18 00:18

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表