Calculates distances between wells based on coordinates given in Optiwells configuration of the wellfield

owWellDistances(wellfield, referenceWell = 1)

Arguments

wellfield

data frame as e.g. retrieved by owRandomWellfield with each row representing a well of the well field.

referenceWell

Number of reference well corresponding with row number in wellfield. For each well the distance to the reference well is calculated. Default: 1

Value

vector of numeric representing the distances of each well to a reference well (determined by referenceWell)