From 3295312d1a3c4791c77b23df685afecc7044f244 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Tue, 25 Apr 2017 10:43:08 +0200 Subject: [PATCH] Remove default assertion level argument --- Modelica/Electrical/Analog/Semiconductors.mo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modelica/Electrical/Analog/Semiconductors.mo b/Modelica/Electrical/Analog/Semiconductors.mo index 9340333de1..53737be7f9 100644 --- a/Modelica/Electrical/Analog/Semiconductors.mo +++ b/Modelica/Electrical/Analog/Semiconductors.mo @@ -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="

This diode model is an improved version of the simple diode model. It includes a series resistance, parallel conductance, and also models reverse breakdown. The model is divided into three parts: