Unit converter mouse-over disabled on Smart Process Design

Hey everyone, just a quick update on the website.

I previously had a small unit conversion program installed on the site, where you could hold your mouse over numbers expressed in Metric and a pop-up would convert them into Imperial, and vice/versa. I was glad to do this because we have readers whose unit preference varies.

Unfortunately, I have recently determined that this was interfering with some of the other coding the site, including some web links and the “print or pdf” buttons. I’m going to have to deactivate the unit auto-conversion until further notice. This should resolve the website problems a few of you have been experiencing.

Remember, you still have the conversion tool at the bottom of the “sidebar” on the right side of the page, and some previous posts suggest options for easy unit conversion. If you have another web-browser tab open to Wolfram Alpha or even Google you should be able to manage.

Print Friendly, PDF & Email
Share
Posted in Blog / Website News | Tagged , , , , , | Leave a comment

Get Stream Summary Data from SimSci PRO-II into Excel

Need to get stream data from a Sim-Sci Pro/II simulation (also known as Provsion or PRO-2) into another format; say Microsoft Excel? It could be for a heat and material balance table, an equipment datasheet, or just data for a calculation. Try one of the following approaches to copy out the PRO-II data:

  1. For small amounts of data you can copy from a stream or unit operation’s window directly. For example, for streams, right-click on the stream and select the data review window. At the bottom-left of the window is a drop-box listing the different Property Lists which you can request. In this context, Property Lists function like report formats. Pick the Property List with the data you want, and then click the “copy” button to copy all of the data on the screen. Then paste into other programs. By the way, from the main Pro-II screen, you can go to Option>Stream Property Lists to configure new lists in exactly the format you like. Similarly, under the Options menu you can create and view Unit Operation lists for equipment.
  2. You can also right-click on a stream and pick “View Results” to get a text report. For simple printing purposes just paste the report using a monospaced font like courier new. If you need to get the data into something like Excel, paste the data in Excel and try to use the Data>Text to columns option and play with the “delimited” settings to try to extract the numbers from the data as cleanly as possible.  You may have to do a little manual work to get the data as a delimited data import will not be perfect
  3. Use the Output commands such as Output>Report Format and Output>Generate Text Report to get a text report. These text reports let you get a lot of data in one go: it’s a super-sized version of Option #2. Use the tactics of Option #2 to extract data from the report.
  4. Select Tools>Spreadsheet to access a variety of built-in spreadsheet reports. You can only get the default reports out with this approach. The results are attractively formatted and don’t have to fight with the data so this is a great option if the report covers your needs. Note: I find this tool is very slow and it often crashes. Save all your work beforehand, especially your PRO/II AND Excel work, in case these programs crash.
  5. Open your PFD Palette (the sidebar that has streams and unit operations that you can drop into a simulation). Near the bottom you of the Palette should see Stream Property and Unit Op Property tables. You can drop these tables onto the PFD and configure them to show your desired Property List, the same lists discussed in Option #1. You can copy these tables and paste them directly into Excel. This is a good method if you want to get the same property list for several streams or equipment items at once. A warning: for large tables it becomes difficult for PRO/II to display the data and it may slow down your simulation, as PRO-II will constantly fight to keep the numbers up to date. I suggest you add a “Block Diagram” from your PFD palette and build the stream table inside the “subflowsheet” which is accessed by double-clicking on the block diagram. That way, the table is hidden inside the subflowsheet and PRO-II will only create the table when you need to look at it

Personally, I find Option #5 the most flexible, although it takes work to set up the Property List just how you want it and it can slow down your simulation if you don’t hide the tables inside Block Diagrams. Option #4 is a really great option if the default report has the information you need, probably the best. Sometimes Option #4 can be extended with Option #2, if you just need to add a tiny bit of information to the otherwise fine default reports.

P.S. The techniques in this entry have been used with PRO/II V7.1-V8.3 and may not work with older or newer versions.

Print Friendly, PDF & Email
Share
Posted in Simulation & Thermodynamics | Tagged , , , , , , , , | Leave a comment

Get Stream Summary Data from Aspentech Hysys or UniSim Design into Excel

Need to get stream data from your Aspen Hysys simulation into another format; say Microsoft Excel? It could be for a heat and material balance table, an equipment datasheet, or just data for a calculation. Try one of the following approaches to copy out the Hysys data.

