From 047f48e6f387a66343959db20dbcfb09b4336a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ant=C3=A3o?= Date: Mon, 17 Jun 2024 09:19:00 -0300 Subject: [PATCH] Remove well start position method; Put reference as zero; PWPA-1930 --- src/alfasim_score/converter/alfacase/convert_alfacase.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/alfasim_score/converter/alfacase/convert_alfacase.py b/src/alfasim_score/converter/alfacase/convert_alfacase.py index f8ca14a..12ce9c9 100644 --- a/src/alfasim_score/converter/alfacase/convert_alfacase.py +++ b/src/alfasim_score/converter/alfacase/convert_alfacase.py @@ -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. @@ -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(