Distance Surface: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
In the following sections we will examine all of the model files for this model. Note that instead of downloading the zip file above, you could just copy the text in the boxes below into a text editor and save it with the appropriate name (Section title). Opening the resulting .scn file in the SELES simulator would run this model. | In the following sections we will examine all of the model files for this model. Note that instead of downloading the zip file above, you could just copy the text in the boxes below into a text editor and save it with the appropriate name (Section title). Opening the resulting .scn file in the SELES simulator would run this model. | ||
=== | ===Dist2Roads.scn=== | ||
SELES Scenario | |||
$gisData$ = ..\..\CaseStudy\gisData\cell | |||
StudyArea = $gisData$\StudyArea | |||
SrcLayer = $gisData$\roads | |||
Model Dimensions: StudyArea | |||
Model.sel | |||
SimPriority Low Priority | |||
SimStart 100000 1 | |||
=== | ===Dist2Streams.scn=== | ||
SELES Scenario | |||
$gisData$ = ..\..\CaseStudy\gisData\cell | |||
StudyArea = $gisData$\StudyArea | |||
SrcLayer = $gisData$\water | |||
Model Dimensions: StudyArea | |||
Model.sel | |||
SimPriority Low Priority | |||
SimStart 100000 1 | |||
===Model.lse=== | |||
Seles Model | |||
Landscape Events: | |||
Distance.lse DEBUG | |||
Spatial Constants: | |||
StudyArea | |||
SrcLayer | |||
Global Constants: | |||
CellWidth = CELL WIDTH(StudyArea) | |||
Spatial Variables: | |||
DistanceFromSrc[CellWidth*(NumRows^2 + NumCols^2)^0.5 + 1] <= 0 | |||
NearestSrcLoc[-1] <= 0 | |||
==Suggested Experiments== | ==Suggested Experiments== | ||
To explore this cellular automata model further, try the following: | To explore this cellular automata model further, try the following: | ||
Revision as of 16:53, 14 November 2006
Summary
Screenshot
Download Model
Download the .scn, .sel and .lse files by clicking on the following link: File:DistanceSurface.zip
Model Code Exploration
In the following sections we will examine all of the model files for this model. Note that instead of downloading the zip file above, you could just copy the text in the boxes below into a text editor and save it with the appropriate name (Section title). Opening the resulting .scn file in the SELES simulator would run this model.
Dist2Roads.scn
SELES Scenario $gisData$ = ..\..\CaseStudy\gisData\cell StudyArea = $gisData$\StudyArea SrcLayer = $gisData$\roads Model Dimensions: StudyArea Model.sel SimPriority Low Priority SimStart 100000 1
Dist2Streams.scn
SELES Scenario $gisData$ = ..\..\CaseStudy\gisData\cell StudyArea = $gisData$\StudyArea SrcLayer = $gisData$\water Model Dimensions: StudyArea Model.sel SimPriority Low Priority SimStart 100000 1
Model.lse
Seles Model Landscape Events: Distance.lse DEBUG Spatial Constants: StudyArea SrcLayer Global Constants: CellWidth = CELL WIDTH(StudyArea) Spatial Variables: DistanceFromSrc[CellWidth*(NumRows^2 + NumCols^2)^0.5 + 1] <= 0 NearestSrcLoc[-1] <= 0
Suggested Experiments
To explore this cellular automata model further, try the following: