- Timestamp:
- 02/13/08 22:17:27 (8 months ago)
- Location:
- trunk/Modelica
- Files:
-
- 56 modified
-
Blocks/Continuous.mo (modified) (11 diffs)
-
Blocks/Discrete.mo (modified) (5 diffs)
-
Blocks/Interfaces.mo (modified) (14 diffs)
-
Blocks/Logical.mo (modified) (3 diffs)
-
Blocks/Math.mo (modified) (29 diffs)
-
Blocks/Nonlinear.mo (modified) (6 diffs)
-
Blocks/Routing.mo (modified) (11 diffs)
-
Blocks/Sources.mo (modified) (20 diffs)
-
Blocks/package.mo (modified) (1 diff)
-
Constants.mo (modified) (1 diff)
-
Electrical/Analog/Basic.mo (modified) (14 diffs)
-
Electrical/Analog/Examples/ChuaCircuit.mo (modified) (1 diff)
-
Electrical/Analog/Examples/DifferenceAmplifier.mo (modified) (1 diff)
-
Electrical/Analog/Examples/NandGate.mo (modified) (1 diff)
-
Electrical/Analog/Examples/Utilities/Nand.mo (modified) (1 diff)
-
Electrical/Analog/Examples/Utilities/NonlinearResistor.mo (modified) (1 diff)
-
Electrical/Analog/Examples/Utilities/RealSwitch.mo (modified) (1 diff)
-
Electrical/Analog/Examples/Utilities/Transistor.mo (modified) (1 diff)
-
Electrical/Analog/Examples/Utilities/package.mo (modified) (1 diff)
-
Electrical/Analog/Examples/package.mo (modified) (1 diff)
-
Electrical/Analog/Ideal.mo (modified) (18 diffs)
-
Electrical/Analog/Interfaces.mo (modified) (7 diffs)
-
Electrical/Analog/Lines.mo (modified) (6 diffs)
-
Electrical/Analog/Semiconductors.mo (modified) (7 diffs)
-
Electrical/Analog/Sensors.mo (modified) (4 diffs)
-
Electrical/Analog/Sources.mo (modified) (23 diffs)
-
Electrical/Analog/package.mo (modified) (1 diff)
-
Electrical/Digital.mo (modified) (10 diffs)
-
Electrical/Machines.mo (modified) (1 diff)
-
Electrical/package.mo (modified) (1 diff)
-
Icons.mo (modified) (1 diff)
-
Math/package.mo (modified) (47 diffs)
-
Mechanics/MultiBody/Examples/Elementary/DoublePendulum.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/FreeBody.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/Pendulum.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/SpringMassSystem.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Elementary/ThreeSprings.mo (modified) (1 diff)
-
Mechanics/MultiBody/Examples/Systems/RobotR3.mo (modified) (9 diffs)
-
Mechanics/MultiBody/Forces.mo (modified) (7 diffs)
-
Mechanics/MultiBody/Interfaces.mo (modified) (6 diffs)
-
Mechanics/MultiBody/Joints.mo (modified) (19 diffs)
-
Mechanics/MultiBody/Sensors.mo (modified) (2 diffs)
-
Mechanics/MultiBody/Visualizers.mo (modified) (3 diffs)
-
Mechanics/MultiBody/package.mo (modified) (2 diffs)
-
Mechanics/MultiBody/parts.mo (modified) (6 diffs)
-
Mechanics/Rotational.mo (modified) (44 diffs)
-
Mechanics/Translational.mo (modified) (43 diffs)
-
Mechanics/package.mo (modified) (1 diff)
-
Media/package.mo (modified) (1 diff)
-
SIunits.mo (modified) (1 diff)
-
StateGraph.mo (modified) (7 diffs)
-
Utilities/Files.mo (modified) (1 diff)
-
Utilities/System.mo (modified) (1 diff)
-
package.mo (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modelica/Blocks/Continuous.mo
r1000 r1044 7 7 8 8 annotation ( 9 Window( 10 x=0.05, 11 y=0.09, 12 width=0.35, 13 height=0.74, 14 library=1, 15 autolayout=1), 9 16 10 Documentation(info="<html> 17 11 <p> … … 116 110 117 111 annotation ( 118 Window( 119 x=0.29, 120 y=0.05, 121 width=0.53, 122 height=0.54), 112 123 113 Documentation(info="<html> 124 114 <p> … … 208 198 extends Interfaces.SISO(y(start=y_start)); 209 199 annotation ( 210 Window( 211 x=0.31, 212 y=0.09, 213 width=0.54, 214 height=0.6), 200 215 201 Documentation(info="<html> 216 202 <p> … … 390 376 Rectangle(extent={{-60,60},{60,-60}}, lineColor={0,0,255}), 391 377 Line(points={{-100,0},{-60,0}}, color={0,0,255}), 392 Line(points={{60,0},{100,0}}, color={0,0,255})}), 393 Window( 394 x=0.17, 395 y=0.03, 396 width=0.5, 397 height=0.61)); 378 Line(points={{60,0},{100,0}}, color={0,0,255})}) 379 ); 398 380 protected 399 381 parameter Boolean zeroGain = abs(k) < Modelica.Constants.eps; … … 499 481 Rectangle(extent={{-60,60},{60,-60}}, lineColor={0,0,255}), 500 482 Line(points={{-100,0},{-60,0}}, color={0,0,255}), 501 Line(points={{60,0},{100,0}}, color={0,0,255})}), 502 Window( 503 x=0.15, 504 y=0.04, 505 width=0.52, 506 height=0.55)); 483 Line(points={{60,0},{100,0}}, color={0,0,255})}) 484 ); 507 485 initial equation 508 486 if initType == Init.SteadyState then … … 533 511 output Real yd(start=yd_start) "Derivative of y"; 534 512 annotation ( 535 Window( 536 x=0.23, 537 y=0.1, 538 width=0.54, 539 height=0.49), 513 540 514 Documentation(info="<HTML> 541 515 <p> … … 672 646 output Real x(start=x_start) "State of block"; 673 647 674 annotation (defaultComponentName="PI", 675 Window( 676 x=0.24, 677 y=0.13, 678 width=0.56, 679 height=0.5), 648 annotation (defaultComponentName="PI" 649 , 680 650 Documentation(info=" 681 651 <HTML> … … 801 771 "Initialization")); 802 772 803 annotation (defaultComponentName="PID", 804 Window( 805 x=0.15, 806 y=0.04, 807 width=0.55, 808 height=0.68), 773 annotation (defaultComponentName="PID" 774 , 809 775 Icon(coordinateSystem( 810 776 preserveAspectRatio=true, … … 1024 990 "Initialization")); 1025 991 1026 annotation (defaultComponentName="PID", 1027 Window( 1028 x=0.22, 1029 y=0.02, 1030 width=0.6, 1031 height=0.72), 992 annotation (defaultComponentName="PID" 993 , 1032 994 Icon(coordinateSystem( 1033 995 preserveAspectRatio=true, … … 1361 1323 Real x_scaled[size(x,1)] "Scaled vector x"; 1362 1324 annotation ( 1363 Window( 1364 x=0.39, 1365 y=0.09, 1366 width=0.58, 1367 height=0.77), 1325 1368 1326 Documentation(info="<html> 1369 1327 <p> … … 1470 1428 output Real x[size(A, 1)](start=x_start) "State vector"; 1471 1429 annotation ( 1472 Window( 1473 x=0.2, 1474 y=0.03, 1475 width=0.64, 1476 height=0.73), 1430 1477 1431 Documentation(info="<HTML> 1478 1432 <p> -
trunk/Modelica/Blocks/Discrete.mo
r1017 r1044 89 89 output Real ySample(start=0, fixed=true); 90 90 annotation ( 91 Window( 92 x=0.3, 93 y=0.07, 94 width=0.63, 95 height=0.68), 91 96 92 Icon(coordinateSystem( 97 93 preserveAspectRatio=true, … … 126 122 Real c; 127 123 annotation ( 128 Window( 129 x=0.21, 130 y=0.08, 131 width=0.75, 132 height=0.76), 124 133 125 Icon(coordinateSystem( 134 126 preserveAspectRatio=true, … … 162 154 163 155 annotation ( 164 Window( 165 x=0.24, 166 y=0.09, 167 width=0.6, 168 height=0.6), 156 169 157 Documentation(info="<html> 170 158 <p> … … 241 229 Real xext[size(a, 1)]; 242 230 annotation ( 243 Window( 244 x=0.25, 245 y=0.08, 246 width=0.65, 247 height=0.69), 231 248 232 Documentation(info="<html> 249 233 <p>The <b>discrete transfer function</b> block defines the … … 348 332 349 333 annotation ( 350 Window( 351 x=0.25, 352 y=0.18, 353 width=0.6, 354 height=0.65), 334 355 335 Documentation(info="<html> 356 336 <p> -
trunk/Modelica/Blocks/Interfaces.mo
r1026 r1044 6 6 7 7 annotation ( 8 Window( 9 x=0.05, 10 y=0.09, 11 width=0.72, 12 height=0.71, 13 library=1, 14 autolayout=1), 8 15 9 Documentation(info="<HTML> 16 10 <p> … … 207 201 208 202 annotation ( 209 Window( 210 x=0, 211 y=0, 212 width=0.6, 213 height=0.6), 203 214 204 Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 215 205 100,100}}), graphics={Rectangle( … … 240 230 rotation=0))); 241 231 annotation ( 242 Window( 243 x=0.25, 244 y=0.02, 245 width=0.6, 246 height=0.6), 232 247 233 Diagram(coordinateSystem( 248 234 preserveAspectRatio=true, … … 264 250 rotation=0))); 265 251 annotation ( 266 Window( 267 x=0.13, 268 y=0.03, 269 width=0.6, 270 height=0.6), 252 271 253 Documentation(info="<html> 272 254 <p> … … 285 267 annotation (Placement(transformation(extent={{100,-10},{120,10}}, 286 268 rotation=0))); 287 annotation ( Window( 288 x=0.32, 289 y=0.07, 290 width=0.6, 291 height=0.6), 269 annotation ( 292 270 Documentation(info="<html> 293 271 <p> … … 312 290 313 291 annotation ( 314 Window( 315 x=0.31, 316 y=0.07, 317 width=0.6, 318 height=0.6), 292 319 293 Documentation(info="<html> 320 294 <p> … … 405 379 </p> 406 380 </HTML> 407 "), Window( 408 x=0.28, 409 y=0.16, 410 width=0.6, 411 height=0.6)); 381 ") ); 412 382 end MIMOs; 413 383 … … 428 398 rotation=0))); 429 399 annotation ( 430 Window( 431 x=0.31, 432 y=0.07, 433 width=0.6, 434 height=0.6), 400 435 401 Documentation(info="<html> 436 402 <p> … … 491 457 extent={{-83,-112},{-33,-102}}, 492 458 textString=" (measurement)", 493 lineColor={0,0,255})}), 494 Window( 495 x=0.19, 496 y=0.21, 497 width=0.6, 498 height=0.46), 459 lineColor={0,0,255})}) 460 , 499 461 Documentation(info="<html> 500 462 <p> … … 539 501 extent={{-75,-108},{-25,-98}}, 540 502 textString=" (measurement)", 541 lineColor={0,0,255})}), 542 Window( 543 x=0.26, 544 y=0.19, 545 width=0.6, 546 height=0.6), 503 lineColor={0,0,255})}) 504 , 547 505 Documentation(info="<html> 548 506 <p> … … 785 743 786 744 annotation ( 787 Window( 788 x=0.1, 789 y=0.1, 790 width=0.6, 791 height=0.6), 745 792 746 Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 793 747 100,100}}), graphics={Rectangle( … … 822 776 rotation=0))); 823 777 824 annotation ( Window( 825 x=0.37, 826 y=0.14, 827 width=0.6, 828 height=0.6), 778 annotation ( 829 779 Documentation(info="<html> 830 780 <p> … … 888 838 rotation=0))); 889 839 annotation ( 890 Window( 891 x=0.19, 892 y=0.16, 893 width=0.6, 894 height=0.6), 840 895 841 Documentation(info="<html> 896 842 <p> … … 908 854 rotation=0))); 909 855 annotation ( 910 Window( 911 x=0.13, 912 y=0.03, 913 width=0.6, 914 height=0.6), 856 915 857 Icon(coordinateSystem( 916 858 preserveAspectRatio=true, -
trunk/Modelica/Blocks/Logical.mo
r998 r1044 516 516 517 517 annotation ( 518 Window( 519 x=0.33, 520 y=0.27, 521 width=0.6, 522 height=0.6), 518 523 519 Documentation(info="<html> 524 520 <p>The LogicalSwitch switches, depending on the … … 585 581 {{100,-10},{120,10}}, rotation=0))); 586 582 587 annotation (defaultComponentName="switch1", 588 Window( 589 x=0.08, 590 y=0.07, 591 width=0.6, 592 height=0.6), 583 annotation (defaultComponentName="switch1" 584 , 593 585 Documentation(info="<html> 594 586 <p>The Logical.Switch switches, depending on the … … 1116 1108 "Text that will be displayed when simulation is terminated"; 1117 1109 annotation ( 1118 Window( 1119 x=0.29, 1120 y=0.23, 1121 width=0.6, 1122 height=0.6), 1110 1123 1111 Icon(coordinateSystem( 1124 1112 preserveAspectRatio=true, -
trunk/Modelica/Blocks/Math.mo
r1005 r1044 6 6 7 7 annotation ( 8 Window( 9 x=0.05, 10 y=0.09, 11 width=0.44, 12 height=0.71, 13 library=1, 14 autolayout=1), 8 15 9 Documentation(info=" 16 10 <HTML> … … 642 636 rotation=0))); 643 637 annotation ( 644 Window( 645 x=0.19, 646 y=0.02, 647 width=0.59, 648 height=0.6), 638 649 639 Documentation(info=" 650 640 <HTML> … … 741 731 extent={{-90,-60},{90,60}}, 742 732 lineColor={160,160,164}, 743 textString="*K")}), 744 Window( 745 x=0.35, 746 y=0.09, 747 width=0.6, 748 height=0.6)); 733 textString="*K")}) 734 ); 749 735 equation 750 736 y = K*u; … … 754 740 extends Interfaces.MISO; 755 741 parameter Real k[nin]=ones(nin) "Optional: sum coefficients"; 756 annotation (defaultComponentName="sum1", 757 Window( 758 x=0.35, 759 y=0.08, 760 width=0.54, 761 height=0.66), 742 annotation (defaultComponentName="sum1" 743 , 762 744 Documentation(info=" 763 745 <HTML> … … 819 801 extent={{80,-10},{100,10}}, rotation=0))); 820 802 annotation ( 821 Window( 822 x=0.35, 823 y=0.02, 824 width=0.52, 825 height=0.68), 803 826 804 Documentation(info=" 827 805 <HTML> … … 893 871 parameter Real k2=+1 "Gain of lower input"; 894 872 annotation ( 895 Window( 896 x=0.23, 897 y=0.22, 898 width=0.54, 899 height=0.66), 873 900 874 Documentation(info=" 901 875 <HTML> … … 1028 1002 rotation=0))); 1029 1003 annotation ( 1030 Window( 1031 x=0.37, 1032 y=0.09, 1033 width=0.54, 1034 height=0.66), 1004 1035 1005 Documentation(info=" 1036 1006 <HTML> … … 1166 1136 Line(points={{-15,25.99},{15,-25.99}}, color={0,0,0}), 1167 1137 Line(points={{-15,-25.99},{15,25.99}}, color={0,0,0}), 1168 Ellipse(extent={{-50,50},{50,-50}}, lineColor={0,0,255})}), 1169 Window( 1170 x=0.2, 1171 y=0.01, 1172 width=0.47, 1173 height=0.62)); 1138 Ellipse(extent={{-50,50},{50,-50}}, lineColor={0,0,255})}) 1139 ); 1174 1140 1175 1141 equation … … 1238 1204 Ellipse(extent={{-50,50},{50,-50}}, lineColor={0,0,255}), 1239 1205 Line(points={{-100,60},{-66,60},{-40,30}}, color={0,0,255}), 1240 Line(points={{-100,-60},{0,-60},{0,-50}}, color={0,0,255})}), 1241 Window( 1242 x=0.22, 1243 y=0.09, 1244 width=0.6, 1245 height=0.6)); 1206 Line(points={{-100,-60},{0,-60},{0,-50}}, color={0,0,255})}) 1207 ); 1246 1208 1247 1209 equation … … 1326 1288 1327 1289 </HTML> 1328 "), Window( 1329 x=0.37, 1330 y=0.06, 1331 width=0.6, 1332 height=0.6)); 1290 ") ); 1333 1291 equation 1334 1292 y = abs(u); … … 1417 1375 1418 1376 </HTML> 1419 "), Window( 1420 x=0.38, 1421 y=0.11, 1422 width=0.6, 1423 height=0.6)); 1377 ") );
