Hello Charles, nice to meet you and very happy to find your work. I'm a Chemical engineering student and I'm doing my special work about a model of a decoking fixed bed process in ACM. I'm from Venezuela and I just wanted to say thank you because this has been a valious help. I'm anxious to see all the videos.
Interestingly, your full comment didn't seem to come through in this stream, but it did to my email... You asked: "Hi, Charles, thanks for your video, it really helps. I am new to ACM or Aspen related, and I am trying to establish a flash model according to the ACM guildance. I defined a variable Mw as "Mw(ComponentList) as molweight (description:"Mole weight of feed")", then call it using "Call (Mw) = pMolWeight() ComponentList; but the simulation message always shows " Error at position 25: Scalar expected for procedures output argument 1" . Could you please tell me where is wrong ? Thank you very much." I think that the answer is that there are two very similar procedures in ACM - pMolWeight and pMolWeights. The former returns a scalar value of a mixture and needs a MoleFraction array as an input; the latter returns an array of the molecular weights of a ComponentList and has no input arguments. I suspect that you intended to use pMolWeights. Charles
Great effort sir, but it's to advanced for me. I wished you explained it all from the very beginning. You have to reconsider the beginners mode, yet I think it is perfect for advanced users. Thanks again.
You would need to develop a set of mathematical equations to describe how the cell you want to model operates and then encode them into ACM. Depending on the complexity of the system, you may wish to use the Aspen Properties database to get information about the physical properties - that has routines to handle electrochemistry as well as more traditional things like density and enthalpy. I've tried to set this channel up as an introduction on how to write those equations and structure a flowsheet model. Good luck!
Hi, I am a student in Energy Engineering and I'm doing my special work on a thermal storage tank, but I have some difficulties with ACM. I need a tank in which the flow of air at high temperature heats up it in the charge phase, while cools down it in the discharging phase. Could you please help me?
Hello, I have a doubt and I want to make sure, please. I want to use T in K. The unit displayed in the variable type is °C, so in the script, I will have to enter the value in °C which gave me wrong results. I tried to create a new variable as follows: Variable TempK/* K */ Lower: 27; Upper: 5273; Value: 300; PhysicalQuantity : "temperature", "K"; End However, when I run my model, it's true that I have the T in K BUT I cannot see the other units (I mean I can not convert it). Is this normal when creating new variables? Also, is what I did correct? Another method (following the ACM user guide) is to use: bOK = UOM.DefineConversion("Temperature", "K", 1.0, -273.15). But I don't know how and where to use it (as it gives me errors) Thank you
Hi Doha There's a couple of different things here. You can create a new variable at any time, and assign default value and bounds. However, to assign a PhysicalQuantity, you have to either use one of the ones that comes with ACM as default (in which case you're bound to their choice of default unit) or you have to create one of your own. To create your own PhysicalQuantity, you have to edit some VB Script that'd buried in the admin area... C:\Program Files\AspenTech\AMSystem V12.1\Bin by default. You can edit the file there called "OnNewDocumentScript.vb". That's where you add the "bOk = ..." text. However, that requires admin access. Good news, though - Aspen provided a variable type called "Temparature_Abs". I think that might be what you were looking for. Charles
Other than this channel, I'm afraid I haven't got a lot of other materials. The Help documentation is pretty good, though, and there are several examples in the Aspen library
Hello Charles I'm a master's student in chemical engineering and I'm trying to design a carbon capture pant using rotary packed bed reactor instead of a normal packed bed column can you guide me on how to do it in aspen I've tried my best but didn't get any idea as of now from the internet..
I am willing to help if I can, but I have a fulltime job and not a lot of spare time - I can give you some pointers and ideas if you have specific questions.
Hi thanks for the videos. Is it possible for you to make more basic videos for beginners on how exactly to use ACM? Example- how to make our own ports according to our required model? Or about the errors that occur and how to debug? unit conversions etc
@@cssandersonllc3172yes I have watched most of your videos. Let me be specific with a doubt. I made my own port with 3 variables and compiled it. Then I added an input and output port to my model (dynamic simulation). But when I connect my port variables to the model variables, the "run" option gets disabled. Could you tell me why that is happening?
There are several possible reasons - I'd need to look at the specific code to understand the issue. Some possible things: - Is the model "square" - do you have the right things fixed / free? - Do the variables in the stream and block ports match? Or are you getting a "spanner" in the Spec panel? - Are there any debug messages in the Simulation Messages window?
You can model pretty much anything in ACM, but you'll need to break it down into a set of equations and physical properties calls. ACM is more like a programming language than AspenPlus - you need to build your own models.
also can you create a tutorial for embedding ACM models into aspen plus using say version 9 or 10? having a reactor model as part of flowsheet in aspen plus is important, rather than having it as stand alone
I'm afraid that I've never really learnt how to use AspenPlus or how to export ACM models into that framework. I've always built my unit operations and flowsheets in ACM. It's a really powerful flowsheeting environment...
CS, ACM is not very user friendly as compared to Matlab. You need to slow down a bit and go slowly, please just a suggestion. Be a little louder and speak slowly, you are mumbling fast sometimes. Thanks for the effort, but consider these suggestions
Thank you for the feedback. I'm sorry that the audio quality isn't always great. To try to help with that, I have gone through and added subtitles - I write these after recording, so I try to eliminate some of the stutters and digressions. Perhaps they would prove helpful
Hello Charles, nice to meet you and very happy to find your work. I'm a Chemical engineering student and I'm doing my special work about a model of a decoking fixed bed process in ACM. I'm from Venezuela and I just wanted to say thank you because this has been a valious help. I'm anxious to see all the videos.
Hi Luis. I'm glad that the videos were useful. Good luck with your ACM adventures
It will be much easier if you continue to provide help through these videos. Thank you! 👍👍
Thanks for making videos on ACM. it helped me a lot.
You are most welcome
Thanks for your video, it really helps.
Glad it helped
Interestingly, your full comment didn't seem to come through in this stream, but it did to my email... You asked:
"Hi, Charles, thanks for your video, it really helps. I am new to ACM or Aspen related, and I am trying to establish a flash model according to the ACM guildance. I defined a variable Mw as "Mw(ComponentList) as molweight (description:"Mole weight of feed")", then call it using "Call (Mw) = pMolWeight() ComponentList; but the simulation message always shows " Error at position 25: Scalar expected for procedures output argument 1" . Could you please tell me where is wrong ? Thank you very much."
I think that the answer is that there are two very similar procedures in ACM - pMolWeight and pMolWeights. The former returns a scalar value of a mixture and needs a MoleFraction array as an input; the latter returns an array of the molecular weights of a ComponentList and has no input arguments. I suspect that you intended to use pMolWeights.
Charles
Thank you very much for this video, it helped ALOT. About to start a course in my Msc that entails this software, should be interesting
I'm glad the video was helpful. Best of luck!
Where can I get a manual of the language used for? Is visual basic?
ACM uses its own language. It's pretty well documented in the online help, but I don't think that there's a separate manual any more
Great effort sir, but it's to advanced for me. I wished you explained it all from the very beginning. You have to reconsider the beginners mode, yet I think it is perfect for advanced users.
Thanks again.
Thanks for the feedback - I'll try to make some more videos, if I have time
Really Thanks !
You're welcome!
very helpful,thanks
Thanks
How can a water electrolysis cell be programmed in Aspen custom modeler?
You would need to develop a set of mathematical equations to describe how the cell you want to model operates and then encode them into ACM. Depending on the complexity of the system, you may wish to use the Aspen Properties database to get information about the physical properties - that has routines to handle electrochemistry as well as more traditional things like density and enthalpy.
I've tried to set this channel up as an introduction on how to write those equations and structure a flowsheet model.
Good luck!
@@cssandersonllc3172 thaThank you very much for answering the question. I wish you the best in your life. I will try maybe I can program it.
Hi, I am a student in Energy Engineering and I'm doing my special work on a thermal storage tank, but I have some difficulties with ACM. I need a tank in which the flow of air at high temperature heats up it in the charge phase, while cools down it in the discharging phase. Could you please help me?
I see that you've already reached out through email. I'll help if I can, but have limited time...
Hello, I have a doubt and I want to make sure, please.
I want to use T in K.
The unit displayed in the variable type is °C, so in the script, I will have to enter the value in °C which gave me wrong results.
I tried to create a new variable as follows:
Variable TempK/* K */
Lower: 27;
Upper: 5273;
Value: 300;
PhysicalQuantity : "temperature", "K";
End
However, when I run my model, it's true that I have the T in K BUT I cannot see the other units (I mean I can not convert it). Is this normal when creating new variables? Also, is what I did correct?
Another method (following the ACM user guide) is to use: bOK = UOM.DefineConversion("Temperature", "K", 1.0, -273.15). But I don't know how and where to use it (as it gives me errors)
Thank you
Hi Doha
There's a couple of different things here.
You can create a new variable at any time, and assign default value and bounds. However, to assign a PhysicalQuantity, you have to either use one of the ones that comes with ACM as default (in which case you're bound to their choice of default unit) or you have to create one of your own.
To create your own PhysicalQuantity, you have to edit some VB Script that'd buried in the admin area... C:\Program Files\AspenTech\AMSystem V12.1\Bin by default. You can edit the file there called "OnNewDocumentScript.vb". That's where you add the "bOk = ..." text. However, that requires admin access.
Good news, though - Aspen provided a variable type called "Temparature_Abs". I think that might be what you were looking for.
Charles
@@cssandersonllc3172 Thank you so much for your help
Sir, I have one question, Could you have time for me, please?. Do you have any reference materials for beginner like myself to start with?.
Other than this channel, I'm afraid I haven't got a lot of other materials. The Help documentation is pretty good, though, and there are several examples in the Aspen library
@@cssandersonllc3172 Thank you so much for you response. It helps a lot. thank you
Hello Charles I'm a master's student in chemical engineering and I'm trying to design a carbon capture pant using rotary packed bed reactor instead of a normal packed bed column can you guide me on how to do it in aspen I've tried my best but didn't get any idea as of now from the internet..
I am willing to help if I can, but I have a fulltime job and not a lot of spare time - I can give you some pointers and ideas if you have specific questions.
Thank you so much Charles ! May I have your email ID so that I can send you the nessary Pointers
Hi thanks for the videos. Is it possible for you to make more basic videos for beginners on how exactly to use ACM? Example- how to make our own ports according to our required model? Or about the errors that occur and how to debug? unit conversions etc
I'm pleased that the videos are useful. I think most of those topics are covered in these videos... Have you had a chance to look through them all?
@@cssandersonllc3172yes I have watched most of your videos.
Let me be specific with a doubt. I made my own port with 3 variables and compiled it. Then I added an input and output port to my model (dynamic simulation). But when I connect my port variables to the model variables, the "run" option gets disabled. Could you tell me why that is happening?
There are several possible reasons - I'd need to look at the specific code to understand the issue. Some possible things:
- Is the model "square" - do you have the right things fixed / free?
- Do the variables in the stream and block ports match? Or are you getting a "spanner" in the Spec panel?
- Are there any debug messages in the Simulation Messages window?
how can model supercritical leaching in ACM?
You can model pretty much anything in ACM, but you'll need to break it down into a set of equations and physical properties calls. ACM is more like a programming language than AspenPlus - you need to build your own models.
How can i get aspen coustome modeler
ACM is licensed by www.aspentech.com/en
Hello sir , I need some help for my final project as I have to develop a membrane model and integrate it in Aspen plus, can you help me please??
I'm afraid I don't have a membrane model that I can give you, and I don't have a lot of experience exporting models to AspenPlus
also can you create a tutorial for embedding ACM models into aspen plus using say version 9 or 10? having a reactor model as part of flowsheet in aspen plus is important, rather than having it as stand alone
I'm afraid that I've never really learnt how to use AspenPlus or how to export ACM models into that framework. I've always built my unit operations and flowsheets in ACM. It's a really powerful flowsheeting environment...
Hello; Can you please make a small tutorial on how to Export Aspen Custom Modeler to Aspen Hysys ? Please make a video
Thanks
I'm afraid that's not something that I've ever done. I have always used ACM for all my modelling work
Hello
Can i contact with you on another app?
Cuz i want your help in my final project :)
I'd certainly be willing to talk - charles@cssanderson.com
CS, ACM is not very user friendly as compared to Matlab. You need to slow down a bit and go slowly, please just a suggestion. Be a little louder and speak slowly, you are mumbling fast sometimes. Thanks for the effort, but consider these suggestions
Thank you for the feedback. I'm sorry that the audio quality isn't always great. To try to help with that, I have gone through and added subtitles - I write these after recording, so I try to eliminate some of the stutters and digressions. Perhaps they would prove helpful