第4章gpssworld常用语句及其使用内容摘要:
采用 线性插值 方法确定 Fun_1 FUNCTION RN2, C4 0, 0/ , , , 1 ( 如果 A为 RN,则特指累计概率分布函数 ) FN$Fun_1 管理系统模拟与 GPSSWorld语言 15 西南交通大学经济管理学院王艺然 2. D型 (离散型) 10 20 30 40 20 P$Px_1 FN$Fun_2 5 Fun_2 FUNCTION P$px_1, D4 5, 10 / 10, 40 / 20, 30 / 30, 10 Fun_2 号函数由四个离散点组成 , 自变量由参数 P$px_1 确定 . 422 函数定义语句 管理系统模拟与 GPSSWorld语言 16 西南交通大学经济管理学院王艺然 2. 离散型 FN$ Ran1 Ran1 FUNCTION RN1,D5 0,0 / .2, , / .8, / ,10 如果 A为 RN,则特指累计概率分布函数 . 422 函数定义语句 0 RN(x) 管理系统模拟与 GPSSWorld语言 17 西南交通大学经济管理学院王艺然 422 函数定义语句 3. E型 离散属性值 Edisc FUNCTION X$QRA,E5 1, SR$Stor1 / 3, SR$Stor2 / 5,SR$Stor3 / 9, SR$Stor5 / 10, SR$Stor6 X$QRA(自变量 ) Edisc(因变量 )返回值 1 SR$Stor1 3 SR$Stor2 5 SR$Stor3 9 SR$Stor5 10 SR$Stor6 管理系统模拟与 GPSSWorld语言 18 西南交通大学经济管理学院王艺然 422 函数定义语句 4. L型 列值函数 Listtype FUNCTION Q$Barber,L5 1, PAR1 / 2, PAR2 / 3, PAR3 / 4,PAR4 / 5, PAR5 Q$Barber(自变量 ) FN$Listtype(因变量 )返回值 1 PAR1 2 PAR2 3 PAR3 4 PAR4 5 PAR5 管理系统模拟与 GPSSWorld语言 19 西南交通大学经济管理学院王艺然 422 函数定义语句 5. M型 属性列值函数 Mlist FUNCTION X$Name1, M5 1,Q$Nnam1 / 2,Q$NamX / 3,Q$Nam4 / 4,Q$Nam6 / 5,F$Tan1 X$Name1 FN$ Mlist(因变量 )返回值 1 Q$Nnam1 2 Q$NamX 3 Q$Nam4 4 Q$Nam6 5 F$Tan1 管理系统模拟与 GPSSWorld语言 20 西南交通大学经济管理学院王艺然 The X values of Function Follower Statements must be non decreasing. Function Follower Statements are NEVER line numbered. A Function which has a random argument must describe a valid cumulative (累积 ) probability distribution in the Function Follower Statements. All fields in a Function Command are required. All X values and Y values in Function Follower Statements are required. The number of data pairs stated in the B Operand of the FUNCTION Commands must correspond to pairs separated by slashes, [/], in the Function Follower Statements. X1, the first probability value specifying a random continuous Function must be 0. CDF values must be nonnegative, nondecreasing, and may not exceed 1. Function Follower Statements have no ments field. 函数规则 管理系统模拟与 GPSSWorld语言 21 西南交通大学经济管理学院王艺然 In a Function Follower Statement, an X value is followed by [,], [,] is followed by a Y value, a Y value is followed by [/] or [CR], and [/] is followed by an X value. CDFs must be nondecreasing between 0 and 1, inclusively. Any missing probability in C type Functions is given to the rightmost interval, otherwise missing probability is an error. C,D, and L type Functions cannot have SNAs for Y values. E and M type Functions must have SN。第4章gpssworld常用语句及其使用
相关推荐
Command对象 Command对象的属性 1. ActiveConnection属性 2. CommandText属性 3. CommandType属性 常 量 说 明 AdCmdText 指定 CommandText的类型为 SQL命令 AdCmdTable 指定 CommandText的类型为数据库表的名称 AdCmdStoredProc 指定 CommandText的类型为存储过程名称
器的操作 一、实训目的 ( 1)了解手持式编程器的结构及作用; ( 2)掌握 FX20PE手持编程器的操作。 二、实训器材 ( 1)可编程控制器 1套(包括 FX2N48MR的 PLC主机 1个、 FX20PE编程器 1个、FX20PCAB型电缆 1根); ( 2)电工常用工具 1套; ( 3)导线若干。 三、实训指导 1.编程器的概述 写入、读出、插入、删除、修改、检查,也能对
如下: 线型过滤器:该选项组用于设置过滤条件 ,以确定在线型列表中显示哪些线型。 “ 加载 (L)”按钮:用于加载新的线型。 “ 当前 (C)”按钮:用于指定当前使用的线型。 “ 删除 ” 按钮:用于从线型列表中删除没有使用的线型 , 即当前图形中没有使用到该线型 ,否则系统拒绝删除此线型。 “ 显示细节 (D)”按钮:用于显示或隐藏 “ 线型管理器 ” 对话框中的 “ 详细信息 ”。
多个文本框时 , 用该方法可把光标移到所需要的的文本框中。 其使用格式为: 1.对象 .SetFocus 【 例 】 程序运行后 , 随着用户的输入 , 标签中同步显示出用户对文本框的内容更新的次数。 运行效果如图 34所示。 2.编写事件过程如下: Private Sub Text1_Change( ) Static i% i = i + 1 = i End Sub 请思考