コード例 #1
0
def get_ssNextSpacing_fields():

    Spacing = Field(2061)

    Spacing.set_representation('Next stage spacing')
    ssNextSpacing_fields = FieldList()
    ssNextSpacing_fields.append(Spacing)

    return ssNextSpacing_fields
コード例 #2
0
def get_osaWellbore_fields():

    HoleID = Field(2010)
    MaxSpan = Field(2061)
    MudIPDensity = Field(2077)
    MudOPDensity = Field(2077)
    HoleID.set_representation('Hole ID')
    HoleID.set_abbreviation('HoleID')
    MaxSpan.set_representation('Max span')
    MaxSpan.set_abbreviation('MaxSpan')
    MudIPDensity.set_representation('Mud inside pipe')
    MudIPDensity.set_abbreviation('MudIPDensity')
    MudOPDensity.set_representation('Mud in annulus')
    MudOPDensity.set_abbreviation('MudOPDensity')
    osaWellbore_fields = FieldList()
    osaWellbore_fields.append(HoleID)
    osaWellbore_fields.append(MaxSpan)
    osaWellbore_fields.append(MudIPDensity)
    osaWellbore_fields.append(MudOPDensity)

    return osaWellbore_fields
コード例 #3
0
def get_osaOutputdata2_fields():

    axialForce = Field(2075, altBg=True, altFg=True)
    deflection = Field(2076, altBg=True, altFg=True)
    wClearance = Field(2073, altBg=True, altFg=True)
    wStandoff = Field(2078, altBg=True, altFg=True)
    axialForce.set_representation('Axial extra force @ top')
    axialForce.set_abbreviation('AxialForce')
    deflection.set_representation('Max. pipe deflection')
    deflection.set_abbreviation('MaxDeflection')
    wClearance.set_representation('Mean wellbore clearance')
    wClearance.set_abbreviation('WellboreClearance')
    wStandoff.set_representation('Mean wellbore standoff')
    wStandoff.set_abbreviation('WellboreStandoff')
    osaOutputdata2_fields = FieldList()
    osaOutputdata2_fields.append(axialForce)
    osaOutputdata2_fields.append(deflection)
    osaOutputdata2_fields.append(wClearance)
    osaOutputdata2_fields.append(wStandoff)

    return osaOutputdata2_fields
コード例 #4
0
def get_csvCal_fields():

    MDtop = Field(2001)
    MDbot = Field(2001)
    HID = Field(2031)
    MD = Field(2001)
    MDtop.set_abbreviation('MDtop')
    MDbot.set_abbreviation('MDbot')
    HID.set_abbreviation('HID')
    MDtop.set_representation('top MD')
    MDbot.set_representation('bottom MD')
    HID.set_representation('Hole ID')
    csvCal_fields = FieldList()
    csvCal_fields.append(MDtop)
    csvCal_fields.append(MDbot)
    csvCal_fields.append(HID)
    csvCal_fields.append(MD)

    return csvCal_fields
コード例 #5
0
def get_osaCent_fields():

    Type = Field(2049)
    IPOD = Field(2009)
    CentOD = Field(2011)
    #CentID       = Field(2012)
    ResF_SO67 = Field(2018)
    minResF = Field(2017)
    SO_minResF = Field(2019)
    ResF_SO67.set_representation('Res. Force @ SO=67%')
    minResF.set_representation('minimum Res. Force')
    SO_minResF.set_representation('StandOff @ min. Res. F.')
    osaCent_fields = FieldList()
    osaCent_fields.append(Type)
    osaCent_fields.append(IPOD)
    osaCent_fields.append(CentOD)
    #osaCent_fields.append( CentID     )
    osaCent_fields.append(ResF_SO67)
    osaCent_fields.append(minResF)
    osaCent_fields.append(SO_minResF)

    return osaCent_fields
コード例 #6
0
def get_osaOutputdata1_fields():

    clearanceA = Field(2073, altBg=True, altFg=True)
    clearanceB = Field(2073, altBg=True, altFg=True)
    clearanceM = Field(2073, altBg=True, altFg=True)
    sideForceA = Field(2074, altBg=True, altFg=True)
    sideForceB = Field(2074, altBg=True, altFg=True)
    sideForceM = Field(2074, altBg=True, altFg=True)
    standoffA = Field(2078, altBg=True, altFg=True)
    standoffB = Field(2078, altBg=True, altFg=True)
    standoffM = Field(2078, altBg=True, altFg=True)
    clearanceA.set_representation('Annular clearance @ cent. A')
    clearanceA.set_abbreviation('ClearanceA')
    clearanceB.set_representation('Annular clearance @ cent. B')
    clearanceB.set_abbreviation('ClearanceB')
    clearanceM.set_representation('Annular clearance @ mid span')
    clearanceM.set_abbreviation('ClearanceM')
    sideForceA.set_representation('Side force @ cent. A')
    sideForceA.set_abbreviation('SideForceA')
    sideForceB.set_representation('Side force @ cent. B')
    sideForceB.set_abbreviation('SideForceB')
    sideForceM.set_representation('Side force @ mid span')
    sideForceM.set_abbreviation('SideForceM')
    standoffA.set_representation('Standoff @ cent. A')
    standoffA.set_abbreviation('StandoffA')
    standoffB.set_representation('Standoff @ cent. B')
    standoffB.set_abbreviation('StandoffB')
    standoffM.set_representation('Standoff @ mid span')
    standoffM.set_abbreviation('StandoffM')
    osaOutputdata1_fields = FieldList()
    osaOutputdata1_fields.append(clearanceA)
    osaOutputdata1_fields.append(clearanceB)
    osaOutputdata1_fields.append(clearanceM)
    osaOutputdata1_fields.append(sideForceA)
    osaOutputdata1_fields.append(sideForceB)
    osaOutputdata1_fields.append(sideForceM)
    osaOutputdata1_fields.append(standoffA)
    osaOutputdata1_fields.append(standoffB)
    osaOutputdata1_fields.append(standoffM)

    return osaOutputdata1_fields
