eMPlant英文练习册.docx
《eMPlant英文练习册.docx》由会员分享,可在线阅读,更多相关《eMPlant英文练习册.docx(28页珍藏版)》请在冰豆网上搜索。
eMPlant英文练习册
TableofContents
1.Exercise1:
Structuringtheclasslibrary3
2.Exercise2:
Buildingtheproductionplant3
3.Exercise3:
PracticalApplicationofFrameOptions3
4.Exercise4:
ConvergingandDiverging4
5.Exercise5:
TheFlowControl5
6.Exercise6:
ResourceandProductStatistic5
7.Exercise7:
ModelHierarchy5
7.1.AFrameWithInterfaces5
7.2.ATestEnvironment6
7.3.FrameHierarchy7
8.Exercise8:
TheIconEditor7
8.1.ChangethePictureiconfortheFrame7
8.2.DefineAnimationPoints8
9.Exercise9:
MethodsandMethodcalls8
10.Exercise9:
"EntryandExitcontrols"8
11.Exercise10.1:
AccessingCustomisedAttributes11
12.Exercise11:
MovingMU’s12
13.Exercise12:
MaterialFlowCircle13
14.Exercise13:
TestenvironmentandFrameHierarchy13
15.Exercise14:
FailuresintheProductionPlant13
16.Exercise15:
AccessingaTableFile14
17.Exercise16:
LoadingaContainer15
18.Exercise17:
UnloadingaContainer16
19.Exercise18:
ThePalletCircle17
20.Exercise19:
TheAssemblyoftheTablelegs18
21.Exercise20:
TheCompleteAssembly19
22.Exercise21:
TheTrigger–RestControlbyAttributes“20
23.Exercise22:
TheTrigger–ShiftSchedulebyMethod22
24.Exercise23:
StatisticalDataCollection–theTimeSequence23
25.Exercise24:
StatisticalDataCollection–theLifespan24
26.Exercise25:
StatisticalDataCollection–thePartsStatistics25
1.
Exercise1:
Structuringtheclasslibrary
InordertostructureyourSimulationmodel,createfollowingnewFoldersintheclasslibrary:
-Model_components
-TestModels
-Exercise
2.Exercise2:
Buildingtheproductionplant
BuildupaFramewithan“entrance”,a“saw”,a“millingstation”,a“lacquer”,an“assembly”,a“packaging”,andan“dispatch”.
-Renametheframein„frame1“
-connectthestationsinthesequenceasabove
-thesourceisproducingentities
-insertaneventcontrollerandthemethod„Reset“(fromtheobjectspallet)
-theproceduretimeofthe„millingstation“is8minutes
-startthesimulation.
3.Exercise3:
PracticalApplicationofFrameOptions
-deleteaconnectorintheframe,displaytheunconnectedobjects
-movetheobjectsclosetoeachotherandconnectthemusingthecorrespondingmenuitem
-rotateandmirrorsomeobjectsusingthemenuitems
-moveseveralobjectssimultaneously
-zoominandoutintheframe
-resetyourframetotheoriginalstate
4.Exercise4:
ConvergingandDiverging
Aftergoingthroughthe„saw“,theentitywillbemilledon2millingstationswithdifferentProc.Times.
-createaduplicateof„frame1”andcallit“frame2”
-insertanothermillingstation,callit“milling2”,andconnectitbetweenthesawandthelacquer
-startthesimulationandwatchthebehaviour
5.Exercise5:
TheFlowControl
Determinethebranchingtothemillingstations.
-createaduplicateof„frame2“andcallit„frame3“
-insertaflowcontrolafterthesawandinfrontofthemillingstations,andsettheexittothepercentagebehaviour(80percenttothefaster,.and20percenttotheslowermillingstation)
-startthesimulationandwatchthebehaviour
-doyounoticearelease?
6.Exercise6:
ResourceandProductStatistic
LookattheResourceStatistics.
-open„frame3“.
-makesure,theResourceStatisticscheckboxismarked
-letthesimulationrunandstopitafterawhile
-checkthestatisticsintheregisterRes.Stat.andtheRes.Stat.Table
7.Exercise7:
ModelHierarchy
7.1.AFrameWithInterfaces
Modelthemillingstationsinaseparateenvironment.
-createanewframeinthefolder„model_components“.Renameitto“milling”.
-duplicatetheobjectsflowcontrolandbothmillingstationsintothenewframe.Makesuretheproceduretimesofthemillingstationswillkeepthesame
-providetheframewithframeinterfaces.Keepaneyeonthepositionoftheoutsideconnections.
-doyouneedaneventcontroller?
7.2.ATestEnvironment
Inordertoinserttheframe„millingstations”intotheproductionmodel,itisadvisabletotestitsfunctionalityinatestenvironment.Inyourproductionmodel,thesourceisproducingtabletopsinsteadofentities.
-createanewframeinthefolder„testmodels“andnameit„test_millingstation“.
-insertasourceanddrainandtheframe„milling”inbetweenthem.Insertaneventcontrollerandtestthefunctionality.Youcanseeentitiesinthe“milling”framebyopeningit
-providetabletopswiththesource
-forchangesintheframe“milling”makesureyoudothoseopeningtheframeinthefolder“model_components”intheclasslibrary
7.3.FrameHierarchy
Buildyourframe„milling“thatyoutestedintheproductionmodel.
-createaduplicateof„frame1“.Renameit“productionplant”anddragitinthefolder“models”
-replacethestation“milling”withtheframe“milling”
-thesourceisproducingtabletops
-startthesimulation.Inordertoseethetabletopsrunthroughthemillingstations,opentheframe“milling”
8.Exercise8:
TheIconEditor
8.1.ChangethePictureiconfortheFrame
Providetheframe„milling“withanewicon.
-choosethesymbol„millingstations“outoftheclipartlibraryintheiconeditor
-markthepictureas“current”andsaveit.
8.2.DefineAnimationPoints
Createavisibleanimationonthe“milling”framesymbolbydefininganimationpoints.
-setoneanimationpointoneachprocessingheadonthemachinesymbols
-connectthemwiththelogicalframe
-savethechanges
-testtheanimationduringsimulation
9.Exercise9:
MethodsandMethodcalls
CreateanewframeinfolderExercises.
Inserttwomethods,onecalled"test"andtheotheronecalled"add".
Typeinthetextofthemethodsasyouseeinthepicturesabove.
Afteryoufinished,opentheconsoleandstartthemethode"test".Watchtheoutputontheconsole.Changethevaluesinmethod"test".
10.Exercise9:
"EntryandExitcontrols"
Testthetransferbehaviourofvariousentryandexitcontrols
-createaframe“controls”inthefolder“exercises”,itexistsof3SingleProcs(E1,E2,E3),asourceandadrain
-insert4methodswiththefollowingnames.Theyarecalledupbythestationsasfollows:
"E1_out"bythefrontexitcontrolfrom"E1",
"E2_in"bytheentrancecontrolof"E2",
"E2_out"bytherearexitcontrolof"E2",
"E3_in"bytheentrancecontrolof"E3".
-eachmethodshouldprintatextontheconsole(suchas„E1in,E1out”...)sothatyoucanseewhenwhichmethodiscalled
-whichcontroldeactivatesthestandardtransferbehaviour?
Howcanyoumovetheentityyourself?
-opentheconsoleandstarttheconsole
Changethemodelasyouseeinthepicturebelow.
Restartthesimulationandwatchtheconsole.
11.Exercise10.1:
AccessingCustomisedAttributes
Afterthetabletopswerepaintedinthestation„Lacquer“,thequalityischecked.Thequalityofeverytenthtabletopiscalled“BAD”,allothersarechecked“GOOD”
-createanewframe„frame4“inthefolder„exercises“withasource,asingleproc“lacquer”,adrainandaneventcontroller
-insertavariableandcallit“numerator”,itisofdatatype“integer”withthevalue“0”
-insertamethod“init”thatinitialisesthevariableatthestartofeachsimulationrun
-providethetabletopintheclasslibrarywiththecustomisedattributenamed“quality”–itisofdatatype“string”.Itmayhavethevalue“GOOD”
-insertamethod“restoring”thatassignsthequality“BAD”toeachtenthtabletop.Allothersareofquality“GOOD”.
-themethodiscalledbytheexitcontrolof“lacquer”(Attention:
standardtransferbehaviour!
)
-Checkthequalityassignedbyanoutputontheconsole
12.Exercise11:
MovingMU’s
TheMU’sshouldbedivertedondifferentfollow-upstations,dependingonthequalityassigned.TheMUofquality“GOOD”ismovedtothestation“part_ok”,theotheronestothestation“part_not_ok”.
-duplicatetheframe4andcallthenew„frame5“.
-the“lacquer”isfollowedbyaSingleProc“verification”,thisonemovestheMU’stothesingleprocs“part_ok”and“part_not_ok”.
-amethod“quality_check”isdescribingtheapplicabletransferprocess.
-atthetimethetabletopsisreadytoleavethestation“verification”,itinitiatesthequalitycheck.
13.Exercise12:
MaterialFlowCircle
Thetabletopsof„bad“qualityaredivertedbackinthelacquercycle.Thisnewframeisgoingtobethemodelcomponent“lacquer”
-duplicate„frame5“,callit„lacquer“andmoveittothefolder„model_components“
-connectthestation“part_not_ok”toabufferinsteadofthedrain.Thebufferhasacapacityof4,itsendsthetabletopbacktotheSingleProc“lacquer”
-theframehasinterfacesinsteadofsource,drainandeventcontroller
14.Exercise13:
TestenvironmentandFrameHierarchy
Aftertestingthematerialcircle„lacquer“inatestenvironment,insertthisframeinto„production_plant1”
testtheframe„lacquer“inatestframe„Test_Lacquer“inthefolder„test_models“(intheclasslibrary)
-providetheframewiththeicon“lacquer”outoftheclipartlibraryanddefineanimationpoints
-duplicatethe"production_plant"andcallitproduction_plant1”
-replacethestation“lacquer”withtheframe“lacquer”.
-testthemodel.
15.Exercise14:
FailuresintheProductionPlant
Watchtheresultoffailuressetintothestation„Packaging“
-opentheregister„failures“inyoursingleproc„packaging“andinsertthevaluesseenabove
16.Exercise15:
AccessingaTableFile
Inthelacquerstation,tabletopsarepaintedinturnswiththecoloursblue,red,yellow,brown,green.
-addatablefiletotheframe„lacquer“,andcallit“Colour_Table”.Insertthecoloursmentionedaboveinthefi