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

air conditioner outdoor unit

Building electrification: heat pump technology for California homes

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

Heat Pumps 101: Heat and cool your home while saving energy and reducing emissions!

Heat and cool your home while saving energy and reducing emissions by adopting heat pump technology. Learn more.
More...

Navigating the heat pump landscape

Fort Collins, Lumina, and Apex Analytics have created a tool to help reduce greenhouse gas emissions by optimizing building electrification programs.
More...

US gas leaks much larger than previously estimated

Can alternative technologies such as biofuels, natural gas, electric vehicles, or hydrogen fuel cells reduce greenhouse gas emissions and dependency on oil?
More...