Ordinarily done with attributes:

https://www.zen-cart.com/tutorials/index.php?article=57

There is no provision in the current version for separate model numbers by attribute, though.