- 1、本文档共13页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Isight高级教程
Application Programming InterfacesAPIs iSIGHT Advanced Training Pratt Whitney November 29 and 30, 2001 API Application programming interfaces (API) link customized Tcl code to iSIGHT APIs are Tcl procedures developed by Engineous which allow the user to access internal information in iSIGHT There are over 150 API calls in iSIGHT API and Tcl API calls are Tcl commands May be used and nested with other Tcl commands May be used in all MDOL blocks which support Tcl Will not work in a generic Tcl interpreter - it only works within iSIGHT Likely Place to Use Prologue Epilogue TaskProcess TaskPlan Anywhere that supports Tcl With Tcl, Why API? In some situations, both Tcl and API work, but API is suggested. API will always be supported by iSIGHT, but Tcl may not be. A suggested practice is to use API as much as possible. Example Print the run counter to the log window for each run ( RC #12, for example) TaskProcess Airplane Control: [ Tcl puts “RC #[api_GetRunCounter Airplane].” End Tcl AeroCode ] End TaskProcess Airplane Example DOE+RSM : speed reducer Lab Assume that the design space is primarily infeasible with small pockets of feasibility Use exploratory technique (Simulated Annealing) followed by a numerical technique (Modified Method of Feasible Directions) to locate optimum Add a Tcl algorithm to increase the chances of getting to a global optimum Default iSIGHT Behavior Customized iSIGHT Behavior Tcl Algorithm Psuedo Code: Run SA Copy Airplane.db to SAPoints.db Open SAPoints.db While data exists, read each line If Feasibility = 7 Foreach iSIGHT Parameter Set iSIGHT Parameters = value in column End Foreach Run MMFD End If End While Useful API Calls api_GetTaskName Returns the name of the task in which api is called api_EvaluateTechnique step-name Runs an iSIGHT optimization technique api_GetTaskInputs task-name Returns a list of the inputs for a task api_SetParameterValue task-name parm-name value
您可能关注的文档
- GVL 华府新天地城市综合体月度工作计划.ppt
- Harris角点检测算法讲义.ppt
- Have has 语法练习.ppt
- HAY公司职位描述的原则与方法.ppt
- Hay合益咨询绩效管理体系方案.ppt
- HBV、HCV相关终末期肝病肝移植的抗病毒治疗课件.ppt
- HBV基因型检测及临床应用.ppt
- HDI介绍.ppt
- HFC网络的回传通道设计与调试.ppt
- HDS在工厂规划方面的应用.ppt
- 重庆市求精中学校2025届九年级上学期第一次阶段性考试数学试卷(含解析).docx
- 峰谷分时电价与阶梯电价的联合设计及研究.docx
- 山东省部分名校2025届高三上学期12月校际联合检测语文试题(含答案.docx
- 山东财经大学会计硕士(MPACC)专业学位研究生培养方案202512.docx
- 邢台英华教育集团2023-2024学年七年级上学期12月阶段评估(二)数学试卷(含解析).docx
- 山东大学公共管理硕士(MPA)学位论文的选题与写作规范.docx
- 山西体外诊断试剂项目投资分析报告.docx
- 履行(合同)能力承诺函.docx
- 山地野营用品行业发展研究报告.docx
- 山东财经大学毕业论文撰写要求.docx
文档评论(0)