DTOcean / dtocean

Design and techno-economic assessment of marine renewable energy arrays
https://dtocean.github.io
GNU General Public License v3.0
4 stars 6 forks source link

Moorings and Foundations Type Error #8

Closed davidbould closed 7 years ago

davidbould commented 7 years ago

User reported the following issue when running the moorings and foundations module.

I have downloaded the DTOcean suite of tools for reference and when Working through the tutorials I manage to get to Tutorial 1_4_OutputInterpretation where I encounter problems.

When entering data from the demo file (as per the tutorial) 'fixed_tidal_tutorial_scenario' provided in the doanloads, everything goes smoothly until I run through the strategy. At this point it works away for 2-3 minutes until an error pops up saying: 'A TypeError occurred: unsupported operand type(s) for : 'dict' and 'float'. This occurs in line 449, in check2 10.0 -6.0.

This is running the 3 modules as described in the video, Hydrodynamics, Electrical Sub Systems and Mooring and Foundations. When I run it without the Mooring and Foundations module it works and I get results.

H0R5E commented 7 years ago

I couldn't recreate this in the latest build (1.0.2). Could you recreate the error and upload the .dto file? It may be something specific to the particular results you are getting.

H0R5E commented 7 years ago

Closing due to inactivity.