SlideShare a Scribd company logo
1 of 16
Become an AnyLogic Expert Step by Step How to access a root active object
About me khoi.tran@simbean.com 2 My name is Khoi Tran and I’m living in beautiful Stuttgart, Germany. As a 12-years expert in the software industry and 6-years expert in simulation with AnyLogic, I would like to share my experiences with you on a simple and fast path.
Learning subjects khoi.tran@simbean.com 3 In this example you can learn,  ,[object Object],You can see the demo in action first http://simbean.com/en/knowhow/become-an-anylogic-expert.html If you like to know, how I built this model, this presentation may help you.
Create a new model khoi.tran@simbean.com 4 Write the name of the model e.g. „DemoRootAccessControl“ Choose menu item „Model“ Right mouse click on the Project view Create a new model
Create an active object khoi.tran@simbean.com 5 ,[object Object]
 Choose this menu itemWrite „SpeedControl“ instead of „MyClass“ Create an active object called “SpeedControl” in the model project
Insert a control object to an active object khoi.tran@simbean.com 6 Choose control tab on the palette on the right side Drag and drop the slider on the graphical editor of the active object Drag & drop the slider onto the graghical editor
Set properties for control object „slider“ khoi.tran@simbean.com 7 Enable the “icon” checkbox Set maximum value to 300
Create Object from Enterprise Library and its connections khoi.tran@simbean.com 8 Drag & drop elements from Enterprise Library Drag & drop elements from Enterprise Library Drag & drop elements from Enterprise Library Drag & drop elements from the Enterprise Library ,[object Object]
 Then move mouse to the queue
 Click on the queue,[object Object]
Set properties for polyline khoi.tran@simbean.com 10 ,[object Object]
 Choose Properties, then “Dynamic” Tab
 Set Visible on “false”
Choose the middle polyline
 Choose Properties, then “Dynamic” Tab

More Related Content

Viewers also liked

V norte 1web
V norte 1webV norte 1web
V norte 1webAnam
 
Head first statistics ch15
Head first statistics ch15Head first statistics ch15
Head first statistics ch15scor7910
 
Seminarium prawa dla ludzi reguły dla biznesu
Seminarium prawa dla ludzi reguły dla biznesuSeminarium prawa dla ludzi reguły dla biznesu
Seminarium prawa dla ludzi reguły dla biznesusknsz
 
BDT goes mobile
BDT goes mobileBDT goes mobile
BDT goes mobilevodQA
 
Master Class 'Servicialisation - From Service Identifying to Service Billing ...
Master Class 'Servicialisation - From Service Identifying to Service Billing ...Master Class 'Servicialisation - From Service Identifying to Service Billing ...
Master Class 'Servicialisation - From Service Identifying to Service Billing ...Paul G. Huppertz
 
San francisco native food
San francisco native foodSan francisco native food
San francisco native foodMari Cheung
 
Zdjęcia
ZdjęciaZdjęcia
Zdjęciasknsz
 
Agents of Change Tour
Agents of Change Tour Agents of Change Tour
Agents of Change Tour Ja-Nae Duane
 
Seychelles offshore company
Seychelles offshore companySeychelles offshore company
Seychelles offshore companyjonessmith
 
Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12Anam
 
Swiatowyponchiny
SwiatowyponchinySwiatowyponchiny
Swiatowyponchinysknsz
 

Viewers also liked (16)

V norte 1web
V norte 1webV norte 1web
V norte 1web
 
Head first statistics ch15
Head first statistics ch15Head first statistics ch15
Head first statistics ch15
 
Seminarium prawa dla ludzi reguły dla biznesu
Seminarium prawa dla ludzi reguły dla biznesuSeminarium prawa dla ludzi reguły dla biznesu
Seminarium prawa dla ludzi reguły dla biznesu
 
BDT goes mobile
BDT goes mobileBDT goes mobile
BDT goes mobile
 
Hachiojipm#13
Hachiojipm#13Hachiojipm#13
Hachiojipm#13
 
Master Class 'Servicialisation - From Service Identifying to Service Billing ...
Master Class 'Servicialisation - From Service Identifying to Service Billing ...Master Class 'Servicialisation - From Service Identifying to Service Billing ...
Master Class 'Servicialisation - From Service Identifying to Service Billing ...
 
Social mediaseminarriverside
Social mediaseminarriversideSocial mediaseminarriverside
Social mediaseminarriverside
 
San francisco native food
San francisco native foodSan francisco native food
San francisco native food
 
Zdjęcia
ZdjęciaZdjęcia
Zdjęcia
 
Katla 1
Katla 1Katla 1
Katla 1
 
Agents of Change Tour
Agents of Change Tour Agents of Change Tour
Agents of Change Tour
 
Edge 2 Architecture
Edge 2 ArchitectureEdge 2 Architecture
Edge 2 Architecture
 
Seychelles offshore company
Seychelles offshore companySeychelles offshore company
Seychelles offshore company
 
Ci 102
Ci 102Ci 102
Ci 102
 
Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12
 
Swiatowyponchiny
SwiatowyponchinySwiatowyponchiny
Swiatowyponchiny
 

Recently uploaded

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

AnyLogic - Free AnyLogic basic lessions - Learning AnyLogic by examples - Demo accessRootObject

  • 1. Become an AnyLogic Expert Step by Step How to access a root active object
  • 2. About me khoi.tran@simbean.com 2 My name is Khoi Tran and I’m living in beautiful Stuttgart, Germany. As a 12-years expert in the software industry and 6-years expert in simulation with AnyLogic, I would like to share my experiences with you on a simple and fast path.
  • 3.
  • 4. Create a new model khoi.tran@simbean.com 4 Write the name of the model e.g. „DemoRootAccessControl“ Choose menu item „Model“ Right mouse click on the Project view Create a new model
  • 5.
  • 6. Choose this menu itemWrite „SpeedControl“ instead of „MyClass“ Create an active object called “SpeedControl” in the model project
  • 7. Insert a control object to an active object khoi.tran@simbean.com 6 Choose control tab on the palette on the right side Drag and drop the slider on the graphical editor of the active object Drag & drop the slider onto the graghical editor
  • 8. Set properties for control object „slider“ khoi.tran@simbean.com 7 Enable the “icon” checkbox Set maximum value to 300
  • 9.
  • 10. Then move mouse to the queue
  • 11.
  • 12.
  • 13. Choose Properties, then “Dynamic” Tab
  • 14. Set Visible on “false”
  • 15. Choose the middle polyline
  • 16. Choose Properties, then “Dynamic” Tab
  • 17. Set Visible on “false”
  • 18. Choose the middle polyline
  • 19. Choose Properties, then “Dynamic” Tab
  • 20.
  • 21. Right mouse click on all selected element
  • 22. Select “Create a group”Rename the picture group to “groupCar”
  • 23. Set properties for „source“ khoi.tran@simbean.com 12 Write “groupCar” for the entity animation shape Set the unique shape for each entity
  • 24. Create embedded active object khoi.tran@simbean.com Drag & drop the “SpeedControl” active object onto the graphical editor of the “Main” active object 13
  • 25. Code for changing the conveyor behaviour in „Main“ or so called „Root“ active object khoi.tran@simbean.com 14 Write this two lines of code in “Action” property Click on the “SpeedControl” active object to get back to the graphical editor Put the two lines of code Main main = ((Main)getEngine().getRoot()); main.conveyor.set_speed(value);
  • 26. Run the model khoi.tran@simbean.com Click on the run button and choose the simulation 15 You can run the model and see the result Try to change or set properties to see some small effects e.g. Where the property is put on “false”, you can turn it on with “true”. Set and unset the checkboxes. You need to restart the model to see the effects
  • 27. Thank You khoi.tran@simbean.com 16 IF YOU HAVE ANY QUESTION, IDEA, FEEDBACK or DID FIND ANY MISTAKE, PLEASE SEND ME an EMAIL khoi.tran@simbean.com BECAUSE I WANT to IMPROVE CONTINUOUSLY this PRESENTATION. I APPRECIATE a lot YOUR TIME.