Open SLiemann opened 2 years ago
Thanks for reporting the bug. The event system is still under development. This bug happens because the event system doesn't communicate the event information to the structural transformation code.
Was this handled?
Hello,
below you can find a modified RC example, where I inserted an AC voltage source which decreases its voltage at
t=0.04 s
. You can see that the plotted solution is wrong if the voltage state of the source is an observed variable, while it is correct if it is not observedIn addition, the voltage of the resistor is also wrong. This could cause some problems if you want to use the solution for something else, e.g. calculating its power over time.
Is the solution of the observed variables calculated with the final set of parameters at the end of the simulation? And do you know how to implement this correctly without changing it to an observed variable? Or did I miss something?
Thank you very much for your help!
My MWE: