<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Mike,</div><div id="AppleMailSignature">Since you are modeling the circuit, it does not have to run in real time. You could get meaningful results by running at (for example) 10sec simulation time = 1sec real time. <br><br>Gary Nelson, PhD<div><br></div><div><div><span style="background-color: rgba(255, 255, 255, 0);">Life is complex.</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">It has real and imaginary parts</span></div></div></div><div><br>On Oct 16, 2015, at 12:50 AM, Serge Steer <<a href="mailto:Serge.Steer@inria.fr">Serge.Steer@inria.fr</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<div class="moz-cite-prefix">Try with lower solver tolerances with
the Simulate/Confiure menu.<br>
<br>
Serge Steer<br>
Le 15/10/2015 18:53, Michael Greenish a écrit :<br>
</div>
<blockquote cite="mid:84289816.931980.1444928016087.JavaMail.yahoo@mail.yahoo.com" type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1444926980224_2657">Hello,</div>
<div id="yui_3_16_0_1_1444926980224_2658"><br>
</div>
<div id="yui_3_16_0_1_1444926980224_2659" dir="ltr">I am
modeling an electrical circuit. I have a voltage across an
inductor being switched on the ground side. I am generating a
pwm using a sawtooth genartor as shown by the attached image.
In my circuit, my PWM switches at 50kHz. When if I set the
sawtooth generator period to > 0.025, the results look as
expected on the graphs. If the sawtooth generate period is
< 0.025, the results are flat; the system can't seem to
calculate at that interval. The period on the timer attached
to the scope is 0.0001.<br>
</div>
<div id="yui_3_16_0_1_1444926980224_2856" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1444926980224_2834" dir="ltr">I am only at
25ms, I need to get to 0.02 ms to match my real-life circuit.
Is there a limit of the system I am running into or do I have
a parameter wrong?</div>
<div id="yui_3_16_0_1_1444926980224_2855" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1444926980224_2857" dir="ltr">Thanks,</div>
<div id="yui_3_16_0_1_1444926980224_2858" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1444926980224_2859" dir="ltr">Mike
Greenish<br>
</div>
<div id="yui_3_16_0_1_1444926980224_2660"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>users mailing list</span><br><span><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a></span><br><span><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a></span><br></div></blockquote></body></html>