In the beginning of a project, you may have different alternatives of components to use in your product, e.g. you can use a LiIon battery or a NiCd battery. They have the same parameters but with different values which affect the system.
Alternatives in Valispace are components that have the same parameters where one component is chosen as the selected alternative in the calculations.
Create and Select an Alternative
To create a new alternative, go to the component that you want to create an alternative for and click the button "Create alternative". This will create a new component under the original component as an alternative. To add more alternatives, go to the original component and click the + symbol in the bottom right. You can choose to add an existing component, duplicate an existing component or create a whole new component as alternative. Once you have created all the desired alternatives, you can select what Valis you want to show up in the component. Do this by again clicking the + symbol and selecting Create Vali. You can now type the Vali you want to appear and what unit it should have. In the detailed view of
Battery, all the alternatives are shown with their corresponding Valis for comparison.
The currently selected alternative is marked in the table. To select one of the alternatives, click the "select alternative" button under the name of that alternative. If no alternative is selected, the values of the Valis are all "0". In the above example, all formulas using the battery properties should refer to
$Battery and not directly to the alternatives below.
In the component tree, the alternatives will show up as follows: