RidgetopGroupInc / AEM-API

The AEM API provides researchers and developers with a way to interact programmatically with the Advanced Electrolyte Model software developed by Idaho National Laboratory (INL). The API facilitates the integration of AEM’s capabilities into other software solutions, enabling seamless automation and data analysis workflows.
https://www.ridgetopgroup.com/about-us/ridgetop-affiliates/advanced-electrolyte-model-aem-developed-by-idaho-national-laboratory/
GNU General Public License v3.0
1 stars 0 forks source link

Error ocurring with AEM_API_Demo #3

Open DennisWinkler opened 4 months ago

DennisWinkler commented 4 months ago

Hi, when I run the "AEM_API_Demo" I encounter the following error:

AEM-API v1.0:: End of Program! (© 2024 Ridgetop Group, Inc. and Adarsh Dave (CMU), All Rights Reserved)

AEM-API v1.0:: Input Parameters: {'Solvent Composition': 1, 'Solvent Composition Proportionality Basis': 2, 'Number of Solvents': 2, 'Number of Salts': 1, 'Minimum Temperature': 20, 'Maximum Temperature': 60, 'Temperature Step Size': 10, 'Method for Triple-Ion Stability': 1, 'Contact Angle': 90, 'Pore Length': 50, 'Salt Concentration of Interest': 0.1, 'Surface-Charge Attenuated Electrolyte Permittivity (SCAEP) Calculations': 0, 'Double Layer (DL) Calculations': 0}

AEM-API v1.0:: Starting Run 828f0782-ef01-4826-974f-9fd4916bacd6...

AEM-API v1.0:: Run 828f0782-ef01-4826-974f-9fd4916bacd6 Complete!

AEM-API v1.0:: Run 828f0782-ef01-4826-974f-9fd4916bacd6: Log saved to AEM-API-Output\AEMAPIRun_828f0782-ef01-4826-974f-9fd4916bacd6_20240719_132344\AEMRun-828f0782-ef01-4826-974f-9fd4916bacd6-20240719-132344-Log.json

Report file Report9 -- Double-Layer Regions transport analysis not found.

AEM-API v1.0:: Saving Combined and Processed Data for Run 828f0782-ef01-4826-974f-9fd4916bacd6...

AEM-API v1.0:: Combined and Processed Data for Run 828f0782-ef01-4826-974f-9fd4916bacd6 saved to AEM-API-Output\AEMAPIRun_828f0782-ef01-4826-974f-9fd4916bacd6_20240719_132344\828f0782-ef01-4826-974f-9fd4916bacd6_CPD.csv

AEM-API v1.0:: Plotting Combined and Processed Data for Run 828f0782-ef01-4826-974f-9fd4916bacd6...

Traceback (most recent call last): indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\DennisWinkler.conda\envs\cfg_dennis\Lib\site-packages\pandas\core\indexes\range.py", line 417, in get_loc raise KeyError(key) KeyError: 'm'

I am not sure whether this error occurs because of incorrect installation or a problem in the "AEM_API" script. I have only made changes in the "AEM_API_Demo" regarding the AEM_Home_Path.

Thanks in advance.

twofacedbass commented 3 months ago

Hi @DennisWinkler, what version of the AEM GUI/CLI are you currently running? You can check it by clicking the info button as shown below.

image image