You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simple code below used to work on MTK 9.46.1, but now I get outlet not defined on MTK 9.49.0.
Minimal Reproducible Example 👇
using ModelingToolkit
using ModelingToolkit: t_nounits as t, D_nounits as D
using DifferentialEquations: solve, init, step!
using SymbolicIndexingInterface
using Symbolics, Test
@connector MyPin beginflow(t), [connect=Flow]
p(t)
end@mtkmodel ConnectedFlow begin@componentsbegin
outlet =MyPin()
endend@mtkmodel MyTank begin@extendConnectedFlow()
@equationsbegin
outlet.flow ~0endend;
MyTank(name=:MyTank)
Error & Stacktrace ⚠️
UndefVarError:`outlet` not defined
Stack trace
Here is what happened, the most recent locations are first:__MyTank__(; name::String)
from
[Other cell: line 138](http://localhost:1234/edit?id=1a282b20-9668-11ef-3f47-b371376f490e#f22be213-2b14-45b8-9eec-0da478856994)#_#438(; kw::@Kwargs{…}) [...show types...](http://localhost:1234/edit?id=1a282b20-9668-11ef-3f47-b371376f490e#)
from
ModelingToolkit → model_parsing.jl:25
Not Working Environment (please complete the following information):
Describe the example
The simple code below used to work on MTK 9.46.1, but now I get
outlet not defined
on MTK 9.49.0.Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Not Working Environment (please complete the following information):
using Pkg; Pkg.status()
versioninfo()
The text was updated successfully, but these errors were encountered: