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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nBorHol | Number of boreholes | |
| Modelica.Units.SI.Distance | dxy | 6 | Distance in x-axis (and y-axis) between borehole axes |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Distance[nBorHol,2] | cooBor | Coordinates of boreholes |
Revisions
-
July 31, 2020, by Antoine Gautier:
First implementation.