You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This currently gives NotImplementedError: Shape not recognized for y[0:4000] * 24983.2619938437 (note processing of 3D variables is not yet implemented)
The text was updated successfully, but these errors were encountered:
Workaround to evaluate 3D variables at a given time and state
# get expression for the variable of interestc_n=sim.built_model.variables["Negative particle concentration [mol.m-3]"]
# get time and statest=sol.ty=sol.y# evaluate at a given time and state - the expression takes (time, state, inputs)c_n.evaluate(t[90], y[:, 90], [])
Allow processing of 3D variables. E.g. to access concentration in a 1x1x1D model:
This currently gives
NotImplementedError: Shape not recognized for y[0:4000] * 24983.2619938437 (note processing of 3D variables is not yet implemented)
The text was updated successfully, but these errors were encountered: