1 / 33

Awe sim

Awe sim. Basic Visual SLAM Elements. CREATE Node QUEUE Node TERMINATE Node ASSIGN Node ACTIVITY Branches GOON Node COLCT Node. Figure 1: The AweSim Executive Window with the Illustration of Scenario Components. ایجاد پروژه جدید – ایجاد شبکه.

prue
Télécharger la présentation

Awe sim

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Awe sim

  2. Basic Visual SLAM Elements • CREATE Node • QUEUE Node • TERMINATE Node • ASSIGN Node • ACTIVITY Branches • GOON Node • COLCT Node

  3. Figure 1: The AweSim Executive Window with theIllustration of Scenario Components

  4. ایجاد پروژه جدید – ایجاد شبکه • مثال: سیستم یک صف - یک سرویس دهنده فروشگاه را در نظر بگیرید. زمان سرویس برای هر مشتری دارای توزیع یکنواخت u[6,12] است. در شروع شبیه سازی دو مشتری در صف منتظر هستند. ظرفیت صف 10 نفر است. اولین مشتری در زمان 5 وارد سیستم می شود. ورود مشتریها دارای توزیع نمایی با میانگین 1/0 است. اگر 100 مشتری از سیستم خارج شود شبیه سازی به پایان میرسد.

  5. Single Server Queuing System Diagram Arriving exit Inspection Station Queue of Waiting for Inspection

  6. اتصال اجزای سیستم به هم (فعالیت) • برای تأخیر زمانی در شبیه سازی است. • فعالیتهای بعد از select وبعد از Queue فعالیت سرویس و بقیه حالات فعالیت عادی هستند. • هر فعالیت بین دو بخش انجام می شود. ایجاد یک صف در سیستم تولید کننده ی نهادهای ورودی

  7. TBC TF MV M MC CREATE Node CREATE,TBC,TF,MV,MC,M;

  8. CREATE Node Example • CREATE,EXPON(10),75,ATRIB[2],,; EXPON(10) 75 ATRIB(2)

  9. حداکثر تعداد نودهای مرحله بعد که ورودی خود را میتوانند از خروجی این نود دریافت کنند. میتوان متغیری از بردار atrib مشخص نمود تا زمان جاری در آن ذخیره شود.

  10. QUEUE(IFL), IQ, QC,BALK(NLBL) or BLOCK; IQ IFL QC QUEUE Node

  11. QUEUE,3,2,10,BALK(A); QUEUE,1,0,4,BLOCK; 2 0 3 1 10 4 QUEUE Node:Balking and Blocking continue A

  12. اگر صف پر بود چه کاری انجام شود اسم فایلی که مشخصات نهادهای داخل صف در آن ذخیره می شوند.(مثلاً q1)

  13. در حالت پیش فرض اگر صف پر بود نهاد دور ریخته می شود. • اگر Block باشد کار سیستم منتهی به این صف متوقف می شود. • اگر Balk باشد نهادهای اضافی در یک فایل جدید ذخیره می شوند تا صف آزاد شود.

  14. TERMINATE Node • DONE: TERMINATE,25; 25 DONE

  15. تعداد خروجی لازم برای پایان شبیه سازی اگر INF بود مدت شبیه سازی بر اساس پارامتر مدت تعیین می شود.

  16. ACTIVITIES ACTIVITY,A,DUR,PROB OR COND,NLBL,N,ID DUR,PROB,OR COND A N

  17. Activity Duration (DUR) • Can be specified by any expression containing a Visual SLAM variable or network function. • Can be made to depend on the release time of a node in the network; the activity continues until the next release of the node. • Can be made to depend on an assignment made at an ASSIGN Node; the activity continues until a stop signal is assigned at an ASSIGN node.

  18. Activity Probability Specification (PROB) • Must be an expression that yields a value between 0.0 and 1.0 • Sum of PROB branches emanating from a single node need not be 1.0. • May be assigned to branches emanating from a QUEUE.

  19. Activity Condition Specification (COND) • Allowed for regular activities; cannot be used for service activities! • Format: VALUE operator VALUE • VALUE can be any expression, Visual SLAM variable or random variable • operator is any standard C relational code • <, >, <=, >=, != or = =

  20. اسمی که در گزارشات آماری برای این فعالیت لحاظ می شود. تعداد سرورهایی که در پردازش موازی در مقصد فعالیت هستند. اسم نود مقصد. ( اختیاری ) برای فعالیتهای غیر سرویس میتوان شرط تعریف نمود. * اگر عدد تولیدی slam بین صفر و یک از این عدد کوچکتر بود اجازه عبور میدهد. مثال: ATRIB[2]<XX(2) مدت زمان سرویس ( در صورتی که فعالیت سرویس باشد ) مثلاً از تولید کننده به صف صفر است. شماره فعالیت برای ذخیره اطلاعات آماری برای تحلیل ( لازم است) این اسم لازم است حتماً عدد باشد.

  21. Basic System Variables • TNOW Current time • NNACT(I) Number of active entities in activity I at current time • NNCNT(I) The number of entities that have completed activity I • NNQ(I) Number of entities in file I at current time • NNRSC(RLBL) Current number of units of resource type RLBL available • NRUSE(RLBL) Current number of units of resource type RLBL in use • FIRSTARRIVE Time of the first entity arrival at a COLCT node • LASTARRIVE Time of the most recent arrival at a COLCT node

  22. مرحله دوم: ایجاد یک کنترل جدید از بخش controls

  23. CONTROL Statements • Basic Control Statements • GENERAL: Name, project title, date of the run, and number of runs to be made • GEN,NAME,PROJECT,DATE,NNRNS • LIMITS: Defines the max index for global variables, attributes, and largest number of concurrent entities • LIM,MXX,MLL,MSZ,MATRIB,MLTRIB,MSTRIB,MNTRY • FINISH: Consists of a single field • FIN;

  24. CONTROL Statements continue • Use-as-needed Control Statements • NETWORK: Specifies that a network description follows • PRIORITY: Specifies a rank given to entities based on the IFL value • INITIALIZE: Specifies the begin and end time for a simulation and whether or not to clear values between each run. • ENTRY: Used to place specific values into files or schedule arrivals to nodes.

  25. Entity Variables • ATRIB[I] Real valued attribute of current entity • LTRIB[I] Integer valued attribute of current entity • STRIB[I] String valued attribute of current entity • Global Variables • XX[I] Real system or global array • LL[I] Integer system or global array • SZ[I] String system or global array • ARRAY[I,J] System doubly-subscripted array • SS[I] State variable I • DD[I] Derivative of SS[I] • STOPA Assignment to stop activities

  26. حال control ذخیره شده و بعنوان کنترل جاری ذخیره شود. (set current)

  27. مرحله سوم: با زدن دکمه‌ی run شبیه سازی را اجرا نمایید. • نکته: خطاهای احتمالی در بخش Report>Output>… قابل رؤیت است. • * در پیامهای شبیه سازی update را انتخاب کنید بهتر است. • نتیجه ی نهایی کار از بخش Report>Output>Summary قابل رؤیت است:

  28. نکته: پروژه ها در یک فولدر فایل به اسم Projects در همان مسیر نصب AweSim ذخیره می شود.

More Related