Improved version of Modelica.Electrical.PowerConverters.DCDC.Control.SignalPWM: It is possible to chooas a triangular reference signal instad of a sawtooth. This allows to sample current at the beginning of the switching period, hitting the average of teh current with good accuracy.