modelShaGFunction
Verifies the SHA-1 encryption of a single borehole
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example uses a typical single borehole to test the SHA1-encryption of the arguments required to determine the borehole's thermal response factor.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | strIn | Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction(1, {{0, 0}}, 150, 4, 0.075, 1e-6, 12, 1, 26, 50, exp(5)) | SHA1-encrypted g-function inputs |
| String | strEx | "6dc3c2b9dfa5807ce25f7d34dc9e718a1119ce9f" | Expected string output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | cmp | Comparison result |
Revisions
-
June 9, 2022, by Massimo Cimmino:
Added number of clusters to the function call. -
July 18, 2018, by Alex Laferrière:
First implementation.