<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8968604820003269863\x26blogName\x3dChemical+%26+Process+Technology\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://webwormcpt.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://webwormcpt.blogspot.com/\x26vt\x3d6505904876529004088', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Chemical Process Technology

Continue to learn tips, knowledge and experience about Chemical Process Technology...

Enter your email address:


CLOSE WINDOW


 

Chemical & Process Technology

A place to share knowledge, lesson learnt...

Monday, June 30, 2008

Display problem ? Click HERE

Recommended :
Subscribe FREE - Plant Services

A stream or unit operation has been properly defined in a HYSYS file (i.e. ABC.hsc), you would like to copy and transfer complete information to another HYSYS file (i.e. 123.hsc), a tedious way is the print the Datasheet of the stream or unit operation with all information (in ABC.hsc) and key in the same information in 123.hsc. This is rather time consuming and potentially expose to typo error.

HYSYS has a special feature (if you have not know about it) is the XML Data Exchange. It help to extract information of a stream or unit operation into a temporary file (UnitOp.XML) and allow other file can access the information in this XML file.

For example, you would like to transfer stream information (i.e. Rich gas in ABC.hsc) into a stream (i.e. dummy_RG in 123.hsc).


Step 1 : Open ABC.hsc file
Step 2 : Put the pointer ("cross lines") on the Rich Gas stream.
Step 3 : Right Click, follow by clicking on the XML Data Exchange. XML file Exchange sheet will be displayed.




Step 4 : Click Export. All information from Rich Gas stream will be transferred into UnitOp.XML





Step 5 : Open the new file (123.hsc) and create a new stream dummy_RG
Step 6 : Put the pointer ("cross lines") on the dummy_RG stream
Step 7 : Right Click, follow by clicking on the XML Data Exchange. XML file Exchange sheet will be displayed.
Step 8 : Click Import. All information from UnitOp.XML stream will be transferred into dummy_RG.





Above method may apply to other unit operation like separator, pump, etc. It save a lot of simulation time when you are handling many streams in many files.

Related Topic

Labels:

posted by Webworm, 1:12 PM

0 Comments:

Post a Comment

Let us know your opinion !!! You can use some HTML tags, such as  <b>, <i>, <a>

Subscribe to Post Comments [Atom]

Home:

<< Home