This function returns the SHA1 encryption of its arguments.
Each argument is formatted in exponential notation with four
significant digits, for example 1.234e+001, with no
spaces or other separating characters between each argument value.
To prevent too long strings that can cause buffer overflows, the
sha encoding of each argument is computed and added to the next
string that is parsed.
The SHA1 encryption is computed using Buildings.Utilities.Cryptographics.sha.
function shaKappa extends Modelica.Icons.Function; input Integer nBor "Number of boreholes"; input Modelica.Units.SI.Position cooBor[nBor, 2] "Coordinates of boreholes"; input Modelica.Units.SI.Height hBor "Borehole length"; input Modelica.Units.SI.Height dBor "Borehole buried depth"; input Modelica.Units.SI.Radius rBor "Borehole radius"; input Modelica.Units.SI.ThermalDiffusivity aSoi "Ground thermal diffusivity used in g-function evaluation"; input Modelica.Units.SI.ThermalConductivity kSoi "Thermal conductivity of soil"; input Integer nSeg "Number of line source segments per borehole"; input Integer nZon "Total number of independent bore field zones"; input Integer[nBor] iZon "Index of the zone corresponding to each borehole"; input Integer[nZon] nBorPerZon "Number of boreholes per borefield zone"; input Modelica.Units.SI.Time nu[nTim] "Time vector for the calculation of thermal response factors"; input Integer nTim "Length of the time vector"; input Real relTol "Relative tolerance on distance between boreholes"; output String sha "SHA1 encryption of the g-function arguments"; end shaKappa;