modelShaKappa
Verifies the SHA-1 encryption of a zoned borefield
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example uses a zoned borefield parameterization to test the SHA1-encryption of the arguments required to determine the thermal response factor.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | strIn | Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.shaKappa(nBor = 3, cooBor = {{0, 0}, {0, 5}, {5, 0}}, hBor = 150, dBor = 4, rBor = 0.075, aSoi = 1e-6, kSoi = 2, nSeg = 4, nZon = 2, iZon = {1, 2, 1}, nBorPerZon = {2, 1}, nu = {300, 3600, 86400, 604800, 2592000, 31536000, 315360000}, nTim = 7, relTol = 0.02) | SHA1-encrypted thermal response factor |
| String | strEx | "1d813242b2177c5e31011dc1656add40a2a9d178" | Expected string output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | cmp | Comparison result |
Revisions
-
May 30, 2024, by Michael Wetter:
First implementation.