Open
Description
I was talking with @YingboMa regarding #1209 and the behavior of any variables labelled as output=true
. We discussed what the appropriate way to use them were, especially for computing the Jacobian with respect to a variable labelled as output
. The Jacobian can only be easily computed if an output
variable is explicit, i.e. can be an observed variable. This can create confusion in the workflow of MTK if output
variables. Since we usually only have observed variables after structural_simplify
, this is problematic in the case of a partial model (e.g. #1211).
What behavior is appropriate here? One idea is that we structural_simplify
the partial model, but that is undesirable since it wouldn't produce a valid model. @ChrisRackauckas