As of v0.2.3, PyTeCK cannot handle ChemKED files with uncertainties (at least in ignition delay, and likely other quantities).
For example, in eval_model,
ign_delay = [case.ignition_delay.to('second').magnitude
for case in properties.datapoints
]
doesn't work when the ignition delays have uncertainties, because case.ignition_delay is now a Measurement type that does not have the method magnitude. Instead, it needs to be case.ignition_delay.to('second').value.magnitude (I think).
As of v0.2.3, PyTeCK cannot handle ChemKED files with uncertainties (at least in ignition delay, and likely other quantities).
For example, in
eval_model,doesn't work when the ignition delays have uncertainties, because
case.ignition_delayis now aMeasurementtype that does not have the methodmagnitude. Instead, it needs to becase.ignition_delay.to('second').value.magnitude(I think).