(no subject)

Apr 03, 2009 11:48

Hi. Senior Design for Chemical Engineers involves designing a chemical plant pretty much from the ground up. To do it we use a lot of bullshit software, and I decided to throw my own into the mix. I mainly wrote it to streamline some of the more hideously boring parts of the process, such as cost analysis and heat integration. Not-at-all ironically, I spent more time on it (~40 hours at last count) than it could ever possibly save. But it was a fun 40 hours.

Given an Aspen (bullshit flowsheet modeling software written by bad people who hate their mothers) .bkp save file, a stream table, and a block table it:

-does size and cost analysis of most of the common equipment (no columns D:)
-recommends a stream matching for heat integration based on most cost-effective or lowest energy consumption
-hovers

It's something like 1200 lines (if you don't count whitespace and {}s) written in an entirely standard unholy mix of C and C++ that should compile and run on any platform with a C++ compiler. I hope. It would actually be straight C if I wasn't a lazy bastard about typedefs and a few other things like that.

Also! The source code is released under the WTFPL, so if you're all encouraged to tinker if you're into that sort of thing.

Everything is here.
Previous post Next post
Up