AspenPlus-Python-Interface

作者 YouMayCallMeJesus · 版本 1.0.0 · 更新于 2026-10-19 01:32

提供 Aspen Plus 与 Python 的接口,通过自动化服务器和变量管理器读写流程模拟中的设备参数,支持编辑流程图、运行模拟、导出结果并调用 scipy 优化算法。

流程模拟化工Python接口优化自动化

✓已通过基础校验

名称、分类、版本与作者信息完整,安装包与文档齐备。

✓可直接使用

提供 Markdown 文档与配置示例,下载后按文档说明使用即可。

Skill 详情

AspenPythonInterface

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.

Aspen Plus 到 Python 的接口,用于过程合成的自动化。该 API 可用于 Aspen Plus 系统内的大多数设备。该库包含约 5000 行代码,由许多较小的函数组成,每个函数都能够设置或获取 Aspen Plus 用户界面中的某个值。它基于 Aspen Plus 实现的自动化服务器以及变量管理器。如果您打算使用它,请阅读文档报告。

Capabilities:
能力:

  • Editing flowsheets
  • 编辑流程图
  • Creating new flowsheet parts
  • 创建新的流程图部分
  • Setting values in equipment
  • 设置设备中的值
  • running simulations
  • 运行模拟
  • exporting results from simulations
  • 导出模拟结果
  • using optimization algorithms to optimize flowsheet
  • 使用优化算法来优化流程图

Applications:
应用:

-please stop using this library. there seems to be a far superior implementation by https://github.com/adk23333. you are also able to add compounds and many more things.

-请停止使用此库。https://github.com/adk23333 似乎有一个远为优越的实现。你还能够添加化合物以及更多功能。

  • 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
  • 本科论文:用于解决精馏塔排序的强化学习方法(糟糕的代码!!不值得阅读或使用),改进版本请访问:CHRIS 或 MIGLEY
  • Case 1: Varying stagenumber in Destillation column to optimize energy usage
  • 案例 1:改变精馏塔中的级数以优化能耗
  • Case 2: applying genetic algorithm to optimize TAC for destillation column sequence
  • 案例 2:应用遗传算法优化精馏塔序列的总年成本(TAC)
  • Almost all automated optimizations for the design of Aspen Plus programs can be done here since most variables are included in this library.
  • 几乎所有针对 Aspen Plus 程序设计的自动化优化都可以在这里完成,因为大多数变量都包含在此库中。

Equipment included: (input&output function for each page)
包含的设备:(每个页面的输入和输出函数)

  • Streams
  • 物流
  • DSTWU
  • DSTWU
  • Flash2
  • Flash2
  • Radfrac
  • Radfrac
  • Heater
  • Heater
  • Mixer
  • Mixer
  • RPLUG
  • RPLUG
  • RCSTR
  • RCSTR
  • RYIELD
  • 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: Richardxtenxhagen@gmail.com
如果您对某些事情有问题或有任何疑问,请给我发邮件:Richardxtenxhagen@gmail.com

Other peoples work which is in a similar area as this one:
其他人的工作,与本工作处于类似领域:

https://github.com/edgarsmdn/Aspen_HYSYS_Python
https://github.com/edgarsmdn/Aspen_HYSYS_Python

https://github.com/Shen-SJ/pyAspenPlus/tree/main/pyAspenPlus
https://github.com/Shen-SJ/pyAspenPlus/tree/main/pyAspenPlus

https://towardsdatascience.com/automated-aspen-hysys-modelling-4c5187563167
https://towardsdatascience.com/automated-aspen-hysys-modelling-4c5187563167

Useful links:
有用的链接:

Describes how to create a instance in VBA
描述如何在 VBA 中创建实例

https://chejunkie.com/knowledge-base/aspen-plus-automation-open-simulation-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/
https://chejunkie.com/knowledge-base/navigating-variable-explorer-aspen-plus/

来自源站,非本站托管
梦马论坛-以梦为马,不负韶华

化工人的交流乐园

联系我们

  • 投诉建议 相关侵权、举报、投诉及建议等,请发 E-mail:admin@meng.horse
返回顶部