Skip to content
Analytica > Blogs > Using the Analytica Decision Engine (ADE) from Python

Using the Analytica Decision Engine (ADE) from Python

Today I interacted with an Analytica from Python, which for me was my first time doing so. To do so, I used the Analytica Decision Engine (ADE), which bundles the core Analytica engine as a Component Object Model (COM) component. On Python 3.6.1 side, I made use of the pywin32 module, which it turns out I already had installed. To verify that it was installed, from an Anaconda prompt I typed:

(base) C:UsersLonnie>conda list pywin32
# packages in environment at C:UsersLonnieAnaconda3:
#
# Name                    Version                   Build  Channel
pywin32                   223              py36h9c10281_0    anaconda

If you don’t already have it, try: conda install pywin32
If you have an old version. try:  conda update pywin32

I started the python interpreter (I use the Spyder IDE) and here’s my first session:

I saw the Ade64.exe process terminate immediately after setting the ade variable to None. This session covers the basics, you can consult the ADE user guide for more details on using ADE and its API.

Share now   

See also

Building electrification: heat pump technology

Lumina set out to build a useful tool to assess the benefits of heat pumps. Learn more about heat pumps and their impact.

More…

Decision making when there is little historic precedent

Learn how to make decisions and strategic plans in uncertain situations, where historical data is not available. See how to model this in Analytica with clarity and insight.

More…

Does GPT-4 pass the Turing test?

UCSD researchers conducted an online Turing test of GPT-4 with 652 human participants. Humans were not fooled ~60% of the time.

More…

What is Analytica software?

Analytica is a decision analysis tool that helps you generate clearer and more justified results through modeling.

More…

Download the free edition of Analytica

The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


    Analytica Cubes Pattern

    Download the free edition of Analytica

    The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

    While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


      Analytica Cubes Pattern