Code Monkey home page Code Monkey logo

aspenplus-python-interface's Introduction

AspenPythonInterface

Aspen Plus to Python interface for the automation of the process synthesis. This API can be used for most equipment inside of the Aspen Plus system. The library consists of around 5000 lines of code which are made up of many smaller functions which each are able to set or get some value in the aspen plus user interface. It is based on the automation server which aspen plus has implemented together with the variable manager. Please read the documentation report if you plan to work with it.

Capabilities:

  • Editing flowsheets
  • Creating new flowsheet parts
  • Setting values in equipment
  • running simulations
  • exporting results from simulations
  • using optimization algorithms to optimize flowsheet

Applications:

  • Bachelorthesis: Reinforcement learning approach to solve Destillation column sequencing (terrible code!! not worth reading or using) for the improved version go to: CHRIS or MIGLEY
  • Case 1: Varying stagenumber in Destillation column to optimize energy usage
  • Case 2: applying genetic algorithm to optimize TAC for destillation column sequence
  • Almost all automated optimizations for the design of Aspen Plus programs can be done here since most variables are included in this library.

Equipment included: (input&output function for each page)

  • Streams
  • DSTWU
  • Flash2
  • Radfrac
  • Heater
  • Mixer
  • RPLUG
  • RCSTR
  • RYIELD

Future implementations:

  • Cost analysis for everything (aka combining this sizing and costing library with my library)

Concerning licences and the freedom to use it: You are welcome to use it for any project you have. If you start making significant money with it please email me. For academic research you are ofcourse welcome to use it but please cite me. If you have a problem with something or any questions send me a email: [email protected]

Other peoples work which is in a similar area as this one: https://github.com/edgarsmdn/Aspen_HYSYS_Python https://github.com/Shen-SJ/pyAspenPlus/tree/main/pyAspenPlus https://towardsdatascience.com/automated-aspen-hysys-modelling-4c5187563167

Useful links: Describes how to create a instance in VBA https://chejunkie.com/knowledge-base/aspen-plus-automation-open-simulation-in-vba/ Using Variable explorer https://chejunkie.com/knowledge-base/navigating-variable-explorer-aspen-plus/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.