[Getdp] GetDP - diode as non-linear resistant
A.Eckert at eunda.ch
A.Eckert at eunda.ch
Wed Apr 17 09:31:44 CEST 2019
Hello everyone
I currently try enlarge the machine model to include external connections.
On of the aims is to model a 3-phased diode rectifier (B6-Bridge) which
uses 6 diodes to rectify the incoming waveforms.
In the example file Lib_Magnetodynamics2D_av_Cir.pro (
https://gitlab.onelab.info/getdp/getdp/blob/master/templates/Lib_Magnetodynamics2D_av_Cir.pro
), there's a hint/comment to use nonlinear resistors to simulate diodes.
Unfortunately I coudln't find an exact example how to implement it.
Following three lines are basically those related to the diodes out of the
above example:
Diode_Cir = Region[{}] ;
GlobalTerm { NeverDt[ Dof{Uz} , {Iz} ]; In Diode_Cir; }
GlobalTerm { NeverDt[ Resistance[{Uz}] * Dof{Iz} , {Iz} ]; In Diode_Cir; }
According to my understanding, the definition of such a resistance is
missing. I simplified the example to one diode.
I added the regions and allocated it to the Diode_Cir.
R_DIODE_1_A0 = Region[{1000012}];
Diode_Cir += Region[{R_DIODE_1_A0}];
In the last step, I set the dynamic resistance. In that case it's just the
input voltage.
Resistance[Region[{R_DIODE_1_A0}]] = $1
The program itself successfully finishes. But basically all values are
-nan, so something runs badly wrong. When I replace $1 in the line above,
through a fix number (e.g. 10 ), the program behaves as it should.
So there's probably still a mistake in the dynamic resistance calculation.
Any help is highly appreciated. Thank you very much.
Mit freundlichen Grüssen
Andreas Eckert
Forschung und Entwicklung / Research and Development
----------------------------------------------------
e+a Elektromaschinen und Antriebe AG
Bachstrasse 10
CH-4313 Möhlin
----------------------------------------------------
Phone +41 61 855 92 84
Fax +41 61 855 92 99
Mail a.eckert at e-und-a.ch
http://www.e-und-a.ch
----------------------------------------------------
CONFIDENTIALITY NOTICE
This communication and the information it contains is
intended for the person(s) or organisation(s) named
above and no other person(s) or organisation(s) and
may be confidential, legally privileged and protected
by law. Unauthorised use, copying or disclosure of any
of it may be unlawful. If you have received this
communication in error, please contact us immediately
by email, telephone or facsimile. We will be happy to
accept a reversed charge call (call collect).
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person(s) or organisation(s) named above and no other person(s) or organisation(s) and may be confidential, legally privileged and protected by law.
Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this communication in error, please contact us immediately by email, telephone or facsimile. We will be happy to accept a reversed charge call (call collect).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20190417/1003ad77/attachment.html>
More information about the getdp
mailing list