Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about Aspen Custom Modeller

Status
Not open for further replies.

Moritz11

Chemical
Mar 13, 2015
1
Hi all
I just recently started the use the ACM so I'm rather unexperienced. So the question I have is:

Why are there some variables missing in the all.variables list of a block although they are mentioned in the code for the model?

The code is:
Code:
MODEL Feeder
  p as Pressure; // in bar
  t as temperature; //in °C
  Total            as flow_mol;

  X(ComponentList) as fraction;
  X("H2"):       1.0, fixed;

  FeederOutlet as Output Port1;
 total.Value: 20;
 p.value: 10;
 t.value: 50;

END

I compared my code with the codes from different models from the examples. And I don't really see a significant difference in defining the variables.
The allvariables list I'm getting for this code is in the pic below
getfile.aspx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor