29
1 Circuitscape Design Circuitscape Design Review Presentation Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

Embed Size (px)

Citation preview

Page 1: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

1

Circuitscape Design Review Circuitscape Design Review PresentationPresentation

Team CircuitscapeMike SchulteSean CollinsKatie RankinCarl Reniker

Page 2: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

2

Client: Dr. Brad McRaeClient: Dr. Brad McRae

Researcher in Forestry departmentWorks on gene flow theory

– Study of how genetic information travels between animal populations

Developed resistor theory for gene flowUsed resistor theory for doctoral

dissertation

Page 3: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

3

Population GeneticsPopulation Genetics

Study of flow of genetic information between demes– Demes are groups of animals

Gene flow theory– Concerned with amount of genetic flow and

difference– Not concerned with the spread of specific traits

Page 4: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

4

Population Genetics Example

Page 5: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

5Sneetch samples

Example Continued

Sneetch habitat

Not sneetch habitat

Page 6: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

6

C

D

A

B

Example Continued

Page 7: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

7

E F

Population Genetics Example

Page 8: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

8

….very much like conductance in a circuit

A B

C

1 1

1

A BG = 1

Nm = 1A B

1 1

1A B

C

Conceptual Basis for Resistor TheoryGene flow is increased by multiple connections and pathways

Page 9: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

9

ProblemProblem

Currently Coded in Matlab– Limited Distribution

Expensive Not user friendly Most people cannot run the program

Page 10: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

10

SolutionSolution

Easily Accessible & User Friendly

Page 11: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

11

Spiral Model Methodology & Spiral Model Methodology & RationaleRationale

4 steps– Planning– Create prototype– Submit prototype to sponsor– Redefine prototype and requirements

Page 12: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

12

Architecture OverviewArchitecture Overview

GUI

FileReader Matrix SolverFile

Writer

Page 13: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

13

GUI ModuleGUI Module

GUI module provides a convenient interface for the users to select options.

These options are parameters for the calculations and the names and locations of data files.

Page 14: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

14

Reader ModuleReader Module

reads in ACSII text filesThe module translates the data contained in

the text files and passes it to the Matrix Solver module.

Page 15: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

15

Matrix Solver ModuleMatrix Solver Module

calculate genetic conductivitymaintains a uniform representation of the

habitat generated from data from the Reader module.

the JMP library is used to solve the system of linear equations

Page 16: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

16

Writer ModuleWriter Module

writes the data generated by Matrix Solver module to ASCII text files

Page 17: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

17

Starting ScreenStarting Screen

Page 18: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

18

GIS Node Value FileGIS Node Value File

Page 19: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

19

GIS Points of InterestGIS Points of Interest

Page 20: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

20

Example: GISExample: GIS

Page 21: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

21

Output ResistancesOutput Resistances

Page 22: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

22

Error HandlingError Handling

The GUI displays a pop-up for errors, such as:– File not found– Invalid input files– Warnings about possibly unwanted effects

Page 23: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

23

Challenges CompletedChallenges Completed

Challenge

Understanding how the simulation is supposed to model gene flow

Solution

Meetings and e-mail correspondence with sponsor

Page 24: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

24

Challenges Completed, cont.Challenges Completed, cont.

Challenge

Finding effective conductance/ resistance between two points on a grid of resistors.

Solution– Nodal analysis is applied to the grid to generate

a system of linear equations. – The JMP library is used to solve this system as

a sparse matrix equation.

Page 25: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

25

Challenges RemainingChallenges Remaining

Challenge

Handling very large data sets (at least 100,000 data points) without running out of memory.

Plan – Experiment with different algorithms for solving

matrix.– Use and discard input values and calculated data rather

than storing it in memory.

Page 26: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

26

Challenges Remaining, cont.Challenges Remaining, cont.

Challenge

Allowing the user to define the relationship between distance and conductance with an equation at runtime.

Plan

Find and incorporate a free library which parses a string into an equation.

Page 27: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

27

Completed TasksCompleted TasksMarch 10 Find effective conductance/resistance Find distance Merge nodes with zero resistance March 31 GUI Reading from Excel and GIS files Writing data to text files Handling diagonal connectionsApril 5 Finding disconnected regions Generating current maps

Page 28: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

28

Remaining TasksRemaining TasksApril 12 Handling nonadjacent nodes defined by a

functionApril 19 Stress testing and optimization for memory

usage Usability TestingApril 30 Code Documentation User Documentation

Page 29: 1 Circuitscape Design Review Presentation Team Circuitscape Mike Schulte Sean Collins Katie Rankin Carl Reniker

29

ConclusionConclusion

Gene flow simulations are an important tool for conservation planning and wildlife research.

There are definite areas for expansion that cannot be implemented because of time constraints.