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

All existing examples of using Microsoft Excel as an interface to SimSinter do not work #47

Open
kbuma opened this issue Oct 11, 2023 · 13 comments
Assignees
Labels
Priority:High High Priority Issue or PR

Comments

@kbuma
Copy link
Collaborator

kbuma commented Oct 11, 2023

None of the provided examples of using Microsoft Excel as an interface to SimSinter load and run properly in Microsoft Excel 2021. The example files for driving Aspen Custom Modeler and Aspen Plus are considered to be corrupt and performing recovery on them removes all VBA code in them.
The example file for driving Excel fails with a "Class not registered" error.

Need to decide whether to retain support for using Excel as an interface or not.

@ksbeattie ksbeattie added the Priority:High High Priority Issue or PR label Oct 25, 2023
@ksbeattie
Copy link
Member

@jmorgan29 & @MAZamarripa do either of you know who might be using SimSinter and Excel together?

@ksbeattie
Copy link
Member

@jmorgan29 & @MAZamarripa do either of you know who might be using SimSinter and Excel together?

If this is a feature that people are using and we should support it, then we should get some examples/tests that work, otherwise we should drop support for it.

@ksbeattie ksbeattie self-assigned this Feb 20, 2024
@ksbeattie
Copy link
Member

A similar question, about ConsoleSinter is here: #48

@jmorgan29
Copy link
Member

@ksbeattie, I am still able to work with the Excel-FOQUS interface using SimSinter 2.1.0.1. Is this issue specific for newer versions of SimSinter? I do recommend keeping support for the Excel-FOQUS interface as there are some useful applications. For example, we had a project in which we were tasked with interfacing FOQUS with a commercial process simulator (ProTreat) and found that it was relatively straightforward to accomplish this through use of Excel as an intermediate.

@kbuma
Copy link
Collaborator Author

kbuma commented Apr 16, 2024

@jmorgan29 what versions of Windows and Excel are these successfully running on? How did you implement the integration in Excel for this project?
When I've tried to run the examples bundled with SimSinter that used Excel to drive simulations, the recent versions of Excel would not allow them to execute due to their use of VBA for the implementation.

@ksbeattie
Copy link
Member

@jmorgan29 any update on this?

@ksbeattie
Copy link
Member

@kbuma, @jmorgan29 says he's running Windows 10 and Excel 2021 (perhaps older, he's going to check and update here).

@ksbeattie
Copy link
Member

ksbeattie commented May 14, 2024

@jmorgan29 did you get a chance to look if those are indeed the versions you were working with? It would be nice to, at the very least, identify the versions of the software that were known to work.

@jmorgan29
Copy link
Member

@ksbeattie, I have used those versions for testing the general capability of working with an Excel spreadsheet in FOQUS. I also mentioned a project in which CCSI2 is supporting the use of a commercial process simulator (ProTreat) in FOQUS with an Excel intermediate. For this project, I am using Windows 10 and Microsoft Excel 2019. If it would be useful, I could demonstrate the set-up/capability in an upcoming software development meeting.

@kbuma
Copy link
Collaborator Author

kbuma commented May 21, 2024

@jmorgan29 thanks for the additional details - that's very useful. It would be great if you could demonstrate the set-up in an upcoming software development meeting. Is there one coming up that you'd be available for?

@jmorgan29
Copy link
Member

@kbuma, is this the regularly scheduled Toolset and dev call meeting on Tuesday? If so, I will plan to attend the meeting on 5/28. Since I will only be able to attend the first half of this meeting, I will also be available on 6/4 if more time is needed.

@kbuma
Copy link
Collaborator Author

kbuma commented May 22, 2024

@jmorgan29 that sounds great - see you on 5/28 at the regularly schedule dev call

@kbuma
Copy link
Collaborator Author

kbuma commented May 28, 2024

Based on the conversation at the 5/28 meeting we decided to continue support for Excel. The desire is to keep it as a way to integrate with other environments that we do not support directly in our toolchain, e.g. ProTreat.

Thus, we will focus on getting the example that uses Excel to perform a simple Body Mass Index calculation working. That example tests 1) executing a VBA macro on the spreadsheet and 2) moving data to/from the spreadsheet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:High High Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants