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

Scripting languages, Python & R

Scripting languages, Python & R

Learn to leverage special functions in Analytica through scripting language libraries or by linking existing program to an Analytica model.

More…
What is Analytica?

What is Analytica?

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

More…
Computer programming in English (Part 2)

Computer programming in English (Part 2)

In a previous article (part 1), we introduced the new paradigm of computer programming in English and demonstrated one example. In this article, we continue our examination of this new...

More…
Computer programming in English (Part 1)

Computer programming in English (Part 1)

We explore a new paradigm for programming computers directly in English without any formal coding language at all. We do this by prompting a Large Language Model (LLM) to act as the...

More…

Download Free Analytica


    We hate spam as much as you. We won't share your email with third parties.

    The free edition of Analytica includes these key Analytica features:
    Free Analytica has no time limit. The only constraint is it won’t let you create more than 101 variables or other objects. But your model can be quite substantial since each variable can be a multidimensional array. It also lets you explore, change inputs, and run existing models of any size (excluding features unique to the Enterprise or Optimizer editions).