functioncomputeCoordinates

Coordinates of evenly distributed boreholes given the number of boreholes

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function computes the coordinates of boreholes evenly distributed along the x and y axis, given the number of boreholes (which must be the square of an integer).

Inputs

TypeNameDefaultDescription
IntegernBorHolNumber of boreholes
Modelica.Units.SI.Distancedxy6Distance in x-axis (and y-axis) between borehole axes

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.Distance[nBorHol,2]cooBorCoordinates of boreholes

Revisions

  • July 31, 2020, by Antoine Gautier:
    First implementation.