Osate Guided Trade Space Exploration (GTSE)
This plugin enables users to automatically explore the trade space of a system by connecting OSATE to Penn State's Trade Space Visualizer tool.
Documentation
Installation
Prerequisites
- Java 8
- Osate 2.5.0+
Installing the GTSE Plugin
- 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
- 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
Installing ATSV
Note: Some features of GATSE (eg, sophisticated constraints) require version 10.0.8.32bit of ATSV.
- Download ATSV and extract it.
Generating the ATSV Pre-requisites
- Configure the GTSE Plugin.
- Open Eclipse's preferences (
Window
, Preferences
on Linux/Windows, or OSATE2
, 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.
- 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) or run.bat
(Windows)
runATSV.bat
(Windows only)
Running ATSV
- 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 or run.bat
on Windows.
- 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
.
- Mac OS and linux: Double click
ATSV.jar
in ATSV's dist
folder.
- 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
.
- In the window titled
Engine Frame: CommandLineProblem
, click Start
.
- 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
, click Plots
.
- Select the type of plot you would like to view.
- Note that only Windows users will be able to view 3D plots.