This plugin enables users to automatically explore the trade space of a system by connecting OSATE to Penn State's Trade Space Visualizer tool.
- For a short, high-level description, see either this short video or this slightly longer video
- For a slightly-longer, general-audience description, you can view this video
- For a diagrammatic explanation of how GTSE and ATSV work together, see the Workflow documentation.
- For a more complete academic publication on GTSE, see our paper in Software and Systems Modeling (a preprint is also available)
- Java 8
- Osate 2.5.0+
- If you don't have OSATE you can download it, and install it according to the online instructions.
- Launch OSATE
- Add the OSATE experimental update site by selecting:
Help
Install New Software...
Add...
- Type
Osate Experimental
for the Name - Copy/Paste
https://osate-build.sei.cmu.edu/download/osate/experimental/
for the Location - Click
OK
- Check the box next to
Guided Trade Space Exploration
to install both the GTSE Core and bundle of currently-available analyzers. - Click
Next >
- Click
Next >
again - Accept the License. The full license for this software is in license.txt.
- Select the radio button next to
I accept the terms of the license agreement
- Click
Finish
- Select the radio button next to
- When the 'Security Warning' pops up, select
OK
- If prompted, check the box next to the Certificate to trust it, then select
OK
- When the 'Software Update' window asks to restart OSATE2, select
Yes
Note: Some features of GATSE (eg, sophisticated constraints) require version 10.0.8.32bit of ATSV.
- Download ATSV and extract it.
- Configure the GTSE Plugin.
- Open Eclipse's preferences (
Window
,Preferences
on Linux/Windows, orOSATE2
,Preferences
on Mac OS X). - Expand the
OSATE Preferences
item in the list on the left. - Click on
ATSV Integration
. - Each option can be left at its default, but the
Directory for ATSV Files
can be set to a more easily-accessed directory if need be. - Click
OK
. - If you made any changes, restart OSATE.
- Open Eclipse's preferences (
- Create, or import, an GTSE-compatible project.
- Example projects are available in the GTSE-Examples directory of this repository.
- If you've imported a project, open the associated .config file.
- Saving .config files triggers the generation of pre-requisite files -- so add a newline, space, or comment and save the file.
- [Optional] Verify that the following files have been created in the directory you specified as part of step 1.4:
ATSVConfig.ecf
connector.jar
input.xml
output.xml
parser.jar
request.properties
run.sh
(Linux and Mac) orrun.bat
(Windows)runATSV.bat
(Windows only)
- Launch OSATE.
- Open the project containing the GTSE-compatible packages.
- [Optional] Test the generated setup.
- Note the contents of
output.xml
. - [Optional] Modify the contents of
input.xml
. - Note the contents of
input.xml
. - Run a single execution of the GTSE plugin by executing
run.sh
on Linux / Mac OS orrun.bat
on Windows.
- Note the contents of
- Launch ATSV according to the instructions:
- Windows:
- Copy the
runATSV.bat
file generated previously to the ATSV directory. - When prompted, replace the original
runATSV.bat
. - Double click
runATSV.bat
.
- Copy the
- Mac OS and linux: Double click
ATSV.jar
in ATSV'sdist
folder.
- Windows:
- Load the generated engine configuration file into ATSV.
- Click
File
. - Click
Link to Exploration Engine
. - Verify
Link to existing engine configuration
is selected. - Click
OK
. - Navigate to and select the
ATSVConfig.ecf
file generated previously.- This file will be in the directory you set in the ATSV Integration preferences in OSATE.
- Click
Open
.
- Click
- In the window titled
Engine Frame: CommandLineProblem
, clickStart
. - Wait for the runs to complete. Depending on model size, analyses selected, and number of runs, this may take a while.
- In the window titled
Trade Space Visualizer
, clickPlots
. - Select the type of plot you would like to view.
- Note that only Windows users will be able to view 3D plots.