Anton Haumer
Anton Haumer
Digging deeper into this issue, the problem has its origin in `Modelica.Blocks.Discrete.ZeroOrderHold`. The first trigger instance occurs at `initial()`: ` when {sampleTrigger, initial()} then` instead at `time>=startTime`: ` when {sampleTrigger,...
Isn't the functionality of Sampler and ZeroOrderHold the same (despite the fact we have improved ZeroOrderHold)? Shouldn't Sampler extend from ZeroOrderHold to increase maintenability (not taking the Icon into acoount)?
> There are two differences: > * ZeroOrderHold adds an infinitesimal delay, so it will be messy to merge them. Right. > * Conceptual difference: Sampler is intended to sample...
There's already present the line ` output SI.Current ie=pin_ep.i "Excitation current";` @ceraolo why do you have to use `lesigma(i(start=0.4)`? Like shown in the examples (e.g. Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL) one could use either...
Ok I removed the rangeExtender from the model, now it compiles. It seems to simulate rather slowly ...
Removed the rangeExtender. Used v1.24.0-dev-30-gdbec0427dd (64-bit) on Windows 11 23H2 (64-bit): It seems that the experiment annotation is ignored, so I did set it manually again. Simulation process failed. Exited...
IMHO @casella is right with his analysis and his idea. I'm not fond of storing additional to the model the comparisonSignals.txt and separate settings for comparison / regression tests. It...
To be honest, you don't know in how many user models the ramp is misused as a step. Why shouldn't a tool figure out something like: ``` parameter SI.Time duration(min=0.0,...
> "good tools" run tests with many if not all available libraries regularly. @henrikt-ma it should be doable to introduce the change into your tests tonight, in order to get...
@qlambert-pro I would consider your example an ill-conditioned model without physical meaning and rewrite it: ``` model Test Real x(unit = "m"); constant Real x0(unit = "m")=1; Integer i; Real...