| name | cathodic-protection-example-ship-hull-abs-gn-ships-2018 |
| description | Sub-skill of cathodic-protection: Example: Ship Hull (ABS GN Ships 2018) (+3). |
| version | 1.2.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
Example: Ship Hull (ABS GN Ships 2018) (+3)
Example: Ship Hull (ABS GN Ships 2018)
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "ABS_gn_ships_2018",
"design_data": {
"design_life": 5,
"seawater_max_temperature": 20,
},
*See sub-skills for full details.*
```python
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "DNV_RP_F103_2010",
"design_data": {
"design_life": 25.0,
},
"pipeline": {
*See sub-skills for full details.*
```python
from digitalmodel.infrastructure.common.cathodic_protection import CathodicProtection
cfg = {
"inputs": {
"calculation_type": "DNV_RP_B401_offshore",
"design_data": {
"design_life": 25.0,
"structure_type": "jacket",
},
*See sub-skills for full details.*
```python
result = cp.router(cfg)
cp.ABS_gn_ships_2018(cfg)
cp.DNV_RP_F103_2010(cfg)
Note: ABS route writes to cfg["cathodic_protection"]; DNV route writes to cfg["results"].