It is possible to construct a CompartmentModel instance that contains requirements using shapes other than Scalar, T, N, or TxN. This will fail during simulation because other shapes are not supported:
IPMSimError: Cannot generate a TxN series unless all attributes broadcast to TxN. gpm:all::ipm::beta is NxC
Similar issues arise when using a data type which is not int or float, since these are ultimately used in sympy expressions where the other options (str, date, and structured types) have no meaning.
CompartmentModel validation should check for these issues and raise an IPMValidationError.
It is possible to construct a CompartmentModel instance that contains requirements using shapes other than Scalar, T, N, or TxN. This will fail during simulation because other shapes are not supported:
Similar issues arise when using a data type which is not
intorfloat, since these are ultimately used in sympy expressions where the other options (str,date, and structured types) have no meaning.CompartmentModel validation should check for these issues and raise an IPMValidationError.