Skip to content

Commit

Permalink
Fix wording of back current exception
Browse files Browse the repository at this point in the history
  • Loading branch information
christiankral committed Jan 17, 2022
1 parent 5ca9e77 commit 701325e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Electrical/Analog/Sources/DCPowerSupply.mo
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ initial algorithm
equation
p.i + n.i = 0;
assert(v >= 0, "Only voltage > 0 allowed");
assert(i <= iBack, "No back current allowed!");
assert(i <= iBack, "Back current exceeded!");
cv = (-i) <= iLim;
cc = v <= vLim;
if cp then
Expand Down

0 comments on commit 701325e

Please sign in to comment.