Open TorkelE opened 4 months ago
I think that's on purpose as parameters that appear in an event can be potentially modified during the callback. Are they present in the full_parameters(osys1)
?
Yes, having these things be parameters (and not values) is useful because it means that they can be changed. However, since they are not added to the system, this is not possible (as you cannot interface with them through e.g. the integrator
.
full_parameters(osys1)
also returns [p, d]
If you have parameters which only occur in an event, these are not inferred as parameters of the system (in the same way as e.g. parameters of equations).
E.g. in this MWE, the parameter
thres
is not found in either system (to which it belong).