Skip to content

Commit

Permalink
Remove well start position method;
Browse files Browse the repository at this point in the history
Put reference as zero;

PWPA-1930
  • Loading branch information
Gabriel Antão committed Jun 17, 2024
1 parent e803166 commit 047f48e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/alfasim_score/converter/alfacase/convert_alfacase.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ def __init__(self, score_reader: ScoreInputReader):
self.score_input = score_reader
self.well_name = score_reader.input_content["name"]

def _get_well_start_vertical_position(self) -> Scalar:
_, y = self.score_input.read_well_trajectory()
return Scalar(y[0], LENGTH_UNIT)

def _convert_well_trajectory(self) -> ProfileDescription:
"""
Convert the trajectory for the imported well.
Expand All @@ -36,7 +32,7 @@ def _convert_annulus(self) -> AnnulusDescription:

# TODO PWPA-1934: implement this method
def _convert_formation(self) -> AnnulusDescription:
return FormationDescription(reference_y_coordinate=self._get_well_start_vertical_position())
return FormationDescription(reference_y_coordinate=Scalar(0.0, "m", "length"))

def build_well(self) -> WellDescription:
return WellDescription(
Expand Down

0 comments on commit 047f48e

Please sign in to comment.