《eM-Plant仿真技術(shù)教程》省公開(kāi)課金獎(jiǎng)全國(guó)賽課一等獎(jiǎng)微課獲獎(jiǎng)?wù)n件_第1頁(yè)
《eM-Plant仿真技術(shù)教程》省公開(kāi)課金獎(jiǎng)全國(guó)賽課一等獎(jiǎng)微課獲獎(jiǎng)?wù)n件_第2頁(yè)
《eM-Plant仿真技術(shù)教程》省公開(kāi)課金獎(jiǎng)全國(guó)賽課一等獎(jiǎng)微課獲獎(jiǎng)?wù)n件_第3頁(yè)
《eM-Plant仿真技術(shù)教程》省公開(kāi)課金獎(jiǎng)全國(guó)賽課一等獎(jiǎng)微課獲獎(jiǎng)?wù)n件_第4頁(yè)
《eM-Plant仿真技術(shù)教程》省公開(kāi)課金獎(jiǎng)全國(guó)賽課一等獎(jiǎng)微課獲獎(jiǎng)?wù)n件_第5頁(yè)
已閱讀5頁(yè),還剩76頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

《eM-Plant仿真技術(shù)教程》物流工程11/81CH1仿真建模與eM-PlanteM-plant仿真系統(tǒng)是德國(guó)tecnomatix企業(yè)產(chǎn)品,其前身為simple++,專(zhuān)門(mén)用于“離散系統(tǒng)”建模與仿真分析。特點(diǎn):面向?qū)ο蠼<煞抡姝h(huán)境仿真過(guò)程可視化專(zhuān)用仿真語(yǔ)言開(kāi)放數(shù)據(jù)接口2D+3D提供如GA,ARIS,Gantt等模塊22/81瀏覽器窗口33/81Connector:連接器EventController:仿真控制器Frame:Frame窗口Interface:層式結(jié)構(gòu)接口Source:產(chǎn)生MUDrain:回收MUSingleProc:?jiǎn)喂の还ぷ髡綪arallelProc:多工位并行工作站Assembly:組裝站點(diǎn)DismantleStation:拆卸站點(diǎn)Store:存放站44/81PlaceBuffer:帶工作站緩沖區(qū)Buffer:緩沖區(qū)、暫存區(qū)Sorter:帶排序功效緩沖區(qū)Line:軌道(有速度)TurnTable:旋轉(zhuǎn)臺(tái)AngularConverter:方向轉(zhuǎn)換軌道Track:?jiǎn)诬?chē)道路線(不允許錯(cuò)車(chē)、無(wú)速度)TwoLaneTrack:雙車(chē)道路線(允許錯(cuò)車(chē))FlowControl:分流控制Cycle:循環(huán)55/81WorkerPlace:工位FootPath:工人行走路徑WorkerPool:工人池Worker:工人Exporter:服務(wù)提供者Broker:資源調(diào)度者ShiftCalendar:日程表66/81Method方法Variable變量TableFile:(二維)表CardFile:隨即表StackFile:棧表、堆棧QueueFile:隊(duì)列表Trigger:定時(shí)觸發(fā)AttributeExplorer:屬性瀏覽器TimeSequence:時(shí)間序列Generator:發(fā)生器XMLInterface:XML接口FileInterface:文件接口FileLink:文件鏈接77/81Comment:評(píng)論Gauge:規(guī)格(顯示數(shù)據(jù))Chart:圖表ReportDialog:對(duì)話框88/81BottleneckAnalyzer:瓶頸分析器SankeyDiagram:Sankey圖ExperimentManager:試驗(yàn)管理器NeuralNet:神經(jīng)網(wǎng)絡(luò)TransferStation:中轉(zhuǎn)站PortalCrane:門(mén)座起重機(jī)99/81第二章eM-Plant初步知識(shí)1010/81CH2-1創(chuàng)建一個(gè)em-plant模型

