Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Using VIBE with ICE"

(Creating a VIBE Model)
(Creating a VIBE Model)
Line 17: Line 17:
  
 
To start, the user should select the ''VIBE Model'' item and click ''Finish''. This will open the "VIBE Model" form, pictured below.
 
To start, the user should select the ''VIBE Model'' item and click ''Finish''. This will open the "VIBE Model" form, pictured below.
 +
 +
[[File:Vibe_Model_1.png]]
  
 
In this initial example, the form will be populated with the information for the default "VIBE Model" case, which is suitable for this tutorial.
 
In this initial example, the form will be populated with the information for the default "VIBE Model" case, which is suitable for this tutorial.
Line 27: Line 29:
  
 
Click ''GO!'' and ICE will write the input file.
 
Click ''GO!'' and ICE will write the input file.
 
[[File:Vibe_Model_1.png]]
 
  
 
==== Running a VIBE Simulation ====
 
==== Running a VIBE Simulation ====

Revision as of 09:48, 28 November 2016

Using ICE to run VIBE (Virtual Integrated Battery Environment) simulations

ICE provides three items that can be used to configure and run VIBE simulations:

  • VIBE Key-Value Pair – Allows the user to specify variable values in a simulation. This item is optional.
  • VIBE Launcher – Runs the specified simulation.
  • VIBE Model – Allows the user to configure the simulation setup parameters.

To select one of these items from the list of available plugins in ICE, click the Create an Item button (stylized as a '+') in the "Item Viewer" view pane/tab.

Create an item.png

This will present the user with a dialog that lists available ICE plugins (including three VIBE-related items), as show below.

Vibe model.png

Creating a VIBE Model

To start, the user should select the VIBE Model item and click Finish. This will open the "VIBE Model" form, pictured below.

Vibe Model 1.png

In this initial example, the form will be populated with the information for the default "VIBE Model" case, which is suitable for this tutorial.

Note.png
Advanced users can customize the variables in this form to suit their use case.


The "VIBE Model" form can be exported to a VIBE readable file using the combo box in the upper right hand corner.

ICE VIBE process select stc.png

Click GO! and ICE will write the input file.

Running a VIBE Simulation

VIBE Launcher

To run the simulation specified in the file that was just written out create a new item the same way that the ‘VIBE Model’ item was created, but choose the ‘VIBE Launcher’ item from the list now. Again, the form will be populated with some default information about how to launch a VIBE simulation. To use the input file, simply choose it from the drop down menu labeled ‘Input File’. The file will be named the same thing as the VIBE Model Item that was just used on the left side, in the Item list.

Vibe Launcher conf.png

Fig 4. Choose the input file from the Input File dropdown menu. All VIBE input files generated in ICE have the .conf extension

Run the Simulation

To run the simulation save the item and then click ‘Go!’ in the upper right hand corner. A console will pop up displaying the standard output from the simulation.

The VIBE Model item can be created inside of the existing project. Simply right click on that project in your Project Explorer window and choose New -> Other -> Create Item Wizard, then hit the 'Next' button and select 'VIBE Model' from the list of all of the available plugins.

New other.png

Fig 5. Right-click on the existing project to add an item

Create item wiz.png

Fig 6. Choose 'Create Item Wizard'

Vibe model added.png

Fig 7.The VIBE Model item is now added to your project

Similarly,the other VIBE items can be added in order to run the simulation.

Back to the top