-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This just to work previously, enabling us to deal with differential equations expressed in various formats. However, it seems this has fully been moved to AGPL ModelingToolkit, with no support left for general users?
using ModelingToolkitBase
using ModelingToolkitBase: t_nounits as t, D_nounits as D
@variables X(t)
@parameters p d
eqs = [
D(X)/2 ~ p - d*X,
]
@mtkbuild ssys = System(eqs, t)ERROR: ArgumentError: ModelingToolkitBase.jl is unable to simplify such systems. Encountered derivative in RHS of equation 0 ~ p - (1//2)*Differential(t, 1)(X(t)) - d*X(t). Please consider using ModelingToolkit.jl for such systems.
Stacktrace:
[1] __mtkcompile(sys::System; inputs::OrderedCollections.OrderedSet{…}, outputs::OrderedCollections.OrderedSet{…}, disturbance_inputs::OrderedCollections.OrderedSet{…}, fully_determined::Bool, kwargs::@Kwargs{…})
@ ModelingToolkitBase C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:322
[2] __mtkcompile
@ C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:120 [inlined]
[3] _mtkcompile(sys::System; kwargs::@Kwargs{…})
@ ModelingToolkitBase C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:117
[4] _mtkcompile
@ C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:103 [inlined]
[5] mtkcompile(sys::System; additional_passes::Tuple{}, inputs::Vector{…}, outputs::Vector{…}, disturbance_inputs::Vector{…}, split::Bool, kwargs::@Kwargs{})
@ ModelingToolkitBase C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:78
[6] mtkcompile(sys::System)
@ ModelingToolkitBase C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\systems.jl:68
[7] top-level scope
@ C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\deprecations.jl:8
[8] macro expansion
@ C:\Users\Torkel\.julia\packages\ModelingToolkitBase\fjBdh\src\systems\abstractsystem.jl:2665 [inlined]
Some type information was truncated. Use `show(err)` to see complete types.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working