AMESim和adams联合仿真使用说明

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ADAMSinterface®Rev9–November2009Copyright©LMSIMAGINES.A.1995-2009AMESim®istheregisteredtrademarkofLMSIMAGINES.A.AMESet®istheregisteredtrademarkofLMSIMAGINES.A.AMERun®istheregisteredtrademarkofLMSIMAGINES.A.AMECustom®istheregisteredtrademarkofLMSIMAGINES.A.LMSImagine.LabisaregisteredtrademarkofLMSInternationalN.V.LMSVirtual.LabMotionisaregisteredtrademarkofLMSInternationalN.V.ADAMS®isaregisteredUnitedStatestrademarkofMSC.SoftwareCorporation.MATLABandSIMULINKareregisteredtrademarksoftheMathWorks,Inc.ModelicaisaregisteredtrademarkoftheModelicaAssociation.UNIXisaregisteredtrademarkintheUnitedStatesandothercountriesexclusivelylicensedbyX/OpenCompanyLtd.WindowsistheregisteredtrademarkoftheMicrosoftCorporation.Allotherproductnamesaretrademarksorregisteredtrademarksoftheirrespectivecompanies.TABLEOFCONTENTS1.Introduction............................................................................................................................1 1.1.Organizationofthismanual2 2.Preliminaries...........................................................................................................................3 2.1.Licenserequirements3 2.2.Compilerrequirements3 2.2.1.RequirementstoimportADAMSmodelintoAMESim3 2.2.2.RequirementstoexportAMESimmodelsintoADAMS3 2.3.VersionsofADAMSsupported4 2.4.Platformssupported4 2.5.Settinguptheenvironment4 3.ImportingAMESimintoADAMS............................................................................................7 3.1.Preliminary7 3.2.ImportAMESimmodelsintoADAMS9 3.2.1.PreparinganAMESimmodelforexporttoADAMS9 3.2.2.ImportingthemodelinADAMS11 4.ImportingAdamsintoAMESim...........................................................................................20 4.1.Introduction20 4.2.PreparinganADAMSmodelforexporttoAMESim22 4.2.1.Step1:Checkexchangedvariables22 4.2.2.Step2:CreatetheInterface25 4.2.3.Step3:ExportthesystemfromADAMSintoAMESim26 4.3.ImportingthemodelintoAMESim27 4.3.1.Step1:ImportfilegeneratedbyADAMS27 4.3.2.Step2:Configurationoftheinterfaceblock29 4.3.3.Step3:Runningasimulation30 4.4.Analyzingresultsinbothsoftware32 5.Co-simulationorfullexport?..............................................................................................32 6.Tipsonusingtheinterface..................................................................................................35 6.1.Howtostopasimulation35 6.2.HowdoyouexecuteADAMScommandsbeforeaco-simulation?36 7.Advanceduseoftheinterface............................................................................................36 7.1.Howtosetupinterfacewithtemplate-basedADAMSproducts36 7.1.1.Usingmorethanoneinterface37 7.2.Advancedconfigurationoftheinterface37 7.2.1.Configurationfile37 NNoovveemmbbeerr22000099TTaabblleeooffCCoonntteennttss11//11UsingtheAMESim/ADAMSInterface1.IntroductionTheAMESimADAMSinterfaceenablesyoutolinkanAMESimmodelwithanADAMSmultibodymodelofamechanicalstructure.Bycouplingmotionsimulationandsystemsimulation,thisinterfaceimprovestheaccuracyofyourfullsystemsimulation.ThisinterfaceisusefulwhenhydraulicorpneumaticfluidpowersystemsorotherAMESimsystemsinteractwithcomplexmechanicalstructures.TheinterfaceisdesignedsothatyoucancontinuetousemanyoftheAMESimfacilitieswhilethemodelisrunninginADAMS.Inparticular,youcanchangetheparametersoftheAMESimmodelwithinAMESiminthenormalwayandmonitortheresultsbycreatingplotsjustasifyouwereproducingaregularrun.NormallyyouwillhaveAMESimandADAMSrunningsimultaneouslysothatyoucanusethefullfacilitiesofbothpackages.Anillustrationofthisprocessfollows:ConstructtheAMESimmodelwithimport/exporticonfrom/toMSC.ADAMSModifyAMESimsubmodelparametersCompletetheMSC.ADAMSmodelandlinkwithAMESimpartRunthesimulationExamineAMESimsubmodelresultsinAMESimExamineMSC.ADAMSsystemresultsinMSC.ADAMSWhentheprocessisfinished,theusercanchangetheAMESimmodelparameterswithinAMESim,aswellastheADAMSparameterswithinADAMS.NNoovveemmbbeerr22000099UUssiinnggtthheeAADDAAMMSSIInntteerrffaaccee11//33991.1.OrganizationofthismanualThismanualdescribesboththetwo-wayfullexportinterface(usingADAMSorAMESimintegratorexclusivelyforthefullsystem)andthetwo-wayco-simulationinterface(wherebothsolversareused,oneofthembeingcalledbytheother).Themainpartofthemanualdealswiththestandardinterfaceandsection5looksatthedifferencesbetweenexportandco-simulation.Thestructureofthismanualisthefollowing:•Section1isthecurrentsection.•Section2:Preliminaries,describeshowyoumustsetyourworkingenvironmentsothatyoucanusetheinterface.•Section3:Error!Referencesourcenotfound.describeshowADAMSimportstheAMESimmodel.2.Section4:ImportingAdamsintoAMESim•,usesasimpleexampletodescribehowtocreateanAMESimmodelandconfigureittorunincooperationwithADAMS.•Section5:Thissectiondescribesthedifferencesbetweenco-simulationinterfaceandtheexportfacility.•Section6:Tipsonusingtheinterface,givessomeadviceonefficientuseoftheinterface.•Section7:AdvanceduseoftheinterfaceandSection8:Advancedconfigurationoftheinterface,areusefulforcustomizeduseoftheinterface(advancedusers).Sometimesasectionoftexti

1 / 44
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功