modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
470 stars 167 forks source link

Error in Q_PNPBJT model in MSL.Electrical.Spice3 #607

Closed modelica-trac-importer closed 7 years ago

modelica-trac-importer commented 7 years ago

Reported by majetta on 13 Sep 2011 09:25 UTC The Q_PNPBJT transistor model in Electrical.Spice3.Semiconductors is wrong. It behaves exactly like the Q_NPNBJT model due to a wrong handled type parameter that decides which Type of the BJT transistor is used. At the moment the Q_NPNBJT model is used independently from the type parameter. This error is already corrected in trunk(dev), but not yet part of the actual MSL3.2.

This ticket is just to inform that we know about that error.


Migrated-From: https://trac.modelica.org/Modelica/ticket/607

modelica-trac-importer commented 7 years ago

Comment by dietmarw on 13 Sep 2011 11:07 UTC This was fixed in 266c4faba0b2d18209e785d5a5a49dcf79bf2653 : d68fc270fb1cc0d9e10b41d15021ee9f807ac4c6 for trunk (MSL 3.3dev) and in e30edb5bfff8a4143d715e017a286fb65244780c : 6aeffa9845048ba86da1c4e634764eb355812bd1 for the MSL3.2 maintenance version.

modelica-trac-importer commented 7 years ago

Modified by dietmarw on 13 Sep 2011 13:14 UTC

modelica-trac-importer commented 7 years ago

Modified by majetta on 5 Apr 2013 12:01 UTC

modelica-trac-importer commented 7 years ago

Changelog modified by majetta on 5 Apr 2013 12:01 UTC Minor change in Electrical.Spice3.Q_PNPBJT

modelica-trac-importer commented 7 years ago

Modified by majetta on 10 Apr 2013 09:19 UTC

modelica-trac-importer commented 7 years ago

Changelog modified by majetta on 10 Apr 2013 09:19 UTC Handling of the TBJT parameter in Electrical.Spice3.Q_PNPBJT improved in order to be able to distinguish between Q_PNPBJT and Q_NPNBJT. Setting the TBJT parameter to 1 the model Q_NPNBJT is used, setting it to -1 the Q_PNPBJT model is used.