CH2-Sample11111/81CH2-2對(duì)象復(fù)制和繼承CH2-Sample11CH2-Sample121212/81第三章eM-Plant建?;驹?--對(duì)象1313/81CH3-1使用EventController對(duì)象跟蹤仿真事件CH3-EventDebugger11414/81CH3-2Source對(duì)象中Operatingmode項(xiàng)作用CH3-Source_operationmode1515/81CH3-3物流對(duì)象準(zhǔn)備步驟(Set-up)設(shè)置CH3-Station1s1_setupisdo print"settingup..."end;1616/81CH3-4Trigger對(duì)象應(yīng)用CH3-Trigger1s1_ctrl(old,new:boolean)isdo s1.pause:=new;end;1717/81第四章分流、動(dòng)畫(huà)和層式結(jié)構(gòu)1818/81CH4-1圖標(biāo)參考點(diǎn)、動(dòng)畫(huà)點(diǎn)及動(dòng)畫(huà)線設(shè)置和作用CH4-Animation11919/81CH4-2分流和分流動(dòng)畫(huà)CH4-Sam_hierachy12020/81CH4-2分流和分流動(dòng)畫(huà)AddAttribisrandNo:real;do randNo:=z_uniform(2,0,1); @.createattr("type","string"); ifrandno>0.5then @.type:="red"; @.curricon:="red"; else @.type:="green"; @.curricon:="green"; end; print@.type;end;Distri_entity(r:integer):integerisdo print"call"; if@.type="red"then return1; else return2; end;end;2121/81CH4-3層式結(jié)構(gòu)CH4-Sam_hierachy2CH4-Sub_hierachy22222/81CH4-4層式結(jié)構(gòu)動(dòng)畫(huà)設(shè)置CH4-Sam_hierachy2CH4-Sub_hierachy22323/81第五章表和圖2424/81CH5-1棧表以及隊(duì)列表存取CH5-StackFile_and_QueueFile2525/81CH5-1棧表以及隊(duì)列表存取Resetisdo stackfile.delete; queuefile.delete; deletemovables;end;countMuis i:integer;do ifstackfile.emptythen i:=1; else i:=stackfile.dim+1; end; stackfile.push(i); queuefile.push(i);end;2626/81CH5-1棧表以及隊(duì)列表存取pop_from_fileis i:integer;do ifstackfile.dim>7then i:=stackfile.pop; printi; i:=queuefile.pop; printi;

end;end;2727/81CH5-2Chart對(duì)象使用之一CH5-ChartPlot12828/81CH5-2Chart對(duì)象使用之一caseisdo ifbuffer_a.numMU>9orbuffer_b.numMU>9 then ?.deleteMovables; end;--ifend;2929/81CH5-3Chart對(duì)象使用之二CH5-Chartplot2reset

isdo deletemovables; PartRecord.delete(`[2,1]..`[2,3]);end;3030/81Creatpartis i:real;do i:=z_uniform(1,0,1); @.createattr("type","string");--Createattribute ifi<0.2then @.type:="red"; PartRecord["Number",1]:=PartRecord["Number",1]+1; elseifi<=0.5andi>=0.2then @.type:="green"; PartRecord["Number",2]:=PartRecord["Number",2]+1; elseifi>0.5then @.type:="blue"; PartRecord["Number",3]:=PartRecord["Number",3]+1; end;end;3131/81第六章SimTalk語(yǔ)言和Method對(duì)象3232/81CH6-1Method調(diào)試器使用CH6-Debugger1M1is sum:real;

