This function takes as inputs all the efforts and flows of the associated connector. It should be extended to add an algorithm that maps these inputs to a single value.
partial function Partial extends Modelica.Icons.Function; input Q.Velocity phi[:] "Velocity" annotation( Dialog(__Dymola_label = "<html>φ</html>")); input Q.Force mPhidot[:] "Force" annotation( Dialog(__Dymola_label = "<html><i>m</i>Φdot</html>")); input Integer i(min = 1, max = 3) "Index of the translational axis" annotation( Dialog(__Dymola_label = "<html><i>i</i></html>")); output Real x "Value of condition" annotation( Dialog(__Dymola_label = "<html><i>x</i></html>")); end Partial;