您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 述职报告 > 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
本文标题:AMESim和adams联合仿真使用说明
链接地址:https://www.777doc.com/doc-7237772 .html