Show
Ignore:
Timestamp:
02/06/08 20:53:09 (10 months ago)
Author:
otter
Message:

Graphical annotation bug "graphics(" corrected with "graphics={"
(a few places in MultiBody.Joints and in HeatTransfer)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Modelica/Thermal/HeatTransfer.mo

    r998 r1031  
    649649              textString="G=%G")}), 
    650650        Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    651                 {100,100}}),graphics( 
     651                {100,100}}),graphics={ 
    652652            Line( 
    653653              points={{-80,0},{80,0}}, 
     
    662662              extent={{-80,50},{80,20}}, 
    663663              lineColor={0,0,0}, 
    664               textString="dT = port_a.T - port_b.T"))), 
     664              textString="dT = port_a.T - port_b.T")}), 
    665665        Documentation(info="<HTML> 
    666666<p> 
     
    819819</HTML> 
    820820"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    821                 {100,100}}),graphics( 
     821                {100,100}}),graphics={ 
    822822            Rectangle( 
    823823              extent={{-90,80},{-60,-80}}, 
     
    849849            Line(points={{56,-10},{76,-20}}, color={191,0,0}), 
    850850            Line(points={{56,10},{76,20}}, color={191,0,0}), 
    851             Line(points={{56,30},{76,20}}, color={191,0,0})))); 
     851            Line(points={{56,30},{76,20}}, color={191,0,0})})); 
    852852      Modelica.Blocks.Interfaces.RealInput Gc 
    853853        "Signal representing the convective thermal conductance in [W/K]"  
     
    979979</HTML> 
    980980"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    981                 100,100}}), graphics( 
     981                100,100}}), graphics={ 
    982982            Rectangle( 
    983983              extent={{-90,80},{-56,-80}}, 
     
    10091009            Line(points={{-40,30},{40,30}}, color={191,0,0}), 
    10101010            Line(points={{30,24},{40,30}}, color={191,0,0}), 
    1011             Line(points={{30,36},{40,30}}, color={191,0,0})))); 
     1011            Line(points={{30,36},{40,30}}, color={191,0,0})})); 
    10121012    equation 
    10131013      Q_flow = Gr*Modelica.Constants.sigma*(port_a.T^4 - port_b.T^4); 
     
    10851085</HTML> 
    10861086"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    1087                 100,100}}), graphics( 
     1087                100,100}}), graphics={ 
    10881088            Rectangle( 
    10891089              extent={{-100,100},{100,-101}}, 
     
    11041104              lineColor={191,0,0}, 
    11051105              fillColor={191,0,0}, 
    1106               fillPattern=FillPattern.Solid)))); 
     1106              fillPattern=FillPattern.Solid)})); 
    11071107      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{90, 
    11081108                -10},{110,10}}, rotation=0))); 
     
    11501150</HTML> 
    11511151"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    1152                 100,100}}), graphics( 
     1152                100,100}}), graphics={ 
    11531153            Rectangle( 
    11541154              extent={{-100,100},{100,-100}}, 
     
    11691169              lineColor={191,0,0}, 
    11701170              fillColor={191,0,0}, 
    1171               fillPattern=FillPattern.Solid)))); 
     1171              fillPattern=FillPattern.Solid)})); 
    11721172      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{90, 
    11731173                -10},{110,10}}, rotation=0))); 
     
    14061406      annotation ( 
    14071407        Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    1408                 100,100}}), graphics( 
     1408                100,100}}), graphics={ 
    14091409            Ellipse( 
    14101410              extent={{-20,-98},{20,-60}}, 
     
    14391439              extent={{102,-28},{60,-78}}, 
    14401440              lineColor={0,0,0}, 
    1441               textString="K"))), 
     1441              textString="K")}), 
    14421442        Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    14431443                100,100}}), graphics={ 
     
    15171517              textString="K")}), 
    15181518        Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    1519                 100,100}}), graphics( 
     1519                100,100}}), graphics={ 
    15201520            Line(points={{-90,0},{-70,0},{-70,0}}, color={191,0,0}), 
    15211521            Line(points={{-98,0},{-70,0},{-70,0}}, color={191,0,0}), 
     
    15251525              extent={{64,-74},{32,-102}}, 
    15261526              lineColor={0,0,0}, 
    1527               textString="K"))), 
     1527              textString="K")}), 
    15281528        Documentation(info="<HTML> 
    15291529<p> 
     
    15581558      annotation ( 
    15591559        Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    1560                 100,100}}), graphics( 
     1560                100,100}}), graphics={ 
    15611561            Line(points={{-70,0},{-95,0}}, color={191,0,0}), 
    15621562            Line(points={{0,-70},{0,-90}}, color={0,0,255}), 
    1563             Line(points={{94,0},{69,0}}, color={191,0,0}))), 
     1563            Line(points={{94,0},{69,0}}, color={191,0,0})}), 
    15641564        Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 
    15651565                100,100}}), graphics={ 
     
    17651765</HTML> 
    17661766"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    1767                 {100,100}}), graphics( 
     1767                {100,100}}), graphics={ 
    17681768            Rectangle( 
    17691769              extent={{-100,100},{100,-100}}, 
     
    17841784              lineColor={191,0,0}, 
    17851785              fillColor={191,0,0}, 
    1786               fillPattern=FillPattern.Solid)))); 
     1786              fillPattern=FillPattern.Solid)})); 
    17871787      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{ 
    17881788                90,-10},{110,10}}, rotation=0))); 
     
    18341834</HTML> 
    18351835"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    1836                 {100,100}}), graphics( 
     1836                {100,100}}), graphics={ 
    18371837            Rectangle( 
    18381838              extent={{-100,100},{100,-100}}, 
     
    18531853              lineColor={191,0,0}, 
    18541854              fillColor={191,0,0}, 
    1855               fillPattern=FillPattern.Solid)))); 
     1855              fillPattern=FillPattern.Solid)})); 
    18561856      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{ 
    18571857                90,-10},{110,10}}, rotation=0))); 
     
    21482148</HTML> 
    21492149"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    2150                 {100,100}}), graphics( 
     2150                {100,100}}), graphics={ 
    21512151            Rectangle( 
    21522152              extent={{-100,100},{100,-100}}, 
     
    21672167              lineColor={191,0,0}, 
    21682168              fillColor={191,0,0}, 
    2169               fillPattern=FillPattern.Solid)))); 
     2169              fillPattern=FillPattern.Solid)})); 
    21702170      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{ 
    21712171                90,-10},{110,10}}, rotation=0))); 
     
    25322532</HTML> 
    25332533"),     Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 
    2534                 {100,100}}), graphics( 
     2534                {100,100}}), graphics={ 
    25352535            Rectangle( 
    25362536              extent={{-100,100},{100,-100}}, 
     
    25512551              lineColor={191,0,0}, 
    25522552              fillColor={191,0,0}, 
    2553               fillPattern=FillPattern.Solid)))); 
     2553              fillPattern=FillPattern.Solid)})); 
    25542554      Interfaces.HeatPort_b port annotation (Placement(transformation(extent={{ 
    25552555                90,-10},{110,10}}, rotation=0)));