




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
《eM-Plant仿真技術(shù)教程》物流工程11/81CH1仿真建模與eM-PlanteM-plant仿真系統(tǒng)是德國tecnomatix企業(yè)產(chǎn)品,其前身為simple++,專門用于“離散系統(tǒng)”建模與仿真分析。特點(diǎn):面向?qū)ο蠼<煞抡姝h(huán)境仿真過程可視化專用仿真語言開放數(shù)據(jù)接口2D+3D提供如GA,ARIS,Gantt等模塊22/81瀏覽器窗口33/81Connector:連接器EventController:仿真控制器Frame:Frame窗口Interface:層式結(jié)構(gòu)接口Source:產(chǎn)生MUDrain:回收MUSingleProc:單工位工作站ParallelProc:多工位并行工作站Assembly:組裝站點(diǎn)DismantleStation:拆卸站點(diǎn)Store:存放站44/81PlaceBuffer:帶工作站緩沖區(qū)Buffer:緩沖區(qū)、暫存區(qū)Sorter:帶排序功效緩沖區(qū)Line:軌道(有速度)TurnTable:旋轉(zhuǎn)臺AngularConverter:方向轉(zhuǎn)換軌道Track:單車道路線(不允許錯車、無速度)TwoLaneTrack:雙車道路線(允許錯車)FlowControl:分流控制Cycle:循環(huán)55/81WorkerPlace:工位FootPath:工人行走路徑WorkerPool:工人池Worker:工人Exporter:服務(wù)提供者Broker:資源調(diào)度者ShiftCalendar:日程表66/81Method方法Variable變量TableFile:(二維)表CardFile:隨即表StackFile:棧表、堆棧QueueFile:隊(duì)列表Trigger:定時觸發(fā)AttributeExplorer:屬性瀏覽器TimeSequence:時間序列Generator:發(fā)生器XMLInterface:XML接口FileInterface:文件接口FileLink:文件鏈接77/81Comment:評論Gauge:規(guī)格(顯示數(shù)據(jù))Chart:圖表ReportDialog:對話框88/81BottleneckAnalyzer:瓶頸分析器SankeyDiagram:Sankey圖ExperimentManager:試驗(yàn)管理器NeuralNet:神經(jīng)網(wǎng)絡(luò)TransferStation:中轉(zhuǎn)站PortalCrane:門座起重機(jī)99/81第二章eM-Plant初步知識1010/81CH2-1創(chuàng)建一個em-plant模型
CH2-Sample11111/81CH2-2對象復(fù)制和繼承CH2-Sample11CH2-Sample121212/81第三章eM-Plant建?;驹?--對象1313/81CH3-1使用EventController對象跟蹤仿真事件CH3-EventDebugger11414/81CH3-2Source對象中Operatingmode項(xiàng)作用CH3-Source_operationmode1515/81CH3-3物流對象準(zhǔn)備步驟(Set-up)設(shè)置CH3-Station1s1_setupisdo print"settingup..."end;1616/81CH3-4Trigger對象應(yīng)用CH3-Trigger1s1_ctrl(old,new:boolean)isdo s1.pause:=new;end;1717/81第四章分流、動畫和層式結(jié)構(gòu)1818/81CH4-1圖標(biāo)參考點(diǎn)、動畫點(diǎn)及動畫線設(shè)置和作用CH4-Animation11919/81CH4-2分流和分流動畫CH4-Sam_hierachy12020/81CH4-2分流和分流動畫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)動畫設(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對象使用之一CH5-ChartPlot12828/81CH5-2Chart對象使用之一caseisdo ifbuffer_a.numMU>9orbuffer_b.numMU>9 then ?.deleteMovables; end;--ifend;2929/81CH5-3Chart對象使用之二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語言和Method對象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對象使用CH6-Variable13737/81CH6-3Variable對象使用Resetisdo deletemovables; productquantity:=0;end;Moveisdo @.move(Drain); end;3838/81CH6-3Variable對象使用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對象調(diào)用CH6-BecalledInitisdo deletemovables; ref(test).methcall(0);end;4343/81CH6-4Method對象調(diào)用Testisdo print"testMethodbecalled."; printeventController.simtime; M1; .models.ch6.becalled.M1; self.methcall(40); (V1);end;4444/81CH6-4Method對象調(diào)用M1isdo print"M1methodiscalled...";end;M2isdoprint"M2methodiscalledbyavariableobject.";end;4545/81第七章物流對象----生產(chǎn)類物流對象4646/81CH7-1Assembly對象和DismantleStation對象使用CH7-Sam_assembly14747/81CH7-2Buffer對象和PlaceBuffer對象使用CH7-Sam_buffer4848/81Visitbufferisdo --printplacebuffer[3].; --printplacebuffer.PE(3).; --printbuffer.PE(3).cont.name; end;4949/81CH7-3Store對象使用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對象排班CH7-ShiftCalendar1resetisdo deletemovables;end;5252/81CH7-4Cycle對象使用CH7-Cycle15353/81第八章物流對象---運(yùn)輸類物流對象5454/81CH8-1Line對象使用CH8-Sam_conveyor5555/81CH8-2Transporter對象方向控制之一CH8-CrossTransfer5656/81CH8-2Transporter對象方向控制之一INITisdo .MUs.transporter.create(track,2);end;EnterOrderis Station:object;do station:=?; orderlist.push();end;5757/81CH8-2Transporter對象方向控制之一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對象方向控制之二CH8-Transporter16060/81CH8-3Transporter對象方向控制之二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對象方向控制之三CH8-Transporter26464/81CH8-4Transporter對象方向控制之三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對象使用CH8-Sam_turntable6767/81第九章物流對象---資源類物流對象6868/81CH9-1Exporter對象和
Broker對象使用CH9-Sam_exporter6969/81CH9-2WorkerPool對象、Workerplace對象及FootPath對象使用CH9-Sam_workplace7070/81CH9-3設(shè)置一組工人(Workers)提供多項(xiàng)服務(wù)(Services)CH9-Sam_w
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 餐飲合股開店協(xié)議書
- 鞋子供貨押金協(xié)議書
- 偽造公章蓋就業(yè)協(xié)議書
- ktv股權(quán)分配協(xié)議書
- 卡通施工合同協(xié)議書
- 駕校學(xué)員入學(xué)協(xié)議書
- 車輛短途運(yùn)輸協(xié)議書
- 車輛技術(shù)安全協(xié)議書
- 部隊(duì)移交補(bǔ)充協(xié)議書
- 車輛掛牌轉(zhuǎn)讓協(xié)議書
- 山東科技大學(xué)投資經(jīng)濟(jì)學(xué)(專升本)期末復(fù)習(xí)題
- 2025年公共安全與管理相關(guān)考試題及答案
- 英才宿舍樓畢業(yè)設(shè)計(jì)答辯
- 牛肉生意轉(zhuǎn)讓協(xié)議書
- 2024年中考押題預(yù)測卷02(安徽卷)-物理(考試版)A4
- 《安全生產(chǎn)法解讀課件》
- (二模)臨沂市2025年高三高考模擬考試英語試題卷(含答案)
- 智能控制理論及應(yīng)用課件:徑向基函數(shù)神經(jīng)網(wǎng)絡(luò)
- 解除分公司經(jīng)營合同協(xié)議
- 2025年中考英語考綱詞匯(包括詞性詞義詞轉(zhuǎn)短語)
- 老人財(cái)產(chǎn)處置協(xié)議書范本
評論
0/150
提交評論