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

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
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
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 Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"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
 
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
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
"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
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Recently uploaded (20)

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
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
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 Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"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
 
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?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
"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
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

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.