To edit unit types for a model editor:

  • Open the equations editor class for the model (must be a sub-class of EquationsEditor within EquationsEditorNew.py)

  • Add or edit a getUnitTypes method within the class. This method returns a list of all unit types available for the model (list or tuple of strings).