From 2d65c307e8997d6d0ca6171f1c4a0257e126f32b Mon Sep 17 00:00:00 2001 From: RyanDavies19 Date: Fri, 10 Jan 2025 13:45:34 -0700 Subject: [PATCH] Add negatives to coefficients --- moorpy/MoorProps_newCosts.yaml | 6 +++--- moorpy/PointProps_default.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/moorpy/MoorProps_newCosts.yaml b/moorpy/MoorProps_newCosts.yaml index 08412ec..de26dc4 100644 --- a/moorpy/MoorProps_newCosts.yaml +++ b/moorpy/MoorProps_newCosts.yaml @@ -56,7 +56,7 @@ lineProps: MBL_d2 : 1.21e9 # minimum breaking load per diameter^2 [N/m^2] MBL_d : 9.11e2 # minimum breaking load per diameter [N/m] dvol_dnom : 1.80 # volume-equivalent diameter per nominal diameter [-] (assumes 7,850 kg/m^3 material density) - cost_d : 1.5363e3 # cost per diameter [$/m^2] + cost_d : -1.5363e3 # cost per diameter [$/m^2] cost_d2 : 1.5520e5 # cost per diameter^2 [$/m^3] Cd : 1.333 # drag coefficient based on DNV-OS-E301 adjusted for use with volumetric diameter Cd_ax : 0.639 # axial drag coefficient based on DNV-OS-E301 adjusted for use with volumetric diameter @@ -70,7 +70,7 @@ lineProps: MBL_d2 : 1.21e9 # minimum breaking load per diameter^2 [N/m^2] MBL_d : 9.11e2 # minimum breaking load per diameter [N/m] dvol_dnom : 1.89 # volume-equivalent diameter per nominal diameter [-] (assumes 7,850 kg/m^3 material density) - cost_d : 1.5363e3 # cost per diameter [$/m^2] + cost_d : -1.5363e3 # cost per diameter [$/m^2] cost_d2 : 1.5520e5 # cost per diameter^2 [$/m^3] Cd : 1.376 # drag coefficient based on DNV-OS-E301 adjusted for use with volumetric diameter Cd_ax : 0.741 # axial drag coefficient based on DNV-OS-E301 adjusted for use with volumetric diameter @@ -124,7 +124,7 @@ lineProps: Cd : 1.988 # drag coefficient based on DNV-OS-E301 adjusted for use with volumetric diameter Ca : 1.1 # added mass coefficient based on Bureau Veritas 493-NR_2021-07 Ca_ax : 0.15 # axial added mass coefficient based on Bureau Veritas 493-NR_2021-07 - cost_d : 2.2742e3 # cost per diameter [$/m^2] + cost_d : -2.2742e3 # cost per diameter [$/m^2] cost_d2 : 1.1004e5 # cost per diameter^2 [$/m^3] diff --git a/moorpy/PointProps_default.yaml b/moorpy/PointProps_default.yaml index 92c0c92..2726986 100644 --- a/moorpy/PointProps_default.yaml +++ b/moorpy/PointProps_default.yaml @@ -42,7 +42,7 @@ ConnectProps: # MBL : # MBL offset [kN] # MBL_m : # minimum breaking load per mass [kN/kg] cost_MBL : 9.0499e-2 # cost per MBL [$/kN] - cost_MBL2 : 1.1632e-5 # cost per MBL^2 [$/kN^2] + cost_MBL2 : -1.1632e-5 # cost per MBL^2 [$/kN^2] cost_MBL3 : 3.6484e-9 # cost per MBL^3 [$/kN^3] connector : @@ -53,7 +53,7 @@ ConnectProps: # MBL : # MBL offset [kN] # MBL_m : # minimum breaking load per mass [kN/kg] cost_MBL : 1.3492 # cost per MBL [$/kN] - cost_MBL2 : 1.1512e-4 # cost per MBL^2 [$/kN^2] + cost_MBL2 : -1.1512e-4 # cost per MBL^2 [$/kN^2] cost_MBL3 : 3.3701e-9 # cost per MBL^3 [$/kN^3] swivel : @@ -86,7 +86,7 @@ ConnectProps: # MBL : # MBL offset [kN] # MBL_m : # minimum breaking load per mass [kN/kg] cost_MBL : 6.9072e-1 # cost per MBL [$/kN] - cost_MBL2 : 4.4545e-5 # cost per MBL^2 [$/kN^2] + cost_MBL2 : -4.4545e-5 # cost per MBL^2 [$/kN^2] cost_MBL3 : 1.5231e-9 # cost per MBL^3 [$/kN^3] buoy :