All Batemo Cell parameters are supplied via the block mask using different mask elements. It is possible to change all configurations of the block mask by script code.
- Sliders: In the block mask, there is an edit field next to a slider containing the value of the parameter. Use the edit field to input a workspace variable name instead of a value, e.g.
SOC
instead of90
. This disables the slider. Assign the variable in the base workspace, e.g. bySOC = 90
. At the start of the simulation this value is automatically fed to the Batemo Cell. - Radio Buttons: Radio buttons are script-controlled by
set_param(‘YourModel/YourCellModel’,’Parameter_Radio’,’Value’);