コード例 #7
0
def get_ssCentralizerLocations_fields():

    MD = Field(2001)
    Inc = Field(2002, altBg=True, altFg=True)
    SOatC = Field(2078, altBg=True, altFg=True)
    SOatM = Field(2078, altBg=True, altFg=True)
    ClatC = Field(2073, altBg=True, altFg=True)
    ClatM = Field(2073, altBg=True, altFg=True)
    """
	hsMD  = Field(2001)
	hsInc = Field(2002, altBg=True, altFg=True)
	hsSOatC = Field(2078, altBg=True, altFg=True)
	hsSOatM = Field(2078, altBg=True, altFg=True)
	hsClatC = Field(2073, altBg=True, altFg=True)
	hsClatM = Field(2073, altBg=True, altFg=True)

	dsMD  = Field(2001)
	dsInc = Field(2002, altBg=True, altFg=True)
	dsSOatC = Field(2078, altBg=True, altFg=True)
	dsSOatM = Field(2078, altBg=True, altFg=True)
	dsClatC = Field(2073, altBg=True, altFg=True)
	dsClatM = Field(2073, altBg=True, altFg=True)
	"""

    EW = Field(2007, altBg=True, altFg=True)
    NS = Field(2006, altBg=True, altFg=True)
    TVD = Field(2004, altBg=True, altFg=True)
    DL = Field(2008, altBg=True, altFg=True)

    LatC = Field(2080, altBg=True, altFg=True)
    ID = Field(2031, altBg=True, altFg=True)

    SOatC.set_abbreviation('SOatC')
    SOatM.set_abbreviation('SOatM')
    ClatC.set_abbreviation('ClatC')
    ClatM.set_abbreviation('ClatM')
    LatC.set_abbreviation('LatC')
    """
	hsMD.set_abbreviation('hsMD')
	hsInc.set_abbreviation('hsInc')
	hsSOatC.set_abbreviation('hsSOatC')
	hsSOatM.set_abbreviation('hsSOatM')
	hsClatC.set_abbreviation('hsClatC')
	hsClatM.set_abbreviation('hsClatM')

	dsMD.set_abbreviation('dsMD')
	dsInc.set_abbreviation('dsInc')
	dsSOatC.set_abbreviation('dsSOatC')
	dsSOatM.set_abbreviation('dsSOatM')	
	dsClatC.set_abbreviation('dsClatC')
	dsClatM.set_abbreviation('dsClatM')
	"""

    SOatC.set_representation('<SO> @ centr.')
    SOatM.set_representation('SO @ mid span')
    ClatC.set_representation('<Cl> @ centr.')
    ClatM.set_representation('Cl @ mid span')
    ID.set_representation('Hole ID')

    ssCentralizerLocations_fields = FieldList()
    ssCentralizerLocations_fields.append(MD)
    ssCentralizerLocations_fields.append(Inc)
    ssCentralizerLocations_fields.append(SOatC)
    ssCentralizerLocations_fields.append(SOatM)
    ssCentralizerLocations_fields.append(ClatC)
    ssCentralizerLocations_fields.append(ClatM)
    """
	ssCentralizerLocations_fields.append( hsMD )
	ssCentralizerLocations_fields.append( hsInc )
	ssCentralizerLocations_fields.append( hsSOatC )
	ssCentralizerLocations_fields.append( hsSOatM )
	ssCentralizerLocations_fields.append( hsClatC )
	ssCentralizerLocations_fields.append( hsClatM )

	ssCentralizerLocations_fields.append( dsMD )
	ssCentralizerLocations_fields.append( dsInc )
	ssCentralizerLocations_fields.append( dsSOatC )
	ssCentralizerLocations_fields.append( dsSOatM )
	ssCentralizerLocations_fields.append( dsClatC )
	ssCentralizerLocations_fields.append( dsClatM )
	"""

    ssCentralizerLocations_fields.append(EW)
    ssCentralizerLocations_fields.append(NS)
    ssCentralizerLocations_fields.append(TVD)
    ssCentralizerLocations_fields.append(DL)

    ssCentralizerLocations_fields.append(LatC)
    ssCentralizerLocations_fields.append(ID)

    return ssCentralizerLocations_fields