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

TypeNameDefaultDescription
StringstrInBuildings.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
StringstrEx"6dc3c2b9dfa5807ce25f7d34dc9e718a1119ce9f"Expected string output

Components

TypeNameDefaultDescription
BooleancmpComparison 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.