Hi Tulio,
time_history used to be a pandas data frame object (some of the comments still reflect this; the example could probably benefit from a little cleanup), which does have a ’to_csv’ method.
Now that it is a Cantera SolutionArray, such a method no longer exists. The SolutionArray is an array of Cantera objects, which does not *automatically* translate to a data output. There may be some output routines connected to this class, but
if not you should be able to loop through the array objects, save the state and time associated with each in a numpy array, for example, and then write that numpy array to a csv file.
Best,
Steven
——————————————————
Steven C. DeCaluwe, Ph.D | Associate Professor of Mechanical Engineering
COLORADOSCHOOLOFMINES
Brown Building W410B
Golden, CO 80401
Twitter: @CORESresearch
He / Him / His