您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 企业财务 > Aspen-Custom-Modeler教程
©2000AspenTech.AllRightsReserved.IntroductiontoAspenCustomModeler3©2000AspenTech.AllRightsReserved.ACMintroDay1•OverviewofAspenCustomModeler•Descriptionofthegraphicaluserinterface–Workshop•Reviewofspecification•Modelinglanguagedescription–Workshops•Non-isothermalreactorworkshop4©2000AspenTech.AllRightsReserved.ACMintroDay2•Arraysandsets•Componentproperties•Submodels•Snapshots•Tasks5©2000AspenTech.AllRightsReserved.ACMintroDay3•Procedures•ScriptsandVisualBasic–Scripts–Automation•introductiontoPDE•introductiontoEstimation•Informationonsolversettings6©2000AspenTech.AllRightsReserved.ACMintroWhatisAspenCustomModeler?•AcomponentoftheAspenEngineeringSuitewhichprovides:–Alanguageforwritingequationbasedcustommodels–Agraphicaluserinterfaceforboththemodeldeveloperandtheenduser7©2000AspenTech.AllRightsReserved.ACMintroWhatisAspenCustomModeler?•Solverscontainingpowerfulnumericalanalysistechniquesfortheresolutionof:–Steadystate–Dynamicintegrationandinitialization–Steadystateanddynamicoptimization–Parameterestimation•Tasklanguage•VisualBasicScriptingandAutomation8©2000AspenTech.AllRightsReserved.ACMintroFAQ:WhatisthedifferencebetweenAspenCustomModelerandDynamics?•Theseproductsarefor2differenttypesofsituations:–AspenDynamics:RunningofftheshelfmodelsbasedonAspenPlussimulationflowsheet–AspenCustomModeler:Createandrunyourowncustommodels•YoucanusetheCustomModelingfeaturesimplybyactivatingtheCustomModelingoptioninAspenDynamicsprogram(ifyouhavethebothlicenses)9©2000AspenTech.AllRightsReserved.ACMintroAspenCustomModelerandDynamicsFeatureACMADACM+ADRunGUIandcalculations?Createnewmodels??UsetheDynamicslibrary?CallPropertiesPlusyesyesyes©2000AspenTech.AllRightsReserved.ASimpleExampleObjective:aquicktourofAspenCustomModeler11©2000AspenTech.AllRightsReserved.ACMintroBufferTankFlowsheetFin,CainFout,Caoutheightdiameterleveltimetime?12©2000AspenTech.AllRightsReserved.ACMintroBufferTankDynamics•Howtotacklethisproblem?–Carefullystatewhataretheobjectives:i.e.whatistheoutletconcentrationasafunctionoftime,inresponsetodisturbancesinthefeedcompositionandflowrate–Analyzethesystemtoenumeratethedifferentquantitiesdescribingit(variables),andtherelationsthatlinkallthesesquantitiestogether(equations)13©2000AspenTech.AllRightsReserved.ACMintroModelinginAspenCustomModeler•Writethevariablesandequations–Variables•Decideonunits,values,bounds:VariabletypesinACM–Equations•Modelingassumptions:ModelandBlocks–Specifications•Developthesimulationmodel–Model,streamandporttypesinACM–Buildtheflowsheetandrun©2000AspenTech.AllRightsReserved.ExploringtheGraphicalUserInterface15©2000AspenTech.AllRightsReserved.ACMintroExploringtheGraphicalUserInterface•AspenCustomModeler(ACM)files:–myflowsheet.acmf•ACMlanguagefile(ASCIIfile)–myflowsheet.acmd•ACMdocument(binaryfile)–mylibrary.acml•ACMlibraryfile(binary)•Note:–FileextensionsaredisplayedifyouhaveletWindowsExploreroptionsdoso.16©2000AspenTech.AllRightsReserved.ACMintroExploringtheGraphicalUserInterface•TostartACM:–FromtheStartmenu–Createashortcut•TostartACMandopenafile:–Doubleclickonthefile–DraganddropthefileontotheACMprogramicon•ToexitACM:File/Exit–Allowasmalldelaybeforerestarting17©2000AspenTech.AllRightsReserved.ACMintroRunningAspenCustomModeler•Client/Serverarchitecture–Client:GraphicalUserInterface(GUI)runningonWindowsNT/95/98IntelPC–Servers:simulationandtaskservers•sim_server•am_task_server–RunningonthesamePCinbackground–MayberunonanotherPCWindowsNTIntel18©2000AspenTech.AllRightsReserved.ACMintroExploringtheGraphicalUserInterfacemenushelprunmodeflowsheetsimulationmessagescontentofselectedobjectexplorerrunbuttonsspecificationstatus19©2000AspenTech.AllRightsReserved.ACMintroSimulationExploreroperationissimilartoWindowsExplorerExpand/collapse+and-SingleclickontheicontoselectContentofselectedobjectastar=doubleclicklaunchaction20©2000AspenTech.AllRightsReserved.ACMintroSimulationExplorer•Flowsheet•CustomModeling:yourworkingspacefornewdefinitions–Modeltypes–Streamtypes–Porttypes–Variabletypes–Parameterstypes–Procedures–Tasks21©2000AspenTech.AllRightsReserved.ACMintroSimulationExplorer•Libraries-readonlytypedefinitions–Modeler–SystemLibrary22©2000AspenTech.AllRightsReserved.ACMintroFlowsheetWindowBuildingtheflowsheetwith“DragandDrop”23©2000AspenTech.AllRightsReserved.ACMintroRunningtheSimulation•Allowedonlywhenthesystemiscorrectlyspecified–Checkstatusbuttonorthestatuswindow•Selectrunmode–SpecificationstatusdependsonrunmodeRunPauseRestartRewindResetStep24©2000AspenTech.AllRightsReserved.ACMintroHelp•Extensiveon-linehelpavailable–Howtohelp–Referencehelp–Contextsensitivehelp–Tooltips25©2000AspenTech.AllRightsReserved.ACMintroMessagesWindow•Displaysallmessages–Loadingfiles,building/compilingtypes,checkingspecifications,diagnosticmessagesfromsolversduringsolution,...–Rightmousebuttontochangemessagesoptions–View/Messagestohide/displaywindow©2000AspenTech.AllRightsReserved.WorkshopUserinterfaceworkshopSpecification27©2000AspenTech.AllRightsReserved.ACMintroEquationOrientedModeling•TheACMlanguageisdeclarative,i.e.yousaywhatyouwant
本文标题:Aspen-Custom-Modeler教程
链接地址:https://www.777doc.com/doc-4997952 .html