Skip to content

Commit

Permalink
Update annotations to be correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Aug 16, 2023
1 parent ce36c07 commit 64afc62
Show file tree
Hide file tree
Showing 39 changed files with 16 additions and 107 deletions.
Expand Up @@ -114,8 +114,6 @@ equation
Text(
extent={{-90,100},{-20,90}},
textColor={238,46,47},
pattern=LinePattern.Dash,
lineThickness=1,
textStyle={TextStyle.Bold},
textString="array of input trackers"),
Rectangle(
Expand All @@ -126,8 +124,6 @@ equation
Text(
extent = {{14,-26},{50,-40}},
textColor = {28,108,200},
pattern = LinePattern.Dash,
lineThickness = 1,
textString = "resetter",
textStyle = {TextStyle.Bold})}));
end PartialLogicalClock;
4 changes: 1 addition & 3 deletions Modelica/Clocked/ClockSignals/Interfaces/ClockInput.mo
Expand Up @@ -24,9 +24,7 @@ connector ClockInput = input Clock "'input Clock' as connector"
fillPattern=FillPattern.Solid), Text(
extent={{-10,85},{-10,60}},
textColor={0,0,255},
textString="%name",
fillPattern=FillPattern.Solid,
fillColor={128,0,255})}),
textString="%name")}),
Documentation(info="<html>
<p>
Connector with one input signal of type Clock.
Expand Down
2 changes: 0 additions & 2 deletions Modelica/Clocked/Examples/Systems/ControlledMixingUnit.mo
Expand Up @@ -130,8 +130,6 @@ equation
{60,-44}}, lineColor={255,0,0}), Text(
extent={{12,42},{58,34}},
textColor={255,0,0},
fillColor={0,0,255},
fillPattern=FillPattern.Solid,
textString="controller")}),
experiment(StopTime=300),
Documentation(info="<html>
Expand Down
Expand Up @@ -163,7 +163,5 @@ equation
Text(
extent={{-100,-50},{100,-90}},
textColor={0,0,255},
fillColor={255,255,0},
fillPattern=FillPattern.Solid,
textString="%name")}));
end Engine;
3 changes: 0 additions & 3 deletions Modelica/Clocked/RealSignals/Periodic/FIRbyCoefficients.mo
Expand Up @@ -68,11 +68,8 @@ At the first clock tick i=1 the past values are filled with u at this clock tick
Text(
extent={{-26,86},{88,56}},
textColor={175,175,175},
fillColor={255,255,255},
fillPattern=FillPattern.Backward,
textString="FIR"),
Text(
extent={{-150,-110},{150,-150}},
fillPattern=FillPattern.Solid,
textString="a=%a")}));
end FIRbyCoefficients;
3 changes: 0 additions & 3 deletions Modelica/Clocked/RealSignals/Periodic/MovingAverage.mo
Expand Up @@ -75,11 +75,8 @@ contrary to a general FIR filter.
Text(
extent={{-26,88},{88,48}},
textColor={175,175,175},
fillColor={255,255,255},
fillPattern=FillPattern.Backward,
textString="MA"),
Text(
extent={{-150,-110},{150,-150}},
fillPattern=FillPattern.Solid,
textString="n=%n")}));
end MovingAverage;
2 changes: 0 additions & 2 deletions Modelica/ComplexBlocks/ComplexMath/ComplexToReal.mo
Expand Up @@ -28,8 +28,6 @@ equation
fillPattern=FillPattern.Solid),Text(
extent={{-100,60},{-20,-60}},
textColor={85,170,255},
fillColor={85,170,255},
fillPattern=FillPattern.Solid,
textString="C")}), Documentation(info="<html>
<p>Converts the Complex input <em>u</em> to the Real outputs <em>re</em> (real part) and <em>im</em> (imaginary part).</p>
</html>"));
Expand Down
Expand Up @@ -48,7 +48,5 @@ equation
Text(
extent={{-100,10},{100,-10}},
textColor={0,0,255},
fillColor={255,255,255},
fillPattern=FillPattern.None,
textString="non-inverting")}));
end Buffer;
1 change: 0 additions & 1 deletion Modelica/Electrical/Machines/Sensors/SinCosResolver.mo
Expand Up @@ -25,7 +25,6 @@ equation
Text(
extent={{-150,120},{150,80}},
textColor={0,0,255},
fillColor={255,255,255},
textString="%name"),
Ellipse(extent={{-20,20},{20,-20}}, lineColor={95,95,95},
fillColor={255,255,255},
Expand Down
4 changes: 0 additions & 4 deletions Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo
Expand Up @@ -172,14 +172,10 @@ as well as DC values per subsystem (rectifier) and total (load):
radius=5), Text(
extent={{-24,10},{36,-10}},
textColor={0,0,0},
fillColor={215,215,215},
fillPattern=FillPattern.None,
textString="rectifiers[mSystems]"),
Text(
extent={{-58,10},{58,-10}},
textColor={0,0,0},
fillColor={215,215,215},
fillPattern=FillPattern.Solid,
origin={50,0},
rotation=90,
textString="connected in series / in parallel"),
Expand Down
Expand Up @@ -270,21 +270,15 @@ Only when fed by switching power electronics, parameter <code>ratioCommonLeakage
</html>"),
Diagram(graphics={ Text(
extent={{10,80},{90,72}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="ratioCommonLeakage=0",
textColor={0,0,0}), Text(
extent={{10,22},{90,14}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textColor={0,0,0},
textString="ratioCommonLeakage=0.5"),
Text(
extent={{10,-38},{90,-46}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textColor={0,0,0},
textString="ratioCommonLeakage=1")}));
Expand Down
Expand Up @@ -256,13 +256,9 @@ Simulate for 1.5 seconds and plot (versus time):
-100},{100,100}}),
graphics={ Text(
extent={{20,88},{100,80}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textString="%m-phase machine",
textStyle={TextStyle.Bold}),Text(
extent={{20,-22},{100,-30}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textString="Three-phase machine",
textStyle={TextStyle.Bold})}));
end IMC_DOL_Polyphase;
Expand Up @@ -288,13 +288,9 @@ Simulate for 1.5 seconds and plot (versus time):
-100},{100,100}}),
graphics={ Text(
extent={{40,68},{100,60}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textString="%m-phase machine",
textStyle={TextStyle.Bold}),Text(
extent={{40,-32},{100,-40}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textString="Three-phase machine",
textStyle={TextStyle.Bold})}));
end IMS_Start_Polyphase;
Expand Up @@ -356,14 +356,10 @@ Simulate for 30 seconds and plot (versus <code>rotorAngleM3.rotorDisplacementAng
fillPattern=FillPattern.Solid,
pattern=LinePattern.Dash),Text(
extent={{10,16},{70,8}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m-phase machine
"), Text(
extent={{10,-52},{70,-60}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="Three-phase machine
"), Rectangle(
Expand Down
Expand Up @@ -300,14 +300,10 @@ and accelerate the inertias. Two equivalent machines with different numbers of p
fillPattern=FillPattern.Solid,
pattern=LinePattern.Dash),Text(
extent={{40,-54},{100,-62}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="Three-phase machine
"), Text(
extent={{40,-44},{100,-52}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m-phase machine
")}));
Expand Down
Expand Up @@ -275,14 +275,10 @@ Simulate for 1.5 seconds and plot (versus time):
fillPattern=FillPattern.Solid,
pattern=LinePattern.Dash),Text(
extent={{40,-44},{100,-52}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m-phase machine
"), Text(
extent={{40,-54},{100,-62}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="Three-phase machine
"), Rectangle(
Expand Down
Expand Up @@ -76,7 +76,6 @@ equation
Text(
extent={{-150,150},{150,110}},
textString="%name",
pattern=LinePattern.None,
textColor={0,0,255}),
Line(
points={{-15,-7},{-14,-1},{-7,7},{7,7},{14,-1},{15,-7}},
Expand Down
Expand Up @@ -86,7 +86,6 @@ equation
annotation (Diagram(coordinateSystem(preserveAspectRatio=false), graphics={Text(
extent={{-100,100},{100,80}},
textColor={0,0,255},
pattern=LinePattern.Dash,
textString="Added short and idle model for testing purposes only")}),
Documentation(info="<html>
<p>This model investigates a magnetic circuit consisting of four different cuboid sections. The circuit is operated at 50Hz and variable magnetic potential difference.</p>
Expand Down
Expand Up @@ -11,9 +11,6 @@ equation
Text(
extent={{-150,120},{150,80}},
textColor={0,0,255},
pattern=LinePattern.None,
fillColor={170,85,255},
fillPattern=FillPattern.Solid,
textString="%name")}), Documentation(info="<html>
<p>
The absolute sensor partial model provides a single
Expand Down
Expand Up @@ -9,8 +9,6 @@ connector NegativeMagneticPort "Negative quasi-static magnetic port"
graphics={Text(
extent={{-100,100},{100,60}},
textColor={255,170,85},
fillColor={0,0,255},
fillPattern=FillPattern.Solid,
textString="%name"), Rectangle(
extent={{-40,40},{40,-40}},
lineColor={255,170,85},
Expand Down
Expand Up @@ -9,8 +9,6 @@ connector PositiveMagneticPort "Positive quasi-static magnetic port"
graphics={Text(
extent={{-100,100},{100,60}},
textColor={255,170,85},
fillColor={0,0,255},
fillPattern=FillPattern.Solid,
textString="%name"), Rectangle(
extent={{-40,40},{40,-40}},
lineColor={255,170,85},
Expand Down
Expand Up @@ -15,9 +15,6 @@ partial model RelativeSensor "Partial magnetic voltage or flux sensor"
Text(
extent={{-150,120},{150,80}},
textColor={0,0,255},
pattern=LinePattern.None,
fillColor={170,85,255},
fillPattern=FillPattern.Solid,
textString="%name"),
Line(
points={{0,-70},{0,-100}}, color={85,170,255})}),
Expand Down
Expand Up @@ -38,8 +38,6 @@ equation
fillColor={255,255,255},
fillPattern=FillPattern.Solid), Text(
extent={{60,-60},{-60,60}},
fillColor={255,170,85},
fillPattern=FillPattern.Solid,
textString="μ")}),
Documentation(info="<html>
<p>This model determines the absolute and relative permeability from two real inputs:</p>
Expand Down
3 changes: 1 addition & 2 deletions Modelica/Magnetic/QuasiStatic/FluxTubes/package.mo
Expand Up @@ -11,8 +11,7 @@ package FluxTubes "Library for modelling of quasi-static electromagnetic devices
This library is intended to provide models for the investigation of
quasi-static electromagnetic devices with lumped magnetic networks.
</p>
</html>"),
Icon(coordinateSystem(preserveAspectRatio=false), graphics={
</html>"), Icon(coordinateSystem(preserveAspectRatio=false), graphics={
Polygon(
origin={-3.75,0.0},
fillColor={255,170,85},
Expand Down
Expand Up @@ -214,8 +214,6 @@ The mechanical load is a constant torque like a conveyor (with regularization ar
textString="%m phase quasi-static"),
Text(
extent={{20,-40},{100,-48}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Conveyor;
Expand Up @@ -189,8 +189,6 @@ Default machine parameters of model <em>IM_SquirrelCage</em> are used.
textString="%m phase quasi-static"),
Text(
extent={{20,-92},{100,-100}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Initialize;
Expand Up @@ -267,8 +267,6 @@ Simulate for 2.5 seconds and plot (versus time):</p>
textString="%m phase quasi-static"),
Text(
extent={{80,-92},{160,-100}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_Transformer;
Expand Up @@ -196,8 +196,6 @@ Default machine parameters are used.</p>
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{-60,-80},{20,-88}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end IMC_YD;
Expand Up @@ -149,8 +149,6 @@ Simulate for 1 second and plot (versus <code>imsQS.wMechanical</code> or <code>s
-100},{100,100}}),
graphics={ Text(
extent={{20,8},{100,0}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase quasi-static")}));
end IMS_Characteristics;
Expand Up @@ -330,8 +330,6 @@ to numerically stabilize the simulation.</p>
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{30,-52},{110,-60}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end SMPM_CurrentSource;
Expand Up @@ -245,8 +245,6 @@ equation
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{20,-92},{100,-100}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}),
Documentation(info="<html>
Expand Down
Expand Up @@ -162,8 +162,6 @@ Simulate for 0.1 second and plot (versus time):
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{-100,-92},{-20,-100}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end SMPM_OpenCircuit;
Expand Up @@ -205,8 +205,8 @@ model SMR_CurrentSource
origin={0,60})));
Modelica.Electrical.QuasiStatic.Polyphase.Sensors.VoltageQuasiRMSSensor voltageQuasiRMSSensorQS(m=m)
annotation (Placement(transformation(extent={{-40,60},{-20,40}})));
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starMQS(m=m) annotation
(Placement(transformation(
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starMQS(m=m) annotation (
Placement(transformation(
extent={{-10,10},{10,-10}},
rotation=270,
origin={-50,40})));
Expand Down Expand Up @@ -346,8 +346,6 @@ Simulate for 2 seconds and plot (versus time):
textStyle={TextStyle.Bold},
textString="%m phase quasi-static"), Text(
extent={{30,-52},{110,-60}},
fillColor={255,255,170},
fillPattern=FillPattern.Solid,
textStyle={TextStyle.Bold},
textString="%m phase transient")}));
end SMR_CurrentSource;
6 changes: 2 additions & 4 deletions Modelica/Mechanics/MultiBody/Visualizers/Rectangle.mo
Expand Up @@ -38,7 +38,8 @@ protected
final r_0=frame_a.r_0,
final nu=nu,
final nv=nv,
redeclare function surfaceCharacteristic = Advanced.SurfaceCharacteristics.rectangle (
redeclare function surfaceCharacteristic =
Advanced.SurfaceCharacteristics.rectangle (
lu=length_u, lv=length_v)) if world.enableAnimation and animation
annotation (Placement(transformation(extent={{-20,-10},{0,10}})));
Modelica.Mechanics.MultiBody.Forces.Internal.ZeroForceAndTorque zeroForceAndTorque annotation (Placement(transformation(extent={{-80,-10},{-60,10}})));
Expand Down Expand Up @@ -67,9 +68,6 @@ equation
Line(points={{-100,0},{0,0},{0,-20}}, color={95,95,95}),
Text(
extent={{-140,-60},{140,-90}},
lineThickness=0.5,
fillColor={95,95,95},
fillPattern=FillPattern.Solid,
textString="%length_u x %length_v")}),
Documentation(info="<html>
<p>
Expand Down

0 comments on commit 64afc62

Please sign in to comment.