@tom thanks for the response. Could you please elaborate on your first suggestion (wrap the model in a Python extension and use that)? If it’s not too much trouble, could you maybe show some snippet of code? Thanks.