thegrumpys / odop

Open Design Optimization Platform (ODOP) - Coil spring design app; mechanical springs; compression spring, extension spring, torsion spring
https://www.springdesignsoftware.org
MIT License
4 stars 5 forks source link

ValidMin & ValidMax values in initialState to avoid NaN #876

Open grumpyinca opened 7 months ago

grumpyinca commented 7 months ago

Summary

This issue carries forward work that was started in issue/branch #870.

Changes to be included

1 . Independent Variable ValidMin & ValidMax values in initialState should be adjusted so that they do not generate NaN in dependent equations.  

  1. Change Alerts from assuming validmin/max as invalid: INVALID VALUE: OD_Free (1.797e+308) >= Number.MAX_VALUE

to include validmin/max as valid: INVALID VALUE: OD_Free (1.797e+308) > Number.MAX_VALUE

Item 2 was fixed in #875? Is there more to be done ?