Answered
Battery modeling lead acid constant current charging mode
In this mode the battery is continuously charging. When the SOC reaches 100% the fully charged voltage is reached. However, as t...

1 year ago | 0

Answered
Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. Initial conditions solve failed to converge.
This model is structurally singular because some variables are missing from the final set of equations. Double check if the equa...

1 year ago | 0

Answered
Ideal Switch implementation in Simulink
As per the attached circuit this is the expected behavior as a current is forced into the circuit. The voltage across the resist...

1 year ago | 0

Answered
Why do I see huge voltage spikes at the output of a 3 phase MMC (Modular multi-level converter) in Simscape, when the number of submodules >1, but not with 1 submodule?
The model may be a bit challenging for the solver due to parameterization. In this case, one way to avoid these spikes is to swi...

1 year ago | 1

| accepted

Answered
I have some issues with derivating D-Q inductance from a five-phase FEA data.
The code implementing the mathematical transform does not look right as it seems that only mutual inductances are used (Laa, Lbb...

1 year ago | 0

Answered
Bridgeless boost PFC modeling
The shape can be affected by inappropriate parameterization such as capacitor, inductor and other elements. For an example of to...

1 year ago | 0

Answered
Pole pair on Single Phase Asynchronous motor Cap Start-Run
When simulating a single-phase asynchronous motor, the number of pole pairs directly affects the motor's speed. The negative RPM...

1 year ago | 0

Answered
flickering lamp with visual effects in simulink
It is possible to simulate an electrical system with flickering voltage in 1D in Simscape Electrical or even Simulink. To visual...

1 year ago | 0

Answered
Trying to model a hoist with dc motor
There are a few issues with the model. The PI controller is not connected properly as the error is passed to P and I parameter i...

1 year ago | 0

Answered
Error when running simple voltage converter in simulink
Changing the initial value for the capacitor voltage to a non-zero value may help the solver. Without the model is not easy to p...

1 year ago | 0

Answered
Please someone explain me how does the following code works?
If the purpose is to edit a library block, this may not be very easy. There are .p files that are protected and will not be poss...

1 year ago | 0

Answered
how to get Beta in power transformation ?
In continuous time, to achieve a 90-degree phase shift, you can use a Transport Delay block (or a Variable Transport Delay). The...

1 year ago | 0

Answered
Reference frame for MATLAB-SimPowerSystems' asynchronous machine model measurement signals (e.g phiqr,phidr)
This would depend on the block mask parameter Reference frame. This parameter controls the reference frame that is used to conve...

1 year ago | 0

Answered
armature controlled dc motor
At time 10 the load torque is increased from 0 and it settles at around 0.4. As the load stays at a nonzero value it is normal t...

1 year ago | 0

Answered
How can i switch the DC output of fuel cell in hybrid system?
A DC contactor should do the job. DC contactors are electrically controlled switches used for switching high power circuits.

1 year ago | 0

Answered
Linear induction motor in simscape
This error can also be a consequence of how the simulation model was built and I suspect is not the custom code the culprit. Th...

1 year ago | 0

Answered
In MUTUAL INDUCTANCE block, what does the mutual resistance mean ?
The mutual resistance and inductance corresponds to the magnetizing resistance and inductance on the standard transformer circui...

1 year ago | 0

Answered
Modeling of NPN silicon phototransistor
Simscape Electrical provides a variety of semiconductor devices (https://mathworks.com/help/sps/semiconductors.html). The photot...

1 year ago | 0

Answered
Newbie starter - AC generator circuit in Simulink
Mechanical power at the machine's shaft, in W. In generator mode, this input can be a positive constant or function or the outpu...

1 year ago | 0

Answered
Unable to simulate a fault on a Three-Phase Power Line
The block implements a short-circuit fault between phases or between a phase and ground. For example, to program a fault between...

1 year ago | 0

Answered
Simscape Synchronous reluctance motor model issue
We don’t know the assumptions used in the custom model. I have spotted a few sign mismatches that I believe should be different ...

1 year ago | 0

Answered
Having problem with VSI controller
There are a few fundamental issues with the model. First, a DC voltage source is used to keep the DC-link voltage constant. Ther...

1 year ago | 0

Answered
Thyristor Power converter Control
This is part of the control strategy. A reference 90 degrees is used for the firing angle and this angle will be adjusted around...

1 year ago | 0

Answered
How to simulate multiple rooftop solar PVs connected to grid in Simulink?
Simscape Electrical provides some good examples both in-product and on MATLAB Central. Check out this repository which provides ...

1 year ago | 0

Answered
Connection of PowerGUI Mode block to non powergui block
The solution would be to use sensors to measure the voltages and then feed these voltages to the custom Simulink block.

1 year ago | 0

Answered
pv based single stage acim driver error
As the error points out there is an algebraic loop that Simulink could not solve at the time. In R2024b release the model will s...

1 year ago | 0

Answered
Lookup table problem in Simulink
This seems to be a physical unit mismatch. In the attached model the input to the PS Lookup Table (1D) is not connected to anyth...

1 year ago | 0

Answered
DC Motor Simulation on Simulink Using Datasheet's Specifications.
Inertia is usually given in the datasheet. Friction constant can sometimes be ignored. We can also compute inertia using J=0.5m...

1 year ago | 0

Answered
N-Channel MOSFET Body Diode Tabulated I-V Curve Convergence Error
The model although simple poses some numerical challenges for the solver. Due to recent improvements the model can simulate with...

1 year ago | 0

Answered
Questions about the switching losses of a MOSFET
If you are operating the MOSFET in the reverse region (negative drain-source currents), the logged simulation data does not repo...

1 year ago | 0

Load more