Changeset 504
- Timestamp:
- 06/08/07 09:51:13 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Modelica/branches/maintenance/2.2.1/Modelica/Electrical/Machines.mo
r464 r504 2 2 extends Modelica.Icons.Library2; 3 3 annotation ( 4 version="1.7. 3", versionDate="2007-01-18",4 version="1.7.4", versionDate="2007-06-08", 5 5 Settings(NewStateSelection=true, Evaluate=true), 6 6 preferedView="info", Documentation(info="<HTML> 7 <p>8 7 This package contains components to model electrical machines: 9 8 <ul> … … 14 13 <li>Interfaces: Space phasor connector and partial machine models</li> 15 14 </ul> 16 </p>17 <p>18 15 <b>Limitations and assumptions:</b> 19 16 <ul> … … 27 24 only ohmic losses in stator and rotor winding</li> 28 25 </ul> 26 <p> 29 27 You may have a look at a short summary of space phasor theory at <a href=\"http://www.haumer.at/refimg/SpacePhasors.pdf\">http://www.haumer.at/refimg/SpacePhasors.pdf</a> 30 28 </p> 31 <p>32 29 <b>Further development:</b> 33 30 <ul> … … 37 34 <li>effects: saturation, skin-effect, other losses than ohmic, ...</li> 38 35 </ul> 39 </p>40 <p>41 36 <dl> 42 37 <dt><b>Main Authors:</b></dt> … … 48 43 </dd> 49 44 </dl> 50 </p>51 45 <p> 52 Copyright © 1998-200 6, Modelica Association and Anton Haumer.46 Copyright © 1998-2007, Modelica Association and Anton Haumer. 53 47 </p> 54 48 <p> … … 108 102 <li> v1.7.1 2006/02/06 Anton Haumer<br> 109 103 changed some naming of synchronous machines, not affecting existing models</li> 110 <li> v1.7.3 2007/01/18 Anton Haumer<br>104 <li> v1.7.3 /01/18 Anton Haumer<br> 111 105 resolved a bug in electrical excitation of synchronous induction machine</li> 106 <li> v1.7.4 2007/06/08 Anton Haumer<br> 107 documentation update</li> 112 108 </ul> 113 109 </HTML>"), … … 144 140 extends Modelica.Icons.Library2; 145 141 annotation (Documentation(info="<HTML> 146 <p>147 142 This package contains test examples of electric machines,<br> 148 143 and a package utilities with components used for the examples. 149 </p>150 151 144 </HTML>", revisions="<HTML> 152 145 <dl> 153 <p>154 146 <dt><b>Main Authors:</b></dt> 155 147 <dd> … … 159 151 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 160 152 </dd> 161 </p>162 <p>163 153 <dt><b>Copyright:</b></dt> 164 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>154 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 165 155 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 166 156 under the terms of the <b>Modelica license</b>, see the license conditions 167 157 and the accompanying <b>disclaimer</b> in the documentation of package 168 158 Modelica in file \"Modelica/package.mo\".</i></dd> 169 </p>170 159 </dl> 171 160 … … 215 204 doublePrecision=true), 216 205 Documentation(info="<HTML> 217 <p>218 206 <b>1st Test example: Asynchronous induction Machine with squirrel cage - direct on line starting</b><br> 219 207 At start time tStart three phase voltage is supplied to the asynchronous induction machine with squirrel cage; … … 226 214 </ul> 227 215 Default machine parameters of model <i>AIM_SquirrelCage</i> are used. 228 </p>229 216 </HTML>")); 230 217 Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage … … 322 309 doublePrecision=true), 323 310 Documentation(info="<HTML> 324 <p>325 311 <b>2nd Test example: Asynchronous induction Machine with squirrel cage - Y-D starting</b><br> 326 312 At start time tStart three phase voltage is supplied to the asynchronous induction machine with squirrel cage, first star-connected, then delta-connetced; the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed, finally reaching nominal speed.<br> … … 332 318 </ul> 333 319 Default machine parameters of model <i>AIM_SquirrelCage</i> are used. 334 </p>335 320 </HTML>")); 336 321 Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage … … 427 412 doublePrecision=true), 428 413 Documentation(info="<HTML> 429 <p>430 414 <b>3rd Test example: Asynchronous induction Machine with slipring rotor - resistance starting</b><br> 431 415 At start time tStart1 three phase voltage is supplied to the asynchronous induction machine with sliprings; … … 439 423 </ul> 440 424 Default machine parameters of model <i>AIM_SlipRing</i> are used. 441 </p>442 425 </HTML>")); 443 426 Machines.BasicMachines.AsynchronousInductionMachines.AIM_SlipRing AIMS1 … … 574 557 doublePrecision=true), 575 558 Documentation(info="<HTML> 576 <p>577 559 <b>4th Test example: Asynchronous induction Machine with squirrel cage fed by an ideal inverter</b><br> 578 560 An ideal frequency inverter is modeled by using a VfController and a threephase SignalVoltage.<br> … … 586 568 </ul> 587 569 Default machine parameters of model <i>AIM_SquirrelCage</i> are used. 588 </p>589 570 </HTML>")); 590 571 Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage … … 670 651 doublePrecision=true), 671 652 Documentation(info="<HTML> 672 <p>673 653 <b>5th Test example: Synchronous Induction Machine with Reluctance rotor fed by an ideal inverter</b><br> 674 654 An ideal frequency inverter is modeled by using a VfController and a threephase SignalVoltage.<br> … … 683 663 </ul> 684 664 Default machine parameters of model <i>SM_ReluctanceRotorDamperCage</i> are used. 685 </p>686 665 </HTML>")); 687 666 Machines.BasicMachines.SynchronousInductionMachines.SM_ReluctanceRotorDamperCage … … 774 753 doublePrecision=true), 775 754 Documentation(info="<HTML> 776 <p>777 755 <b>6th Test example: Permanent Magnet Synchronous Induction Machine fed by an ideal inverter</b><br> 778 756 An ideal frequency inverter is modeled by using a VfController and a threephase SignalVoltage.<br> … … 787 765 </ul> 788 766 Default machine parameters of model <i>SM_PermanentMagnetDamperCage</i> are used. 789 </p>790 767 <p> 791 768 <b>In practice it is nearly impossible to drive a PMSMD without current controller.</b> … … 883 860 experimentSetupOutput(doublePrecision=true), 884 861 Documentation(info="<HTML> 885 <p>886 862 <b>7th Test example: Electrical Excited Synchronous Induction Machine as generator</b><br> 887 863 An electrically excited synchronous generator is connected to the grid and driven with constant speed. … … 897 873 </ul> 898 874 Default machine parameters of model <i>SM_ElectricalExcitedDamperCage</i> are used. 899 </p>900 875 </HTML>")); 901 876 Machines.BasicMachines.SynchronousInductionMachines.SM_ElectricalExcitedDamperCage … … 1003 978 doublePrecision=true), 1004 979 Documentation(info="<HTML> 1005 <p>1006 980 <b>8th Test example: Permanent magnet DC Machine started with an armature voltage ramp</b><br> 1007 981 A voltage ramp is applied to the armature, causing the DC machine to start, … … 1014 988 </ul> 1015 989 Default machine parameters of model <i>DC_PermanentMagnet</i> are used. 1016 </p>1017 990 </HTML>")); 1018 991 Machines.BasicMachines.DCMachines.DC_PermanentMagnet DCPM1 … … 1061 1034 doublePrecision=true), 1062 1035 Documentation(info="<HTML> 1063 <p>1064 1036 <b>9th Test example: Electrically separate excited DC Machine started with an armature voltage ramp</b><br> 1065 1037 A voltage ramp is applied to the armature, causing the DC machine to start, … … 1073 1045 </ul> 1074 1046 Default machine parameters of model <i>DC_ElectricalExcited</i> are used. 1075 </p>1076 1047 </HTML>")); 1077 1048 Machines.BasicMachines.DCMachines.DC_ElectricalExcited DCEE1 … … 1131 1102 doublePrecision=true), 1132 1103 Documentation(info="<HTML> 1133 <p>1134 1104 <b>10th Test example: Series excited DC Machine started with an armature voltage ramp</b><br> 1135 1105 A voltage ramp is applied to the armature, causing the DC machine to start, … … 1142 1112 </ul> 1143 1113 Default machine parameters of model <i>DC_SeriesExcited</i> are used. 1144 </p>1145 1114 </HTML>")); 1146 1115 Machines.BasicMachines.DCMachines.DC_SeriesExcited DCSE1 … … 1180 1149 extends Modelica.Icons.Library; 1181 1150 annotation (Documentation(info="<HTML> 1182 <p>1183 1151 This package contains components utility components for testing examples. 1184 </p>1185 1186 1152 </HTML>", revisions="<HTML> 1187 1153 <dl> 1188 <p>1189 1154 <dt><b>Main Authors:</b></dt> 1190 1155 <dd> … … 1194 1159 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 1195 1160 </dd> 1196 </p>1197 <p>1198 1161 <dt><b>Copyright:</b></dt> 1199 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>1162 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 1200 1163 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 1201 1164 under the terms of the <b>Modelica license</b>, see the license conditions 1202 1165 and the accompanying <b>disclaimer</b> in the documentation of package 1203 1166 Modelica in file \"Modelica/package.mo\".</i></dd> 1204 </p>1205 1167 </dl> 1206 1168 … … 1249 1211 20.3, -54.1; 25.9, -41.3; 33, -21.7; 40, 0], style(color=8))), 1250 1212 Documentation(info="<HTML> 1251 <p>1252 1213 Simple Voltage-Frequency-Controller.<br> 1253 1214 Amplitude of voltage is linear dependent (VNominal/fNominal) on Frequency (input signal \"u\"), but limited by VNominal (nominal RMS voltage per phase).<br> … … 1255 1216 The sine-waves are intended to feed a m-phase SignalVoltage.<br> 1256 1217 Phase shifts between sine-waves may be choosen by the user; default values are <i>(k-1)/m*pi for k in 1:m</i>. 1257 </p>1258 1218 </HTML>")); 1259 1219 equation … … 1287 1247 fillPattern=1))), 1288 1248 Documentation(info="<HTML> 1289 <p>1290 1249 Simple Star-Delta-switch.<br> 1291 1250 If <i>control</i> is false, plug_PS and plug_NS are star connected and plug_PS connected to plug_P.<br> 1292 1251 If <i>control</i> is true, plug_PS and plug_NS are delta connected and they are connected to plug_P. 1293 </p>1294 1252 </HTML>")); 1295 1253 Modelica.Electrical.MultiPhase.Basic.Star star(final m=m) … … 1358 1316 fillPattern=1))), 1359 1317 Documentation(info="<html> 1360 <p>1361 1318 TerminalBox: at the bottom connected to both machine plugs, connect at the top to the grid as usual,<br> 1362 1319 choosing Y-connection (StarDelta=Y) or D-connection (StarDelta=D). 1363 </p>1364 1320 </html>")); 1365 1321 Modelica.Electrical.Analog.Interfaces.NegativePin starpoint if (StarDelta<>"D") … … 1390 1346 extends Modelica.Icons.Library2; 1391 1347 annotation (Documentation(info="<HTML> 1392 <p>1393 1348 This package contains components for modeling electrical machines, specially threephase induction machines, based on space phasor theory: 1394 1349 <ul> … … 1399 1354 </ul> 1400 1355 The induction machine models use package SpacePhasors. 1401 </p>1402 1403 1356 </HTML>", revisions="<HTML> 1404 1357 <dl> 1405 <p>1406 1358 <dt><b>Main Authors:</b></dt> 1407 1359 <dd> … … 1411 1363 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 1412 1364 </dd> 1413 </p>1414 <p>1415 1365 <dt><b>Copyright:</b></dt> 1416 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>1366 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 1417 1367 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 1418 1368 under the terms of the <b>Modelica license</b>, see the license conditions 1419 1369 and the accompanying <b>disclaimer</b> in the documentation of package 1420 1370 Modelica in file \"Modelica/package.mo\".</i></dd> 1421 </p>1422 1371 </dl> 1423 1424 1372 <ul> 1425 1373 <li> v1.00 2004/09/16 Anton Haumer</li> … … 1483 1431 extends Modelica.Icons.Library; 1484 1432 annotation (Documentation(info="<HTML> 1485 <p>1486 1433 This package contains models of asynchronous induction machines, based on space phasor theory: 1487 1434 <ul> … … 1490 1437 </ul> 1491 1438 These models use package SpacePhasors. 1492 </p>1493 1494 1439 </HTML>", revisions="<HTML> 1495 1440 <dl> 1496 <p>1497 1441 <dt><b>Main Authors:</b></dt> 1498 1442 <dd> … … 1502 1446 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 1503 1447 </dd> 1504 </p>1505 <p>1506 1448 <dt><b>Copyright:</b></dt> 1507 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>1449 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 1508 1450 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 1509 1451 under the terms of the <b>Modelica license</b>, see the license conditions 1510 1452 and the accompanying <b>disclaimer</b> in the documentation of package 1511 1453 Modelica in file \"Modelica/package.mo\".</i></dd> 1512 </p>1513 1454 </dl> 1514 1515 1455 <ul> 1516 1456 <li> v1.02 2004/09/19 Anton Haumer</li> … … 1571 1511 annotation (defaultComponentName="AIMC", 1572 1512 Documentation(info="<HTML> 1573 <p>1574 1513 <b>Model of a three phase asynchronous induction machine with squirrel cage.</b><br> 1575 1514 Resistance and stray inductance of stator is modeled directly in stator phases, then using space phasor transformation. Resistance and stray inductance of rotor's squirrel cage is modeled in two axis of the rotor-fixed ccordinate system. Both together connected via a stator-fixed <i>AirGap</i> model. Only losses in stator and rotor resistance are taken into account. 1576 </p> 1577 <p> 1578 <b>Default values for machine's parameters (a realistic example) are:</b><br> 1515 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 1579 1516 <table> 1580 1517 <tr> … … 1659 1596 </tr> 1660 1597 </table> 1661 </p>1662 1598 </HTML>"), Diagram); 1663 1599 equation … … 1783 1719 annotation (defaultComponentName="AIMS", 1784 1720 Documentation(info="<HTML> 1785 <p>1786 1721 <b>Model of a three phase asynchronous induction machine with slipring rotor.</b><br> 1787 1722 Resistance and stray inductance of stator and rotor are modeled directly in stator respectively rotor phases, then using space phasor transformation and a stator-fixed <i>AirGap</i> model. Only losses in stator and rotor resistance are taken into account. 1788 </p> 1789 <p> 1790 <b>Default values for machine's parameters (a realistic example) are:</b><br> 1723 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 1791 1724 <table> 1792 1725 <tr> … … 1875 1808 </tr> 1876 1809 </table> 1877 </p>1878 <p>1879 1810 Parameter TurnsRatio could be obtained from the following relationship 1880 1811 at standstill with open rotor circuit at nominal voltage and nominal frequency, <br> 1881 1812 using the locked-rotor voltage VR, no-load stator current I0 and powerfactor PF0:<br> 1882 1813 TurnsRatio * <u>V</u><sub>R</sub> = <u>V</u><sub>s</sub> - (R<sub>s</sub> + j X<sub>s,sigma</sub>) <u>I</u><sub>0</sub> 1883 </p>1884 1814 </HTML>"), Diagram, 1885 1815 Icon(Line(points=[-100,50; -100,20; -60,20], style(color=3, rgbcolor={0, … … 1953 1883 extends Modelica.Icons.Library; 1954 1884 annotation (Documentation(info="<HTML> 1955 <p>1956 1885 This package contains models of synchronous induction machines, based on space phasor theory: 1957 1886 <ul> … … 1963 1892 </ul> 1964 1893 These models use package SpacePhasors. 1965 </p> 1966 <p> 1967 <b>Please keep in mind:</b><br> 1894 <br><b>Please keep in mind:</b><br> 1968 1895 <ul> 1969 1896 <li>We keep the same reference system as for motors, i.e.:<br> … … 1975 1902 <li>Voltage induced by the magnet wheel (d-axis) is located in the q-axis.</li> 1976 1903 </ul> 1977 </p>1978 1979 1904 </HTML>", revisions="<HTML> 1980 1905 <dl> 1981 <p>1982 1906 <dt><b>Main Authors:</b></dt> 1983 1907 <dd> … … 1987 1911 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 1988 1912 </dd> 1989 </p>1990 <p>1991 1913 <dt><b>Copyright:</b></dt> 1992 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>1914 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 1993 1915 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 1994 1916 under the terms of the <b>Modelica license</b>, see the license conditions 1995 1917 and the accompanying <b>disclaimer</b> in the documentation of package 1996 1918 Modelica in file \"Modelica/package.mo\".</i></dd> 1997 </p>1998 1919 </dl> 1999 2000 1920 <ul> 2001 1921 <li> v1.02 2004/09/19 Anton Haumer</li> … … 2100 2020 Ellipse(extent=[-134,34; -66,-34], style(color=3, rgbcolor={0,0,255}))), 2101 2021 Documentation(info="<HTML> 2102 <p>2103 2022 <b>Model of a three phase permanent magnet synchronous induction machine.</b><br> 2104 2023 Resistance and stray inductance of stator is modeled directly in stator phases, then using space phasor transformation and a rotor-fixed <i>AirGap</i> model. Resistance and stray inductance of rotor's squirrel cage is modeled in two axis of the rotor-fixed ccordinate system. Permanent magnet excitation is modelled by a constant equivalent excitation current feeding the d-axis. Only losses in stator and damper resistance are taken into account. 2105 </p> 2106 <p> 2107 Whether a damper cage is present or not, can be selected with Boolean parameter DamperCage (default = true). 2108 </p> 2109 <p> 2110 <b>Default values for machine's parameters (a realistic example) are:</b><br> 2024 <br>Whether a damper cage is present or not, can be selected with Boolean parameter DamperCage (default = true). 2025 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 2111 2026 <table> 2112 2027 <tr> … … 2219 2134 </tr> 2220 2135 </table> 2221 </p>2222 2136 </HTML>")); 2223 2137 equation … … 2350 2264 rgbcolor={0,0,255}))), 2351 2265 Documentation(info="<HTML> 2352 <p>2353 2266 <b>Model of a three phase electrical excited synchronous induction machine with damper cage.</b><br> 2354 2267 Resistance and stray inductance of stator is modeled directly in stator phases, then using space phasor transformation and a rotor-fixed <i>AirGap</i> model. Resistance and stray inductance of rotor's squirrel cage is modeled in two axis of the rotor-fixed ccordinate system. Electrical excitation is modelled by converting excitation current and voltage to d-axis space phasors. Only losses in stator, damper and excitation resistance are taken into account. 2355 </p>2356 <p>2357 2268 Whether a damper cage is present or not, can be selected with Boolean parameter DamperCage (default = true). 2358 </p> 2359 <p> 2360 <b>Default values for machine's parameters (a realistic example) are:</b><br> 2269 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 2361 2270 <table> 2362 2271 <tr> … … 2486 2395 </tr> 2487 2396 </table> 2488 </p>2489 2397 </HTML>")); 2490 2398 equation … … 2599 2507 Ellipse(extent=[-134,34; -66,-34], style(color=3, rgbcolor={0,0,255}))), 2600 2508 Documentation(info="<HTML> 2601 <p>2602 2509 <b>Model of a three phase synchronous induction machine with reluctance rotor and damper cage.</b><br> 2603 2510 Resistance and stray inductance of stator is modeled directly in stator phases, then using space phasor transformation. Resistance and stray inductance of rotor's squirrel cage is modeled in two axis of the rotor-fixed ccordinate system. Both together connected via a rotor-fixed <i>AirGap</i> model. Only losses in stator and rotor resistance are taken into account. 2604 </p>2605 <p>2606 2511 Whether a damper cage is present or not, can be selected with Boolean parameter DamperCage (default = true). 2607 </p> 2608 <p> 2609 <b>Default values for machine's parameters (a realistic example) are:</b><br> 2512 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 2610 2513 <table> 2611 2514 <tr> … … 2710 2613 </tr> 2711 2614 </table> 2712 </p>2713 2615 </HTML>")); 2714 2616 equation … … 2749 2651 extends Modelica.Icons.Library; 2750 2652 annotation (Documentation(info="<HTML> 2751 <p>2752 2653 This package contains models of DC machines: 2753 2654 <ul> … … 2756 2657 <li>DC_SeriesExcited: DC machine with series excitation</li> 2757 2658 </ul> 2758 </p>2759 2760 2659 </HTML> 2761 2660 ", revisions="<HTML> 2762 2661 <dl> 2763 <p>2764 2662 <dt><b>Main Authors:</b></dt> 2765 2663 <dd> … … 2769 2667 email: <a href=\"mailto:a.haumer@haumer.at\">a.haumer@haumer.at</a> 2770 2668 </dd> 2771 </p>2772 <p>2773 2669 <dt><b>Copyright:</b></dt> 2774 <dd>Copyright © 1998-200 6, Modelica Association and Anton Haumer.<br>2670 <dd>Copyright © 1998-2007, Modelica Association and Anton Haumer.<br> 2775 2671 <i>The Modelica package is <b>free</b> software; it can be redistributed and/or modified 2776 2672 under the terms of the <b>Modelica license</b>, see the license conditions 2777 2673 and the accompanying <b>disclaimer</b> in the documentation of package 2778 2674 Modelica in file \"Modelica/package.mo\".</i></dd> 2779 </p>2780 2675 </dl> 2781 2782 2676 <ul> 2783 2677 <li> v1.02 2004/09/19 Anton Haumer</li> … … 2843 2737 rgbfillColor={255,0,0}))), 2844 2738 Documentation(info="<HTML> 2845 <p>2846 2739 <b>Model of a DC Machine with Permanent magnet.</b><br> 2847 2740 Armature resistance and inductance are modeled directly after the armature pins, then using a <i>AirGapDC</i> model. Permanent magnet excitation is modelled by a constant equivalent excitation current feeding AirGapDC. Only losses in armature resistance are taken into account. No saturation is modelled. 2848 </p> 2849 <p> 2850 <b>Default values for machine's parameters (a realistic example) are:</b><br> 2741 <br><b>Default values for machine's parameters (a realistic example) are:</b><br> 2851 2742 <table> 2852 2743 <tr> … … 2892 2783 </table> 2893 2784 Armature resistance resp. inductance include resistance resp. inductance of commutating pole winding and compensation windig, if present. 2894 </p>2895 2785 </HTML>")); 2896 2786 equation … … 2974 2864 rgbcolor={0,0,255}))), 2975 2865 Documentation(info="<HTML>
