Answered

Hello. If I have included delays in my code for my controller, how do I implement it so that the delays are considered when the code is executed?

The correct way to simulate a digital controller, so that you are incorporating the delay of the digital system is to utilize so...

Hello. If I have included delays in my code for my controller, how do I implement it so that the delays are considered when the code is executed?

The correct way to simulate a digital controller, so that you are incorporating the delay of the digital system is to utilize so...

8 months ago | 0

Answered

Breakdown Voltage (BDV) Tester for Transformer Oil

Hello Hatim, you don't actually ask a question or share model details. If you still want help, please ask a specific question ...

Breakdown Voltage (BDV) Tester for Transformer Oil

Hello Hatim, you don't actually ask a question or share model details. If you still want help, please ask a specific question ...

8 months ago | 0

Answered

While Opearting a N channel MOSFET in MATLAB with 100VDC, 100 Ohm load. the MOSFET only allowing 0.2A in each condition but I am expecting of 1A.

Increasing the mosfet threshold voltage will make it conduct less, not more. You need to parameterize the mosfet correctly. In...

While Opearting a N channel MOSFET in MATLAB with 100VDC, 100 Ohm load. the MOSFET only allowing 0.2A in each condition but I am expecting of 1A.

Increasing the mosfet threshold voltage will make it conduct less, not more. You need to parameterize the mosfet correctly. In...

9 months ago | 0

Answered

How can I create a simulation that supplies power to the motor by connecting fuel cells, dc-dc converters, and supercapacitors?

This really depends on how much detail you need for the converter. In general, when doing powertrain analysis, you don't need t...

How can I create a simulation that supplies power to the motor by connecting fuel cells, dc-dc converters, and supercapacitors?

This really depends on how much detail you need for the converter. In general, when doing powertrain analysis, you don't need t...

9 months ago | 0

Answered

Different Thyristor Gate width gives different waveforms.

Are you sure the results are wrong? You don't have a dc-link capacitor to maintain the dc voltage and with the inductive load a...

Different Thyristor Gate width gives different waveforms.

Are you sure the results are wrong? You don't have a dc-link capacitor to maintain the dc voltage and with the inductive load a...

9 months ago | 0

Answered

Better solver for simscape power electronics simulation

You can set your absolute tolerance to be the same as your relative tolerance, and uncheck the option for absolute tolerance. T...

Better solver for simscape power electronics simulation

You can set your absolute tolerance to be the same as your relative tolerance, and uncheck the option for absolute tolerance. T...

10 months ago | 0

Answered

Table based battery block choices

You need to have either Simscape Battery or Simscape Electrical installed to have access to the table based battery. Please see...

Table based battery block choices

You need to have either Simscape Battery or Simscape Electrical installed to have access to the table based battery. Please see...

10 months ago | 0

Answered

Inconsistent results when simulating an LC series circuit with SimScape

He issue is that the Adams solver is specifially for non-stiff problems and your problem being in simscape is typically a stiff ...

Inconsistent results when simulating an LC series circuit with SimScape

He issue is that the Adams solver is specifially for non-stiff problems and your problem being in simscape is typically a stiff ...

11 months ago | 0

Answered

Error while running Simulink

This happens when a model has extermely small time constants or challenging equations to solve. That usually means the model is...

Error while running Simulink

This happens when a model has extermely small time constants or challenging equations to solve. That usually means the model is...

11 months ago | 0

Answered

Thermofluid simulation of an electric motor

This is one starting point: https://www.mathworks.com/help/simscape/ug/motor-thermal-circuit.html and here is another: https://...

Thermofluid simulation of an electric motor

This is one starting point: https://www.mathworks.com/help/simscape/ug/motor-thermal-circuit.html and here is another: https://...

11 months ago | 0

Answered

sic mosfet SPICE models.lib file into Simulink using subcircuit2ssc

Wolfspeed specifically provides LTspice models which use a proprietary interface that is not always compatible with base SPICE. ...

sic mosfet SPICE models.lib file into Simulink using subcircuit2ssc

Wolfspeed specifically provides LTspice models which use a proprietary interface that is not always compatible with base SPICE. ...

12 months ago | 0

Answered

Exporting a simulink/Mathlab model as a circuit element for simulation software (Pspice/Cadence)

There are a few options. I am listing them by order of cost (cheapest to most expensive) You can try and utilize the co-simula...

Exporting a simulink/Mathlab model as a circuit element for simulation software (Pspice/Cadence)

There are a few options. I am listing them by order of cost (cheapest to most expensive) You can try and utilize the co-simula...

12 months ago | 1

Answered

PV Mppt constant output voltage

the goal of mppt is to get the optimal power extraction of a solar panel. To accomplish this, the voltage and current must vary...

PV Mppt constant output voltage

the goal of mppt is to get the optimal power extraction of a solar panel. To accomplish this, the voltage and current must vary...

12 months ago | 1

| accepted

Answered

Sample time relation of controller and PWM switching frequecny

Hello, you are correct that the most common approach is to have the switching frequency be the same as the control frequency. ...

Sample time relation of controller and PWM switching frequecny

Hello, you are correct that the most common approach is to have the switching frequency be the same as the control frequency. ...

12 months ago | 1

Answered

How can I export my Simulink electrical circuit into a Matlab function?

The easiest approach to this would be to utilize the sim() command. This lets you set parameters, run a simulation and then get...

How can I export my Simulink electrical circuit into a Matlab function?

The easiest approach to this would be to utilize the sim() command. This lets you set parameters, run a simulation and then get...

12 months ago | 0

Answered

How can i implement BLDC commutation logic block to a PWM Module?

Please start with this page: https://www.mathworks.com/solutions/electrification/bldc-motor-control.html at the bottom are lin...

How can i implement BLDC commutation logic block to a PWM Module?

Please start with this page: https://www.mathworks.com/solutions/electrification/bldc-motor-control.html at the bottom are lin...

12 months ago | 0

| accepted

Answered

Graphs are paused during simulation in Simulink and do not resume once RLC load is added via circuit breaker

It sounds like the simulation is "hanging" aka, it starts taking such small time steps that nothing appears to be happening. Thi...

Graphs are paused during simulation in Simulink and do not resume once RLC load is added via circuit breaker

It sounds like the simulation is "hanging" aka, it starts taking such small time steps that nothing appears to be happening. Thi...

1 year ago | 0

Answered

How can I connect my dynamic (mathematical) model of inverter to the grid simulink model?

the most common way to to attatch it to controlled voltage sources for the inverter output and use a controlled current source f...

How can I connect my dynamic (mathematical) model of inverter to the grid simulink model?

the most common way to to attatch it to controlled voltage sources for the inverter output and use a controlled current source f...

1 year ago | 0

Answered

Slip in Asynchronous Block - Induction Machine Squirrel Cage

the block can only give you input for the initial condition of slip, but this does not determine your slip once the model is run...

Slip in Asynchronous Block - Induction Machine Squirrel Cage

the block can only give you input for the initial condition of slip, but this does not determine your slip once the model is run...

1 year ago | 0

| accepted

Answered

How the voltage based active cell balancing model works for larger voltage difference and not working for smaller voltage difference ?

You are modelling lithium ion batteries and giving them different nominal voltages. These batteries are not linear and would no...

How the voltage based active cell balancing model works for larger voltage difference and not working for smaller voltage difference ?

You are modelling lithium ion batteries and giving them different nominal voltages. These batteries are not linear and would no...

1 year ago | 0

Answered

unable to resolve cooling plate error

I think you need to set your number of nodes to 14 and not 14x14 for the cooling plate. If that doesn't solve it, please share ...

unable to resolve cooling plate error

I think you need to set your number of nodes to 14 and not 14x14 for the cooling plate. If that doesn't solve it, please share ...

1 year ago | 0

| accepted

Answered

How to import .SUBCKT Spice model into MATLAB Simscape?

Unfortunately, there is no guarentee that an imported pspice model will work in simscape. It sounds like you used the command c...

How to import .SUBCKT Spice model into MATLAB Simscape?

Unfortunately, there is no guarentee that an imported pspice model will work in simscape. It sounds like you used the command c...

1 year ago | 0

Answered

How can I gate-off the Average-Value VSC block ?

This will be easier to do with a slightly different block, the Converter (Three Phase). You can set this block to averaged swit...

How can I gate-off the Average-Value VSC block ?

This will be easier to do with a slightly different block, the Converter (Three Phase). You can set this block to averaged swit...

1 year ago | 0

Answered

Help me finish the scheme in MATLAB

This issue is that because an ideal transformer is used, it is perfectly isolated from the rest of the circuit. Unfortunately, ...

Help me finish the scheme in MATLAB

This issue is that because an ideal transformer is used, it is perfectly isolated from the rest of the circuit. Unfortunately, ...

1 year ago | 1

| accepted

Answered

Rate Transition Data Control

Simulink signals don't support an 'empty' value. They will simply stay at whatever value they were at previously. This is the ...

Rate Transition Data Control

Simulink signals don't support an 'empty' value. They will simply stay at whatever value they were at previously. This is the ...

1 year ago | 0

Answered

Modeling the Discharge Dynamics of Table-Based Batteries

The battery has the option for turning on dynamics and choosing your resistances and time constants (similar to RC parameters). ...

Modeling the Discharge Dynamics of Table-Based Batteries

The battery has the option for turning on dynamics and choosing your resistances and time constants (similar to RC parameters). ...

1 year ago | 0

Answered

How to operate Front-End Inverter to control variable PMSG output

This is not exactly what you are looking for, but it is a good starting point. This is for a grid connected inverter: https://w...

How to operate Front-End Inverter to control variable PMSG output

This is not exactly what you are looking for, but it is a good starting point. This is for a grid connected inverter: https://w...

1 year ago | 0

| accepted

Answered

QZSI SVPWM ZSVM6 method help

I can't tell you exactly what is going on any more than the code can. This shared file is made by an individual user and you ca...

QZSI SVPWM ZSVM6 method help

I can't tell you exactly what is going on any more than the code can. This shared file is made by an individual user and you ca...

1 year ago | 0

Answered

Why is my BLDC model not working?

Your overall structure looks good in the picture, please provide more specific questions if you want additional help. I recomme...

Why is my BLDC model not working?

Your overall structure looks good in the picture, please provide more specific questions if you want additional help. I recomme...

1 year ago | 0

Answered

How to generate SVPWM using HDL code

You have to design your own module if you want it to be hdl compatible. There is no block that does this and generates hdl code...

How to generate SVPWM using HDL code

You have to design your own module if you want it to be hdl compatible. There is no block that does this and generates hdl code...

1 year ago | 0