USER GUIDE
Visual Modeler
Version 1.1
June 2003
Contents
Introduction
The Visual Modeler is a visual modeling tool provided in the
GridSim Toolkit
that enables the user to create simulation models on different Grid testbeds and generate
default Grid Broker source codes in Java.
Documentation
For API documentation of the Visual Modeler, please refer to the following sources:
System Requirements
Visual Modeler requires the following software to be installed:
How to start Visual Modeler
To start the Visual Modeler, please perform the following steps:
- Ensure that Java 2 SDK Version 1.4 (or above) is installed.
- Type the following command:
In Unix/Linux: java -jar $GRIDSIM/jars/visualmodeler.jar
In Windows: java -jar %GRIDSIM%\jars\visualmodeler.jar
NOTE: $GRIDSIM or %GRIDSIM% is the location of the GridSim Toolkit package.
You should see the Graphical User Interface (GUI) of
the Visual Modeler with a new simulation model as shown below.

How to use Visual Modeler
Steps:
- Create a simulation model. There are 3 methods to do so:
- Use the built-in Auto Wizard to create the specified number of users and
resources.
- Create a new simulation model and add the
users and resources.
- Open a previously saved
simulation model.
- Save the simulation model if any changes are made.
- Generate the source codes.
Functions
The Visual Modeler supports the following functionalities:
File
Create a new simulation model
Steps:
-
Click on the "New File" toolbar button.

-
You should see the new simulation model below.

Open a simulation model
Steps:
-
Click on the "Open File" toolbar button.

-
Specify the name of the file to be open and click on the
"Open" button.

-
You should see the opened simulation model.

Close a simulation model
Steps:
-
Click on the "Close File" toolbar button.

-
You should see the closed simulation model below.

Save a simulation model
Steps:
-
Click on the "Save File" toolbar button.

-
Specify the name of the save file and click on the "Save" button.

-
You should see the following message box indicating that the simulation
model is saved successfully. Click on the "OK" button.

User
Add User
Steps:
-
Click on the "Add User" button.

-
You should see the new added user.

Delete User
Steps:
-
Click on the "Delete User" button.

-
You should see the user deleted.

View User Properties
Steps:
-
Click on the "View User" button.

-
You should see the user properties. You can update the values and click on the "OK" button.

Resource
Add Resource
Steps:
-
Click on the "Add Resource" button.

-
You should see the new added resource.

Delete Resource
Steps:
-
Click on the "Delete Resource" button.

-
You should see the resource deleted.

View Resource Properties
Steps:
-
Click on the "View Resource" button.

-
You should see the resource properties. You can update the values and click on the "OK" button.

Auto Wizard
Steps:
- Click on the "Auto Wizard" toolbar button.

- Specify the number of users and resources in the Wizard Dialog and click the "OK"
button.

- You will see the users and resources created.

Generate Source Codes
Steps:
- Click on the "Generate Source Codes" toolbar button.

- Specify the name of the Java file and click on the "Save" button.

- You should see the following message box indicating that the Java source codes
are generated successfully. Click on the "OK" button.

- This is the java source codes generated.
