February 21, 2024, 01:44:00 PM
Forum Rules: Read This Before Posting


Topic: Use Python/Win32COM vs. Matlab to access Aspen Plus variables  (Read 351 times)

0 Members and 1 Guest are viewing this topic.

Offline hawk77

  • Very New Member
  • *
  • Posts: 1
  • Mole Snacks: +0/-0
Use Python/Win32COM vs. Matlab to access Aspen Plus variables
« on: December 22, 2023, 07:05:24 PM »
Hi all,

I was using Python to access an Aspen Plus variables and it was just fine for most of the cases. However, I ran into an issue when I tried to access one of the reaction related variables. Below is my command line:

AspenPlus.Tree.FindNode("\Data\Reactions\Reactions\ReactionABC\Input\RVALUE_LIST\#1").Value = 11

However, there was no problem when I used Matlab to visit the same node.

"\Data\Reactions\Reactions\ReactionABC\Input\RVALUE_LIST\#1"

Any comments or suggestions will be highly appreciated.



Sponsored Links