Skip to content

Commit

Permalink
Change platform_elem_memid to a modeling option
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Aug 7, 2024
1 parent 0b3ac37 commit d4d7f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wisdem/floatingse/floating_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def set_element_props(self, inputs, outputs, discrete_inputs, discrete_outputs):
outputs["platform_elem_G"][:nelem] = elem_G
outputs["platform_elem_TorsC"][:nelem] = elem_TorsC
outputs["platform_elem_sigma_y"][:nelem] = elem_sigy
discrete_outputs["platform_elem_memid"] = elem_memid
opt['floating']['members']['platform_elem_memid'] = elem_memid # converted from discrte_output to modeling option

outputs["platform_ballast_mass"] = m_ball
outputs["platform_hull_mass"] = mass - m_ball
Expand Down

0 comments on commit d4d7f8e

Please sign in to comment.