Hi everyone,
I am using pymc3 to sample temperature from a distribution and getting some thermodynamic properties from cantera https://cantera.org.
The syntax is passing the temperature, pressure and mass fractions to the gas object
gas.TPY=temperature, pressure, mass_fraction.
Afterwards, the object gas
can be called to access all the thermodynamic variables such as density rho=gas.density
.
However, cantera complains that temperature is a tensor variable (and not numpy scalar).
Is there any hope I can still use these packages together.
Thanks,
-M