do sum:=M2(10,7.5); print"result:",sum;end;3333/81CH6-1Method調(diào)試器使用M2(n1,n2:real):realisdo result:=n1+n2;end;3434/81CH6-2匿名指代符使用CH6-Sub_AI1AI1isdo print@.getno; print?.name; printself; printcurrent; printlocation; printlocation.location; printroot;end;3535/81CH6-2匿名指代符使用CH6-AI13636/81CH6-3Variable對(duì)象使用CH6-Variable13737/81CH6-3Variable對(duì)象使用Resetisdo deletemovables; productquantity:=0;end;Moveisdo @.move(Drain); end;3838/81CH6-3Variable對(duì)象使用Countisdo productquantity:=productquantity+1;end;3939/81更改模型Resetisdo deletemovables; productquantity:=0;productquantity1:=0;end;4040/81更改模型Countisdo if@.name="Entityred"then productquantity:=productquantity+1; else productquantity1:=productquantity1+1; end;end;4141/81更改模型Moveis i:integerdo ifbuffer.nummu=10then fori:=1to10loop @.move(Drain); next; end;end;4242/81CH6-4Method對(duì)象調(diào)用CH6-BecalledInitisdo deletemovables; ref(test).methcall(0);end;4343/81CH6-4Method對(duì)象調(diào)用Testisdo print"testMethodbecalled."; printeventController.simtime; M1; .models.ch6.becalled.M1; self.methcall(40); (V1);end;4444/81CH6-4Method對(duì)象調(diào)用M1isdo print"M1methodiscalled...";end;M2isdoprint"M2methodiscalledbyavariableobject.";end;4545/81第七章物流對(duì)象----生產(chǎn)類(lèi)物流對(duì)象4646/81CH7-1Assembly對(duì)象和DismantleStation對(duì)象使用CH7-Sam_assembly14747/81CH7-2Buffer對(duì)象和PlaceBuffer對(duì)象使用CH7-Sam_buffer4848/81Visitbufferisdo --printplacebuffer[3].; --printplacebuffer.PE(3).; --printbuffer.PE(3).cont.name; end;4949/81CH7-3Store對(duì)象使用CH7-Sam_storeresetisdo deletemovables;end;5050/81MoveMuis xdim,ydim:integer;do printstore.numMu;-- printeventcontroller.simtime;-- waituntildrain.emptyprio1; forxdim:=1to3loop forydim:=1to3loop ifstore[xdim,ydim].cont/=voidthen store[xdim,ydim].cont.move; return; end; next; next;-- ref(self).methcall(70);-- self.methcall(0);end;5151/81CH7-4采取ShiftCalendar對(duì)象排班CH7-ShiftCalendar1resetisdo deletemovables;end;5252/81CH7-4Cycle對(duì)象使用CH7-Cycle15353/81第八章物流對(duì)象---運(yùn)輸類(lèi)物流對(duì)象5454/81CH8-1Line對(duì)象使用CH8-Sam_conveyor5555/81CH8-2Transporter對(duì)象方向控制之一CH8-CrossTransfer5656/81CH8-2Transporter對(duì)象方向控制之一INITisdo .MUs.transporter.create(track,2);end;EnterOrderis Station:object;do station:=?; orderlist.push();end;5757/81CH8-2Transporter對(duì)象方向控制之一Load1isdo print"LoadingSP1"; sp1.cont.move(@); @.backwards:=false;end;Load2isdo print"LoadingSP2"; sp2.cont.move(@); @.backwards:=true;end;5858/81Unloadis order:string;do print"Unloading..."; @.stop; ifnot@.emptythen waituntilsp3.emptyprio1; @.cont.move(sp3); end; waituntilorderlist.dim>0prio1; order:=orderlist.pop; iforder="SP1"then @.backwards:=true; else @.backwards:=false; end; @.continue;end;5959/81CH8-3Transporter對(duì)象方向控制之二CH8-Transporter16060/81CH8-3Transporter對(duì)象方向控制之二resetisdo deletemovables; .Models.ch8.Mus.transporter.create(track11,10); track11.cont.speed:=2;end;6161/81loadisdo print"loading"; --@.stop; source.cont.move(@); --@.backwards:=false; if@.="red"then @.destination:=TRACK1; else @.destination:=TRACK2; end; --@.move; --@.continue; @.DestCtrl:="Unload";end;6262/81Unloadisdo print"unloading"; ifnot@.emptythen if@.="red"then @.cont.move(drain); else @.cont.move(drain1); end; @.destination:="";@.DestCtrl:=""; end; @.move;end;6363/81CH8-4Transporter對(duì)象方向控制之三CH8-Transporter26464/81CH8-4Transporter對(duì)象方向控制之三resetisdo deletemovables; .Mus.transporter.create(track,2); track.cont.speed:=2; track.cont.destination:="Track5"; track.cont.automaticrouting:=TRUE;end;6565/81更改模型1resetisdo deletemovables; .Mus.transporter.create(track,2); track.cont.speed:=2; track.cont.destination:="Track5"; track.cont.automaticrouting:=False;end;6666/81CH8-5TurnTable對(duì)象使用CH8-Sam_turntable6767/81第九章物流對(duì)象---資源類(lèi)物流對(duì)象6868/81CH9-1Exporter對(duì)象和

Broker對(duì)象使用CH9-Sam_exporter6969/81CH9-2WorkerPool對(duì)象、Workerplace對(duì)象及FootPath對(duì)象使用CH9-Sam_workplace7070/81CH9-3設(shè)置一組工人(Workers)提供多項(xiàng)服務(wù)(Services)CH9-Sam_w

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論