@@ -2753,11 +2753,14 @@ Same as FlowPort, but icon allows to differentiate direction of flow.
27532753 annotation (Documentation(info="<html>
27542754<p>Partial model for an absolute sensor (pressure/temperature).</p>
27552755<p>Pressure, mass flow, temperature and enthalpy flow of medium are not affected.</p>
2756- </html>" ),
2757- Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
2756+ </html>" ), Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
27582757 -100},{100,100}}), graphics={
2759- Line(points={{-70,0},{-90,0}}),
2760- Line(points={{70,0},{100,0}})}));
2758+ Line(points={{-70,0},{-90,0}}, color={255,0,0}),
2759+ Line(points={{70,0},{100,0}}, color={0,0,127}),
2760+ Text(
2761+ extent={{-150,90},{150,130}},
2762+ textString="%name" ,
2763+ textColor={0,0,255})}));
27612764 end AbsoluteSensor;
27622765
27632766 partial model RelativeSensor "Partial model of relative sensor"
@@ -2784,14 +2787,13 @@ Same as FlowPort, but icon allows to differentiate direction of flow.
27842787 annotation (Documentation(info="<html>
27852788<p>Partial model for a relative sensor (pressure drop/temperature difference).</p>
27862789<p>Pressure, mass flow, temperature and enthalpy flow of medium are not affected.</p>
2787- </html>" ),
2788- Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
2790+ </html>" ), Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
27892791 -100},{100,100}}), graphics={
2790- Line(points={{-70,0},{-90,0}}),
2791- Line(points={{70,0},{90,0}}),
2792- Line(points={{0,-100},{0,-70}}),
2792+ Line(points={{-70,0},{-90,0}}, color={255,0,0} ),
2793+ Line(points={{70,0},{90,0}}, color={255,0,0} ),
2794+ Line(points={{0,-100},{0,-70}}, color={0,0,127} ),
27932795 Text(
2794- extent={{-150,100 },{150,140 }},
2796+ extent={{-150,90 },{150,130 }},
27952797 textString="%name" ,
27962798 textColor={0,0,255})}));
27972799 end RelativeSensor;
@@ -2812,14 +2814,13 @@ Same as FlowPort, but icon allows to differentiate direction of flow.
28122814 annotation (Documentation(info="<html>
28132815<p>Partial model for a flow sensor (mass flow/heat flow).</p>
28142816<p>Pressure, mass flow, temperature and enthalpy flow of medium are not affected, but mixing rule is applied.</p>
2815- </html>" ),
2816- Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
2817+ </html>" ), Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
28172818 -100},{100,100}}), graphics={
2818- Line(points={{-70,0},{-90,0}}),
2819- Line(points={{70,0},{90,0}}),
2820- Line(points={{0,-100},{0,-70}}),
2819+ Line(points={{-70,0},{-90,0}}, color={255,0,0} ),
2820+ Line(points={{70,0},{90,0}}, color={255,0,0} ),
2821+ Line(points={{0,-100},{0,-70}}, color={0,0,127} ),
28212822 Text(
2822- extent={{-150,100 },{150,140 }},
2823+ extent={{-150,90 },{150,130 }},
28232824 textString="%name" ,
28242825 textColor={0,0,255})}));
28252826 end FlowSensor;
0 commit comments