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

0

Data From Unisim/aspen To Python/vba

python unisimdesign aspen hysys link

No replies to this topic
Share this topic:
| More

#1 PinkDolphin

PinkDolphin

    Brand New Member

  • Members
  • 1 posts

Posted 07 April 2022 - 04:36 AM

Hello everyone, 

 

I am working on a project where i need to link data from UnisimDesign to python, i looked for all topics about that and i find the means to import your materials and energys stream data are : 

 

YourPath.Flowsheet.MaterialStreams.Item('NameOfYourMatrerialStreamsInTheSimulation')  

YourPath.Flowsheet.EnergyStreams.Item('NameOfYourEnergtStreamsInTheSimulation')  

 

Now i want to know how i can import data from a Unit i try that : 

 

YourPath.Flowsheet.UnitsOps.Item('NameOfYourUnits')   

 

But it did not function  :(, so how i can do that ? 

 

For them who use Hysys i think is the same code and them who taking information for VBA also...

 

Other things I find the code for materials and energys stream  in internet but do you know if there are a website or a book who explain you how to import some data between the simulation and an other language ?

 

Thinks in advance  :D .  






Similar Topics