Valis are design parameters of components or analyses which can be used in calculations and documentation. A Vali has a numerical value and also contains additional information such as type, unit, formula, description and min/max requirements.
You can access a Vali in any text field by starting to type a '$' sign and you will get a list of all existing Valis to choose from.
You can create Valis in a component by filling in a name (should be a type name for Valis with a type), a formula and a unit in the top form and hitting 'Save'.
You can see more information about the Vali by clicking on the arrow to the left of the name.
Any text or number that is underlined is editable. Just click on the text/number to change the value.
A Vali can be calculated with a formula using common mathematical expressions. A formula can also contain other Valis.
You can either
- use a fixed value, such as
- use a formula, such as
- use other Valis, using the
Start typing a
$ to get a list of all available Valis.
Math operations available in formulas are:
soc()="Sum of children": sum of all Valis of the same type in subcomponents
You can also use the following logical functions in formulas:
if(condition, formula_if_true, formula_if_false)
$SolarPanel.width * $SolarPanel.length
if($SolarPanel.width*2 > $SolarPanel.length, 10, 5)
A matrix is a group of individual Valis ordered in rows and columns. To add a matrix, choose 'add matrix' in the dropdown and fill in the fields.
When a Vali is changed its previous state is saved in a history. The evolution of a Vali can be seen in the history graph:
Notifications on changes¶
To get a notification when a certain Vali changes, you can subscribe to it by clicking on the subscribe button to the right of the Vali.
You will see a new notification in the navigation bar when someone has changed a value you are subscribing to.