How to determine the maximum of a mixed time-continuous time-discrete signal in SimulationX?
- 阅读更多 关于 How to determine the maximum of a mixed time-continuous time-discrete signal in SimulationX?
问题 There are questions how to determine the maximum of a mixed time-continuous and time-discrete signal x(t) over passed time with Modelica, i.e., y(t) = max{ x(s) with s in [startTime,t] }. This is an open issue in the Modelica bug tracker (see https://trac.modelica.org/Modelica/ticket/109). I will give a SimultionX-specific solution. 回答1: SimulationX extends Modelica by the last -operator which returns the last accepted value of the argument. At event-time points it returns the value at which