You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error at _cmdno 152 executing "read_table" command
(file modex-hor.run, line 426, offset 11600):
Error reading table TICenTer with table handler amplxl:
Could not parse data
The underlying error is that two columns of table TICenTer are labeled Unidad:
The 1st column, which provides a list of unique thermal generating units that are supposed to populate the set sthegen.
The 14th column, which specifies units of measurement.
What happens here is consistent with amplxl trying to populate sthegen from the 14th column, and -- since the entries in that column are not unique -- giving the mysterious Could not parse data error as reported in issue #12.
To use the example, put the mod and run files in the same directory as the AMPL executable, and put the two xlsx files in a subdirectory named test. As expected, the problem goes away when the 14th column is labeled something else, like Unidades.
The text was updated successfully, but these errors were encountered:
The attached example aborts with:
This is the table that amplxl is trying to read:
The underlying error is that two columns of table
TICenTer
are labeledUnidad
:sthegen
.What happens here is consistent with amplxl trying to populate
sthegen
from the 14th column, and -- since the entries in that column are not unique -- giving the mysteriousCould not parse data
error as reported in issue #12.To use the example, put the mod and run files in the same directory as the AMPL executable, and put the two xlsx files in a subdirectory named
test
. As expected, the problem goes away when the 14th column is labeled something else, likeUnidades
.The text was updated successfully, but these errors were encountered: