From 0f8b9f23b9d992567b1a22d7a269097db73f17ea Mon Sep 17 00:00:00 2001 From: tobolar Date: Wed, 8 Mar 2023 16:07:09 +0100 Subject: [PATCH] Improve indentation of html code --- Modelica/Media/Water/IF97_Utilities.mo | 2119 ++++++++++++++---------- 1 file changed, 1222 insertions(+), 897 deletions(-) diff --git a/Modelica/Media/Water/IF97_Utilities.mo b/Modelica/Media/Water/IF97_Utilities.mo index 2fa6a7fbc5..ab52960b2c 100644 --- a/Modelica/Media/Water/IF97_Utilities.mo +++ b/Modelica/Media/Water/IF97_Utilities.mo @@ -22,7 +22,6 @@ package IF97_Utilities //=================================================================== // Constant declarations - //=================================================================== record data "Constant IF97 data and region limits" extends Modelica.Icons.Record; @@ -73,25 +72,27 @@ package IF97_Utilities 0.13918839778870e2) "Polynomial coefficients for boundary between regions 2 and 3"; annotation (Documentation(info=" -

Record description

-

Constants needed in the international steam properties IF97. - SCRIT and HCRIT are calculated from Helmholtz function for region 3.

-

Version Info and Revision history -

+

Record description

+

Constants needed in the international steam properties IF97. +SCRIT and HCRIT are calculated from Helmholtz function for region 3.

+ +

Version Info and Revision history

-
Author: Hubertus Tummescheit,
- Modelon AB
- Ideon Science Park
- SE-22370 Lund, Sweden
- email: hubertus@modelon.se -
+
+ Author: Hubertus Tummescheit,
+ Modelon AB
+ Ideon Science Park
+ SE-22370 Lund, Sweden
+ email: hubertus@modelon.se +
")); end data; @@ -134,24 +135,28 @@ package IF97_Utilities constant SI.SpecificEntropy SCRIT=4412.02148223476 "The calculated specific entropy at the critical point"; annotation (Documentation(info=" -

Record description

-

Critical point data for IF97 steam properties. SCRIT and HCRIT are calculated from Helmholtz function for region 3

-

Version Info and Revision history -

+

Record description

+

+Critical point data for IF97 steam properties. SCRIT and HCRIT are calculated from Helmholtz function for region 3. +

+ +

Version Info and Revision history

-
Author: Hubertus Tummescheit,
- Modelon AB
- Ideon Science Park
- SE-22370 Lund, Sweden
- email: hubertus@modelon.se -
+
+Author: Hubertus Tummescheit,
+Modelon AB
+Ideon Science Park
+SE-22370 Lund, Sweden
+email: hubertus@modelon.se +
")); end critical; @@ -165,24 +170,26 @@ package IF97_Utilities constant SI.Density dvtriple=0.485457572477861372e-2 "The triple point vapour density"; annotation (Documentation(info=" -

Record description

-

Vapour/liquid/ice triple point data for IF97 steam properties.

-

Version Info and Revision history -

+

Record description

+

Vapour/liquid/ice triple point data for IF97 steam properties.

+ +

Version Info and Revision history

-
Author: Hubertus Tummescheit,
- Modelon AB
- Ideon Science Park
- SE-22370 Lund, Sweden
- email: hubertus@modelon.se -
+
+Author: Hubertus Tummescheit,
+Modelon AB
+Ideon Science Park
+SE-22370 Lund, Sweden
+email: hubertus@modelon.se +
")); end triple; @@ -194,7 +201,6 @@ package IF97_Utilities //=================================================================== // "Public" functions - //=================================================================== function boundary23ofT @@ -1531,91 +1537,197 @@ package IF97_Utilities dd_dp := drhovl_dp(p, dewcurve_p(p)); annotation (Inline=true); end drhov_dp; - annotation (Documentation(info="

Package description

-

Package Regions contains a large number of auxiliary functions which are needed to compute the current region - of the IAPWS/IF97 for a given pair of input variables as quickly as possible. The focus of this implementation was on - computational efficiency, not on compact code. Many of the function values calculated in these functions could be obtained - using the fundamental functions of IAPWS/IF97, but with considerable overhead. If the region of IAPWS/IF97 is known in advance, - the input variable mode can be set to the region, then the somewhat costly region checks are omitted. - The checking for the phase has to be done outside the region functions because many properties are not - differentiable at the region boundary. If the input phase is 2, the output region will be set to 4 immediately.

-

Package contents

-

The main 4 functions in this package are the functions returning the appropriate region for two input variables.

- -

In addition, functions of the boiling and condensation curves compute the specific enthalpy, specific entropy, or density on these - curves. The functions for the saturation pressure and temperature are included in the package Basic because they are part of - the original IAPWS/IF97 standards document. These functions are also aliased to - be used directly from package Water. + annotation (Documentation(info=" +

Package description

+

+Package Regions contains a large number of auxiliary functions which are needed to compute the current region +of the IAPWS/IF97 for a given pair of input variables as quickly as possible. The focus of this implementation was on +computational efficiency, not on compact code. Many of the function values calculated in these functions could be obtained +using the fundamental functions of IAPWS/IF97, but with considerable overhead. If the region of IAPWS/IF97 is known in advance, +the input variable mode can be set to the region, then the somewhat costly region checks are omitted. +The checking for the phase has to be done outside the region functions because many properties are not +differentiable at the region boundary. If the input phase is 2, the output region will be set to 4 immediately.

- -

All other functions are auxiliary functions called from the region functions to check a specific boundary.

- + +

Package contents

+

+The main 4 functions in this package are the functions returning the appropriate region for two input variables. +

+ +

+In addition, functions of the boiling and condensation curves compute the specific enthalpy, specific entropy, or density on these +curves. The functions for the saturation pressure and temperature are included in the package Basic because they are part of +the original IAPWS/IF97 standards document. +These functions are also aliased to be used directly from package Water. +

+ +

+All other functions are auxiliary functions called from the region functions to check a specific boundary. +

+

Version Info and Revision history

-
Authors: Hubertus Tummescheit, Jonas Eborn and Falko Jens Wagner
- Modelon AB
- Ideon Science Park
- SE-22370 Lund, Sweden
- email: hubertus@modelon.se -
-