问题 Is there an alternative to the sample function in Openmodelica, which accepts arguments which are not of type parameter ? That is, the alternative should permit the sampling of a variable range of values during a simulation. The end goal is to create a class with which I can measure the RMS value of a real signal during a simulation. The RMS value is used as a control variable. The real signal has a continuously changing frequency so in order to have better measurements, I want to either be