CCSI-Toolset / MEA_ssm

MEA Steady State Model
https://mea-ssm.readthedocs.io/
Other
6 stars 7 forks source link

Aspen 11 support #11

Closed duyang250 closed 4 years ago

duyang250 commented 4 years ago

Hi there, The .dll file seems cannot be loaded with Aspen 11. Are you going to upgrade it to support Aspen 11 in the near future? Thanks.

ksbeattie commented 4 years ago

@duyang250, you are right we currently only support Aspen 10.

Unfortunately we don't have any immediate plans to upgrade it to support Aspen 11, but we do have instructions in the docs (in the "2.0 Tutorial" section) on how to build the .dll file. Could you try working through those instructions with Aspen 11 and see if it works? Then let us know how it goes?

duyang250 commented 4 years ago

Thanks very much for the reply. So, the .obj files or the raw fortran files for the subroutines are also available to download somewhere? I read the instructions but I assume I would need to compile these files to generate the .dll file, is that correct?

On Tue, Jan 21, 2020 at 4:38 PM Keith Beattie notifications@github.com wrote:

@duyang250 https://github.com/duyang250, you are right we currently only support Aspen 10.

Unfortunately we don't have any immediate plans to upgrade it to support Aspen 11, but we do have instructions in the docs (in the "2.0 Tutorial" section) on how to build the .dll file. Could you try working through those instructions with Aspen 11 and see if it works? Then let us know how it goes?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CCSI-Toolset/MEA_ssm/issues/11?email_source=notifications&email_token=AOKWNODTZCVU477HK74CW5TQ65TMRA5CNFSM4KJMWCC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRLKUA#issuecomment-576894288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKWNOE4FLO5MQJYP7R57NTQ65TMRANCNFSM4KJMWCCQ .

-- Development Specialist II R&D Elctr & Spec Gas Appl Praxair Inc. Yang_Du@Praxair.com Office: +1 (716) 879-7679 Ext. 77679 Mobile: +1 (512) 994-5933

ksbeattie commented 4 years ago

Well, not exactly for download but still achievable. Since that fortran code starts with Aspen's template files (copyright Aspen Tech) we added a step-by-step tutorial/cut-n-paste/instructional approach on how we built the .dll files with our own fortran code specified in that section of the doc (which is available for download).

We've verified that it works for Aspen 10, but not yet for Aspen 11. Not sure what, if anything, they've changed there for 11. Perhaps nothing? Give it a try and let us know how it goes. If you're willing we could incorporate your experience back into the docs.

duyang250 commented 4 years ago

Thanks very much, I will try. I have also attached the reply from Aspen tech support about this issue for your reference. Basically, it says Aspen 11 can only read 64-bit program, but the subroutines of current CCSI-MEA model may be compiled in 32 bit.

On Tue, Jan 21, 2020 at 4:59 PM Keith Beattie notifications@github.com wrote:

Well, not exactly for download but still achievable. Since that fortran code starts with Aspen's template files (copyright Aspen Tech) we added a step-by-step tutorial/cut-n-paste/instructional approach on how we built the .dll files with our own fortran code specified in that section of the doc (which is available for download).

We've verified that it works for Aspen 10, but not yet for Aspen 11. Not sure what, if anything, they've changed there for 11. Perhaps nothing? Give it a try and let us know how it goes. If you're willing we could incorporate your experience back into the docs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CCSI-Toolset/MEA_ssm/issues/11?email_source=notifications&email_token=AOKWNODMGNH2GH5EOHWRDUTQ65V3XA5CNFSM4KJMWCC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRNNOI#issuecomment-576902841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKWNOF32ZG65AZRFR6HGXDQ65V3XANCNFSM4KJMWCCQ .

-- Development Specialist II R&D Elctr & Spec Gas Appl Praxair Inc. Yang_Du@Praxair.com Office: +1 (716) 879-7679 Ext. 77679 Mobile: +1 (512) 994-5933

duyang250 commented 4 years ago

Hi Keith,

It works. I re-created and compiled MEA subroutines using ASPEN 11 following the instructions, and got the MEA simulation converged on ASPEN

  1. I will ask my colleagues who use ASPEN 10 to check if the results are correct. Thanks.

Best

Yang

On Tue, Jan 21, 2020 at 5:05 PM Yang Du yangdu@utexas.edu wrote:

Thanks very much, I will try. I have also attached the reply from Aspen tech support about this issue for your reference. Basically, it says Aspen 11 can only read 64-bit program, but the subroutines of current CCSI-MEA model may be compiled in 32 bit.

On Tue, Jan 21, 2020 at 4:59 PM Keith Beattie notifications@github.com wrote:

Well, not exactly for download but still achievable. Since that fortran code starts with Aspen's template files (copyright Aspen Tech) we added a step-by-step tutorial/cut-n-paste/instructional approach on how we built the .dll files with our own fortran code specified in that section of the doc (which is available for download).

We've verified that it works for Aspen 10, but not yet for Aspen 11. Not sure what, if anything, they've changed there for 11. Perhaps nothing? Give it a try and let us know how it goes. If you're willing we could incorporate your experience back into the docs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CCSI-Toolset/MEA_ssm/issues/11?email_source=notifications&email_token=AOKWNODMGNH2GH5EOHWRDUTQ65V3XA5CNFSM4KJMWCC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRNNOI#issuecomment-576902841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKWNOF32ZG65AZRFR6HGXDQ65V3XANCNFSM4KJMWCCQ .

-- Development Specialist II R&D Elctr & Spec Gas Appl Praxair Inc. Yang_Du@Praxair.com Office: +1 (716) 879-7679 Ext. 77679 Mobile: +1 (512) 994-5933

-- Development Specialist II R&D Elctr & Spec Gas Appl Praxair Inc. Yang_Du@Praxair.com Office: +1 (716) 879-7679 Ext. 77679 Mobile: +1 (512) 994-5933

ksbeattie commented 4 years ago

@duyang250, that's good to know. Thanks for trying it out and letting us know.

I'll update the readme and release notes with this info, please let is know more about verifying Aspen 10 vs 11 results.

ksbeattie commented 4 years ago

The readme and release notes were updated back in Jan.