Skip to content

Commit

Permalink
Remove default assertion level argument
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Apr 25, 2017
1 parent bb8cb3d commit 3295312
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modelica/Electrical/Analog/Semiconductors.mo
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ package Semiconductors
i = id + v*Gp;
LossPower=i*v;

assert(Bv>0, "Bv must be greater than zero", AssertionLevel.error);
assert(Vf>0, "Vf must be greater than zero", AssertionLevel.error);
assert(Vt>0, "Vt must be greater than zero", AssertionLevel.error);
assert(Bv>0, "Bv must be greater than zero");
assert(Vf>0, "Vf must be greater than zero");
assert(Vt>0, "Vt must be greater than zero");
annotation (
Documentation(info="<html>
<p>This diode model is an improved version of the <a href=\"modelica://Modelica.Electrical.Analog.Semiconductors.Diode\">simple diode</a> model. It includes a series resistance, parallel conductance, and also models reverse breakdown. The model is divided into three parts:</p>
Expand Down

0 comments on commit 3295312

Please sign in to comment.