SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Destacado

V norte 1web
V norte 1webV norte 1web
V norte 1web
Anam
 
Head first statistics ch15
Head first statistics ch15Head first statistics ch15
Head first statistics ch15
scor7910
 
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
sknsz
 
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
 
Zdjęcia
ZdjęciaZdjęcia
Zdjęcia
sknsz
 
Seychelles offshore company
Seychelles offshore companySeychelles offshore company
Seychelles offshore company
jonessmith
 
Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12Llista provisional d'inscrits ve'12
Llista provisional d'inscrits ve'12
Anam
 
Swiatowyponchiny
SwiatowyponchinySwiatowyponchiny
Swiatowyponchiny
sknsz
 

Destacado (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
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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.