Changeset 547
- Timestamp:
- 08/17/07 09:00:13 (16 months ago)
- Location:
- Modelica/trunk/Modelica
- Files:
-
- 7 modified
-
Mechanics/MultiBody/Examples/Systems/RobotR3.mo (modified) (7 diffs)
-
Media/CompressibleLiquids.mo (modified) (2 diffs)
-
Media/IdealGases/Common/package.mo (modified) (3 diffs)
-
Media/Water/IF97_Utilities.mo (modified) (39 diffs)
-
Media/Water/package.mo (modified) (1 diff)
-
Media/package.mo (modified) (14 diffs)
-
package.mo (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Modelica/trunk/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3.mo
r542 r547 366 366 367 367 annotation (defaultComponentPrefixes="protected", 368 Icon(Rectangle(extent=[-20, 2; 22, -2], style(rgbcolor={255,204,51}, thickness=2))), 368 Icon(Rectangle(extent=[-20, 2; 22, -2], style(rgbcolor={255,204,51}, thickness=2))), 369 369 Documentation(info="<html> 370 370 <p> … … 383 383 annotation ( 384 384 Icon(Rectangle(extent=[-20, 2; 22, -2], style(rgbcolor={255,204,51}, thickness=2))), 385 Diagram, 385 Diagram, 386 386 Documentation(info="<html> 387 387 <p> … … 866 866 width=0.71, 867 867 height=0.71), 868 Documentation(info=" 868 Documentation(info="<html> 869 <p> 869 870 Models the gearbox used in the first three joints with all its effects, 870 871 like elasticity and friction. … … 886 887 Since relative quantities are used as state variables, this simplifies 887 888 the definition of initial values considerably. 889 </p> 890 </html> 888 891 "), Icon( 889 892 Rectangle(extent=[-100,10; -60,-10], style( … … 966 969 width=0.63, 967 970 height=0.63), 968 Documentation(info="The elasticity and damping in the gearboxes of the outermost 971 Documentation(info="<html> 972 <p> 973 The elasticity and damping in the gearboxes of the outermost 969 974 three joints of the robot is neglected. 970 975 Default values for all parameters are given for joint 4. 976 </p> 977 </html> 971 978 "), Icon( 972 979 Rectangle(extent=[-100,10; -60,-10], style( … … 1040 1047 width=0.68, 1041 1048 height=0.8), 1042 Documentation(info=" Default values are given for the motor of joint 1. 1049 Documentation(info="<html> 1050 <p> 1051 Default values are given for the motor of joint 1. 1043 1052 The input of the motor is the desired current 1044 1053 (the actual current is proportional to the torque 1045 1054 produced by the motor). 1055 </p> 1056 </html> 1046 1057 "), Icon(Text(extent=[0, 120; 0, 60], string="%name"), Line(points=[80, -102; 1047 1058 80, -10], style( … … 1215 1226 y=0.01, 1216 1227 width=0.84, 1217 height=0.76), 1228 height=0.76), 1218 1229 Documentation(info="<html> 1219 1230 <p> -
Modelica/trunk/Modelica/Media/CompressibleLiquids.mo
r535 r547 52 52 reference_p = 101325, reference_T = 298.15); 53 53 annotation (Documentation(info="<html> 54 <h 2>Water model with linear compressibility at ambient conditions</h2>54 <h4>Water model with linear compressibility at ambient conditions</h4> 55 55 </html>")); 56 56 end LinearWater_pT_Ambient; 57 57 58 58 annotation (Documentation(info="<html> 59 <body> 60 <h 2>Fluid models with linear compressibility, using PartialLinearFluid as base class.</h2>59 60 <h4>Fluid models with linear compressibility, using PartialLinearFluid as base class.</h4> 61 61 <p>The linear compressibility fluid models contained in this package are based on the assumptions that: 62 62 </p> … … 89 89 </p> 90 90 91 </body>92 91 </html>")); 93 92 end CompressibleLiquids; -
Modelica/trunk/Modelica/Media/IdealGases/Common/package.mo
r544 r547 604 604 605 605 annotation (Documentation(info="<html> 606 <body>607 608 606 <p> 609 607 The used formula are based on the method of Chung et al (1984, 1988) referred to in ref [1] chapter 9. … … 764 762 Published: Oct 01, 1994. 765 763 </p> 766 <p><b>Known limits of validity:</ p></br>764 <p><b>Known limits of validity:</b></br> 767 765 The data is valid for 768 766 temperatures between 200 K and 6000 K. A few of the data sets for … … 1070 1068 1071 1069 annotation (Documentation(info="<html> 1072 <body>1073 1070 1074 1071 <p> -
Modelica/trunk/Modelica/Media/Water/IF97_Utilities.mo
r544 r547 92 92 email: hubertus@modelon.se 93 93 </address> 94 </HTML>", revisions="<h 1>Intermediate release notes during development<\\h1>94 </HTML>", revisions="<h4>Intermediate release notes during development<\\h4> 95 95 <p>Currenly the Events/noEvents switch is only implmented for p-h states. Only after testing that implmentation, it will be extended to dT.</p>")); 96 96 extends Modelica.Icons.Library; … … 3626 3626 annotation ( 3627 3627 Documentation( info="<html> 3628 < body>3628 <p> 3629 3629 Equation number 2 from:<br> 3630 3630 The International Association for the Properties of Water and Steam<br> … … 3634 3634 Function of Enthalpy and Entropy p(h,s) to the IAPWS Industrial 3635 3635 Formulation 1997 for the Thermodynamic Properties of Water and Steam<br> 3636 </ body>3636 </p> 3637 3637 </html> 3638 3638 ")); … … 3664 3664 annotation ( 3665 3665 Documentation( info="<html> 3666 < body>3666 <p> 3667 3667 Equation number 3 from:<br> 3668 3668 The International Association for the Properties of Water and Steam<br> … … 3672 3672 Function of Enthalpy and Entropy p(h,s) to the IAPWS Industrial 3673 3673 Formulation 1997 for the Thermodynamic Properties of Water and Steam<br> 3674 </ body>3674 </p> 3675 3675 </html> 3676 3676 ")); … … 3703 3703 annotation ( 3704 3704 Documentation( info="<html> 3705 < body>3705 <p> 3706 3706 Equation number 4 from:<br> 3707 3707 The International Association for the Properties of Water and Steam<br> … … 3711 3711 Function of Enthalpy and Entropy p(h,s) to the IAPWS Industrial 3712 3712 Formulation 1997 for the Thermodynamic Properties of Water and Steam<br> 3713 </ body>3713 </p> 3714 3714 </html> 3715 3715 ")); … … 3742 3742 annotation ( 3743 3743 Documentation( info="<html> 3744 < body>3744 <p> 3745 3745 Equation number 5 from:<br> 3746 3746 The International Association for the Properties of Water and Steam<br> … … 3750 3750 Function of Enthalpy and Entropy p(h,s) to the IAPWS Industrial 3751 3751 Formulation 1997 for the Thermodynamic Properties of Water and Steam<br> 3752 </ body>3752 </p> 3753 3753 </html> 3754 3754 ")); … … 3769 3769 annotation ( 3770 3770 Documentation(info="<html> 3771 < body>3771 <p> 3772 3772 Equation number 1 from:<br> 3773 3773 <div style=\"text-align: center;\"> [1] The international Association … … 3780 3780 the Thermodynamic Properties of<br> 3781 3781 Water and Steam</div> 3782 </ body>3782 </p> 3783 3783 </html>")); 3784 3784 … … 3788 3788 annotation (Documentation( 3789 3789 info="<html> 3790 < body>3790 <p> 3791 3791 Equation from:<br> 3792 3792 <div style=\"text-align: center;\"> [1] The international Association … … 3799 3799 the Thermodynamic Properties of<br> 3800 3800 Water and Steam</div> 3801 </ body>3801 </p> 3802 3802 </html>")); 3803 3803 … … 3827 3827 Documentation( 3828 3828 info="<html> 3829 < body>3829 <p> 3830 3830 Equation number 2 from:<br> 3831 3831 <div style=\"text-align: center;\"> [1] The international Association … … 3838 3838 the Thermodynamic Properties of<br> 3839 3839 Water and Steam</div> 3840 </ body>3840 </p> 3841 3841 </html>")); 3842 3842 algorithm … … 3869 3869 Documentation( 3870 3870 info="<html> 3871 < body>3871 <p> 3872 3872 Equation number 3 from:<br> 3873 3873 <div style=\"text-align: center;\"> [1] The international Association … … 3880 3880 the Thermodynamic Properties of<br> 3881 3881 Water and Steam</div> 3882 </ body>3882 </p> 3883 3883 </html>")); 3884 3884 algorithm … … 3911 3911 Documentation( 3912 3912 info="<html> 3913 < body>3913 <p> 3914 3914 Equation number 4 from:<br> 3915 3915 <div style=\"text-align: center;\"> [1] The international Association … … 3922 3922 the Thermodynamic Properties of<br> 3923 3923 Water and Steam</div> 3924 </ body>3924 </p> 3925 3925 </html>")); 3926 3926 algorithm … … 3953 3953 Documentation( 3954 3954 info="<html> 3955 < body>3955 <p> 3956 3956 Equation number 5 from:<br> 3957 3957 <div style=\"text-align: center;\"> [1] The international Association … … 3964 3964 the Thermodynamic Properties of<br> 3965 3965 Water and Steam</div> 3966 </ body>3966 </p> 3967 3967 </html>")); 3968 3968 algorithm … … 3995 3995 Documentation( 3996 3996 info="<html> 3997 < body>3997 <p> 3998 3998 Equation number 6 from:<br> 3999 3999 <div style=\"text-align: center;\"> [1] The international Association … … 4006 4006 the Thermodynamic Properties of<br> 4007 4007 Water and Steam</div> 4008 </ body>4008 </p> 4009 4009 </html>")); 4010 4010 algorithm … … 4035 4035 Documentation( 4036 4036 info="<html> 4037 < body>4037 <p> 4038 4038 Equation number 7 from:<br> 4039 4039 <div style=\"text-align: center;\"> [1] The international Association … … 4046 4046 the Thermodynamic Properties of<br> 4047 4047 Water and Steam</div> 4048 </ body>4048 </p> 4049 4049 </html>")); 4050 4050 algorithm … … 4075 4075 Documentation( 4076 4076 info="<html> 4077 < body>4077 <p> 4078 4078 Equation number 8 from:<br> 4079 4079 <div style=\"text-align: center;\"> [1] The international Association … … 4086 4086 the Thermodynamic Properties of<br> 4087 4087 Water and Steam</div> 4088 </ body>4088 </p> 4089 4089 </html>")); 4090 4090 algorithm … … 4117 4117 Documentation( 4118 4118 info="<html> 4119 < body>4119 <p> 4120 4120 Equation number 9 from:<br> 4121 4121 <div style=\"text-align: center;\"> [1] The international Association … … 4128 4128 the Thermodynamic Properties of<br> 4129 4129 Water and Steam</div> 4130 </ body>4130 </p> 4131 4131 </html>")); 4132 4132 algorithm … … 4141 4141 annotation ( uses(Modelica(version="1.6")), 4142 4142 Documentation(info="<html> 4143 < body>4143 <p> 4144 4144 The International Association for the Properties of Water and Steam<br> 4145 4145 Milan, Italy<br> … … 4147 4147 Release on the Pressure along the Melting and the Sublimation Curves of 4148 4148 Ordinary Water Substance<br> 4149 </ body>4149 </p> 4150 4150 </html> 4151 4151 ")); … … 4162 4162 annotation ( 4163 4163 Documentation( info="<html> 4164 < body>4164 <p> 4165 4165 Equation 1 from:<br> 4166 4166 The International Association for the Properties of Water and Steam<br> … … 4169 4169 Release on the Pressure along the Melting and the Sublimation Curves of 4170 4170 Ordinary Water Substance<br> 4171 </ body>4171 </p> 4172 4172 </html> 4173 4173 ")); … … 4188 4188 annotation ( 4189 4189 Documentation( info="<html> 4190 < body>4190 <p> 4191 4191 Equation 2 from:<br> 4192 4192 The International Association for the Properties of Water and Steam<br> … … 4195 4195 Release on the Pressure along the Melting and the Sublimation Curves of 4196 4196 Ordinary Water Substance<br> 4197 </ body>4197 </p> 4198 4198 </html> 4199 4199 ")); … … 4215 4215 annotation ( 4216 4216 Documentation( info="<html> 4217 < body>4217 <p> 4218 4218 Equation 3 from:<br> 4219 4219 The International Association for the Properties of Water and Steam<br> … … 4222 4222 Release on the Pressure along the Melting and the Sublimation Curves of 4223 4223 Ordinary Water Substance<br> 4224 </ body>4224 </p> 4225 4225 </html> 4226 4226 ")); … … 4242 4242 annotation ( 4243 4243 Documentation( info="<html> 4244 < body>4244 <p> 4245 4245 Equation 6 from:<br> 4246 4246 The International Association for the Properties of Water and Steam<br> … … 4249 4249 Release on the Pressure along the Melting and the Sublimation Curves of 4250 4250 Ordinary Water Substance<br> 4251 </ body>4251 </p> 4252 4252 </html> 4253 4253 ")); -
Modelica/trunk/Modelica/Media/Water/package.mo
r541 r547 676 676 "specific heat capacity at constant pressure of water" 677 677 678 annotation (Documentation(info="<html> <body>678 annotation (Documentation(info="<html> 679 679 <p>In the two phase region this function returns the interpolated heat capacity between the 680 680 liquid and vapour state heat capacities.</p> 681 < /body><html>"));681 <html>")); 682 682 algorithm 683 683 if dT_explicit then -
Modelica/trunk/Modelica/Media/package.mo
r540 r547 1 within Modelica; 1 2 package Media "Property models of media" 2 3 extends Modelica.Icons.Library; … … 2349 2350 // Real[4] dddX=Medium.density_derX(medium,MM); 2350 2351 annotation (Documentation(info="<html> 2351 <body>2352 2352 <p>An example for using ideal gas properties and how to compute isentropic enthalpy changes. 2353 2353 The function that is implemented is approximate, but usually very good: the second medium record medium2 2354 2354 is given to compare the approximation. 2355 2355 </p> 2356 </body>2357 2356 </html>"), 2358 2357 experiment(Tolerance=1e-005), … … 2425 2424 2426 2425 annotation (Documentation(info="<html> 2427 <body>2428 2426 <h4>Example: TwoPhaseWater</h4> 2429 2427 The TwoPhaseWater package demonstrates how to extend the parsimonius … … 2472 2470 </ol> 2473 2471 <p>The sample model TestTwoPhaseStates test the extended properties</p> 2472 2473 <p> 2474 2474 The same procedure can be used to compute properties at other state 2475 points, e.g. when an isentropic reference state is computed.<br> 2476 <br> 2477 </body> 2475 points, e.g. when an isentropic reference state is computed. 2476 </p> 2478 2477 </html> 2479 2478 ")); 2480 model TestTwoPhaseStates " test the above model"2479 model TestTwoPhaseStates "Test the above model" 2481 2480 ExtendedProperties medium(p(start = 700.0), 2482 2481 h(start = 8.0e5)); … … 2489 2488 experimentSetupOutput, 2490 2489 Documentation(info="<html> 2491 <body> 2492 <h4>Example:TestTwoPhaseStates</h4> 2493 </p> For details see the documentation of the example package TwoPhaseWater<p> 2494 </body> 2490 <p> For details see the documentation of the example package TwoPhaseWater</p> 2495 2491 </html> 2496 2492 ")); … … 2523 2519 Medium.SpecificEnthalpy h_is = Medium.isentropicEnthalpyApproximation(2.0e5, medium); 2524 2520 annotation (Documentation(info="<html> 2525 <body>2526 2521 <p>An example for using ideal gas properties and how to compute isentropic enthalpy changes. 2527 2522 The function that is implemented is approximate, but usually very good: the second medium record medium2 2528 2523 is given to compare the approximation. 2529 2524 </p> 2530 </body>2531 2525 </html>")); 2532 2526 equation … … 2564 2558 Real[4] dddX=Medium.density_derX(medium2.state); 2565 2559 annotation (Documentation(info="<html> 2566 <body>2567 2560 <p>An example for using ideal gas properties and how to compute isentropic enthalpy changes. 2568 2561 The function that is implemented is approximate, but usually very good: the second medium record medium2 2569 2562 is given to compare the approximation. 2570 2563 </p> 2571 </body>2572 2564 </html>")); 2573 2565 equation … … 4778 4770 h_is := specificEnthalpy(downstreamState); 4779 4771 annotation (Documentation(info="<html> 4780 <body> 4781 A minor approximation is used: the reference density is used instead of the real one, which would require a numeric solution. 4782 </body> 4772 <p> 4773 A minor approximation is used: the reference density is used instead of the real 4774 one, which would require a numeric solution. 4775 </p> 4783 4776 </html>")); 4784 4777 end isentropicEnthalpy; … … 4856 4849 4857 4850 annotation (Documentation(info="<html> 4858 <body> 4859 <h2>Linear Compressibility Fluid Model</h2> 4851 <h4>Linear Compressibility Fluid Model</h4> 4860 4852 <p>This linear compressibility fluid model is based on the assumptions that: 4861 4853 </p> … … 4917 4909 </dd> 4918 4910 </dl> 4919 </body>4920 4911 </html>")); 4921 4912 end PartialLinearFluid; … … 5079 5070 SpecificEntropy SMAX "maximum entropy"; 5080 5071 annotation(Documentation( 5081 info="<html> <body>5072 info="<html> 5082 5073 <p>The minimum pressure mostly applies to the liquid state only. 5083 5074 The minimum density is also arbitrary, but is reasonable for techical 5084 5075 applications to limit iterations in non-linear systems. The limits in 5085 5076 enthalpy and entropy are used as safeguards in inverse iterations.</p> 5086 </ body></html>"));5077 </html>")); 5087 5078 end FluidLimits; 5088 5079 … … 7129 7120 "coefficient in Bridgmans table, see info for usage"; 7130 7121 Real dgf=-dfg "coefficient in Bridgmans table, see info for usage"; 7131 annotation (Documentation(info=" 7132 <HTML> 7133
