-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Labels
backlogTasks that need to be done but aren't scheduled. Higher priority than ideas-list.Tasks that need to be done but aren't scheduled. Higher priority than ideas-list.
Description
Support conversion to floris_float_type for values in nested dicts
FLORIS has the type_dec.floris_numeric_dict_converter function to cast data in an input dictionary to the type_dec.floris_float_type data type. However, this function is not recursive, so it only converts the first level of data in the dictionary hierarchy. Because of this limitation, there's a workaround in the Turbine-class init when loading the multidimensional Cp and Ct tables, and another one is incoming in #832.
Proposed solution
Support a recursive numeric type cast in dictionaries.
Alternatives considered
More workarounds, but things are getting complicated.
misi9170
Metadata
Metadata
Assignees
Labels
backlogTasks that need to be done but aren't scheduled. Higher priority than ideas-list.Tasks that need to be done but aren't scheduled. Higher priority than ideas-list.