Coder Social home page Coder Social logo

mea_ssm's Introduction

MEA_ssm

The MEA Steady State Model is a model of an aqueous monoethanolamine solvent-based CO2 capture system. The process flowsheet includes both absorption and stripping columns, with equipment specifications based on the pilot system at the National Carbon Capture Center. The process model has been updated in version 3.2.0 to support both Aspen V10 and V11 by providing separate dynamic-link library (dll) files, which contained compiled Fortran user subroutines in 32-bit and 64-bit code, respectively. The dll developed for Aspen V11 is expected to work with later versions, and it was been confirmed to be compatible with V12.

Note: This product is also part of the Process Models Bundle

Getting Started

See installation and user guide documents in the online documentation.

Authors

See also the list of contributors who participated in this project.

Development Practices

  • Code development will be performed in a forked copy of the repo. Commits will not be made directly to the repo. Developers will submit a pull request that is then merged by another team member, if another team member is available.
  • Each pull request should contain only related modifications to a feature or bug fix.
  • Sensitive information (secret keys, usernames etc) and configuration data (e.g database host port) should not be checked in to the repo.
  • A practice of rebasing with the main repo should be used rather that merge commmits.

Versioning

We use SemVer for versioning. For the versions available, see the releases or tags for this repository.

License & Copyright

See LICENSE.md file for details

mea_ssm's People

Contributors

anujad95 avatar ksbeattie avatar lbianchi-lbl avatar vchendrix avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mea_ssm's Issues

Pull version from git in Makefile

Instead of hardcoding the product version in the Makefile, we should pull version from git tags.

$ git describe --tags
2015.10.00
The suggested change VERSION from a harded coded tag to the following

VERSION := git describe --tags

Result does not match

I have tried the model as described in the document, but I find that the fraction of substances in the stream ABSLEAN is not matching the one provided in the document. It shows a fraction of 7.91146 H2O, 0.1 CO2, and 1 MEA, which does not really make sense since they do not add up to 1. If I change the fraction as provided, then there will be an error occur in the sensitivity block on case 5 with 4500 flowrates. If I do not change the fraction, the result came perfectly as described in the document.
New Model Result with change
OG fraction

Refactor Makefile

The Makefile for this project not longer works within this new git structure. It needs to package a new License and used the git tags.

Add dll consistent with Aspen V11 (new release of MEA_ssm)

The most recent release of this model contains a pre-built dll file with compiled Fortran user models that works when running the model in Aspen V10. However, starting with V11, Aspen Plus is now compiled as a 64-bit program and user models must also be compiled as 64-bit code. Therefore, the existing dll attached to the release will not work for Aspen V11. Instructions are provided in a version-independent manner so that the user can create their own dll, provided that they have access to a Fortran compiler. It is recommended that the V11 compatible dll file (which I have already built and tested) be attached to an upcoming release in order to accommodate users of the newer version of Aspen who do not have a Fortran compiler and/or desire to work directly with the Fortran code to create the dll. The new dll file built for Aspen V11 is expected to work with newer versions of Aspen (V11.1 and V12), although this has not been verified.

UNABLE TO RUN THE SIMULATION

Dear author, first, thank you for sharing this nice work with us.

I am using Aspen Plus V11, I have tried to run the simulation, but the process was unable to proceed displaying the following error message (See attached picture). I would really appreciate if you can help me fix that issue. Thank you for your time and comprehension.

PROBLEM_MEA-GITHUB

subroutine .dll file

Solid work!
I am wondering is there a chance for you to share the subroutine .dll file?

Thanks!

Aspen V10 Bug Affects Modeling Results

It has been identified by a user that the model results produced from Aspen Plus V10 do not match those of the original model that was prepared in V8.4. Upon further analysis, it was determined that this discrepancy is attributed to a bug that results when using an in-built correlation for mass transfer is used in conjunction with a Fortran user routine for interfacial area. A solution for this issue has been identified and a new release of MEA_ssm and updated documentation is currently being prepared to remedy this issue.

integration of .dll files

Hello,
I found the open-source Aspen Plus file named 'CCSI_MEAModel' and I wanted to analyze it but I cannot integrate .dll files into the .bkp one. Can someone help me to do that, please?
Kind regards,
AureDu

Aspen 11 support

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.

Property File

Dear CCSI support team,
I hope you are keeping well.
Many thanks for your huge efforts to build such a helpful model. It is very much appreciated.
I am trying to use the properties impeded in the CCSI model in an Excel file calculation.
In my attempt to achieve that, I exported the CCSI model as "CCSI_MEAModel.aprbkp", and then started linking the property file to Excel using the Aspen Properties tab as shown in the attached screenshot.

It opens a new file in Aspen Properties Desktop, and while I am in the newly opened property file, I import the previously saved file "CCSI_MEAModel.aprbkp" from the File menu.
To make sure that the compiled codes are working, I defined the location of the library "ccsi11.dll" and the location of the "ccsi.opt" file.
However, when I run the simulation in the property file, I get this error below.

I was wondering if you could help me address this error, that would be very helpful and much appreciated.

One more question, Could please tell me how I can decompile the CCSI .dll file so I can review the models?
I installed the Intel Fortran Compiler and the MS Visual Studio, but I am still getting the states as an Error.

I apologize for the long message.
Thank you very much for your help. I deeply appreciate it.
Kind regards

Aspen Property in Excel
Error message
image

CCSI_MEAModel.bkp copyright includes West Virgina University

CCSI_MEAModel.bkp copyright includes West Virgina University. Will this be an issue?

 1006 ";Copyright (c) 2015, the Carbon Capture Simulation Initiative and West Virginia University"
 1007 ";All rights reserved." "; "
 1008 ";Redistribution and use in source and binary forms, with or without"
 1009 ";modification, are permitted provided that the following conditions are met:"
 1010 ";    * Redistributions of source code must retain the above copyright"
 1011 ";      notice, this list of conditions and the following disclaimer."
 1012 ";    * Redistributions in binary form must reproduce the above copyright"
 1013 ";      notice, this list of conditions and the following disclaimer in the"
 1014 ";      documentation and/or other materials provided with the distribution."
 1015 ";    * Neither the name of the <organization> nor the"
 1016 ";      names of its contributors may be used to endorse or promote products"
 1017 ";      derived from this software without specific prior written permission."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.