Skip to content

Node and Edge class inheritance, addition of cables#3

Merged
mattEhall merged 18 commits intomainfrom
lists2dicts
May 17, 2024
Merged

Node and Edge class inheritance, addition of cables#3
mattEhall merged 18 commits intomainfrom
lists2dicts

Conversation

@lsirkis
Copy link
Collaborator

@lsirkis lsirkis commented May 17, 2024

Changes in this PR include the use of Node and Edge classes that array components inherit from. Cable objects are also more fleshed out. Currently the cable objects are not fully functional but base information is there.

mattEhall and others added 18 commits May 10, 2024 10:09
-- Add ID into each object
-- Update getMoorPyArray() to have anchor points added before fairlead points
--Add connector id and naming for id
--Added edge init to mooring class
--Updated functions that mentioned mooring.subsystem to mooring.ss to align with new name for subsystem variable in mooring class
--Changed mass to m and volume to v in yaml file to match moorpy input
--Updated some sample yaml files to match above change
--Updated ontology read me to use correct values
--Changed from 'mass' and 'volume' in ontology yaml to 'm' and 'v'
--Above change allows moorpy to recognize these properties without renaming, as moorpy uses 'm' and 'v'
--Ontology sample files and ontology readme updated to reflect this change
- Joint and Cable classes at the low level (inheriting from Node and Edge)
- StaticCable(Cable) and DynamicCable(Cable)
- SubseaCable which is the whole thing, potentially including both
   static and dynamic cables.
--Initialize node inheritance for platform and anchor
--Remove assignment of id for platform, anchor, mooring (inherited id)
--Working on cable ontology yaml setup and loading in project class
--Created substation class (useful for specifying where array cables are going to)
--Updated a few things in cable classes to run
--remove cable system class
--remove cable class and have subsea cable inherit from edge class instead
--continue adding cable stuff to load function
…tion description

- Info should be passed in through dd['buoyancy_sections] dictionary.
-- Added project.addCablesConnections() to take in a dictionary containing cable routing and connection information, create cable objects, and
attach cables to correct things
--Minor changes to cable_ontology.yaml and fix to cable_properties.getCableProps to take in sources
--Continued work on loading in cables, forming connections
--Debugging above work
@mattEhall mattEhall merged commit a450a62 into main May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants