PLECS User Forum - Recent questions
http://forum.plexim.com/questions
Powered by Question2AnswerMOSFET Losses calculation in Thermal wizard via formula
http://forum.plexim.com/8369/mosfet-losses-calculation-in-thermal-wizard-via-formula
I am calculating the MOSFET Switching losses in the PLECS with the thermal wizard using the formula panel. I wrote simple formula as I don't have any switching losses graph from the vendor. My question is, Do I need to provide voltage and current value or Software will take data automatically?<br />
<br />
If Software is taking data automatically, I am not getting any switching losses (Very minimal) which I think is wrong compare to analytical calculation.<br />
<br />
Basically How does the formula method in the themal wizard works if the Graphs ae not provided by the vendors?http://forum.plexim.com/8369/mosfet-losses-calculation-in-thermal-wizard-via-formulaWed, 29 Nov 2023 10:28:07 +0000Copying blocks between 2 different blockset files
http://forum.plexim.com/8368/copying-blocks-between-2-different-blockset-files
Is there a way to copy blocks from Matlab/PLECS Blockset model file to another MATLAB/PLECS blockset. For example I have a script in one blockset file, I cannot use this in another file.http://forum.plexim.com/8368/copying-blocks-between-2-different-blockset-filesTue, 28 Nov 2023 13:21:24 +0000Phase Difference between two signals
http://forum.plexim.com/8367/phase-difference-between-two-signals
Is there a block to determine the phase difference directly as an angle between two signals?http://forum.plexim.com/8367/phase-difference-between-two-signalsTue, 28 Nov 2023 13:16:04 +0000How can I get this component
http://forum.plexim.com/8365/how-can-i-get-this-component
Please I need this exact component for my model, how do I get this on plecs?<br />
<br />
Check the attached image.http://forum.plexim.com/8365/how-can-i-get-this-componentSat, 25 Nov 2023 04:52:59 +0000Issue on the SCR model
http://forum.plexim.com/8363/issue-on-the-scr-model
I've found a following issue on the SCR model<br />
<br />
applaing a dc source on a resitive load via an SCR, if i turn on the SCR and after i turn it of, after that i apply a resistive load even if the scr is off a current flow from the source to the load, see the picture attached<br />
<br />
is it a right working?http://forum.plexim.com/8363/issue-on-the-scr-modelMon, 20 Nov 2023 15:41:38 +0000MMC Cyclic behavior during switching
http://forum.plexim.com/8351/mmc-cyclic-behavior-during-switching
<p>Please I need some help, I'm trying to simulate a MMC with 5 cells per arm dual half bridge submodels. I get the<strong> </strong><em>Cyclic behavior during switching error, I have tried all solutions listed in forum and help guides no luck at all, I checked the modulation scheme is correct by checking the output voltage of each arm when it's isolated and it works well, I did check PWM harness and it generate the expected voltage wave form , but when I connect ARMs together through a mutual winding and to the DC source I get this error. </em></p>
<p><span style="text-decoration: underline;"><em>I tired to model that in simulink using PLECs blockset but with fewer 2 cells per arm it work just fine, but would like to stick with PLECS standalone, </em></span></p>
<p><em>I know multiple questions about the same issue but any help is highly appreciated. attached PLECS file</em></p>
<p> </p>
<p><em>any help is appreciated, </em></p>http://forum.plexim.com/8351/mmc-cyclic-behavior-during-switchingWed, 15 Nov 2023 03:29:37 +0000How to perform fft on variable sample rate PLECS blockset data in Matlab workspace?
http://forum.plexim.com/8350/perform-variable-sample-rate-plecs-blockset-matlab-workspace
I'm trying to overlay spectrum data from several different simulation runs. I'm using PLECS blockset and am automating the simulation runs and parameter variation in my matlab script.<br />
<br />
I have run into a problem calculating the FFT of the output data due to the variable timestep used in PLECS. I tried using the nuffft function to cope with the changing timestep but I'm not getting sensible results.<br />
<br />
I'm not keen to use a fixed timestep as my simulation will run very slowly and I risk missing switching events.<br />
<br />
Please can you advise the best way of generating an FFT of variable sample rate PLECS output data in Matlab?http://forum.plexim.com/8350/perform-variable-sample-rate-plecs-blockset-matlab-workspaceTue, 14 Nov 2023 16:37:21 +0000Connect a power circuit point to another circuit.
http://forum.plexim.com/8347/connect-a-power-circuit-point-to-another-circuit
How can I connect a point of my circuit to another, in same sheet I do not want to sketch long lines to make this connection, I have the "Signal From" and "Signal To" but, does no work to connect with a resistor for example, only for signal circuits is there some way?http://forum.plexim.com/8347/connect-a-power-circuit-point-to-another-circuitWed, 08 Nov 2023 22:40:10 +0000What components can I use in the library?
http://forum.plexim.com/8346/what-components-can-i-use-in-the-library
Please I want to use a fuse and electromechanical relay with my circuit. The circuit I am following is shown below , please what are the right components to select for the fuse and electromechanical relay as shown in the image below?http://forum.plexim.com/8346/what-components-can-i-use-in-the-librarySun, 05 Nov 2023 06:48:15 +0000Nothing appears on RT BOX 3 screen
http://forum.plexim.com/8345/nothing-appears-on-rt-box-3-screen
Hello,<br />
<br />
Yesterday, I used the RT-Box3 and turned it off safely. However, today, when I tried to turn on the device, nothing appeared on the screen. What could be the reason for this, and is there a way to fix this error?<br />
<br />
Could a noisy signal from the TI Launchpad affect the normal operation of the device?<br />
<br />
<br />
I received error in photo a few times.http://forum.plexim.com/8345/nothing-appears-on-rt-box-3-screenWed, 01 Nov 2023 18:18:18 +0000Need to Older Version of Target Support Package for RTBOX3 (2.1.6)
http://forum.plexim.com/8343/need-to-older-version-of-target-support-package-for-rtbox3-2
Could you share 2.1.6 Version of Target Support Packages for RTBOX3.http://forum.plexim.com/8343/need-to-older-version-of-target-support-package-for-rtbox3-2Mon, 30 Oct 2023 18:08:36 +0000Emulating breakers and relay
http://forum.plexim.com/8341/emulating-breakers-and-relay
as far as i know in a model the number of breakers or relays increase the number of computational combination with the risk of overloading the CPU's<br />
<br />
is there a way to emulate them in a less computational impact<br />
<br />
doyou think the model attached can simplify the implementation?http://forum.plexim.com/8341/emulating-breakers-and-relayMon, 30 Oct 2023 07:37:32 +0000Using initialization value in C-script
http://forum.plexim.com/8338/using-initialization-value-in-c-script
Dear Plecs,<br />
<br />
<br />
<br />
Can I use initialization value in the C-script?<br />
<br />
The initialization value can not affect the C-script<br />
<br />
Best regards,http://forum.plexim.com/8338/using-initialization-value-in-c-scriptThu, 19 Oct 2023 19:38:56 +0000TI c2000 ACD setting
http://forum.plexim.com/8335/ti-c2000-acd-setting
There are ADC A,B,C,D as shown in the pic<br />
<br />
But there is not ADCIN14 option.<br />
<br />
How do I select it?http://forum.plexim.com/8335/ti-c2000-acd-settingWed, 18 Oct 2023 20:22:48 +0000Is there any way to program the FPGA inside RT-box3 directly?
http://forum.plexim.com/8327/is-there-any-way-to-program-the-fpga-inside-rt-box3-directly
http://forum.plexim.com/8327/is-there-any-way-to-program-the-fpga-inside-rt-box3-directlyTue, 10 Oct 2023 20:31:22 +0000Hi, how do I adjust the FPGA prescaler for the variable PWM block?
http://forum.plexim.com/8326/hi-how-do-adjust-the-fpga-prescaler-for-the-variable-pwm-block
http://forum.plexim.com/8326/hi-how-do-adjust-the-fpga-prescaler-for-the-variable-pwm-blockTue, 10 Oct 2023 18:43:34 +0000For a full bridge, need different switches with different duty cycles.
http://forum.plexim.com/8325/full-bridge-need-different-switches-with-different-cycles
Hi,<br />
<br />
I am trying to find a way to supply gate pulses to 4 switches of a full bridge and each has a different duty cycle. How can I do that?<br />
<br />
Thanks,<br />
<br />
Neha.http://forum.plexim.com/8325/full-bridge-need-different-switches-with-different-cyclesFri, 06 Oct 2023 14:01:04 +0000Non-sampled zero crossings
http://forum.plexim.com/8317/non-sampled-zero-crossings
Hi!<br />
<br />
I have this error "Maximum number of iterations exceeded during evaluation of non-sampled zero crossings. Please try reducing the sample time or increasing the refine factor."<br />
<br />
The model runs in fixed-step and whenever I reduce the sample time, the memory is full and the model can't run. <br />
Thank you!http://forum.plexim.com/8317/non-sampled-zero-crossingsTue, 03 Oct 2023 15:26:07 +0000I can't understand how to use the variable inductor
http://forum.plexim.com/8314/i-cant-understand-how-to-use-the-variable-inductor
I'm trying to use the variable inductor but I can't have any success, can anyone share some work PLECS simulation, with a working variable inductor?http://forum.plexim.com/8314/i-cant-understand-how-to-use-the-variable-inductorSat, 30 Sep 2023 19:08:13 +0000Plot Static Gain curve on PLECS
http://forum.plexim.com/8313/plot-static-gain-curve-on-plecs
I'm looking for some form of plot the static gain curve of a boost converter for example is it possible? I can plot in a specific point, but I don't know how to plot for more points of curvehttp://forum.plexim.com/8313/plot-static-gain-curve-on-plecsSat, 30 Sep 2023 19:05:02 +0000No output after breaking library link
http://forum.plexim.com/8312/no-output-after-breaking-library-link
After I broke the library link to add a probe to my system, I could not see any output. I was clearly seeing the results of my simulation before breaking the library link but after that its all gone.http://forum.plexim.com/8312/no-output-after-breaking-library-linkFri, 29 Sep 2023 22:08:06 +0000What programming language is the plecs c script block be used with?
http://forum.plexim.com/8310/what-programming-language-the-plecs-script-block-used-with
c code on the Matlab function is used on plecs c script all it brought in error. On what code the plecs c script functions should be based? Is it C or C ++ and why is it that a code that runs on Matlab will give different errors inside the plecs c script block?http://forum.plexim.com/8310/what-programming-language-the-plecs-script-block-used-withSun, 24 Sep 2023 04:55:58 +0000triangular and trapezoidal current modulation in PLECS
http://forum.plexim.com/8309/triangular-and-trapezoidal-current-modulation-in-plecs
I am trying to implement various modulation schemes to dual active bridge (DAB). I have done single phase shift and dual phase shift. I am looking for reference materials for triangular and trapezoidal current modulation implementations in PLECS. Need your insights.http://forum.plexim.com/8309/triangular-and-trapezoidal-current-modulation-in-plecsWed, 20 Sep 2023 06:07:06 +0000How to measure CPU runtime? Constantly getting 0.
http://forum.plexim.com/8300/how-to-measure-cpu-runtime-constantly-getting-0
<p>I am looking to measure the CPU time required to execute a PLECS standalone model. I am running the model through a simulation script, the same as wallclock is measured in the PLECS tutorials.</p>
<p>I am encountering a strange issue where the CPU time is not being measured properly, but the wallclock time is; the CPU time always shows zero time elapsed. I have attached a screenshot of the simulation script window and octave console showing the outputs. Any help is appreciated.</p>
<p>The simulation script code is here as well</p>
<pre class="editorCode">plecs('clc')
t_begin = cputime
tic
plecs('simulate');
toc
t_end = cputime
t_elapsed = t_end - t_begin</pre>http://forum.plexim.com/8300/how-to-measure-cpu-runtime-constantly-getting-0Mon, 11 Sep 2023 18:09:51 +0000Buck-Boost converter circuit is short circuited, How?
http://forum.plexim.com/8293/buck-boost-converter-circuit-is-short-circuited-how
I am trying to implement a variable load using a controlled current source which varies according to the input voltage and current. further I am trying to implement MPPT control to control the duty cycle to obtain maximum power output in my model. I am however facing a zero voltage output in my simulation, thus zero power output. I am not sure where the error is in my simulation, any help would be appreciated.http://forum.plexim.com/8293/buck-boost-converter-circuit-is-short-circuited-howTue, 05 Sep 2023 15:43:22 +0000How make a variable pulse generator.
http://forum.plexim.com/8291/how-make-a-variable-pulse-generator
Hi I need some help about the Pulse Generator.<br />
<br />
I want to use one pulse generator block, start with a 0.5 duty cycle wave, and in another period the duty cycle change for 0.8 for example, but using only one block in the same pulse, I will put some image example below.http://forum.plexim.com/8291/how-make-a-variable-pulse-generatorFri, 01 Sep 2023 18:33:53 +0000Negative turn-off loss -- The relevant current is mentioned wrong in the error
http://forum.plexim.com/8290/negative-turn-loss-relevant-current-mentioned-wrong-error
<p>Hi,</p>
<p>I am trying to find switching losses of a Modular Multilevel Converter (MMC) with PLECS Blockset. My SubModules (SM) are half-bridge (chopper cell) and there are 4 SMs in each arm of the MMC. As a first step, I am trying to find the switching losses of a single IGBT and a single diode (out of 48 IGBTs and 48 diodes of the whole MMC). So, I have made a parallel connection of an IGBT and a diode and give them a thermal description (5SNA 2000K450300_IGBT and 5SNA 2000K450300_Diode which can be downloaded from <a rel="nofollow" href="https://www.hitachienergy.com/products-and-solutions/semiconductors/stakpak">here</a>). The rest of the switches are just ideal IGBTD components without any thermal description. When I run the system I get this error:
<br> </p>
<p>Negative turn-off loss (E = -3.89521). The relevant variables are:
<br>v = -2706.21
<br>i = -2706.21
<br>T = 25.8755</p>
<p>For the given values in the error, the turn-off loss would be negative due to PLECS interpolation for negative current. However, the given value for current in the error is wrong. The current at turn-off instant of the diode is 1222.4 A (and not -2706.21 A) and this value should give me a positive turn-off loss. Can someone please help me with this issue?</p>
<p><strong>P.S. I have also attached the 4 photos for better quality.</strong>
<br>
<br><img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=12737289789778258370" style="height:315px; width:300px"> <img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=5320207015361556874" style="height:216px; width:300px"></p>
<p><img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=6140841562586290751" style="height:280px; width:527px"></p>
<p><img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=8843187046888944211" style="height:308px; width:600px"></p>http://forum.plexim.com/8290/negative-turn-loss-relevant-current-mentioned-wrong-errorWed, 30 Aug 2023 14:36:46 +0000Does PLECS support ARM based windows?
http://forum.plexim.com/8285/does-plecs-support-arm-based-windows
I am trying to install PLECS on windows running on macbook using parallels environment. Since macos is now running on ARM. PLECS will need to run on an ARM based windows environment. Is there any way to install PLECS on ARM windows?http://forum.plexim.com/8285/does-plecs-support-arm-based-windowsWed, 23 Aug 2023 20:48:59 +0000PLECS unable to find rpc.h file in macos
http://forum.plexim.com/8284/plecs-unable-to-find-rpc-h-file-in-macos
I recently started using plecs on macos. I have my simulation files originally in a windows computer. I am working on co-simulation between code file written and saved in the same folder as the PLECS simulation file. In windows machine I was able to easily run simulations. But when I export the same simulation files onto my macbook, the C-Script returns a compilation error saying it couldnt find the rpc.h file that one of my files included. Can you tell me how to solve this?http://forum.plexim.com/8284/plecs-unable-to-find-rpc-h-file-in-macosWed, 23 Aug 2023 20:41:51 +0000Thermal chain foster or cauer
http://forum.plexim.com/8282/thermal-chain-foster-or-cauer
Hello,<br />
<br />
I am confused of the thermal chain difference between Foster and Cauer, though there is a brief explanation in plecsmanual. For example, when I directly use foster network from datasheet to calculate the junction temperature and heat flow, the temperature is quite high (between 85 and 110 ℃) and heat flow is circa 600W, which is the same as the total power loss, I think it makes sense, only the S5 and S6 IGBT also have a high temperature, which actually didn't work in the entire simulation, that confuses me a lot.<br />
<br />
As for Cauer network, which I transfer from Foster network directly, it has significant results compared to Foster network. The junction temperature is quite low (between 25 and 43 ℃) and the junction temperature of S5 and S6 IGBT is circa 25 ℃, which also makes sense to my assumption. However the measured heat flow is almost 0 W, totally lower than the power losses of the system (600W), for that I can't understand.<br />
<br />
So I would like to ask, which thermal chain should I use to calculate the temperature and which results are correct related to my simulation model? And why is there so a big difference between Foster and Cauer?<br />
<br />
Btw, how can I upload pictures to the question box, it always shows that the word count is exceeded, but in fact I didn't write a lot. My simulation model is attached, firstly that is with Foster network, you can simulate it to see the results from the "thermal" display. Then you can change it to Cauer network and observe the results, that is totally different.<br />
<br />
Thanks a lot for your help!<br />
<br />
Regards<br />
<br />
Joyhttp://forum.plexim.com/8282/thermal-chain-foster-or-cauerSat, 19 Aug 2023 21:50:57 +0000Loss calculation with thermal description
http://forum.plexim.com/8279/loss-calculation-with-thermal-description
Hi,<br />
<br />
I have a question related to the power loss calculation of IGBT/MOSFET. In order to calculate the conduction and switching losses, I built a new thermal description by myself with a simple characteristic of IGBT, then I chose the "thermal description" from the one I built. Then do I still need to set the value in "parameters", like "Forward voltage", or "On-resistance"? Since I notice that with value in "parameters" or without has a big difference in power loss results. Which one is correct? And what is the difference of "Parameters" and "Thermal" in relation to conduction loss calculation? <br />
<br />
Thanks for your help and the model is attached.<br />
<br />
Best regards<br />
Joyhttp://forum.plexim.com/8279/loss-calculation-with-thermal-descriptionWed, 09 Aug 2023 15:06:23 +0000Error in the thermal simulation model
http://forum.plexim.com/8275/error-in-the-thermal-simulation-model
<p>I am getting this error while using the thermal simulation model of my inverter circuit.</p>
<p> </p>
<p><strong>The device current (-1.13687e-13) is less than the lower limit specified in the thermal description (0).
<br>
<br>You can turn this error into a warning on the Diagnostics page of the PLECS Simulation Parameters dialog.</strong></p>
<p> </p>
<p> </p>
<p>I have reduced the input dc. Voltage to 1 volt. After that, I am also getting the same error.</p>
<p> </p>
<p> </p>
<p><strong>This lower negative current should b rounded off to zero.</strong></p>
<p> </p>
<p><strong>I am attaching here the.xml files of the switch and diode, which I have downloaded from the infneon website.</strong></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>Please help me to resolve this issue.</strong></p>http://forum.plexim.com/8275/error-in-the-thermal-simulation-modelMon, 07 Aug 2023 05:00:33 +0000switching problem in circuit
http://forum.plexim.com/8273/switching-problem-in-circuit
Hello,<br />
<br />
I am simulating an ANPC inverter Modell. But an error occurs, said "Inconsistent source conditions after switching.", shown in the photo. It is interesting when I tried to reduce the switching frequency to 500Hz, the circuit works well. Or when I keep the switching frequency to 1000Hz, but change the amplitude from 1 to 0.99, the circuit works too. So what is the exact error for this circuit?Since I must set the switching frequency to more than 10kHz and amplitude firstly keeps 1 for a bench test, what should I do to make this circuit work?<br />
<br />
Thanks for your help and the model is attached.<br />
<br />
Best regards<br />
<br />
Joyhttp://forum.plexim.com/8273/switching-problem-in-circuitSun, 06 Aug 2023 15:53:22 +0000Plecs code generation (C2000 Package)
http://forum.plexim.com/8272/plecs-code-generation-c2000-package
Hi, <br />
<br />
I am using PLECS C2000 Target Code generation feature from model and I am not sure about one thing.<br />
<br />
Why content of main source file is changed every time, when code is generated, even if there is no any change made in model?<br />
<br />
Best regards<br />
Dawidhttp://forum.plexim.com/8272/plecs-code-generation-c2000-packageFri, 04 Aug 2023 12:50:53 +0000Series Connection of thermal networks
http://forum.plexim.com/8268/series-connection-of-thermal-networks
Hi,<br />
<br />
I'm trying to understand how 2 "Thermal Chains" connected in series are resolved<br />
<br />
First, in red, is a thermal chain (Cauer type) and its equivalent network in Foster. Second part, in purple, is another thermal chain and its Foster equivalent. Third part, in black, is the series connection of the two thermal chains and their Foster equivalent.<br />
<br />
Plot 1 shows how step responses of thermal chain and its Foster network are identical. Same happens in plot 2 for the second chain.<br />
<br />
However, when I connect is series both thermal chains this is not true. Plot 3 shows how the series connection of Foster equivalent networks results in the sum of the individual step response (as I expected). But this doesn't happen for the thermal chain series connection.<br />
<br />
Could anyone help me to clarify this?<br />
<br />
BRhttp://forum.plexim.com/8268/series-connection-of-thermal-networksThu, 20 Jul 2023 15:08:17 +0000How to calculate WTHD in Plecs?
http://forum.plexim.com/8267/how-to-calculate-wthd-in-plecs
I am wondering how to calculate WTHD in Plecs?http://forum.plexim.com/8267/how-to-calculate-wthd-in-plecsThu, 20 Jul 2023 03:07:18 +0000How to find ac sweep analysis for dual active bridge covnerter
http://forum.plexim.com/8264/how-to-find-sweep-analysis-for-dual-active-bridge-covnerter
http://forum.plexim.com/8264/how-to-find-sweep-analysis-for-dual-active-bridge-covnerterTue, 18 Jul 2023 07:22:10 +0000How to calculate devices losses with a "Thermal Model" ?
http://forum.plexim.com/8263/how-to-calculate-devices-losses-with-a-thermal-model
<p>Hello. I am trying to simulate a total losses on IGBT with the open model "Buck Converter with Thermal Model". I received a message "Error evaluating parameter 'Thermal description' in component <a rel="nofollow" href="denied:component:C:/Users/OuT/Documents/Plexim/PLECS 4.7 (64 bit)/demos/buck_converter_with_thermal_model/buck_converter_with_thermal_model.plecs/IGBT1">buck_converter_with_thermal_model/IGBT1</a>: The value assigned to custom variable 'Rgoff' is not a finite scalar," when I click on the simulated button. The IGBT component was replaced by a open IGBT model with "IKQ100N120CH7". Does it mean I should delete the "Rgoff" parameter ? How can I solve this problem ?</p>http://forum.plexim.com/8263/how-to-calculate-devices-losses-with-a-thermal-modelTue, 18 Jul 2023 05:20:59 +0000How to multiply two electrical wires?
http://forum.plexim.com/8251/how-to-multiply-two-electrical-wires
<p>I would like to multiply to electrical connections as shown in fig. I tried with wire multiplexer but it is showing error as mentioned in fig. Can I get solution for this? I tried with multiplexer(Product) but which is only for signal. it is not connected to electrical wires. </p>
<p><img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=3033441024939881273" style="height:157px; width:600px"></p>http://forum.plexim.com/8251/how-to-multiply-two-electrical-wiresWed, 12 Jul 2023 21:02:07 +0000T-Type Inverter total losses
http://forum.plexim.com/8246/t-type-inverter-total-losses
Hi!<br />
<br />
I’m doing a study on the three-phase T-Type Inverter, the model of which can be downloaded from PLEXIM. In particular, I have to focus on how the total losses (which can be seen already from the downloaded model) change as phi changes. I have to vary phi from -180 to 180. By taking SVPWM1 Space Vector modulation (or others, like SPWM, THIPWM, THZSPWM), I get smaller losses when phi=0. In Space Vector SVPWM0, however, I have minimal losses at phi=30 (and phi=-150), and not at phi=0, as I expected. I can’t explain the reason why, I would need a little help.<br />
Thank you very much,<br />
Mary<br />
<br />
P.S: in attachments, under the name of "T-Type results" I put the Excel table and graph that compares SVPWM1 and SVPWM0.http://forum.plexim.com/8246/t-type-inverter-total-lossesFri, 07 Jul 2023 12:45:46 +0000Symmetrical Components Extraction in Natural abc Frame
http://forum.plexim.com/8243/symmetrical-components-extraction-in-natural-abc-frame
Hello Everyone,<br />
<br />
I have been trying to decompose symmetrical components in natural abc form into positive, negative and zero sequences using Fortescue's or Lyon's theory. Unfortunately, I am new to Plexim. Thus I could not achieve the objectives. Could anyone able to help me and make my simulation as attached work properly, please? Your input is greatly appreciated!<br />
<br />
Regards<br />
<br />
Noorhttp://forum.plexim.com/8243/symmetrical-components-extraction-in-natural-abc-frameFri, 30 Jun 2023 17:03:57 +0000Using resistor resistance value in another block
http://forum.plexim.com/8241/using-resistor-resistance-value-in-another-block
I have added a function block into my schematic which makes a calculation based on the value of a resistor in the schematic. Been looking at the manual, have gone through the forum, but I can't find a way to refer to the resistor value. I tried R1, [R1], and other possibilities, but I'm always getting an error saying the variable is not defined. What is the correct way to do this?http://forum.plexim.com/8241/using-resistor-resistance-value-in-another-blockThu, 29 Jun 2023 22:37:35 +0000Preventing division by zero
http://forum.plexim.com/8238/preventing-division-by-zero
I have created a group of blocks to calculate the power factor. But when I run it, the simulation ends with a divition by zero error. I can go and change the setting that turns division by zero into a warning, but I don't want to do that, because under other conditions I want this to be an error.<br />
<br />
I think the division by zero is caused by the first data point in the simulation. So is there a way to tell PLECS to skip over the first data point and start analyzing from the second and on? Attached is the circuit.http://forum.plexim.com/8238/preventing-division-by-zeroThu, 29 Jun 2023 18:03:44 +0000how to model the losses for the mosfet with the body diode?
http://forum.plexim.com/8236/how-to-model-the-losses-for-the-mosfet-with-the-body-diode
How to include the reverse recovery losses of the body diode in a mosfet, e.g. SiC mosfet?<br />
<br />
In the model of the mosfet with diode there is no posibility of entering the reverse recovery losses. The question is then: how to accurately include this losses in the simulation model?<br />
<br />
Many thankshttp://forum.plexim.com/8236/how-to-model-the-losses-for-the-mosfet-with-the-body-diodeMon, 26 Jun 2023 14:08:36 +0000How to quantify the time delay of a RT BOX Controller?
http://forum.plexim.com/8231/how-to-quantify-the-time-delay-of-a-rt-box-controller
<p>In the RT-Box manual, a timing diagram is given as follow. I want to determine the exact time delay in a converter system controlled by a RT-Box 2, so that I can model the system and design the parameters.</p>
<p>*1. In terms of period k, the voltage and current are sampled at first, as shown in the timeing diagram. And the delay between the sampling point and the beginning of period k is tAILat. What is the value of tAILat? According to the manual, a sampling rate of up to 1MHz can be realized (limited by firmware). Does it mean that tAILat is 1us? (CoderOptions - Target - Analog Input Sampling is set to "Minimize latency").</p>
<p>*2. In terms of PWM out, update point is set on carrier minimum, and synchronization with model step is enabled. Does that mean the computation result of Period k will be loaded at the very beginning of Period k+1? And the carrier minimum is synchronized with the very beginning of each period?</p>
<p>All in all, the total time delay would be tAILat + 1*Tsw(introduced by Period k) + 0.5*Tsw (introduced by PWM), which is 1us + 1.5*Tsw. Is this correct?</p>
<p><img alt="" src="http://forum.plexim.com/?qa=blob&qa_blobid=17368760039268830354" style="height:308px; width:600px"></p>http://forum.plexim.com/8231/how-to-quantify-the-time-delay-of-a-rt-box-controllerWed, 21 Jun 2023 04:55:05 +0000Is there a terminator on plecs component library ?
http://forum.plexim.com/8230/is-there-a-terminator-on-plecs-component-library
I want to use the terminator block in the plecs library, I cannot find it. I check matblab simulink, there is a terminator in the component library, please which component can I use as terminator in plecs?http://forum.plexim.com/8230/is-there-a-terminator-on-plecs-component-libraryWed, 21 Jun 2023 01:06:51 +0000thermal model T-Type
http://forum.plexim.com/8218/thermal-model-t-type
Hi!<br />
I’m trying to build a thermal model of the single leg of a T-Type, consisting of 4 MOSFETs+diodes. When I try to run, I get that in Sub4 the graph has a negative peak before reaching stationat conditions, even if, when I record the MOSFET+diode temperature, this is always increasing.<br />
I'm leaving the model built below, together with the XML for the thermal model.<br />
I’ve only been using PLECS for a short time and I can’t figure the mistake out. If someone could help me, it would be very welcome!<br />
Thank you very muchhttp://forum.plexim.com/8218/thermal-model-t-typeTue, 13 Jun 2023 15:57:38 +0000Thermal Package Description :Error evaluating parameter 'Thermal description'
http://forum.plexim.com/8217/thermal-package-description-evaluating-parameter-description
Hii,<br />
<br />
I am trying to model the half bridge power module using discrete IGBT and Diode. While implementing thermal package impedance , i am getting the error in thermal description evaluation. I have attached the error and plecs model.<br />
<br />
Thank you.<br />
<br />
Manikandan Rajuhttp://forum.plexim.com/8217/thermal-package-description-evaluating-parameter-descriptionTue, 13 Jun 2023 14:31:23 +0000logging from RT BOX CE through TO FILE block
http://forum.plexim.com/8216/logging-from-rt-box-ce-through-to-file-block
Greetings, I'm working with an RT BOX CE, and I would like to know if there is a way to write a file using the block TO FILE from the RT BOX library with a sampling time of the order of many seconds, e.g. 20 seconds while using an overall discretization step time of 20 microseconds or similar.http://forum.plexim.com/8216/logging-from-rt-box-ce-through-to-file-blockTue, 13 Jun 2023 14:09:09 +0000Interpretation of conduction losses
http://forum.plexim.com/8212/interpretation-of-conduction-losses
Hi there,<br />
<br />
I'm pretty new with PLECS and wanna try to understand how conduction losses are calculated in a MOSFET.<br />
<br />
I’ve checked that it’s calculated as (in watts) as Vth * Ids, where Vth is the MOSFET voltage drop and Ids is the MOSFET current (from D to S). Apart from that, Vth is calculated as a function of the Ids and Tj.<br />
<br />
However, I’ve a couple of questions:<br />
<br />
- Is there any way to set the Rdson value? I’ve checked that there is a parameter called Ron. Is this the same? Can I have set the curves that relate the Rdson value (in p.u.) depending on the Tj and Ids?<br />
<br />
- Why does not conduction losses consider also the term Rdson * Ids^2?<br />
<br />
Best regards,http://forum.plexim.com/8212/interpretation-of-conduction-lossesMon, 12 Jun 2023 15:35:33 +0000