SlideShare a Scribd company logo
1 of 18
Become an AnyLogic Expert Step by Step How to create an embedded 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. „DemoEmbeddedObject“ 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 “EmbeddedObject” in the model project
Insert object from palette to an active object khoi.tran@simbean.com 6 Drag & drop all the objects onto the graghical editor
Set properties for parameter „speed“ khoi.tran@simbean.com 7 ,[object Object]
 There is no property changeParameter “speed” in “general” palette Set default value to 10 “speed” is from data  type “double” You need to click on each object to see its properties.
Set properties for object „queue“ khoi.tran@simbean.com 8 ,[object Object],Animation type is “Arrange”
Set properties for object „conveyor“ khoi.tran@simbean.com 9 Change value for “space between entities” Set speed parameter for “Speed” ,[object Object],[object Object]
Set properties for image khoi.tran@simbean.com 11 Drag & drop the image here Set this image as an icon choose the icon image here
Create shape and shape group khoi.tran@simbean.com Draw the car picture with many polyline and ovals 12 ,[object Object]
 Right mouse click on all selected element
 Select “Create a group”Rename the picture group to “groupCar”
Embed an active object to onther active object khoi.tran@simbean.com 13 Drag & drop the active object ”EmbeddedObject” onto the graphical editor Animation part Logic part Each time you drag & drop an active object to another, you can get the animation part and the logic part of the embedded active object
Create and connect embedded active objects khoi.tran@simbean.com After drag & drop three “EmbeddedObjects”, you can make connections and arrange the animations like this 14
Change the value for the parameter khoi.tran@simbean.com 15 Set value for parameter in each embedded active object You can remember we created one parameter in the embedded active object. Now you can set the value for each embedded active object.

More Related Content

Viewers also liked

Swiatowypon
SwiatowyponSwiatowypon
Swiatowyponsknsz
 
The Will to Adorn - Online Collaboration Site
The Will to Adorn - Online Collaboration SiteThe Will to Adorn - Online Collaboration Site
The Will to Adorn - Online Collaboration Sitewilltoadorn
 
Mining the social web ch8 - 1
Mining the social web ch8 - 1Mining the social web ch8 - 1
Mining the social web ch8 - 1scor7910
 
Yapcasia2011 - Hello Embed Perl
Yapcasia2011 - Hello Embed PerlYapcasia2011 - Hello Embed Perl
Yapcasia2011 - Hello Embed PerlHideaki Ohno
 
Free tibet
Free tibetFree tibet
Free tibetsknsz
 
Small Business SEO
Small Business SEOSmall Business SEO
Small Business SEOJa-Nae Duane
 
Power point 4 media
Power point 4 mediaPower point 4 media
Power point 4 mediajackthompson
 
Presentation
PresentationPresentation
Presentationdxinl2000
 
2007 general 2_bd164d_ed01
2007 general 2_bd164d_ed012007 general 2_bd164d_ed01
2007 general 2_bd164d_ed01Anam
 
San francisco native food
San francisco native foodSan francisco native food
San francisco native foodMari Cheung
 
Ban borring words
Ban borring wordsBan borring words
Ban borring wordsKseniaNZ
 
Blacklists amb Squidguard a Debian Squeeze
Blacklists amb Squidguard a Debian SqueezeBlacklists amb Squidguard a Debian Squeeze
Blacklists amb Squidguard a Debian SqueezeJordi Clopés Esteban
 

Viewers also liked (14)

Swiatowypon
SwiatowyponSwiatowypon
Swiatowypon
 
The Will to Adorn - Online Collaboration Site
The Will to Adorn - Online Collaboration SiteThe Will to Adorn - Online Collaboration Site
The Will to Adorn - Online Collaboration Site
 
Pc world spain julio agosto 2013
Pc world spain   julio agosto 2013Pc world spain   julio agosto 2013
Pc world spain julio agosto 2013
 
Mining the social web ch8 - 1
Mining the social web ch8 - 1Mining the social web ch8 - 1
Mining the social web ch8 - 1
 
Yapcasia2011 - Hello Embed Perl
Yapcasia2011 - Hello Embed PerlYapcasia2011 - Hello Embed Perl
Yapcasia2011 - Hello Embed Perl
 
Free tibet
Free tibetFree tibet
Free tibet
 
Small Business SEO
Small Business SEOSmall Business SEO
Small Business SEO
 
Power point 4 media
Power point 4 mediaPower point 4 media
Power point 4 media
 
Presentation
PresentationPresentation
Presentation
 
2007 general 2_bd164d_ed01
2007 general 2_bd164d_ed012007 general 2_bd164d_ed01
2007 general 2_bd164d_ed01
 
San francisco native food
San francisco native foodSan francisco native food
San francisco native food
 
Ban borring words
Ban borring wordsBan borring words
Ban borring words
 
Blacklists amb Squidguard a Debian Squeeze
Blacklists amb Squidguard a Debian SqueezeBlacklists amb Squidguard a Debian Squeeze
Blacklists amb Squidguard a Debian Squeeze
 
Amazon home
Amazon homeAmazon home
Amazon home
 

Recently uploaded

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 
"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
 
"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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
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
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 
"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
 
"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...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
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?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

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

  • 1. Become an AnyLogic Expert Step by Step How to create an embedded 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. „DemoEmbeddedObject“ 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 “EmbeddedObject” in the model project
  • 7. Insert object from palette to an active object khoi.tran@simbean.com 6 Drag & drop all the objects onto the graghical editor
  • 8.
  • 9. There is no property changeParameter “speed” in “general” palette Set default value to 10 “speed” is from data type “double” You need to click on each object to see its properties.
  • 10.
  • 11.
  • 12. Set properties for image khoi.tran@simbean.com 11 Drag & drop the image here Set this image as an icon choose the icon image here
  • 13.
  • 14. Right mouse click on all selected element
  • 15. Select “Create a group”Rename the picture group to “groupCar”
  • 16. Embed an active object to onther active object khoi.tran@simbean.com 13 Drag & drop the active object ”EmbeddedObject” onto the graphical editor Animation part Logic part Each time you drag & drop an active object to another, you can get the animation part and the logic part of the embedded active object
  • 17. Create and connect embedded active objects khoi.tran@simbean.com After drag & drop three “EmbeddedObjects”, you can make connections and arrange the animations like this 14
  • 18. Change the value for the parameter khoi.tran@simbean.com 15 Set value for parameter in each embedded active object You can remember we created one parameter in the embedded active object. Now you can set the value for each embedded active object.
  • 19. Set properties for „source“ khoi.tran@simbean.com 16 Write “groupCar” for the entity animation shape Set the unique shape for each entity
  • 20. Run the model khoi.tran@simbean.com Click on the run button and choose the simulation 17 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 Change the capacity of the queue Change the animation type of the queue to “bag” Change sizes of the rectangle and the polyline Change the properties of conveyor, like “animation direction”, “accumlating”, “speed” etc. You need to restart the model to see the effects
  • 21. Thank You khoi.tran@simbean.com 18 IF YOU HAVE ANY QUESTION, IDEA, FEEDBACK or FIND ANY MISTAKE, PLEASE SEND ME an EMAIL khoi.tran@simbean.com BECAUSE I WOULD LIKE to IMPROVE this SLIDE CONTINUOUSLY. I APPRECIATE a lot YOUR TIME.