You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Faulty parameter propagation in IntersectivePWM #4089
Modelica.Blocks.Sources.Trapezoid trapezoid[3](
eachfinal amplitude=uMax,
eachfinal width=0,
eachfinal nperiod=-1,
eachfinal offset=-uMax/2,
eachfinal rising=0.5/f,
eachfinal falling=0.5/f,
eachfinal period=1/f,
final startTime={startTime -1.25+ (if refType == ReferenceType.Triangle1
then0else k)/m for k in 0:m -1}/f)
if (refType==ReferenceType.Triangle1or refType==ReferenceType.Triangle3);
The units of the expression final startTime=startTime - 1.25 + (if refType == ReferenceType.Triangle1 then 0 else k)/m for k in 0:m - 1}/f do not match as startTime is added 1.25 and other real expressions.
3 Start time porpagated to sawTooth
Similar issue as 2. The propagation reads final startTime={startTime - 1.5 + (if refType == ReferenceType.Sawtooth1 then 0 else k)/m for k in 0:m - 1}/f
I understand the different phase start times associated with Triangle1 and Triangle3 but I can only suspect that the term 1.5 shall ensure that
all the reference signals are fully up at time >= startTime
the first reference signal start with half the maximum value
So my understanding for a three phase saw tooth PWM is:
Activity
resolves modelica#4089 and modelica#4090
AHaumer commentedon Sep 11, 2026
According to my investigations, the timing of the carrier signals is as shown here:
resolves modelica#4089 and modelica#4090