Kepler Deana Pennington LTER Network Office. Download Kepler Kepler website: website: .

Post on 05-Jan-2016

230 views 5 download

Tags:

transcript

KeplerKepler

Deana PenningtonDeana Pennington

LTER Network OfficeLTER Network Office

Download KeplerDownload Kepler• Kepler website: Kepler website: www.www.kepler-project.orgkepler-project.org

• Click on the Downloads linkClick on the Downloads link• Page down to Nightly Build VersionPage down to Nightly Build Version• Click on www…..nightly/zipClick on www…..nightly/zip• Click on bottom file: kepler20070109.zipClick on bottom file: kepler20070109.zip• Save to desktopSave to desktop• Double click on installerDouble click on installer• Accept all defaults EXCEPT: install to c:\ not to Accept all defaults EXCEPT: install to c:\ not to

Program FilesProgram Files• When install is finished, there should be a directory When install is finished, there should be a directory

c:\kepler20070109 – open itc:\kepler20070109 – open it• Click on kepler.batClick on kepler.bat• Wait patiently!Wait patiently!

Kepler start up screenKepler start up screen

Model building area

(Canvas)

Library of components

Navigation area

Tool bar

Search

• The graph editorThe graph editor– Tool barTool bar– Data tabData tab– Component tabComponent tab– CanvasCanvas– Overview paneOverview pane

Director/Actor Director/Actor MetaphorMetaphor

• Directors define the model of computation to be used in the Directors define the model of computation to be used in the workflowworkflow

• Every workflow must specify a directorEvery workflow must specify a director

Actors know HOW to act..know their partDirectors know WHEN they should act

Kepler Directors:1. Continuous Time2. Discrete Event3. Process Network: procedural4. Synchronized Data Flow: subset of Process Net

Actor

Actor

Actor

Director

Actors & portsActors & portsactor name

data

ports

Input data parameters Output data

Atomic actor

1 input port 2 output ports

Reads a datasetInitializing parameters

function

Composite ActorsComposite Actors

Composite actor

OpenActor

input

output

Tool BarTool Bar

• Viewing

• Running

• Adding ports

ViewingViewing

•Zoom In

•Zoom Reset

•Zoom Fit

•Full Screen•Zoom Out

Running WorkflowRunning Workflow

• Run or resume workflow

• Pause the workflow

• Stop the workflow

Running WorkflowRunning Workflow

Running WorkflowRunning WorkflowRun WindowRun Window

Adding PortsAdding Ports

• New input port• New output port

• New input/output port

• New input multiport

• New output multiport

• New input/output multiport

“Relation”

Adding ports to actorsAdding ports to actors

Data TypesString [text]Int [numeric integer]Double [numeric decimal]{ } array [n-D matrix]

SearchingSearching

• DataData

• ActorsActors

• DirectorsDirectors

ActorsActors

• Actors are components that execute and Actors are components that execute and communicate with other actors in a model. communicate with other actors in a model.

Actor LibraryActor Library

• Variety of actors Variety of actors grouped in different grouped in different ways, according to ways, according to different ontologiesdifferent ontologies

• Same actor shows up in Same actor shows up in multiple places in the multiple places in the hierarchieshierarchies

DirectorDirector

• Governs the execution of a workflow.Governs the execution of a workflow.

Director LibraryDirector Library

• A variety of directors A variety of directors depending upon the depending upon the type of model being type of model being executed.executed.

Get documentationGet documentation

Using KeplerUsing Kepler

• Executing a ready to run workflowExecuting a ready to run workflow

• Building a workflowBuilding a workflow

– Choosing a directorChoosing a director– Choosing actorsChoosing actors– Making connectionsMaking connections– Building composite actorsBuilding composite actors– Saving and running the modelSaving and running the model

Open Lotka-Volterra Open Lotka-Volterra DemoDemo

Lotka-VolterraLotka-Volterra Predator Prey Model Predator Prey Model

ActorsActors

• The population growth of The population growth of species 1 (prey)species 1 (prey)

• The population growth of The population growth of species 2 (predator)species 2 (predator)

Running WorkflowRunning Workflow

Running WorkflowRunning WorkflowRun WindowRun Window

Plotting Tool barPlotting Tool bar

printingReset X and Y ranges to their original values

Set plot format

Rescale plot to fit the data

Setting the Plot formatSetting the Plot format

Relabeled plotRelabeled plot

Relabeled/rescaledRelabeled/rescaled

Change director stop timeChange director stop time

Change parametersChange parameters

Changing n1 and n2Changing n1 and n2Right-click Configure Right-click Configure actoractor

Add workflow Add workflow parameter kparameter k

Find: Components/Workflow/Workflow input/Parameters/ParameterFind: Components/Workflow/Workflow input/Parameters/Parameter

Drag and drop on canvasDrag and drop on canvasRight-clickRight-click

Configure parameterConfigure parameterSet to 100Set to 100Right-clickRight-click

Customize nameCustomize namekk

Making componentsMaking components

Semantic TypingSemantic Typing

Drag and drop new actorDrag and drop new actor

General Workflow General Workflow Construction ProcedureConstruction Procedure

• Open a new workflowOpen a new workflow• Add a directorAdd a director• Search for data (optional)Search for data (optional)• Add data source (optional)Add data source (optional)• Add an actorAdd an actor

– Edit parametersEdit parameters

• Add ports (if needed)Add ports (if needed)– Configure portsConfigure ports

• Add another actorAdd another actor• Hook up input/output portsHook up input/output ports

Kepler ExerciseKepler Exercise