Isight高级教程.ppt

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Isight高级教程

Application Programming Interfaces APIs 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

文档评论(0)

zhuwenmeijiale + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:7065136142000003

1亿VIP精品文档

相关文档