Valentin Kaisermayer

Results 50 issues of Valentin Kaisermayer

```julia f = Figure() ax = Axis(f[1,1]) lines!(cumsum(randn(100))) scatter!(randn(100), randn(100)) f ``` ![image](https://user-images.githubusercontent.com/50108075/175242556-ca79f355-54e4-4369-a14c-c84c9c0a3132.png) The same is true if I activate GLMakie without display. If I switch to CairoMakie I get...

GLMakie

It seems that inside a recipe the color palette is ignored: ```julia @recipe(StackedArea, x, Y) do scene Attributes() end function Makie.plot!(stackedarea::StackedArea) x = stackedarea[:x] Y = stackedarea[:Y] for i in...

Would it be possible to specify the variable scope in the `@variables` macro? Like: `@variables p [scope = ParentScope]`

https://build.openmodelica.org/Documentation/ModelicaReference.Operators.%27actualStream()%27.html Since `instream` is part of MTK.

https://github.com/SciML/ModelingToolkit.jl/blob/6b92d37c6f7cd57cb5d4036123f6e5787cc212a5/src/systems/connectors.jl#L51 Considering that `input=true` seems to force a variable to be a state, which is an undocumented behaviour and seems to change the behaviour of the model, I would suggest...

https://github.com/SciML/ModelingToolkit.jl/blob/fd279c0377da50331fe920d6dd62f2816e60b02d/src/systems/connectors.jl#L310 From the [Modelica specs](https://specification.modelica.org/master/connectors-and-connections.html#restrictions-of-connections-and-connectors): > A connection set of causal variables (input/output) may at most contain variables from one inside output connector (for state-machines extended as specified in [section...

https://github.com/SciML/ModelingToolkit.jl/blob/dfae5a618b1f2a3692eef84ac19704b7c2fb7aae/src/systems/abstractsystem.jl#L681 Many fields are simply ignored: e.g. `observed`. However, this would be good for sharing models and not exposing the code it generated. See also #1199 and #1604

https://github.com/SciML/ModelingToolkit.jl/blob/5df79912e701c5a4c6b2c7e6022a2cb9448a8fdb/src/systems/optimization/optimizationsystem.jl#L185 The docs should mention this.

Let's say I want to simulate an MPC controller where the plant is an MTK system. I would need to access the current measurements and would have to modify control...

control
discrete-time

For MTKs `OptimizationSystem` it would be great to have something similar to `Equation(lhs, rhs)` for inequalities. Maybe something like this: ```julia struct Inequality lhs rhs relational_op end ``` where $x^2...