Skip to content

Commit 3e5cc84

Browse files
author
Moreno
committed
Add calwave modules, charts and modifications
1 parent 0cf170f commit 3e5cc84

17 files changed

+4357
-8
lines changed

examples/OntologySample200m_1turb.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,4 +1299,3 @@ anchor_types:
12991299
L : 16.4 # length of pile [m]
13001300
D : 5.45 # diameter of pile [m]
13011301
zlug : 9.32 # embedded depth of padeye [m]
1302-

famodel/anchors/anchors_famodel/capacity_suction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def getCapacitySuction(D, L, zlug, H, V, soil_type, gamma, Su0=None, k=None, phi
4040
Maximum vertical capacity [kN]
4141
'''
4242

43-
lambdap = L/D; m = 2/3; # Suction pile slenderness ratio
43+
lambdap = L/D; m = 2/3; # Suction pile slenderness ratio
4444
t = (6.35 + D*20)/1e3 # Suction pile wall thickness (m), API RP2A-WSD
4545
rlug = D/2 # Radial position of the lug
4646
thetalug = 5 # Angle of tilt misaligment, default is 5. (deg)

famodel/irma/action.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def __init__(self, actionType, name, **kwargs):
115115
'''
116116

117117
# list of things that will be controlled during this action
118-
self.assets = {} # dict of named roles for the vessel(s) or port required to perform the action
119-
self.requirements = {} # the capabilities required of each role (same keys as self.assets)
118+
self.assets = {} # dict of named roles for the vessel(s) or port required to perform the action
119+
self.requirements = {} # capabilities required of each role (same keys as self.assets)
120120
self.objectList = [] # all objects that could be acted on
121121
self.dependencies = {} # list of other actions this one depends on
122122

@@ -827,7 +827,7 @@ def checkAsset(self, role_name, asset):
827827

828828
else:
829829
return False, f"The asset does not have the '{capability}' capability for '{role_name}' role of '{self.name}' action." # a capability is not met
830-
830+
831831

832832
def calcDurationAndCost(self):
833833
'''

0 commit comments

Comments
 (0)