Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLSXFile reading from wrong sheet and doesn't handle equations #51

Open
dBriantClaytex opened this issue Dec 20, 2024 · 2 comments
Open

Comments

@dBriantClaytex
Copy link

Hi,

I have been working with ExternData within Dymola attempting to read in an .xlsx file and have come across a couple of issues.

  • When reading from the first sheet it attempts to read from the second sheet, but in the correct location.
  • When it attempts to read from the second sheet, it causes an error as it's reading a very simple calculation (A3-A2) instead of providing the result of the calculation.

Both of these issues do not exist when converted to an xls, but using that format doesn't allow the data size that this project requires.

The attached model demonstrates the issue, with both the xlsx and the .mo files.
ExternDataXLSXBug.zip

Many thanks,
David

@dBriantClaytex
Copy link
Author

Hi,

Further tests reveal a different error occuring when using a brand new xlsx spreadsheet, but with the same content as previous post, tested within Dymola.

In this instance, the simulation freezes at initialisation if a correct file read is called, the example is attached.
XLSXFromScratchBug.zip

Many thanks,
David

@beutlich
Copy link
Contributor

Thanks for reporting. Need to debug (using Dymola )whats going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants