Answered
On Load Tap Changer (OLTC) code
Best to check the documentation for Simulink coder as a startig point. https://www.mathworks.com/help/rtw/gs/generate-code-by-u...

12 months ago | 0

Answered
Charge and Discharge model of a 6 cell battery, where the voltage of the second battery goes beyond realistic limit, how can I control the charge and discharge correctly?
a constant-current (CC), constant-voltage (CV) charging algorithm for a battery. Check out this page for more details: https://...

12 months ago | 0

Answered
How i can get coupled inductors in simpower Simulink?
There is a Mutual Inductor in Simscape electrical that can be used: https://www.mathworks.com/help/simscape/ref/mutualinductor....

12 months ago | 0

Answered
How to increase the simulation speed if a PWM generator is used with 16kHz frequency to drive a simscape MOSFET block.
At 16 kHz, it is challenging to make it very fast but there are a few things that can help. First, the PWM generation is impleme...

12 months ago | 0

Answered
Getting wrong output when Modelling a VFD powered by a generator, feeding a motor
Without a model we can only speculate. The issue may be the parameterization of the grid side components. Simscape Electrical pr...

12 months ago | 0

Answered
Simulating ESS with real world data
Simscape Battery provides an example that shows how to model a battery energy storage system (BESS) controller and a battery man...

12 months ago | 0

Answered
dispersion at a prism
https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

12 months ago | 0

Answered
¿Thermal Networks compatible with HDL coder?
It is possible that the thermal network is adding nonlinearities to the model. We would need to see the model to give specific a...

12 months ago | 0

Answered
How to observe a superimposed low frequency component on a power frequency signal?
From the doucmentation: "Open the Scope connected to the STG model. Run the simulation. Observe the speed deviations on the top ...

12 months ago | 0

Answered
Signal visualization question in simulink Phasor mode
Phasors are complex numbers representing sinusoidal voltages and currents at a particular frequency. They can be expressed eithe...

12 months ago | 0

Answered
Controller Models Representation for Renewable Energy Generation
These controllers are not available in As of R2025a, these controllers are not available in MathWorks products. However, they ca...

12 months ago | 0

Answered
Need information why charge and discharge are different in inductor based active cell balancing
Parameterziation of the model is the issue. In Simscape implementation, the sample time for the Simscape circuit is 1 second whi...

12 months ago | 0

Answered
Battery Connected DC-DC Converter Duty Cycle from "Green Hydrogen Microgrid"
It appears that there is an issue with the Signal Processing logic to compute the duty cycle. It is possible to configure the DC...

12 months ago | 0

Answered
How to simulate the load on an induction motor that is responsible for moving a vibrating conveyor belt?
Load in an electric drive can be simulated in several ways, for example: Using a torque profile in Simulink that we can input t...

12 months ago | 0

Answered
simpowersystem model generate equivalent statespace model, and extract the A B C D matrices from powergui?
The power_analyze function returns state-space matrices for a given set of switch/diode open/closed conditions.

12 months ago | 0

Answered
How do I get the time of the maximum value of a signal in Simulink?
In a real world application to track the maximum power point (MPP) of solar PV system, you need to implement a MPPT technique su...

12 months ago | 0

Answered
Simulink Derivative of state is not finite IGBT
This model will simulate in newer releases but is still on the edge. Double checking the parameterization of components is one o...

12 months ago | 0

Answered
How to have isolated grounds(separate electrical references) for an electric vehicle simulation?
Simscape provides a page that contains guidelines for using domain-specific reference blocks (such as Electrical Reference) in S...

12 months ago | 0

Answered
How can I define two different ground points in Simpower Systems?
Simscape provides a page that contains guidelines for using domain-specific reference blocks (such as Electrical Reference) in S...

12 months ago | 0

Answered
STATCOM Build in SIMULINK
Both technologies can be used to model a STATCOM. Check out this recent example as a starting point: https://www.mathworks.com/...

12 months ago | 0

Answered
How to know the names of portes of a block simscape to connect it?
This will not work because there is a typo, it should be fd_n and fd_p. If you want to create a custom ssc files connecting seve...

12 months ago | 0

Answered
Dragging and model equation for simscape blocks
It is possible to move the annotation around the block but not possible to change the distance to the block. Regarding the JFET...

12 months ago | 0

Answered
I Would Like to get the Frequency Response of My Circuit in Simulink
It is not possible to set the physical signal as input. You should use a Controlled Voltage Source instead and set the Simulink ...

12 months ago | 0

Answered
How should the change in delta V (change in voltage) look like in a perturb and observe algorithm?
The Perturb and Observe method will periodically perturb the array terminal voltage or current and then detect changes in PV pow...

12 months ago | 0

Answered
Where can I find a U3A op-amp in Simscape? I only find the ideal op-amp
Simscape Electrical provides a variety of generic blocks that can be parametrerized to meet certain requirements. https://www.m...

12 months ago | 0

Answered
Discretizing the PWM Motor Drive: example in the help of Matlab (Simulink) not working
Fourier1 block has sample time 0 which means is continuous time. Therefore, it would not be possible to use FixedStepDiscrete. T...

12 months ago | 0

Answered
5 phase park transform
Park transform for five phases is an extension from a three-phase machine. It converts the phase quantities of the stator into d...

12 months ago | 0

Answered
how to design a controller to control the duty ratio of boost converter for optimal Tip speed ratio control of wind turbine
A good starting point is this repository which provides engineering solutions for the operation of power systems with high penet...

12 months ago | 0

Answered
Potentiometer in the SimPowerSystems
It ia not possible to directly connect blocks from different technologies. It is better to use only one technology. Check out th...

12 months ago | 0

Answered
How can I set initial states with simpower systems programatically
It is possible to simulate and analyze the performance of your models using existing functions: https://www.mathworks.com/help/...

12 months ago | 0

Load more