How can I change Batemo Cell parameters script-controlled?

All Bate­mo Cell para­me­ters are sup­plied via the block mask using dif­fer­ent mask ele­ments. It is pos­si­ble to change all con­fig­u­ra­tions of the block mask by script code.

  • Slid­ers: In the block mask, there is an edit field next to a slid­er con­tain­ing the val­ue of the para­me­ter. Use the edit field to input a work­space vari­able name instead of a val­ue, e.g. SOC instead of 90. This dis­ables the slid­er. Assign the vari­able in the base work­space, e.g. by SOC = 90. At the start of the sim­u­la­tion this val­ue is auto­mat­i­cal­ly fed to the Bate­mo Cell.
  • Radio But­tons: Radio but­tons are script-con­trolled by set_param(‘YourModel/YourCellModel’,’Parameter_Radio’,’Value’);