Jump to content



Featured Articles

Check out the latest featured articles.

File Library

Check out the latest downloads available in the File Library.

New Article

Product Viscosity vs. Shear

Featured File

Vertical Tank Selection

New Blog Entry

Low Flow in Pipes- posted in Ankur's blog

Material Balance Recycle On Excel

material balance recycle

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic
Share this topic:
| More

#1 Danish.Dynamo88

Danish.Dynamo88

    Brand New Member

  • Members
  • 2 posts

Posted 12 February 2017 - 10:08 AM

When doing a mass balance on excel and adding in a recycle function excel produces a circular reference.

I tried a different approach using solver but it gave me a deficit of mass.

Any advice/ strategy would be immensely appreciated.



#2 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 12 February 2017 - 07:59 PM

If you post your spreadsheet you might get better answers.

 

Bobby



#3 Francisco Angel

Francisco Angel

    Gold Member

  • Members
  • 88 posts

Posted 13 February 2017 - 12:55 PM

Dear Danis.Dynamo88:

Your problem is like this:

 

Cell x = f ( Cell x)

 

Where f is a function, maybe in the form of a chain of cell dependencies, this is a circular reference. You can solve it using an auxiliary cell like this.

 

Cell x = f (Cell aux )

 

Cell aux must have the same value as x, for the problem to have the solution you are looking for. You can not link Cell x to Cell aux, because you would have a circular reference again. You have options like:

* Manually copying the value of Cell x to Cell aux in an iterative manner.

* Implement a script in VBA to copy the value of of Cell x to Cell aux, again in an iterative manner.

* Reformulate the problem to eliminate the circular reference, in this case you would be solving a slightly different problem, that may require to reformulate a portion of the sheet.

Best regards.



#4 Profe

Profe

    Gold Member

  • ChE Plus Subscriber
  • 316 posts

Posted 13 February 2017 - 04:48 PM

Hi Danish.

 

Attached I send send you an example for use the solver to iterate that I think you can use for recycle without use circular

 

Review it and try to apply this method. For instance use known mass for balance or fraction molar = 1 for objective and pressure or temperature for variable (changing value)

 

Good luck

Attached Files


Edited by Profe, 14 February 2017 - 08:06 AM.





Similar Topics