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 Q.TemperatureAbsolute T "Temperature" annotation( Dialog(__Dymola_label = "<html><i>T</i></html>")); input Q.Power Qdot "Rate of thermal conduction" annotation( Dialog(__Dymola_label = "<html><i>Q̇</i></html>")); output Real x "Value of condition" annotation( Dialog(__Dymola_label = "<html><i>x</i></html>")); end Partial;