SlideShare una empresa de Scribd logo
1 de 25
Models of Modeling

     Roger Smith, PhD, DM, MS, MBA
         Chief Technology Officer
             Florida Hospital
Nicholson Center for Surgical Advancement

            roger.smith@flhosp.org


                Approved for Public Release.
SIMULATION                       SURGEON




          Simulation   Surgeon




           Soldier      Spy


SOLDIER                              SPY
                                       2
Cross-Domain Principles
Commander          Policy        OR Manager




Crew               Cell            OR Team




Soldier            Analyst             EMT




                                         3
Challenges in Modeling Different Worlds
                      Human Body
 Hard Objects             living   Energy Signals
tanks, helos, ships      tissue        rf, eo, ir




                                                    4
90 Mental Models … for Investing
You've got to have models in your head. And you've got to
array your experience ‑ both vicarious and direct ‑ on this
latticework of models. …

What are the models? Well, the first rule is that you've got to
have multiple models ‑ because if you just have one or two that
you're using, the nature of human psychology is such that
you'll torture reality so that it fits your models, or at least you'll
think it does. …

It's like the old saying, "To the man with only a hammer, every
problem looks like a nail." But that's a perfectly disastrous way
to think and a perfectly disastrous way to operate in the
world. …

And the models have to come from multiple disciplines ‑
because all the wisdom of the world is not to be found in one
little academic department. …

You may say, "My God, this is already getting way too                     Charlie Munger
tough." But, fortunately, it isn't that tough ‑ because 80 or 90         Berkshire Hathaway
important models will carry about 90% of the freight in making           (Warren Buffett’s Partner)
you a worldly ‑ wise person. And, of those, only a mere
handful really carry very heavy freight.                                                              5
Mental Models and Tools for Modeling
•   Mathematics            •   Finite State Machine
•   Statistics             •   Markov Chain
•   Physics                •   Continuous vs. Discrete
•   Logic                  •   Sim Languages & Tools
•   Queuing                •   Notations (ER, UML)
•   Human Behavior
•   Economics
•   Social Relationships
•   CFD
•   Finite Element
                                                         6
Holy Grail:

MODELS OF MODELING?




                      7
General Models Created for Courses




                                     8
Pritsker’s Modeling Principles

   •     Conceptualizing a model                                                           •   In modeling combined systems,
         requires system knowledge,                                                            the continuous aspects of the
         engineering judgment, and                                                             problem should be considered
         model-building tools.                                                                 first. The discrete aspects of the
   •     The secret to being a good                                                            model should then be
         modeler is the ability to remodel.                                                    developed.
   •     The modeling process is                                                           •   A model should be evaluated
         evolutionary because the act of                                                       according to its usefulness.
         modeling reveals important                                                            From an absolute perspective, a
         information piecemeal.                                                                model is neither good or bad,
   •                                                                                           nor is it neutral.
         The problem or problem
         statement is the primary                                                          •   The purpose of simulation
         controlling element in model-                                                         modeling is knowledge and
         based problem solving.                                                                understanding, not models.



Source: Pritsker, A. (2000). Papers, Experiences, Perspectives. Systems Publishing Corp.
DES Program Structure
                                                                  Start
                                                   Main
  Initialization                                                                          Timing
                                                  1. Invoke Initialization
1. Set clock                                      2. Invoke Timing                        1. Select next event
2. Set state variables                            3. Invoke Event Handler                 2. Advance sim clock
3. Load event list

                                         Event Handlers
                                                                                           Mathematics
                                                  1. Update state variables
                                                  2. Increment counters                   1. Statistical Distributions
                                                  3. Generate future events               2. Mathematical
                                                                                          Operations

                                                                                     NO
                                                               Finished?
                                                                          YES
                                                  Reports
                                                  1. Compute interest data
                                                  2. Write reports


                                                                  Stop

Source: Law, A & Kelton, W. (1991). Simulation Modeling and Analysis. McGraw Hill.
DEVS Model Structure
             MODEL                                                       Model

                                                             5       Internal Transition
                                                                     •State Data Change                 7 Output Events
                  3      Input Events                                •State Structure Specific             •Event Type
                         •Event Type                                                                       •Time Stamped
                         •Time Stamped                                                                     •Object Identifier
                         •Object Identifier                                                                •(other attributes)
                         •(other attributes)                         1
                                                                      State Set                         6 Output Event
                                                                      •Object Instance                    Generator
                         4                                            •Current Attributes                 •Trigger Condition
                               External Transition
                               •Mathematic Algorithm                                                      •Event Formatting
                               •Event+State Data                                                          •New State Data
                               •State Structure Independent                                               •New Event

                                                                 2       Time Advance
                                                                         •Monotonically Increasing
                                                                         •Distributed Synchronization




Source: Zeigler, Praehofer, Kim. (2000). Theory of Modeling and Simulation. Academic Press.
Kiviat Modeling Approach
      Purpose of the modeling project.

       Problem
       Statement                        Static state of objects.

                           Physical Model                        Relationships between objects.

                                                  Logical Model                       Possible actions.

                                                                        Dynamic Model                        Criteria for taking action.

                                                                                             Decision Process
                                                                                                  Model                     Limiting effects.

                                                                                                                    Control System
                                                                                                                        Model


Source: Kiviat, P. (1998). Interview with Ernie Page for ACM SIGSIM Distinguished Lectureship. http://www.acm.org/sigsim.
The Big Picture: Knowledge Trumps Algorithms
                                             Knowledge
                                             & Skills

                                       Training
                                       Event

                                   Training
                                   System
                               Simulated
                               Environment
                          Simulation
                          System
                       Model
                  Algorithm
Interactive Simulation Architecture


                              Synthetic                                               User
                                                       Models                                         Translators
                              Environment                                             Interfaces


                              Simulation Management

                              Time Management
            Data Management




                              Event Management                                       Object Management

                              Operating System                                       Distribution Management

                              Hardware                                               Network


Source: Smith, R. (2006). Military Simulation Techniques and Technology, DiSTI Course Workbook.
General Modeling Approaches


                                 •    None – Omit Feature and Behavior from the Simulation

                                 •    Geometry – Size and placement of organ

                                 •    Stochastic – Probability of Injury, Mean Time Between Failure

                                 •    Logical – Tissue Properties, Body System

                                 •    Physics – Force, Mass, Friction, Vector Tracing

                                 •    Artificial Intelligence – Human Decision & Perception



Source: Smith, R. (2007). “Military Modeling”, Handbook of Dynamic Systems Modeling, CRC Press.
General Categories for Events

  Planned                                Reactive                               Management             Environment


  Movement Path                          Evade Enemy                            Start                  Crater Terrain
  Search Pattern                         Fire Weapons                           Pause                  Destroy Bridge
  Battle Planning                        Detect Enemy                           Checkpoint             Burn Forest
  Intel Analysis                         Apply Attrition                        Rate Change            Collapse Building



                                                                                    S                            Bridge
                             TARGET
                                                  SAM
                                                                                                        Bld
    SAM
                   CITY
                                                                 CITY                              P

                                                                                                   C          Trees




Source: Smith, R. (2006). Military Simulation Techniques and Technology, DiSTI Course Workbook..
Physical Modeling Cycle

                                       Move
                                                                                                  Sense

    Start Cycle Here




           Communicate


                                                                                              Engage


Source: Smith, R. (2002). Military Simulation Techniques & Technology. DiSTI Course Manual.
Battlespace Abstract Model




Source: Smith, R. (2006). Military Simulation & Serious Games. Modelbenders Press.
Battlespace Abstract Model 2

                                                          Move




                                                     Dynamic
               Perceive                             Environment                             Reason



                                                        Engage


                                                      Exchange


Source: Smith, R. (2007). “Military Modeling”, Handbook of Dynamic Systems Modeling, CRC Press.
Surgical Simulation: No Architectural Concepts
                                                                        Model
                                  Clinical                            Generation                               Vascular
                                 Expertise                                                                    Structures


            Bleeding                                                                                                         Tissue
           Simulation                                                                                                      Parameters


        Tissue Cutting                                                                                                   Organ Texturing



            Tissue
                                                                                                                         Haptic Interface
          Deformation

                                 Collision
                                                                                                          Immersive OR
                                 Detection
                                                                  Fluid Simulation

Source: Harders, M. (2008). Surgical Scene Generation for Virtual Reality Based Training in Medicine. Springer Verlag.                      20
Possible Surgical Simulation Architecture


                    Synthetic                             User
                                       Models                                 Translators
                    Environment                           Interfaces
                                       -Tissue Dynamics                       -Surgeon
                    -Body                                 -Instruments
                                       -Fluid Flow                            -Team
                    -Fluids                               -Video
                                       -Body Response                         -Anesthetist
                    - Pharma                              - Monitors
                    Simulation Management

                    Time Management
Data Management




                    Event Management                      Object Management

                    Operating System                      Distribution Management

                    Hardware                              Network
