encapsulated function addBoolean import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SerialPackager pkg; input Boolean u[:]; end addBoolean;