-
I've recently run into an issue with using writeOptimizationOutputToExcel on a model including a dynamic conversion component. Due to the way the Excel sheet names are constructed including class name and the suffix for variable & dimensions, the sheet names exceed the Excel limit of 31 characters. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For now, I've solved this by using a wrapper function to truncate the sheet names in case they exceed the 31 character limit to the left of the suffix. E.g., ConversionDynamicOptSummary_1dim is shortened to ConversionDynamiOptSummary_1dim and the output works well. Maybe a similar function could be built into a future release. I am doing this directly in my jupyter notebook script after initial imports:
And then simply calling the wrapper instead of the usual function:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thank you for raising this issue and I am glad to hear that you have found a workaround for your use case. |
Beta Was this translation helpful? Give feedback.
Thank you for raising this issue and I am glad to hear that you have found a workaround for your use case.
We will create an issue for this and try to implement a proper solution.