Skip to content

Commit

Permalink
A value with unit="1" should not have a time as start-value
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jan 10, 2024
1 parent 18320a6 commit e20081a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Electrical/PowerConverters/DCAC/Control/SVPWM.mo
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected
discrete SI.Angle phiPos(start=0, fixed=true) "Angle of reference vector within [0, 2*pi)";
Integer ka(start=0, fixed=true), kb(start=0, fixed=true) "Switching patterns limiting the sector";
discrete SI.Angle phiSec(start=0, fixed=true) "Angle of reference vector within sector within [0, pi/m)";
discrete Real ta(start=0, fixed=true), tb(start=0, fixed=true), t0(start=samplePeriod, fixed=true) "Relative time spans of vectors a, b, and 0";
discrete Real ta(start=0, fixed=true), tb(start=0, fixed=true), t0(start=1, fixed=true) "Relative time spans of vectors a, b, and 0";
discrete SI.Time T0(start=startTime, fixed=true) "Start time of switching interval";
algorithm
when sampleTrigger then
Expand Down

0 comments on commit e20081a

Please sign in to comment.