| 159 | | <h3><font color=\"#008000\">Version 2.3 (not yet released)</font></h3> |
| 160 | | <p> |
| 161 | | Version 2.3 is backward compatible to version 2.2. |
| 162 | | </p> |
| 163 | | |
| 164 | | <p> |
| 165 | | The following other (minor) <b>changes</b> have been performed: |
| 166 | | </p> |
| 167 | | |
| 168 | | <ul> |
| 169 | | <li>Fixed bug in Modelica.Blocks.Tables: tableOnFile now determines |
| 170 | | independently of fileName's value whether a table is read from |
| 171 | | file or used from the class modification.</li> |
| 172 | | <li>Fixed bug in Modelica.Utilities.Streams.readLine(), by |
| 173 | | adding a \"Streams.close(..)\" after reading the file content.</li> |
| 174 | | </ul> |
| | 159 | <h3><font color=\"#008000\">Version 2.2.1</font></h3> |
| | 160 | <p> |
| | 161 | Version 2.2.1 is backward compatible to version 2.2. |
| | 162 | </p> |
| | 163 | |
| | 164 | <p> |
| | 165 | In this version, <b>no</b> new libraries have been added. |
| | 166 | </p> |
| | 167 | |
| | 168 | <p> |
| | 169 | In Dymola 6, the new feature was introduced to automatically add tables |
| | 170 | for class content and component interface definitions (parameters and |
| | 171 | connectors) to the info layer. For this reason, the corresponding (partial) |
| | 172 | tables previously present in the Modelica Standard Library have been |
| | 173 | removed. The new feature of Dymola 6 has the significant advantage that |
| | 174 | all tables are now guaranteed to be up-to-date.<br> |
| | 175 | </p> |
| | 176 | |
| | 177 | <p> |
| | 178 | The following <b>new components</b> have been added to <b>existing</b> libraries: |
| | 179 | </p> |
| | 180 | |
| | 181 | <table border=\"1\" cellspacing=0 cellpadding=2> |
| | 182 | <tr><td colspan=\"2\"><b>Modelica.Mechanics.MultiBody.Types.</b></td></tr> |
| | 183 | <tr><td>SpecularCoefficient</td> |
| | 184 | <td> New type to define a specular coefficient.</td> </tr> |
| | 185 | <tr><td>ShapeExtra</td> |
| | 186 | <td> New type to define the extra data for visual shape objects and to |
| | 187 | have a central place for the documentation of this data.</td> </tr> |
| | 188 | <tr><td colspan=\"2\"><b>Modelica.Mechanics.Rotational.</b></td></tr> |
| | 189 | <tr><td>UsersGuide</td> |
| | 190 | <td> A users guide has been added by using the documentation previously |
| | 191 | present in the package documentation of Rotational.</td> </tr> |
| | 192 | <tr><td>Sensors.PowerSensor</td> |
| | 193 | <td> New component to measure the energy flow between two connectors |
| | 194 | of the Rotational library.</td> </tr> |
| | 195 | </table> |
| | 196 | |
| | 197 | <p> |
| | 198 | The following <b>components</b> have been improved: |
| | 199 | </p> |
| | 200 | |
| | 201 | <table border=\"1\" cellspacing=0 cellpadding=2> |
| | 202 | <tr><td colspan=\"2\"><b>Modelica.Blocks.Tables.</b></td></tr> |
| | 203 | <tr><td>CombiTable1D<br> |
| | 204 | CombiTable1Ds<br> |
| | 205 | CombiTable2D</td> |
| | 206 | <td> Parameter \"tableOnFile\" determines now whether a table is read from |
| | 207 | file or used from parameter \"table\". Previously, if \"fileName\" was not |
| | 208 | \"NoName\", a table was always read from file \"fileName\", independently |
| | 209 | of the setting of \"tableOnFile\". This has been corrected.<br> |
| | 210 | Furthermore, the initialization of a table is now performed in a |
| | 211 | when-clause and no longer in a parameter declaration, because some |
| | 212 | tools evaluate the parameter declaration in some situation more than |
| | 213 | once and then the table is unnecessarily read several times |
| | 214 | (and occupies also more memory).</td> </tr> |
| | 215 | <tr><td colspan=\"2\"><b>Modelica.Blocks.Sources.</b></td></tr> |
| | 216 | <tr><td>CombiTimeTable</td> |
| | 217 | <td> Same improvements as for the tables from Modelica.Blocks.Tables |
| | 218 | as outlined above.</td> </tr> |
| | 219 | |
| | 220 | <tr><td colspan=\"2\"><b>Modelica.Mechanics.MultiBody.</b></td></tr> |
| | 221 | <tr><td>all models</td> |
| | 222 | <td> <ul> |
| | 223 | <li> All menus have been changed to follow the Modelica 2.2 annotations |
| | 224 | \"Dialog, group, tab, enable\" (previously, a non-standard Dymola |
| | 225 | definition for menus was used). Also, the \"enable\" annotation is used in all menus |
| | 226 | to disable input fields if the input would be ignored.</li> |
| | 227 | <li> All components with animation information have a new variable |
| | 228 | <b>specularCoefficient</b> to define the reflection of ambient light. |
| | 229 | The default value is world.defaultSpecularCoefficient which has |
| | 230 | a default of 0.7. By changing world.defaultSpecularCoefficient, the |
| | 231 | specularCoefficient of all components is changed that are not |
| | 232 | explicitly set differently. Since specularCoefficient is a variable |
| | 233 | (and no parameter), it can be changed during simulation. Since |
| | 234 | annotation(Dialog) is set, this variable still appears in the |
| | 235 | parameter menus.<br> |
| | 236 | Previously, a constant specularCoefficient of 0.7 was used |
| | 237 | for all components.</li> |
| | 238 | <li> Variable <b>color</b> of all components is no longer a parameter |
| | 239 | but an input variable. Also all parameters in package <b>Visualizers</b>, |
| | 240 | with the exception of <b>shapeType</b> are no longer parameters but |
| | 241 | defined as input variables with annotation(Dialog). As a result, |
| | 242 | all these variables appear still in parameter menus, but they can |
| | 243 | be changed during simulation (e.g., color might be used to |
| | 244 | display the temperature of a part).</li> |
| | 245 | </ul></td></tr> |
| | 246 | <tr><td>Interfaces.Frame.a<br> |
| | 247 | Interfaces.Frame.b<br> |
| | 248 | Interfaces.Frame_resolve</td> |
| | 249 | <td> The Frame connectors are now centered around the origin to ease |
| | 250 | the usage. The shape was changed a bit, such that the icon has a |
| | 251 | height of 20 when dragged (previously, the height was 10 when dragged |
| | 252 | and in the MultiBody library it was then manually changed to a height of 15). |
| | 253 | As a result, it is easy to position it with the standard grid size of 2. |
| | 254 | The size of the diagram layer is still 10, in order that the connector looks |
| | 255 | nice when used in a diagram layer. The double line width in the icon layer |
| | 256 | was changed to single line width in order that the icon looks nicer when |
| | 257 | used in a component.</td> |
| | 258 | <tr><td>Types</td> |
| | 259 | <td> All types have a corresponding icon now to visualize the content |
| | 260 | in the package browser (previously, the types did not have an icon).</td> |
| | 261 | |
| | 262 | <tr><td colspan=\"2\"><b>Modelica.Utilities.Streams.</b></td></tr> |
| | 263 | <tr><td>readLine</td> |
| | 264 | <td> Depending on the C-implementation, the stream was not correctly closed. |
| | 265 | This has been corrected by adding a \"Streams.close(..)\" |
| | 266 | after reading the file content.</td> </tr> |
| | 267 | </table> |
| | 268 | <p> |