Warning when symbols provided in params and/or state vectors are not used in flexmodel
model definition
#228
Labels
enhancement
New feature or request
Currently an error gets thrown when the user tries to run a model where the
flexmodel
definition (handled through functions likeadd_rate()
, etc.) utilizes symbols that have not been passed through theparams
orstate
vectors. It would be great if a warning for the converse case existed, i.e., when a user provides a symbol via theparams
orstate
vectors that isn't actually used in the model definition.I can imagine a case where a user puts a parameter symbol in the
params
list intending to build a mechanism using it, but then forgets to add it to the model definition, and runs the model thinking that mechanism has actually been implemented. The warning I suggest would help prevent this issue.The text was updated successfully, but these errors were encountered: