Valentin Kaisermayer

Results 110 comments of Valentin Kaisermayer

An even more grotesk example: ```julia using ModelingToolkitStandardLibrary.Blocks using ModelingToolkit, OrdinaryDiffEq @parameters t """Second order demo plant""" function Plant(;name, x_start=zeros(2)) @named input = RealInput() @named output = RealOutput() D =...

Can we simply let the user do this and use types `CausalInput` and `CausalOutput` in a connector? This also would allow for more checks, see #1626. If the user wants...

> the most important is that one should be able to call structural_simplify on systems that have inputs that are not connected What do you mean? What outcome do you...

Could it be an option to `structural_simplify` then?

If we just think about a component-based model it is easy. All unconnected connectors are used for linearization. If you want to connect the system you can do that also.

The input tag has different meanings depending on the environment used in. https://build.openmodelica.org/Documentation/ModelicaReference.'input'.html

> If we just think about a component-based model it is easy. All unconnected connectors are used for linearization. If you want to connect the system you can do that...

I think MTK already does that. And both examples in `examples` are ODEs and do have time dependent solutions. For instance, even though the input voltage is constant the voltage...

Copy-paste example: ```julia using ModelingToolkitStandardLibrary.Mechanical.Rotational, ModelingToolkit, OrdinaryDiffEq @parameters t D = Differential(t) @named fixed = Fixed() @named inertia1 = Inertia(J=2) # this one is fixed @named spring = Spring(c=1e4) @named...