Re: Calculate average value of a waveform under specific conditions using .meas command
Hello Andy and Tony, What you have mentioned is correct. Accuracy and precision are needed. And I checked the derivative option too. Due to ringing during DCM the derivative makes the situation
By
ankitk.ace@...
·
#160309
·
|
Re: Dual Active bridge
Yes.? LTspice calculates the Average and RMS values over the displayed plot only.? Right-click on the X-axis and change the Left: value to something after the waveforms have stabilized.? Then use
By
Andy I
·
#160308
·
|
Re: Dual Active bridge
Switching to the Alternate solver in LTspice 24.1.8 allows the simulation to run successfully without stalls. I also changed the simulation command to ".tran 0 5m 2m" eliminate the uic and skip past
By
Dennis
·
#160307
·
|
Re: Dual Active bridge
No.? But I get hundreds of "Heightened Def Com" warnings, without the 1 ohm series resistor.? With it, those warnings disappear. Andy
By
Andy I
·
#160306
·
|
Re: Dual Active bridge
Yes, my 8A/16A figures were what I saw without expanding the waveform. Using CTRL-left click, I see 5.9124 A, but that includes the inrush current at t=0+. Is there any way to change the 'Interval
By
John Woodgate
·
#160305
·
|
Re: Dual Active bridge
I entirely agree. I may be doing something wrong, but I can't see what. Do you get a very long series of entries in the expanded netlist about relaxing tolerances to seek convergence?? That occurs
By
John Woodgate
·
#160304
·
|
Re: Dual Active bridge
After adding Rser=1 ohm to V9: The average current from V9 is 5.858 Amps, compared to the 8 Amps you said yours had.? Our simulations should not have differed by more than 2 Amps!? Something is
By
Andy I
·
#160303
·
|
Re: Calculate average value of a waveform under specific conditions using .meas command
That is true, IF Ankit wants to know only the long-term average of the voltage waveform.? But this is for a thesis project, so I assume it is somewhat research related, and he might want to know
By
Andy I
·
#160302
·
|
Re: Calculate average value of a waveform under specific conditions using .meas command
I question whether taking the derivatives of the waveform is good or bad.? Since there is ringing, it might manifest itself as large spikes in the derivative, which could mess up those .MEAS
By
Andy I
·
#160301
·
|
Re: Dual Active bridge
Wow!? Which schematic was that?? What makes our simulations so utterly different? I used dd.asc with UIC removed.? The input current from V9 is hardly sinusoidal.? If you had sinusoidal current,
By
Andy I
·
#160300
·
|
Re: Dual Active bridge
Set Lp = 2,3mH Ls=5,1mH Llkg=76uH . Imagn=magnetizing current =8% of primary peak current, Llkg = 3% of Lp (values chosen for 30KHz). Imagn/Ipeak may be a little bit higher, i.e. 15% A small gap
By
Udo Huhn-Rohrbacher
·
#160299
·
|
Re: Dual Active bridge
Without UIC, it runs under version 24.1.8. The input voltage is 100 V, the input current is 8 A DC plus 8A peak roughly sinusoidal (so the current goes from 0 to 16 A). The output voltage is 132 V DC
By
John Woodgate
·
#160298
·
|
Re: Calculate average value of a waveform under specific conditions using .meas command
Dear Tony, I am new to LTspice, and everyone is trying to help me with my query. You have put time in providing me solutions and so has Andy. I am thankful to both of you. You are again correct,
By
ankitk.ace@...
·
#160297
·
|
Re: Calculate average value of a waveform under specific conditions using .meas command
The rise and fall characteristics are only 2nd order effects - linear or exponential, it makes little difference. If you actually plot the derivative of the waveform, you get very pronounced spikes at
By
Tony Casey
·
#160296
·
|
Re: Calculate average value of a waveform under specific conditions using .meas command
Dear Tony, Thank you for answering again. I believe I will have to finding the maximums and minimums localized to a specific time interval (example: 10 ms to 11 ms) and then do the rest. Your answer
By
ankitk.ace@...
·
#160295
·
|
Re: LTSpice, easy uF / uH with UTF16 saved schematic
Also, the comments in the two new uploaded files are somewhat misleading. "u" is always ASCII 0x75, when encoded with the normal ANSI character set. "?" is extended ASCII 0xB5, when encoded as a
By
Andy I
·
#160294
·
|
Re: LTSpice, easy uF / uH with UTF16 saved schematic
That lacks backwards compatibility to anyone using an older version of LTspice.? (Yes, there are still some out there with old XP computers who do not wish to - or can't - upgrade to a newer
By
Andy I
·
#160293
·
|
LTSpice, easy uF / uH with UTF16 saved schematic
LTspice default will save schematic (*.asc) as ANSI ASCII file. uH or uF, the "u" is extended ASCII "0xB5", "mu" (?) to mean micro, see the glitching and comments,
By
wai wai
·
#160291
·
|
Re: Simulation of MMC 3-Level on Ltspice
Bouzid.wis, I am having trouble trying to understand how this circuit works. In the upper submodule, it seems like M1 can not do much, because C1 would charge and then not pass any more current, so
By
Andy I
·
#160290
·
|
Re: Dual Active bridge
Using computer #1 today, so it is lowly LTspice XVII.? Not LTspice 24. You night have been hit by a yet-to-be-fixed bug - er, I mean side effect they added in version 24.1.x. Andy
By
Andy I
·
#160289
·
|