| | 3 | extends Modelica.Icons.Library2; |
| | 4 | import SI = Modelica.SIunits; |
| | 5 | |
| | 6 | annotation(preferedView="info", |
| | 7 | Window( |
| | 8 | x=0.05, |
| | 9 | y=0.09, |
| | 10 | width=0.39, |
| | 11 | height=0.47, |
| | 12 | library=1, |
| | 13 | autolayout=1), |
| | 14 | Icon( |
| | 15 | Line(points=[-84, -73; 66, -73], style(color=0)), |
| | 16 | Rectangle(extent=[-81, -22; -8, -65], style( |
| | 17 | color=0, |
| | 18 | gradient=3, |
| | 19 | fillColor=8, |
| | 20 | fillPattern=1)), |
| | 21 | Line(points=[-8, -43; -1, -43; 6, -64; 17, -23; 29, -65; 40, -23; 50, -44; |
| | 22 | 61, -44], style(color=0)), |
| | 23 | Line(points=[-59, -73; -84, -93], style(color=0)), |
| | 24 | Line(points=[-11, -73; -36, -93], style(color=0)), |
| | 25 | Line(points=[-34, -73; -59, -93], style(color=0)), |
| | 26 | Line(points=[14, -73; -11, -93], style(color=0)), |
| | 27 | Line(points=[39, -73; 14, -93], style(color=0)), |
| | 28 | Line(points=[63, -73; 38, -93], style(color=0))), Documentation(info="<html> |
| | 29 | <p> |
| | 30 | This package contains components to model <i>1-dimensional translational |
| | 31 | mechanical</i> systems. |
| | 32 | </p> |
| | 33 | <p> |
| | 34 | The <i>filled</i> and <i>non-filled green squares</i> at the left and |
| | 35 | right side of a component represent <i>mechanical flanges</i>. |
| | 36 | Drawing a line between such squares means that the corresponding |
| | 37 | flanges are <i>rigidly attached</i> to each other. The components of this |
| | 38 | library can be usually connected together in an arbitrary way. E.g. it is |
| | 39 | possible to connect two springs or two sliding masses with inertia directly |
| | 40 | together. |
| | 41 | <p> The only <i>connection restriction</i> is that the Coulomb friction |
| | 42 | elements (Stop) should be only connected |
| | 43 | together provided a compliant element, such as a spring, is in between. |
| | 44 | The reason is that otherwise the frictional force is not uniquely |
| | 45 | defined if the elements are stuck at the same time instant (i.e., there |
| | 46 | does not exist a unique solution) and some simulation systems may not be |
| | 47 | able to handle this situation, since this leads to a singularity during |
| | 48 | simulation. It can only be resolved in a \"clean way\" by combining the |
| | 49 | two connected friction elements into |
| | 50 | one component and resolving the ambiguity of the frictional force in the |
| | 51 | stuck mode. |
| | 52 | </p> |
| | 53 | <p> Another restriction arises if the hard stops in model Stop are used, i. e. |
| | 54 | the movement of the mass is limited by a stop at smax or smin. |
| | 55 | <font color=\"#ff0000\"> <b>This requires the states Stop.s and Stop.v</b> </font>. If these states are eliminated during the index reduction |
| | 56 | the model will not work. To avoid this any inertias should be connected via springs |
| | 57 | to the Stop element, other sliding masses, dampers or hydraulic chambers must be avoided. </p> |
| | 58 | <p> |
| | 59 | In the <i>icon</i> of every component an <i>arrow</i> is displayed in grey |
| | 60 | color. This arrow characterizes the coordinate system in which the vectors |
| | 61 | of the component are resolved. It is directed into the positive |
| | 62 | translational direction (in the mathematical sense). |
| | 63 | In the flanges of a component, a coordinate system is rigidly attached |
| | 64 | to the flange. It is called <i>flange frame</i> and is directed in parallel |
| | 65 | to the component coordinate system. As a result, e.g., the positive |
| | 66 | cut-force of a \"left\" flange (flange_a) is directed into the flange, whereas |
| | 67 | the positive cut-force of a \"right\" flange (flange_b) is directed out of the |
| | 68 | flange. A flange is described by a Modelica connector containing |
| | 69 | the following variables: |
| | 70 | </p> |
| | 71 | <pre> |
| | 72 | SIunits.Position s \"absolute position of flange\"; |
| | 73 | <i>flow</i> Force f \"cut-force in the flange\"; |
| | 74 | </pre> |
| | 75 | |
| | 76 | <p> |
| | 77 | This library is designed in a fully object oriented way in order that |
| | 78 | components can be connected together in every meaningful combination |
| | 79 | (e.g. direct connection of two springs or two shafts with inertia). |
| | 80 | As a consequence, most models lead to a system of |
| | 81 | differential-algebraic equations of <i>index 3</i> (= constraint |
| | 82 | equations have to be differentiated twice in order to arrive at |
| | 83 | a state space representation) and the Modelica translator or |
| | 84 | the simulator has to cope with this system representation. |
| | 85 | According to our present knowledge, this requires that the |
| | 86 | Modelica translator is able to symbolically differentiate equations |
| | 87 | (otherwise it is e.g. not possible to provide consistent initial |
| | 88 | conditions; even if consistent initial conditions are present, most |
| | 89 | numerical DAE integrators can cope at most with index 2 DAEs). |
| | 90 | </p> |
| | 91 | |
| | 92 | <dl> |
| | 93 | <dt><b>Main Author:</b></dt> |
| | 94 | <dd>Peter Beater <br> |
| | 95 | Universität Paderborn, Abteilung Soest<br> |
| | 96 | Fachbereich Maschinenbau/Automatisierungstechnik<br> |
| | 97 | Lübecker Ring 2 <br> |
| | 98 | D 59494 Soest <br> |
| | 99 | Germany <br> |
| | 100 | email: <A HREF=\"mailto:Beater@mailso.uni-paderborn.de\">Beater@mailso.uni-paderborn.de</A><br> |
| | 101 | </dd> |
| | 102 | </dl> |
| | 103 | |
| | 104 | <p> |
| | 105 | Copyright © 1998-2006, Modelica Association and Universität Paderborn, FB 12. |
| | 106 | </p> |
| | 107 | <p> |
| | 108 | <i>This Modelica package is <b>free</b> software; it can be redistributed and/or modified |
| | 109 | under the terms of the <b>Modelica license</b>, see the license conditions |
| | 110 | and the accompanying <b>disclaimer</b> |
| | 111 | <a href=\"Modelica://Modelica.UsersGuide.ModelicaLicense\">here</a>.</i> |
| | 112 | </p><br> |
| | 113 | |
| | 114 | </HTML> |
| | 115 | ", revisions="<html> |
| | 116 | <ul> |
| | 117 | <li><i>Version 1.0 (January 5, 2000)</i> |
| | 118 | by Peter Beater <br> |
| | 119 | Realized a first version based on Modelica library Mechanics.Rotational |
| | 120 | by Martin Otter and an existing Dymola library onedof.lib by Peter Beater. |
| | 121 | <br> |
| | 122 | <li><i>Version 1.01 (July 18, 2001)</i> |
| | 123 | by Peter Beater <br> |
| | 124 | Assert statement added to \"Stop\", small bug fixes in examples. |
| | 125 | <br><br> |
| | 126 | </li> |
| | 127 | </ul> |
| | 128 | </html>")); |
| | 129 | |
| 987 | | import SI = Modelica.SIunits; |
| 988 | | |
| 989 | | extends Modelica.Icons.Library2; |
| 990 | | |
| 991 | | annotation(preferedView="info", |
| 992 | | Window( |
| 993 | | x=0.05, |
| 994 | | y=0.09, |
| 995 | | width=0.39, |
| 996 | | height=0.47, |
| 997 | | library=1, |
| 998 | | autolayout=1), |
| 999 | | Icon( |
| 1000 | | Line(points=[-84, -73; 66, -73], style(color=0)), |
| 1001 | | Rectangle(extent=[-81, -22; -8, -65], style( |
| 1002 | | color=0, |
| 1003 | | gradient=3, |
| 1004 | | fillColor=8, |
| 1005 | | fillPattern=1)), |
| 1006 | | Line(points=[-8, -43; -1, -43; 6, -64; 17, -23; 29, -65; 40, -23; 50, -44; |
| 1007 | | 61, -44], style(color=0)), |
| 1008 | | Line(points=[-59, -73; -84, -93], style(color=0)), |
| 1009 | | Line(points=[-11, -73; -36, -93], style(color=0)), |
| 1010 | | Line(points=[-34, -73; -59, -93], style(color=0)), |
| 1011 | | Line(points=[14, -73; -11, -93], style(color=0)), |
| 1012 | | Line(points=[39, -73; 14, -93], style(color=0)), |
| 1013 | | Line(points=[63, -73; 38, -93], style(color=0))), Documentation(info="<html> |
| 1014 | | <p> |
| 1015 | | This package contains components to model <i>1-dimensional translational |
| 1016 | | mechanical</i> systems. |
| 1017 | | </p> |
| 1018 | | <p> |
| 1019 | | The <i>filled</i> and <i>non-filled green squares</i> at the left and |
| 1020 | | right side of a component represent <i>mechanical flanges</i>. |
| 1021 | | Drawing a line between such squares means that the corresponding |
| 1022 | | flanges are <i>rigidly attached</i> to each other. The components of this |
| 1023 | | library can be usually connected together in an arbitrary way. E.g. it is |
| 1024 | | possible to connect two springs or two sliding masses with inertia directly |
| 1025 | | together. |
| 1026 | | <p> The only <i>connection restriction</i> is that the Coulomb friction |
| 1027 | | elements (Stop) should be only connected |
| 1028 | | together provided a compliant element, such as a spring, is in between. |
| 1029 | | The reason is that otherwise the frictional force is not uniquely |
| 1030 | | defined if the elements are stuck at the same time instant (i.e., there |
| 1031 | | does not exist a unique solution) and some simulation systems may not be |
| 1032 | | able to handle this situation, since this leads to a singularity during |
| 1033 | | simulation. It can only be resolved in a \"clean way\" by combining the |
| 1034 | | two connected friction elements into |
| 1035 | | one component and resolving the ambiguity of the frictional force in the |
| 1036 | | stuck mode. |
| 1037 | | </p> |
| 1038 | | <p> Another restriction arises if the hard stops in model Stop are used, i. e. |
| 1039 | | the movement of the mass is limited by a stop at smax or smin. |
| 1040 | | <font color=\"#ff0000\"> <b>This requires the states Stop.s and Stop.v</b> </font>. If these states are eliminated during the index reduction |
| 1041 | | the model will not work. To avoid this any inertias should be connected via springs |
| 1042 | | to the Stop element, other sliding masses, dampers or hydraulic chambers must be avoided. </p> |
| 1043 | | <p> |
| 1044 | | In the <i>icon</i> of every component an <i>arrow</i> is displayed in grey |
| 1045 | | color. This arrow characterizes the coordinate system in which the vectors |
| 1046 | | of the component are resolved. It is directed into the positive |
| 1047 | | translational direction (in the mathematical sense). |
| 1048 | | In the flanges of a component, a coordinate system is rigidly attached |
| 1049 | | to the flange. It is called <i>flange frame</i> and is directed in parallel |
| 1050 | | to the component coordinate system. As a result, e.g., the positive |
| 1051 | | cut-force of a \"left\" flange (flange_a) is directed into the flange, whereas |
| 1052 | | the positive cut-force of a \"right\" flange (flange_b) is directed out of the |
| 1053 | | flange. A flange is described by a Modelica connector containing |
| 1054 | | the following variables: |
| 1055 | | </p> |
| 1056 | | <pre> |
| 1057 | | SIunits.Position s \"absolute position of flange\"; |
| 1058 | | <i>flow</i> Force f \"cut-force in the flange\"; |
| 1059 | | </pre> |
| 1060 | | |
| 1061 | | <p> |
| 1062 | | This library is designed in a fully object oriented way in order that |
| 1063 | | components can be connected together in every meaningful combination |
| 1064 | | (e.g. direct connection of two springs or two shafts with inertia). |
| 1065 | | As a consequence, most models lead to a system of |
| 1066 | | differential-algebraic equations of <i>index 3</i> (= constraint |
| 1067 | | equations have to be differentiated twice in order to arrive at |
| 1068 | | a state space representation) and the Modelica translator or |
| 1069 | | the simulator has to cope with this system representation. |
| 1070 | | According to our present knowledge, this requires that the |
| 1071 | | Modelica translator is able to symbolically differentiate equations |
| 1072 | | (otherwise it is e.g. not possible to provide consistent initial |
| 1073 | | conditions; even if consistent initial conditions are present, most |
| 1074 | | numerical DAE integrators can cope at most with index 2 DAEs). |
| 1075 | | </p> |
| 1076 | | |
| 1077 | | <dl> |
| 1078 | | <dt><b>Main Author:</b></dt> |
| 1079 | | <dd>Peter Beater <br> |
| 1080 | | Universität Paderborn, Abteilung Soest<br> |
| 1081 | | Fachbereich Maschinenbau/Automatisierungstechnik<br> |
| 1082 | | Lübecker Ring 2 <br> |
| 1083 | | D 59494 Soest <br> |
| 1084 | | Germany <br> |
| 1085 | | email: <A HREF=\"mailto:Beater@mailso.uni-paderborn.de\">Beater@mailso.uni-paderborn.de</A><br> |
| 1086 | | </dd> |
| 1087 | | </dl> |
| 1088 | | |
| 1089 | | <p> |
| 1090 | | Copyright © 1998-2006, Modelica Association and Universität Paderborn, FB 12. |
| 1091 | | </p> |
| 1092 | | <p> |
| 1093 | | <i>This Modelica package is <b>free</b> software; it can be redistributed and/or modified |
| 1094 | | under the terms of the <b>Modelica license</b>, see the license conditions |
| 1095 | | and the accompanying <b>disclaimer</b> |
| 1096 | | <a href=\"Modelica://Modelica.UsersGuide.ModelicaLicense\">here</a>.</i> |
| 1097 | | </p><br> |
| 1098 | | |
| 1099 | | </HTML> |
| 1100 | | ", revisions="<html> |
| 1101 | | <ul> |
| 1102 | | <li><i>Version 1.0 (January 5, 2000)</i> |
| 1103 | | by Peter Beater <br> |
| 1104 | | Realized a first version based on Modelica library Mechanics.Rotational |
| 1105 | | by Martin Otter and an existing Dymola library onedof.lib by Peter Beater. |
| 1106 | | <br> |
| 1107 | | <li><i>Version 1.01 (July 18, 2001)</i> |
| 1108 | | by Peter Beater <br> |
| 1109 | | Assert statement added to \"Stop\", small bug fixes in examples. |
| 1110 | | <br><br> |
| 1111 | | </li> |
| 1112 | | </ul> |
| 1113 | | </html>")); |
| 1114 | | |