Answered
Matlab code for voltage regulation
Hello Ayaz, Matlab has code for implementing genetic algorithsm to optimize cost functions. You will need to choose your cost ...

5 years ago | 1

Answered
How to create a custom block for calculating RMS of a signal?
Hello Krish, here is information on using matlab functions to work in Simulink. https://www.mathworks.com/help/simulink/ug/cre...

5 years ago | 0

Answered
I'm charging a 40V, 50Ah Lead acid battery using buck converter and PI control on battery voltage and current. Simulink 2012b hangs after half an hour of simulation maybe because of data storage. Please suggest me what can be done.
Hello Ravindra, please update to a newer version of matlab, and utilize simscape components. Start here: https://www.mathworks...

5 years ago | 0

Answered
if anyone having dynamic data for IEEE 24 and IEEE-30 bus system can u send me .
Hello Abuvatamizhan, unfortunately this question does not involve MathWorks tools and should be asked in other venues. Regards...

5 years ago | 0

Answered
Varying power demand with TimeSeries data & Ending a system
Hello KahHin, using the dynamicl load block is the correct way. Why do you say it doesn't work? Use the three phase one and s...

5 years ago | 0

Answered
Current loop for phase shift dc/ac full bridge
Hello Vincenzo, the easiest way to control phase shifting of your pwm is to create your own pwm generator using a resetable int...

5 years ago | 0

Answered
What is more suitable to interface SimPowerSystems battery with Simscape, a Current-Voltage Simscape interface or a Voltage-Current interface?
Hello Saif, neither is better or worse than other and totally dependent on your specific toplogy. In general, if your output i...

5 years ago | 0

Answered
Is there an example that demonstrates how to build a three phase transformer with extended delta in the primary, Wye in secondary , delta in tertiary
Hello Enock, there are numerous transformers that have been added to the simscape electrical library that support various confi...

5 years ago | 0

Answered
How do I multiplex 3 phase power system signals onto a single signal or generate a varying frequency voltage source
Hello Ciaran, the specialized power systems (specialized technology/simpowersystems) blocks do not support single line wiring. ...

5 years ago | 0

Answered
How to use simulink to find frequency response (Gain vs frequency) of Rc low pass filter ?
I am just moving Mouhammed's answer down here to mark the question as answered: Mouhamed Niasse on 21 Sep 2020 at 13:44 The ...

5 years ago | 0

Answered
How to use simulink to find square wave in op Amp circuit ?
Hello Wann, there are numerous square wave generator topologies that can be used. You can google search to investigate them an...

5 years ago | 0

| accepted

Answered
How can i change the output power of a wind turbine induction generator in simpowersystems, and how can I measure the output power?
Hello Qais, you will also need to increase the power delivered to the motor. This will show up in the simulation as increase v...

5 years ago | 0

Answered
I dont find any windings in the asynchronous machine block. Is there any way of altering the resistance of stator phases?
Hello Shivakumar, while you cannot change the resistance of a single phase in the model, you can add resistance to one of phas...

5 years ago | 0

Answered
Simulink Power Library custom block multi switch
Here is the code which is available from the switch block in simscape foundations: component controlled_switch % Switch % The...

5 years ago | 0

Answered
Does any one have a IEEE ST3 exciter model
Hello Adam, not all exciter models are provided as part of simscape electrical. There are a few examples in the product that c...

5 years ago | 0

Answered
Can the powergui Load Flow tool initialize a user built model in Simulink?
Hello Radu, yes, it is possible, but they need to be set up correctly. Please respond to Jordan's questions if you want to tra...

5 years ago | 0

Answered
Powergui error - invalid port dimensions
Hello Greg, the gate signal has 6 pulses in it. These need to be split out and provided individually to the switches, or use t...

5 years ago | 0

Answered
How do you design a Simscape phasor simulation rectifier?
Hello Pauls, phasor simulation does not support ac-dc conversion. I would recommend modeling the LED driver with a simplified ...

5 years ago | 0

Answered
Equilibrium point simpower system multimachine model.
Hello Luis, in phasor simulation, everything is held to a fixed frequency. If you want to explore the dynamics of rotor speed ...

5 years ago | 0

Answered
Power Electronics PMSM speed is not varying
Hello Gapsna, oscillations are easy to encounter when either the model is not set up properly, but also if the closed loop cont...

5 years ago | 0

Answered
Run simulink model in for loop
Hello Sreejith, please use the parsim function for this type of application. If you want to use parfor, there are ways to do ...

5 years ago | 1

Answered
Accuracy in Simulink in transient process calculation
Hello Sergey, for specialized power systesm, we recommend that you use solver ode23tb. You mention that you get the same resul...

5 years ago | 0

| accepted

Answered
The problem of IEEE 14 bus in power generation system. to show frequency as a graph.
Hello Sangho, If you want to view the frequency in the simulation, you can use the PLL block to measure frequency. However, a ...

5 years ago | 1

| accepted

Answered
Why does Simulink BLDC model block reports 1/10 of given Rotor-induced back emf
Hello KNeu, the back EMF is dependent on motor speed. If you spin your motor faster, you will see the the output voltage incre...

5 years ago | 0

Answered
How can I plot a smooth curve by using discrete data?
Hello Liton, you can use the interp functions to interpolate between your existing data points to smooth them out. To make it ...

5 years ago | 0

| accepted

Answered
Simulation speed reduced when using Simscape PWM Generator
Hello Sreeraj, the speed of your simulation is inversely proportional to the frequency content in it. For instance, if I have ...

5 years ago | 0

Answered
How can I design a flywheel energy storage on MATLAB/Simulink ?
Hello Charles, increasing the inertia of your rotor is a perfectly acceptable way to model the flywheel. You will then have to...

5 years ago | 0

Answered
Simscape: Linear transformer open circuit error
Hello Ryan, yes, you can create circuits that our tool cannot simulate with this topology. If you include things like diodes a...

5 years ago | 0

Answered
Problem opening simulink library browser
Hello Douglas, this type of issue is best directly handled by tech support: https://www.mathworks.com/support/contact_us.html. ...

5 years ago | 0

Answered
Simscape Full-Bridge Error
Hello Ryan, you are using a PWM generator designed for a 3 level inverter. This is a 2 level full-bridge. Please use the 2 l...

5 years ago | 0

Load more