I created an YAML Input File foe LiCl solution interactions with water and heat.
To test is I used Cantera to print the YAML Input File and it gave the following error:
---------------------------------------------------------------------------
CanteraError Traceback (most recent call last)
Cell In[4], line 2
1 import cantera as ct
----> 2 sol = ct.Solution('5-LiCl_water_corrected_Version2.yaml')
3 print(sol)
File build\\python\\cantera\\solutionbase.pyx:37, in cantera.solutionbase._SolutionBase.__cinit__()
File build\\python\\cantera\\solutionbase.pyx:75, in cantera.solutionbase._SolutionBase._cinit()
File build\\python\\cantera\\solutionbase.pyx:160, in cantera.solutionbase._SolutionBase._init_yaml()
CanteraError:
*******************************************************************************
CanteraError thrown by Factory::canonicalize:
No such type: 'stoichiometric'
*******************************************************************************
I am using Jupyter notebook in VS Code running conda 24.11.3
Any help on the NO such type as 'stoichiometric' will be appreciated.
stoichiometric is not specified for type but for in phases for thermo as so
phases:
- name: LiCl_solid
thermo: stoichiometric
species: [LiCl(s)]
- name: pure_water
thermo: stoichiometric
species: [H2O(l)]
I have attached the YAML file too.
Thank you in advance for your help.
Kofi