Note: The program UniSim Design by Honeywell is, at the time of writing, almost identical to Hysys. Except for tip #5, most of these approaches should work just as well for UniSim.

  1. For small amounts of data you can copy and paste directly out of Hysys windows. Use the “copy with labels” command (shortcut Crtl-Shift-C) to copy both the data and the row/column heading names
  2. Go to Tools>Workbooks or hit Crtl-W. Create a workbook customized to show the data you want. Copy and paste into Excel. Crtl-shift-C works again
  3. Print the workbook instead of copying. When printing, select the Hysys workbook checkboxes “text-to-file” and “delimited.” When selected, instead of sending a report to the printer, Hysys will instead create a delimited text file that you can open in MS Excel. (In Excel, use Data>Text to columns to interpret the delimited data, and select commas to create new cells)
  4. Go to Tools>Reports or hit Crtl-R. and create a report displaying the data you need. Again use delimited text files to create a “report” you can read with spreadsheet programs
  5. Download the “Hysys Stream Reporter (HSR).” This is a sample Excel Macro, that uses Visual Basic coding to reach into the Hysys file and extract stream data. It is very easy to use and has instructions built right into the file. At time of writing you would use HSR 1.6 but you should search the Aspentech Support database for the latest version. You should note that as a “demo file” HSR is not subject to the same quality controls as normal Hysys features, and there is no technically no guarantee it will be available in future versions of Hysys. (Although unofficially, I have been told it is so popular they will likely be built for future versions of Hysys). I find it very convenient, but there is a risk that for very large files or simulations you have to upgrade to new versions that something will go wrong. I wouldn’t rely on HSR for major projects that will last several  years. Also, be aware that the program can be slow if you have a lot of stream data, and that it ties up both Excel and Hysys. You may want to test it by first writing a report with only a single stream property for all the streams of interest, to make sure that the connection to each stream is working correctly, before trying to get your full report out.
  6. You can use the Spreadsheet unit operation. Using the” Add Import” button in the “Connections” of your spreadsheet tab, you can pull in any variables (including stream or equipment properties) into a spreadsheet in any cells that you choose. Shortcut: You can also add variables to the spreadsheet by opening a Hysys window (say a stream or unit operation’s window), holding control, and using the right mouse button to drag the variable from the Hysys window and dropping it into your spreadsheet. Either way you add the variables, it is a little time consuming, but you can bring key data together in the orientation/order you like, and then copy and paste it to other programs. (Also, sometimes it is good to get an “executive summary” or “dashboard” of key data immediately within your simulation, as you try to tune the simulation).
  7. Create your own custom solution with Visual Basic programming to get data out of Hysys. You can also use it to pull data in, if you need to have Hysys interface to an external spreadsheet or program
  8. See if Aspen Simulation Workbook, which helps you create linkages between Hysys and Excel, can help you

Personally, I find Option #5 is the easiest, quite flexible and powerful. Option #5 also makes it very easy to mix and match streams from multiple simulation files or sub-flowsheets (like a column’s streams) into a single report.

Option #2 is also very flexible, takes a little longer to set up but you’ll get the reports faster and it’s less buggy. So I’d prefer option #5 for one-off problems and option #2 for lengthy problems where I can set up the Hysys file properly and keep developing the file going forward.

Option #6 is a good choice if you only need a tiny handful of variables, but many different types of variables from different places in the simulation. Note that you could also use the spreadsheet approach to bring together the variables that you might want to change as you tune a program, as well as the variables you want to copy and paste to an outside program.

Option #7 is the most powerful but requires programming knowledge and work.

P.S. The techniques in this post have been used with Hysys 2004-V7.1 and UniSim 2004-2006, and may not work with older or newer versions.

Edits:

2011-03-23 – Added option #8, Aspen Simulation Workbook

Print Friendly, PDF & Email
Share
Posted in Simulation & Thermodynamics | Tagged , , , , , , , , , , | 5 Comments

Researching careers, degrees, and online credits at onlinedegrees.org

Onlinedegrees.org is a helpful website for students of all types – it provides you information on getting a degree online, but also has summaries and statistics on different career fields. I think it’s the perfect short amount of data to help a confused high school student pick out a few careers to start researching.

Their online salary calculator has a few interesting tidbits I wanted to share:

Note: All their wage data is for the U.S.

Print Friendly, PDF & Email
Share
Posted in Career Advice, Students | Tagged , , , , , , , | Leave a comment

Heat Exchanger Fluid Allocation: Shellside or Tubeside?

It’s the first question to hit you with every shell-and-tube heat exchanger. It comes up when you are designing a heat exchanger, or just trying to draw one into a process sketch, process flow diagram, or piping and instrumentation diagram. Fluid allocation: which fluid goes into the shell side and which into the tube? Alas, there is no straightforward answer.

Which fluid goes on which side?

Some considerations, or rules-of-thumb, follow. I have gathered these from various books, articles, presentations, and other sources. Please review this list but you must not follow it as gospel. Every situation needs to be evaluated on its own merits and some of these rules will conflict with the others. I offer a tentative “ranking” for when the advice conflicts at the end of the post.

Heat Exchanger Fluid allocation advice:

  • The tubeside has less metal than the shellside. Therefore, capital cost pressures favor putting corrosive fluids in the tubeside. Why? Corrosive services tend to call for expensive, exotic metals that can withstand corrosion better than plain old carbon steel. Better to minimize the use of the expensive material by sending corrosive services to the tubeside
  • Similarly, extreme pressures and temperatures (high or low) can increase the metal thickness or cost of the materials of construction required. One would rather place extreme P/T services on the tube-side. (It is easier to make the tubes resist high pressures rather than the entire, larger, shell)
  • It is easier to keep velocities higher in the tubeside. This is good for services that demand a consistently high velocity, like cooling water
  • For maintenance, it is easier to clean the tubeside than the shellside. Sometimes you can just open the “head” of the exchanger and hydroblast each tube, instead of having to remove the entire tube bundle to get at the shell. Also the inside of tubes is an easier surface to deal with then the complex surface of the tube bundle outsides and shell insides. Often only chemical cleaning can be reasonably performed on the shellside. Therefore, the maintenance department would prefer that any fouling/viscous/solid-carrying/dirty streams go into the tubeside Continue reading
Print Friendly, PDF & Email
Share
Posted in Heat Exchange | Tagged , , , , , , , | Leave a comment