modelShaGFunction
Verifies the SHA-1 encryption of a single borehole
Extends from Modelica.Icons.Example.
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 | IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction(1, {{0, 0}}, 150, 4, 0.075, 1e-6, 12, 26, 50, exp(5)) | SHA1-encrypted g-function inputs |
| String | strEx | "5d0475f93c93232dfe2452bb34acabd6b9fd28e5" | Expected string output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | cmp | Comparison result |
Revisions
-
July 18, 2018, by Alex Laferrière:
First implementation.