Custom Bioreactor Model temperature issue

Hi guys,

I changed the Model of my pioreactors to custom_100ml v1.0, but now the temperature automation is giving this error:

temperature_automation encountered an error in worker02
Unknown Pioreactor model custom_100ml v1.0.

the UI is in version 25.8.14 same as the workers.

How can i fix this?

Hi @Eleni_M

Did you also create the associated yaml file in ~/.pioreactor/models? Something like:

model_name: custom_100ml
model_version: "1.0"
display_name: "Custom 100 mL, v1.0"
reactor_capacity_ml: 100.0
reactor_max_fill_volume_ml: 95.0
reactor_diameter_mm: 50.0
max_temp_to_reduce_heating: 80.0
max_temp_to_disable_heating: 85.0
max_temp_to_shutdown: 90.0

and did you distribute that file to all the workers in the cluster?

Try (your yaml file name might be different):

pios cp ~/.pioreactor/models/custom_100ml.yaml

Hi @Cameron, thank you for looking into this. Yes the .yaml file was distributed to all the online workers. And i get the Model: “custom_100ml, v1.0” option in the inventory.
But i re-distributed it now and now the automation starts and then after a few seconds it throughs this error:

ooooh yes, I see. It’s a bug, kinda. The software doesn’t know how to handle temperature inference on non-Pioreactor models. However, you can continue to use our inference if you change the model_name field to pioreactor_20ml or pioreactor_40ml in the YAML (then redistribute it).

I’ll change this to be a warning instead of a total error.

Perfect, the renaming trick fixed my issue. Now the thermostat is working fine. :ok_hand:
Thank you!