Jackson State University Workshop Kate Cahill...
Transcript of Jackson State University Workshop Kate Cahill...
Computational Science Skills
• Computationalscienceprovidesskillsneededinthepresentandfutureworkforce– Understandingofmodelingtechniquesthatareusedinresearchandbusiness
– Datamanagementskills– Analyticalskills– Teamworkskills– Communicationsskills
• Inquiry-basededucationapproachengagesstudentsinlearning
3
Acquiring the Appropriate Skills
• Beginwithbasicmodelingskills– Whatisamodel?
• Modelsofphysicalsystems• Modelsofsocialsystems
– Howdoyoucreateamodel?• Understandingcauseandeffect• Representingtherelationshipsinmathematicalterms
– Howdoyouimplementthemodelonthecomputer– Howtoyouknowifthemodelis“right”
4
Steps Toward Competency
• Investigatehowmodelshavebeenusedtogaininsightsaboutcomplexsystems– Observeandmanipulatebuiltmodelsonpersonalcomputers
• Usemodelingtoolstoaddnewcomponentstoexistingmodels
• Buildnewmodelsofinterestingsystems• Usethemodeltoexplorethesystem• Presentresultsinwritingandorally
5
Progression of Technical Skills
• Usingmodelingtoolsonapersonalcomputer• Learningprogrammingskills• Advancingappliedmathskills• Applyingskillstothestudent’sacademicmajor– Startingwithsimplemodelsonpersonalcomputers
– Expandingtolarge-scaleapplicationsonsupercomputers
6
Integrating Materials into the Curriculum
• Modelcompetencies• http://hpcuniversity.org/educators/competencies/
7
Goals for this Session
• Demonstratethepedagogyforcomputationalscienceeducation
• Progressionofpossibleactivities– Usingcompletemodelstodemonstrateprinciples– Runningmodelstogaininsightsintosystembehavior
– Modifyingmodelstorelaxassumptions– Buildingnewmodels
8
What We Will Cover
• Introducematerialsandmodelsthatcanbeincorporatedforclassroomuse
• Introducesimpletoolsthatcanbeusedtobuildanddemonstratemodelingtechniques
• Providealistofresourcesyoucanexploreindetaillater
9
Step 2: Reference Materials
• https://www.osc.edu/~kcahill–ChooseComputationalThinkingWorkshopMaterials
10
Simple Models with Excel
• Opendatasetsfolder• Opensimplepopulation.xlsx
– Principle– HAVE=HAD+Change• Opensaltdiffusion.xlsx
– Principle– “Iamtheaverageofmyneighbors”
11
More Examples
• Examplesfromseveralofthetoolswewillbeusinginthisworkshopalongwithlessonplans
• http://www.shodor.org/talks-new/
12
Starting with Simple Models and Tools
• Canusesimplemodelstoillustratemodelingprinciplesanddefinitions
• Modelsofchangeinspaceand/ortime:HAVE=HAD+CHANGE• Whichphenomenaemploythisbasicconcept?• Example– gotodatasetsfolder• OpenSimplePopulation.xls
13
Mostly hidden Excel Capabilities
• Sliderbar– AccessviaDevelopermenu– File/options/customizeribbon– ChooseAlltabs– moveDeveloperandturniton
• InsertScrollBar• AssociateitsvaluewithacellD11• Valueof50• ValueofD8isD11/100• Closethisspreadsheet
14
Another simple model
• Iamtheaverageofmyneighbors• Representationofaspacebyamatrixofvaluesrepresentinglocationandadjacency– 2Dor3D
• Whatismodeledinthisway?
15
More Excel tricks
• Opensaltdiffusion.xlsx– Notethematrixofnumbers– Eachcelliscalculatedastheaverageofitsneighbors– InD5insert50or=B5– Notethechangeofcolor– NowusetheF9keytoincrementallycalculatetheresults
• Turnedcalculationtomanual• Addedformattingtocellsbasedonvalue
16
Built Models You Can Use in Classroom
• Gotoworkshopwebsitereferredtoearlier• ScrolldownthelisttoJavaApplets
– Choosehistogram– Abilitytoexaminetheimpactofcategorizationonthedescriptionofadistribution
• NowscrolltoResourcesforComputationalModeling– FindSharedscienceinstructionalmodules- PHET
17
Explore Other Relevant Examples
• Lookatsitesrelevanttoyourdiscipline– Computationalphysics– Computationalchemistry– MoreShodor examples– Engineering– Economics– Andsoon
18
Systems Model Tools
• Thereareseveralsystemsmodelingpackagesthatcanprovidesimilarlearningexperiences
• iThink;BerkeleyMadonna;Stella• Vensim
– Freeeducationversion– Graphicaluserinterfacetomodeling
• Openbunnycomparison.mdl
19
Some Sketch Tools
Auxiliary Variable (constant)
Box Variable (Level)
Arrow (connects cause and effect)
Rate
More Vensim Examples
• Otherexamples– AdvancedSIR– Pharmamodel
• Cansaverunsunderdifferentnames• Comparerunsonthesamegraph• Interactivelychangeparameterstofindatarget
21
Not So Secret Agent
• Whatisanagent?– Anautonomousentitythatactsaccordingtoasetofrulesorconstraints
– Multipleagentsareinvolvedincomplexsystems,eachactinginaparticularway
– Agentsthat“meet”theninteracttoproduceanothersetofoutcomes
– Theresultingoutcomesareoftendifferentthanonewouldexpectduetothecomplexityoftheinteractions
– Mostagent-basedmodelsintroducetheideaofrandomnessintheinteractionrules– i.e.MonteCarlosimulations
Some Modeling Conveniences
• Agentscanactbothinspaceandintime– Explicitspatialmovementisoftenimportanttoaccuratelyrepresentsomephenomena
– Moredifficulttodowithotherapproaches– Morerealisticrepresentationsofspatialphenomenaarepossible
Some Examples
• Spatiallyexplicitmodelsofthespreadofdisease
• Growthofurbanareas• Supplychainoptimization• Humancellandimmunesystemmodels• Biochemicalprocesses• Consumerbehaviorandeconomicsmodels
Agent Models Tell A Story
• Shoulddescribethebehaviorsbeforemodelbuilding
• Exampleofsimplediseasemodel– Agents:People– Peopleareeitherhealthyorsick– Foracontagiousdisease,whatisthestoryoftheinteractionofhealthyandsickpeople?
27
Defining Agent Behavior
•Logintowww.agentcubesonline.com– Usernameshodor0– Password:sh0d0r1f1c•ClickonAgentCubes logoattop•Typerpanoff inthesearchboxatbottom•ChooseCLASS_SIRonthebottom
Story behind this model
• Agentswithtwostates• Ifthey“meet”thereissomeprobabilitythatahealthypersonwillbecomesick
• Examinetheprogramsyntax• ClickonPersonAgent
29
Second Example
• Gobackandtorpanoff modelslist• SelectFlat_fire• Notetherearetreeswiththreestates• Storybehindthismodel
30
Running the Model
• ClickonthefingerinthepalletontheWorksheetwindowthenatreeandRun– Observethebehavior– whatistheresult?– Clck StopthenReset– Nowchangetheburnprob onSimulationPropertiesto5.0
– Howdotheresultscompare?
Agents and Behavior
• Agentscanhaveseveralstates– E.G.Tree– green,onfire,burntover– Eachstatehasaneditabledepiction
• RightclickonthetreeorclickthetreeandusetheGallery– EditBehavior– Simplegraphicalprogrammingenvironment
Moving to Supercomputer Scale
• Oncestudentsunderstandthebasicprinciplesofaparticulartypeofmodel– canscalemodelstorunonsupercomputers
• Usecommunitycodesorsciencegateways• Approachtheproblemsinasimilarway
– Makemultiplerunstounderstandsystembehavior
– Poseproblemsthatchangeafinitesetofmodelparameterstoanswerspecificquestions
33
HPCUniversity.org
• Repositoryofmaterials– Workshopslides– Linkstovideos– Exercises
• Eventscalendar– conferences,deadlines• Fellowships,Internships&JobPostings
34
Reference Materials Reminder
• https://www.osc.edu/~kcahill–ChooseComputationalThinkingWorkshopMaterials
–Thispresentationishere:• http://hpcuniversity.org/trainingMaterials/238/
36