[Python] How to use python and COM to list components in ASPEN Plus or a COM object in general?

Discussão em 'Python' iniciado por Stack, Setembro 29, 2024.

  1. Stack

    Stack Membro Participativo

    Can someone please tell me how to list all the components in a stream using COM and Python?

    I have this output stream and its path in aspen plus variable explorer is:

    aspen.Tree.FindNode("\Data\Streams\COM1\Output\STR_MAIN\MASSFLMX\MIXED")

    This stream as 8 components: Water, SO2,CO2, etc as shown in the pic linked below:

    Variable explorer image from Aspen Plus

    How can I list the components in this stream in python environment?

    Thanks, Gargeya.

    Continue reading...

Compartilhe esta Página