Read all the code you can find

                               AWSIM
            for(i=1 ; i <= NUMS ; ++i)
             {
            x1 = myPoints[ mySprings[i].i ].x;         y1 =
            myPoints[ mySprings[i].i ].y;
            x2 = myPoints[ mySprings[i].j ].x;
            myPoints[ mySprings[i].j ].y;
                                                       y2 =         TACSIM
                                                    while(x<getmaxx()){
            r12d = sqrt ( (x1 - x2) *(x1 - x2) + (y1 - y2) * (y1 - y2)
                                                    setfillstyle(SOLID_FILL,0);
            );                    // square
                                                    bar(x,y,x+bmp.width,y+bmp.height);
            // root of the distance
            if(r12d != 0)
                                                    x++;
                                                    draw_bitmap(&bmp,x,y);
                                                                                                       Quake
             {
                                                    }                            for (i=0; i<NUM_ITER; i++)
            vx12 = myPoints[ mySprings[i].i ].vx -
            myPoints[ mySprings[i].j ].vx;                                       {
            vy12 = myPoints[ mySprings[i].i ].vy -                                 // Transfer the block N times and simulate
            myPoints[ mySprings[i].j ].vy;                                      corruption
            f = (r12d - mySprings[i].length) * KS + (vx12 * (x1 -                  lostBlockCount = 0;
            x2) + vy12 * (y1 - y2)) * KD / r12d;                                   for (j=0; j<N; j++)
                                                                                     if (rand_val() <= PR_BAD)
                                                                                       lostBlockCount++;

                                                                                     // Are all blocks lost or did some make it through?
                                                                                     if (lostBlockCount == N)
                                                                                       lostDataCount++;
                                                                                     else
                                                                                       goodDataCount++;
                                                                                 }




                                                                                                                                           22
Read all of the books available




                                  23
Advice for the Next Generation
• Just do it
   … Design, build, run your own models
• Generalize
   … Look for general principles
• Read books and code
   … Learn beyond your own experience
• Question other people
   … There are geniuses in our field
• Branch out
   … psychology, system dynamics, medicine, economics …

                                                          24
Download the Presentation




     http://www.modelbenders.com/
        Technical Papers
            Presentations




                                    25

Más contenido relacionado

Destacado

2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report
2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report
2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual ReportYue Dong
 
Dental health care center simulation
Dental health care center simulationDental health care center simulation
Dental health care center simulationقصي نسور
 
Logistics and Supply Chain: A simulation of contract farming using agent base...
Logistics and Supply Chain: A simulation of contract farming using agent base...Logistics and Supply Chain: A simulation of contract farming using agent base...
Logistics and Supply Chain: A simulation of contract farming using agent base...FGV Brazil
 
Modeling and Simulation in Business Process Management
Modeling and Simulation in Business Process ManagementModeling and Simulation in Business Process Management
Modeling and Simulation in Business Process ManagementDenis Gagné
 
Transportation and logistics modeling 1
Transportation and logistics modeling 1Transportation and logistics modeling 1
Transportation and logistics modeling 1karim sal3awi
 
Simulation Applications In Logistics And Transportation
Simulation Applications In Logistics And TransportationSimulation Applications In Logistics And Transportation
Simulation Applications In Logistics And Transportationrahulnaveenaggarwal
 
Application of simulation in anesthesia Application of simulation in anesth...
Application of simulation in anesthesia 	 Application of simulation in anesth...Application of simulation in anesthesia 	 Application of simulation in anesth...
Application of simulation in anesthesia Application of simulation in anesth...MedicineAndHealth
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with SimulationProModel Corporation
 
Applications of simulation in Business with Example
Applications of simulation in Business with ExampleApplications of simulation in Business with Example
Applications of simulation in Business with ExamplePratima Ray
 
Information Technology Project Management - part 11
Information Technology Project Management - part 11Information Technology Project Management - part 11
Information Technology Project Management - part 11Rizwan Khurram
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modelinganhdbh
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniquesmailrenuka
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examplesPravesh Negi
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulationchimco.net
 

Destacado (16)

2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report
2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report
2014 SSH Healthcare Systems Modeling & Simulation Affinity Group Annual Report
 
Dental health care center simulation
Dental health care center simulationDental health care center simulation
Dental health care center simulation
 
Logistics and Supply Chain: A simulation of contract farming using agent base...
Logistics and Supply Chain: A simulation of contract farming using agent base...Logistics and Supply Chain: A simulation of contract farming using agent base...
Logistics and Supply Chain: A simulation of contract farming using agent base...
 
Modeling and Simulation in Business Process Management
Modeling and Simulation in Business Process ManagementModeling and Simulation in Business Process Management
Modeling and Simulation in Business Process Management
 
Transportation and logistics modeling 1
Transportation and logistics modeling 1Transportation and logistics modeling 1
Transportation and logistics modeling 1
 
Simulation Applications In Logistics And Transportation
Simulation Applications In Logistics And TransportationSimulation Applications In Logistics And Transportation
Simulation Applications In Logistics And Transportation
 
Application of simulation in anesthesia Application of simulation in anesth...
Application of simulation in anesthesia 	 Application of simulation in anesth...Application of simulation in anesthesia 	 Application of simulation in anesth...
Application of simulation in anesthesia Application of simulation in anesth...
 
Supply Chain Analytics with Simulation
Supply Chain Analytics with SimulationSupply Chain Analytics with Simulation
Supply Chain Analytics with Simulation
 
Applications of simulation in Business with Example
Applications of simulation in Business with ExampleApplications of simulation in Business with Example
Applications of simulation in Business with Example
 
Information Technology Project Management - part 11
Information Technology Project Management - part 11Information Technology Project Management - part 11
Information Technology Project Management - part 11
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modeling
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniques
 
Chp. 2 simulation examples
Chp. 2 simulation examplesChp. 2 simulation examples
Chp. 2 simulation examples
 
SIMULATION
SIMULATIONSIMULATION
SIMULATION
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulation
 
Simulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture NotesSimulation Powerpoint- Lecture Notes
Simulation Powerpoint- Lecture Notes
 

Similar a Models of Modeling

Intelligent Tutoring Systems: The DynaLearn Approach
Intelligent Tutoring Systems: The DynaLearn ApproachIntelligent Tutoring Systems: The DynaLearn Approach
Intelligent Tutoring Systems: The DynaLearn ApproachWouter Beek
 
Sparkling Logic presents Agile Knowledge Elicitation
Sparkling Logic presents Agile Knowledge ElicitationSparkling Logic presents Agile Knowledge Elicitation
Sparkling Logic presents Agile Knowledge ElicitationCarole-Ann Matignon
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011MDDAY11
 
Improving Cm Programs (Melbourne, 2008)
Improving Cm Programs (Melbourne, 2008)Improving Cm Programs (Melbourne, 2008)
Improving Cm Programs (Melbourne, 2008)Chad Moffiet
 
Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...Kun Le
 
New challenges monolixday2011
New challenges monolixday2011New challenges monolixday2011
New challenges monolixday2011blaudez
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needGibDevs
 
Representing Situations in Assessment - Getting better value from our investment
Representing Situations in Assessment - Getting better value from our investmentRepresenting Situations in Assessment - Getting better value from our investment
Representing Situations in Assessment - Getting better value from our investmentMichael Burnett
 
CFAR-m Presentation English
CFAR-m Presentation EnglishCFAR-m Presentation English
CFAR-m Presentation Englishbusinessangeleu
 
System science documentation
System science documentationSystem science documentation
System science documentationIsmail El Gayar
 
Finding common ground between modelers and simulation software in systems bio...
Finding common ground between modelers and simulation software in systems bio...Finding common ground between modelers and simulation software in systems bio...
Finding common ground between modelers and simulation software in systems bio...Mike Hucka
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulationAysun Duran
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulationmukmin91
 
633-600 Machine Learning
633-600 Machine Learning633-600 Machine Learning
633-600 Machine Learningbutest
 
Mcki lect3ssmcatrd roseusund
Mcki lect3ssmcatrd roseusundMcki lect3ssmcatrd roseusund
Mcki lect3ssmcatrd roseusundTram Nguyen
 
A status update on COMBINE standardization activities, with a focus on SBML
A status update on COMBINE standardization activities, with a focus on SBMLA status update on COMBINE standardization activities, with a focus on SBML
A status update on COMBINE standardization activities, with a focus on SBMLMike Hucka
 
2007 03-16 modeling and static analysis of complex biological systems dsr
2007 03-16 modeling and static analysis of complex biological systems dsr2007 03-16 modeling and static analysis of complex biological systems dsr
2007 03-16 modeling and static analysis of complex biological systems dsrDebora Da Rosa
 

Similar a Models of Modeling (20)

Intelligent Tutoring Systems: The DynaLearn Approach
Intelligent Tutoring Systems: The DynaLearn ApproachIntelligent Tutoring Systems: The DynaLearn Approach
Intelligent Tutoring Systems: The DynaLearn Approach
 
Sparkling Logic presents Agile Knowledge Elicitation
Sparkling Logic presents Agile Knowledge ElicitationSparkling Logic presents Agile Knowledge Elicitation
Sparkling Logic presents Agile Knowledge Elicitation
 
01 introduction
01 introduction01 introduction
01 introduction
 
W4 ucl@md day2011
W4 ucl@md day2011W4 ucl@md day2011
W4 ucl@md day2011
 
Improving Cm Programs (Melbourne, 2008)
Improving Cm Programs (Melbourne, 2008)Improving Cm Programs (Melbourne, 2008)
Improving Cm Programs (Melbourne, 2008)
 
Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...Best practices for building and deploying predictive models over big data pre...
Best practices for building and deploying predictive models over big data pre...
 
New challenges monolixday2011
New challenges monolixday2011New challenges monolixday2011
New challenges monolixday2011
 
Choosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your needChoosing a Machine Learning technique to solve your need
Choosing a Machine Learning technique to solve your need
 
Representing Situations in Assessment - Getting better value from our investment
Representing Situations in Assessment - Getting better value from our investmentRepresenting Situations in Assessment - Getting better value from our investment
Representing Situations in Assessment - Getting better value from our investment
 
CFAR-m Presentation English
CFAR-m Presentation EnglishCFAR-m Presentation English
CFAR-m Presentation English
 
Final Six Sigma
Final Six SigmaFinal Six Sigma
Final Six Sigma
 
System science documentation
System science documentationSystem science documentation
System science documentation
 
Finding common ground between modelers and simulation software in systems bio...
Finding common ground between modelers and simulation software in systems bio...Finding common ground between modelers and simulation software in systems bio...
Finding common ground between modelers and simulation software in systems bio...
 
01 intro
01 intro01 intro
01 intro
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
Introduction to modeling_and_simulation
Introduction to modeling_and_simulationIntroduction to modeling_and_simulation
Introduction to modeling_and_simulation
 
633-600 Machine Learning
633-600 Machine Learning633-600 Machine Learning
633-600 Machine Learning
 
Mcki lect3ssmcatrd roseusund
Mcki lect3ssmcatrd roseusundMcki lect3ssmcatrd roseusund
Mcki lect3ssmcatrd roseusund
 
A status update on COMBINE standardization activities, with a focus on SBML
A status update on COMBINE standardization activities, with a focus on SBMLA status update on COMBINE standardization activities, with a focus on SBML
A status update on COMBINE standardization activities, with a focus on SBML
 
2007 03-16 modeling and static analysis of complex biological systems dsr
2007 03-16 modeling and static analysis of complex biological systems dsr2007 03-16 modeling and static analysis of complex biological systems dsr
2007 03-16 modeling and static analysis of complex biological systems dsr
 

Más de Roger Smith

Surgical Robots: Emerging Technologies
Surgical Robots: Emerging TechnologiesSurgical Robots: Emerging Technologies
Surgical Robots: Emerging TechnologiesRoger Smith
 
A Comprehensive Introduction to Medical Simulation
A Comprehensive Introduction to Medical SimulationA Comprehensive Introduction to Medical Simulation
A Comprehensive Introduction to Medical SimulationRoger Smith
 
Telehealth Protocols to Create Competitive Advantage
Telehealth Protocols to Create Competitive AdvantageTelehealth Protocols to Create Competitive Advantage
Telehealth Protocols to Create Competitive AdvantageRoger Smith
 
RSmith_SIW_Fall2014
RSmith_SIW_Fall2014RSmith_SIW_Fall2014
RSmith_SIW_Fall2014Roger Smith
 
Fundamentals of Robotic Surgery: Summary of Work to Date
Fundamentals of Robotic Surgery: Summary of Work to DateFundamentals of Robotic Surgery: Summary of Work to Date
Fundamentals of Robotic Surgery: Summary of Work to DateRoger Smith
 
Government Applications of Cloud Computing
Government Applications of Cloud ComputingGovernment Applications of Cloud Computing
Government Applications of Cloud ComputingRoger Smith
 
A History of Serious Games
A History of Serious GamesA History of Serious Games
A History of Serious GamesRoger Smith
 
Embracing Game Technology for Medical Education
Embracing Game Technology for Medical EducationEmbracing Game Technology for Medical Education
Embracing Game Technology for Medical EducationRoger Smith
 
History of Games: From Dice to Computers
History of Games: From Dice to ComputersHistory of Games: From Dice to Computers
History of Games: From Dice to ComputersRoger Smith
 
The Role of the CTO in a Growing Organization
The Role of the CTO in a Growing OrganizationThe Role of the CTO in a Growing Organization
The Role of the CTO in a Growing OrganizationRoger Smith
 

Más de Roger Smith (10)

Surgical Robots: Emerging Technologies
Surgical Robots: Emerging TechnologiesSurgical Robots: Emerging Technologies
Surgical Robots: Emerging Technologies
 
A Comprehensive Introduction to Medical Simulation
A Comprehensive Introduction to Medical SimulationA Comprehensive Introduction to Medical Simulation
A Comprehensive Introduction to Medical Simulation
 
Telehealth Protocols to Create Competitive Advantage
Telehealth Protocols to Create Competitive AdvantageTelehealth Protocols to Create Competitive Advantage
Telehealth Protocols to Create Competitive Advantage
 
RSmith_SIW_Fall2014
RSmith_SIW_Fall2014RSmith_SIW_Fall2014
RSmith_SIW_Fall2014
 
Fundamentals of Robotic Surgery: Summary of Work to Date
Fundamentals of Robotic Surgery: Summary of Work to DateFundamentals of Robotic Surgery: Summary of Work to Date
Fundamentals of Robotic Surgery: Summary of Work to Date
 
Government Applications of Cloud Computing
Government Applications of Cloud ComputingGovernment Applications of Cloud Computing
Government Applications of Cloud Computing
 
A History of Serious Games
A History of Serious GamesA History of Serious Games
A History of Serious Games
 
Embracing Game Technology for Medical Education
Embracing Game Technology for Medical EducationEmbracing Game Technology for Medical Education
Embracing Game Technology for Medical Education
 
History of Games: From Dice to Computers
History of Games: From Dice to ComputersHistory of Games: From Dice to Computers
History of Games: From Dice to Computers
 
The Role of the CTO in a Growing Organization
The Role of the CTO in a Growing OrganizationThe Role of the CTO in a Growing Organization
The Role of the CTO in a Growing Organization
 

Models of Modeling

  • 1. Models of Modeling Roger Smith, PhD, DM, MS, MBA Chief Technology Officer Florida Hospital Nicholson Center for Surgical Advancement roger.smith@flhosp.org Approved for Public Release.
  • 2. SIMULATION SURGEON Simulation Surgeon Soldier Spy SOLDIER SPY 2
  • 3. Cross-Domain Principles Commander Policy OR Manager Crew Cell OR Team Soldier Analyst EMT 3
  • 4. Challenges in Modeling Different Worlds Human Body Hard Objects living Energy Signals tanks, helos, ships tissue rf, eo, ir 4
  • 5. 90 Mental Models … for Investing You've got to have models in your head. And you've got to array your experience ‑ both vicarious and direct ‑ on this latticework of models. … What are the models? Well, the first rule is that you've got to have multiple models ‑ because if you just have one or two that you're using, the nature of human psychology is such that you'll torture reality so that it fits your models, or at least you'll think it does. … It's like the old saying, "To the man with only a hammer, every problem looks like a nail." But that's a perfectly disastrous way to think and a perfectly disastrous way to operate in the world. … And the models have to come from multiple disciplines ‑ because all the wisdom of the world is not to be found in one little academic department. … You may say, "My God, this is already getting way too Charlie Munger tough." But, fortunately, it isn't that tough ‑ because 80 or 90 Berkshire Hathaway important models will carry about 90% of the freight in making (Warren Buffett’s Partner) you a worldly ‑ wise person. And, of those, only a mere handful really carry very heavy freight. 5
  • 6. Mental Models and Tools for Modeling • Mathematics • Finite State Machine • Statistics • Markov Chain • Physics • Continuous vs. Discrete • Logic • Sim Languages & Tools • Queuing • Notations (ER, UML) • Human Behavior • Economics • Social Relationships • CFD • Finite Element 6
  • 7. Holy Grail: MODELS OF MODELING? 7
  • 8. General Models Created for Courses 8
  • 9. Pritsker’s Modeling Principles • Conceptualizing a model • In modeling combined systems, requires system knowledge, the continuous aspects of the engineering judgment, and problem should be considered model-building tools. first. The discrete aspects of the • The secret to being a good model should then be modeler is the ability to remodel. developed. • The modeling process is • A model should be evaluated evolutionary because the act of according to its usefulness. modeling reveals important From an absolute perspective, a information piecemeal. model is neither good or bad, • nor is it neutral. The problem or problem statement is the primary • The purpose of simulation controlling element in model- modeling is knowledge and based problem solving. understanding, not models. Source: Pritsker, A. (2000). Papers, Experiences, Perspectives. Systems Publishing Corp.
  • 10. DES Program Structure Start Main Initialization Timing 1. Invoke Initialization 1. Set clock 2. Invoke Timing 1. Select next event 2. Set state variables 3. Invoke Event Handler 2. Advance sim clock 3. Load event list Event Handlers Mathematics 1. Update state variables 2. Increment counters 1. Statistical Distributions 3. Generate future events 2. Mathematical Operations NO Finished? YES Reports 1. Compute interest data 2. Write reports Stop Source: Law, A & Kelton, W. (1991). Simulation Modeling and Analysis. McGraw Hill.
  • 11. DEVS Model Structure MODEL Model 5 Internal Transition •State Data Change 7 Output Events 3 Input Events •State Structure Specific •Event Type •Event Type •Time Stamped •Time Stamped •Object Identifier •Object Identifier •(other attributes) •(other attributes) 1 State Set 6 Output Event •Object Instance Generator 4 •Current Attributes •Trigger Condition External Transition •Mathematic Algorithm •Event Formatting •Event+State Data •New State Data •State Structure Independent •New Event 2 Time Advance •Monotonically Increasing •Distributed Synchronization Source: Zeigler, Praehofer, Kim. (2000). Theory of Modeling and Simulation. Academic Press.
  • 12. Kiviat Modeling Approach Purpose of the modeling project. Problem Statement Static state of objects. Physical Model Relationships between objects. Logical Model Possible actions. Dynamic Model Criteria for taking action. Decision Process Model Limiting effects. Control System Model Source: Kiviat, P. (1998). Interview with Ernie Page for ACM SIGSIM Distinguished Lectureship. http://www.acm.org/sigsim.
  • 13. The Big Picture: Knowledge Trumps Algorithms Knowledge & Skills Training Event Training System Simulated Environment Simulation System Model Algorithm
  • 14. Interactive Simulation Architecture Synthetic User Models Translators Environment Interfaces Simulation Management Time Management Data Management Event Management Object Management Operating System Distribution Management Hardware Network Source: Smith, R. (2006). Military Simulation Techniques and Technology, DiSTI Course Workbook.
  • 15. General Modeling Approaches • None – Omit Feature and Behavior from the Simulation • Geometry – Size and placement of organ • Stochastic – Probability of Injury, Mean Time Between Failure • Logical – Tissue Properties, Body System • Physics – Force, Mass, Friction, Vector Tracing • Artificial Intelligence – Human Decision & Perception Source: Smith, R. (2007). “Military Modeling”, Handbook of Dynamic Systems Modeling, CRC Press.
  • 16. General Categories for Events Planned Reactive Management Environment Movement Path Evade Enemy Start Crater Terrain Search Pattern Fire Weapons Pause Destroy Bridge Battle Planning Detect Enemy Checkpoint Burn Forest Intel Analysis Apply Attrition Rate Change Collapse Building S Bridge TARGET SAM Bld SAM CITY CITY P C Trees Source: Smith, R. (2006). Military Simulation Techniques and Technology, DiSTI Course Workbook..
  • 17. Physical Modeling Cycle Move Sense Start Cycle Here Communicate Engage Source: Smith, R. (2002). Military Simulation Techniques & Technology. DiSTI Course Manual.
  • 18. Battlespace Abstract Model Source: Smith, R. (2006). Military Simulation & Serious Games. Modelbenders Press.
  • 19. Battlespace Abstract Model 2 Move Dynamic Perceive Environment Reason Engage Exchange Source: Smith, R. (2007). “Military Modeling”, Handbook of Dynamic Systems Modeling, CRC Press.
  • 20. Surgical Simulation: No Architectural Concepts Model Clinical Generation Vascular Expertise Structures Bleeding Tissue Simulation Parameters Tissue Cutting Organ Texturing Tissue Haptic Interface Deformation Collision Immersive OR Detection Fluid Simulation Source: Harders, M. (2008). Surgical Scene Generation for Virtual Reality Based Training in Medicine. Springer Verlag. 20
  • 21. Possible Surgical Simulation Architecture Synthetic User Models Translators Environment Interfaces -Tissue Dynamics -Surgeon -Body -Instruments -Fluid Flow -Team -Fluids -Video -Body Response -Anesthetist - Pharma - Monitors Simulation Management Time Management Data Management Event Management Object Management Operating System Distribution Management Hardware Network
  • 22. Read all the code you can find AWSIM for(i=1 ; i <= NUMS ; ++i) { x1 = myPoints[ mySprings[i].i ].x; y1 = myPoints[ mySprings[i].i ].y; x2 = myPoints[ mySprings[i].j ].x; myPoints[ mySprings[i].j ].y; y2 = TACSIM while(x<getmaxx()){ r12d = sqrt ( (x1 - x2) *(x1 - x2) + (y1 - y2) * (y1 - y2) setfillstyle(SOLID_FILL,0); ); // square bar(x,y,x+bmp.width,y+bmp.height); // root of the distance if(r12d != 0) x++; draw_bitmap(&bmp,x,y); Quake { } for (i=0; i<NUM_ITER; i++) vx12 = myPoints[ mySprings[i].i ].vx - myPoints[ mySprings[i].j ].vx; { vy12 = myPoints[ mySprings[i].i ].vy - // Transfer the block N times and simulate myPoints[ mySprings[i].j ].vy; corruption f = (r12d - mySprings[i].length) * KS + (vx12 * (x1 - lostBlockCount = 0; x2) + vy12 * (y1 - y2)) * KD / r12d; for (j=0; j<N; j++) if (rand_val() <= PR_BAD) lostBlockCount++; // Are all blocks lost or did some make it through? if (lostBlockCount == N) lostDataCount++; else goodDataCount++; } 22
  • 23. Read all of the books available 23
  • 24. Advice for the Next Generation • Just do it … Design, build, run your own models • Generalize … Look for general principles • Read books and code … Learn beyond your own experience • Question other people … There are geniuses in our field • Branch out … psychology, system dynamics, medicine, economics … 24
  • 25. Download the Presentation http://www.modelbenders.com/ Technical Papers  Presentations 25

Notas del editor

  1. Sim – OR mathematics, Numerical Analysis Soldier – AF F-16 v SAM, Chem War, CONUS AD, WPC Sims, ALBAM, NRO National Intel Spy – Army Elec Intel, NSA Elec, DIA Resource Mgmt, Navy ***, Info War, TechInt Introp Soldier – Serious Games, HPC Sim, Sim as Service, Medical Sim Surgeon – Robotic Surgeon, Physiology
  2. Mathematics to Modeling AF COVAS: take over from 2 year programmer AF AWSIM: Games and reading code Joint ALBAM: From scratch. Team division. Optimization (Tiger Labs) Army TACSIM: Reading code. Code in the field. Reforger. UFL printouts. NSA TRG. New customer, old models. Back to UFL. Importance of use, not algorithms. NSA JSIG. DIA DOMINO. Army FCS. Abstraction. Joint COSCOMO.
  3. Soldier Dynamic Combat Interactions Hard Physics Visualization Interrupt Spy Data collection &amp; analysis Energy &amp; Signature Reveal what is hidden Do not interact Surgeon 1-on-1 connection Active Intervention Reactive to Body Soft Physics, Tissue, Fluids Validation
  4. http://www.paladinvest.com/pifiles/MungersWorldlyWisdom.htm http://robdkelly.com/blog/models-frameworks/munger-mental-models/ You&apos;ve got to have  models  in your head.  And you&apos;ve got to array your experience ‑ both vicarious and direct ‑ on this latticework of models.  You may have noticed students who just try to remember and pound back what is remembered.   Well, they fail in school and in life.  You&apos;ve got to hang experience on a latticework of models in your head. What are the models?  Well, the first rule is that you&apos;ve got to have  multiple  models ‑ because if you just have one or two that you&apos;re using, the nature of human psychology is such that you&apos;ll torture  reality so that it fits your models, or at least you&apos;ll think it does. It&apos;s like the old saying, &amp;quot;To the man with only a hammer, every problem looks like a nail.&amp;quot;  But that&apos;s a perfectly disastrous way to think and a perfectly disastrous way to operate in the world.  So you&apos;ve got to have multiple models. And the models have to come from multiple disciplines ‑ because all the wisdom of the world is not to be found in one little academic department.  That&apos;s why poetry professors, by and large, are so unwise in a worldly sense.  They don&apos;t have enough models in their heads.  So you&apos;ve got to have models across a fair array of disciplines. You may say, &amp;quot;My God, this is already getting way too tough.&amp;quot;  But, fortunately, it  isn&apos;t  that tough ‑ because 80 or 90 important models will carry about 90% of the freight in making you a worldly ‑ wise person.  And, of those, only a mere handful really carry very heavy freight.
  5. These seven principles of modeling are derived by Alan B. Pritsker of Pritsker Corporation. He is one of the early developers of simulation specific languages and commercial simulation products. Specifically, I want you to notice the last item. Pritsker makes the excellent point that we create and use simulations in an attempt to increase our understanding of a system or situations. Models are not constructed as exercises in clever thinking, they are intended for some practical and valuable end. A more detailed description of each of these can be found in the Handbook of Simulation , edited by Jerry Banks for John Wiley &amp; Sons, 1998.
  6. Traditional process flow simulations often share a familiar structure. The flow of the program is controlled by a “main” routine that is started by the user and calls the other routines that are the model and its infrastructure. The first step is to call an initialization routine that knows the format of the input file and is able to deliver the contents of that file to the “main” for processing by the rest of the simulation. The input file will contain information that sets the beginning time of the simulation and prepared events that are to execute at specific times. The Timing routine responds to the event times and sets the clock according to the events. Event routines process each event and modify state variables. These routines are the real model within the software. These are supported by the use of packaged and perhaps commercial Library routines that perform specific scheduling, mathematic, and statistical operations. Traditionally, these libraries have allowed non-mathematicians to use advanced mathematics without being required to program every algorithm. The execution of event usually occurs in a loop that finishes when all planned and caused events are processed. When the loop exits it turns control to a Report routine that uses information gathered during simulation execution to generate tabular summaries that address the problem to be solved.
  7. The basic Model begins by defining the boundary of what is internal and what is external. The core of the model is the State Set, the attributes which define the existence and capabilities of the objects. From an outside source, like a GUI or event script, External Input Events are delivered. These bring events which have some form of impact on the internal State Set of this model. The events are handled by External Transition Functions which understand their content and calculate its meaning or mapping to the internal State Set. Internal Transition functions apply the effects of the mapped events to specific state values. Output Event Generators are triggered when a state value is changed or an event is created that must be propagated to another model. These generators marshal the necessary information into Output Events which leave this model and are delivered to other models. Formally this definition is known as a 7-tuple. This means that it is described by a set of seven different variables or characteristics. The mathematical form of this concept comes from Theory of Modelling and Simulation, by Bernard Zeigler.
  8. In a 1998 interview, Phil Kiviat, one of the early founders of discrete event simulation, described five characteristics of the real world that needed to be captured in a model. Together these represent what is most important about the objects under study. 1) Physical. The model must capture details about what the object is. This is often done in a descriptive way, capturing the static state of the object. 2) Logical (Relationships). The model must represent the relationships between the objects in the simulation. There is a tie between objects that is not physical, but is logical. 3) Dynamics. The model must capture the dynamic behavior of an object - how does it move or react when it bumps into another object. 4) Decision Processes. How does the object make decisions? What criteria are used to decide what to do under a given circumstance? 5) Control Systems. What controls or limits the activities of the model?
  9. The components within a simulation system support increasing complexity and allow the system to grow and spread over many computers. This diagram illustrates the most dominant functionality found in many major simulation products. A specific product will include additional layers or components to meet its specific needs, but the components shown here are found in some form in almost all large simulation products. 1) Hardware and Networks. 2) Operating System and Distribution Management. 3) Data Management. 4) Event and Object Management. 5) Time Management. 6) Synthetic Environment. 7) Models. 8) User Interfaces. 9) Translators.
  10. There is not a universal list of event types that are useful for all simulations. However, military simulations tend to focus on events that fall into three broad categories. Planned Events are scheduled for the future with the intention of achieving some objective. In the past these usually came from a human user. However, with the increase in Artificial Intelligence in simulations these may also be created by the Modeling Engine. These include long-term battle planning, intelligence analysis, flight plans, and search patterns. Reactive Events are those executed immediately in response to other events occurring to or around them. These are often generated by the objects themselves without waiting for inputs from the user. These may include firing upon an enemy that has been detected, evading an enemy vehicle that is attacking that object, detecting other vehicles as an ongoing part of a mission, and calculating and posting attrition in response to engagements. Exercise Management Events are used to control the flow of the exercise, maintain synchronization, and respond to the needs of the human operators. Environmental Events are used to propagate changes made to terrain, vegetation, buildings, etc. in one simulation that need to be replicated in another.
  11. Typical military simulation have focused on the actions of movement, sensor detection, and engagement/attrition. Additional models were viewed as supporting features for “the big three”. As simulations became more object oriented each object gained a level of independence that required significant communication with other objects to operate. These communications could be included as part of the infrastructure, or they could be modeled according to the phenomena that allow the operations in the real world. Object specialization also means that the “engagement” actions may no longer be the universal activity. Instead, the operation phase will execute the primary operation for which each specific object exists in the simulation. This change in perspective still considers objects as vehicles or creatures that dynamically interact with the environment. However, buildings and similar cultural features may also be treated as independent objects. These features are currently treated as part of the environment.
  12. The components within a simulation system support increasing complexity and allow the system to grow and spread over many computers. This diagram illustrates the most dominant functionality found in many major simulation products. A specific product will include additional layers or components to meet its specific needs, but the components shown here are found in some form in almost all large simulation products. 1) Hardware and Networks. 2) Operating System and Distribution Management. 3) Data Management. 4) Event and Object Management. 5) Time Management. 6) Synthetic Environment. 7) Models. 8) User Interfaces. 9) Translators.