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.PressureAbsolute p "Pressure" annotation( Dialog(__Dymola_label = "<html><i>p</i></html>")); input Q.Current Ndot "Current" annotation( Dialog(__Dymola_label = "<html><i>Ṅ</i></html>")); input Q.Velocity phi[Orient] "Velocity" annotation( Dialog(__Dymola_label = "<html>φ</html>")); input Q.Force mPhidot[Orient] "Shear 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;