Answered
embedded coder cant generate reuseable function
Hi @chen lan, I understand that Embedded Coder generating multiple functions instead of reusing a single function for your reus...

7 months ago | 0

Answered
Parameter Estimation of a servo motor does not track well.
Hi @ashanni sonny, I understand that you are facing challenges in accurately modelling the servo motor’s behaviour. The issue s...

7 months ago | 0

| accepted

Answered
Power measurement (electric motor)
Hi @Jack Daniels, To measure the active power, reactive power, apparent power, and power factor for your three-phase motor simu...

7 months ago | 0

Answered
Power Electronics Simulation Onramp Model Fidelity Part Bugged
Hi @Furkan, I couldn't able to reproduce the issue, it is working fine from my end. If it still persists you can refer to th...

7 months ago | 0

| accepted

Answered
C2000 Synchronization of ePWM modules with external signal
Hi @Roberto, To configure ePWM1, ePWM2, ePWM3, and ePWM4 for synchronization using an external signal connected to GPIO40, you...

7 months ago | 0

Answered
Three phase dynamic load fails earlier than expected
Hi @Despoina Papageorgiou, I understand that you are facing an issue with the Three-Phase Dynamic Load in your Simulink model,...

7 months ago | 0

Answered
BlockIO output set to zero when multiple blocks are used
Hi @Aaron Troll, I understand you are facing issues with Simulink blocks generated by the IO Device Builder app, where multiple...

7 months ago | 0

Answered
How can I remove this warning:Estimated channel modulation for data extrapolation must be greater than zero. Use linear extrapolation.
Hi @Ignacio, I understand that you are facing an extrapolation error while simulating N Channel MOSFET model. The issue arise...

7 months ago | 1

| accepted

Answered
Can I give Modulated Sine Wave as Input to CMPA of ePWM Block in MATLAB Simulink for SVPWM Generation ?
Hi @PANDIT DHANRAJ SURESH I understand that you are working on a 3-phase inverter using the TI Delfino F28379D LaunchPad and a...

7 months ago | 0

Answered
Pi Control plant cannot be linearized
Hi @Muhamed Ehab The errors "Subscript no. 2 is out of range" and "Plant cannot be linearized" occur because your model include...

7 months ago | 0

Answered
How to generate a stationary car and define the direction of the vehicle via matlab in Roadrunner
Hi @Xinyu Yang I understand that you want to import stationary vehicles into RoadRunner and ensure they are oriented parallel t...

7 months ago | 0

Answered
modeling an advanced energy management system for electric vehicles using MATLAB/Simulink
Hi Salih, To model your advanced energy management system (EMS), for electric vehicle you can follow the below steps: Firstly...

7 months ago | 1

Answered
problems encountered in DDPG.
Hi 邓龙京, The error message “Number of input layers for state-action-value function deep neural network must equal the number of...

8 months ago | 0

Answered
Error in rl.agent.AbstractAgent/train while executing example "Train Reinforcement Learning Agent in MDP Environment"
Hi @David Carrasco Martínez, I understand that you are facing an issue when “doTraining” flag is set to “true” in "Train Reinf...

8 months ago | 0

Answered
Train a DQN Agent: RL Simulink with Simscape (Error: Discontinuities detected within algebraic loop)
Hello, I understand that you are trying to replace a PI controller with a DQN agent for your Buck Converter model and encounte...

8 months ago | 0

Answered
get error runing TrainTD3AgentForPMSMControlExample.mlx
Hi @hai hu, I understand that you are facing an issue in the "TrainTD3AgentForPMSMControl" example model when “doTraining” fla...

8 months ago | 0

Answered
I am finding it difficult to design a 50MW VSC PV inverter.
Hi Prithwi, I understand that you are facing an issue in obtaining the desired output power. You can try the below suggestions...

8 months ago | 0

Answered
Error in solver configuration
Hi Pranjali, The error message "Input voltage must be greater than or equal to zero" suggests that your DC-DC converter is rec...

8 months ago | 0

Answered
Simscape Electrical: access "Display Assosciated Initial Conditions" programmatically
Hi Fredrik, To automatically set initial conditions for multiple synchronous machines using load flow results, you can follow ...

8 months ago | 0

Answered
Simulink stepper motor control
Hi Zsombor, To achieve continuous motor control independent of Simulink's sample time, you can use hardware interrupts or time...

8 months ago | 0

Answered
how can we plot the voltage trajectory of pmsm motor , when we have vd and vq data from simulink?What kind of plot is this?
Hi Deepak, To plot the voltage trajectory of a Permanent Magnet Synchronous Motor (PMSM) using the data from Simulink, you ...

8 months ago | 0

Answered
How to change SPWM Frequency of Arduino mega 2560 with MATLAB SIMULINK
Hi yahya, The output pulses from your Simulink model appears to be generated with frequency of "sin wave" so this is why the a...

8 months ago | 0

Answered
Simulink model control servo by mpu9250
Hi Aseel, To control servo motor using one of the yaw, pitch, or roll angles derived from your MPU9250 sensor in Simulink, you...

8 months ago | 0

Answered
PSCAD, Matlab interfacing
Hi Mohamed, To synchronize the timing of your MATLAB script with the PSCAD simulation, you need to ensure that your MATLAB cod...

8 months ago | 0

Answered
What is the best method to model or utilize the built-in model for a three-phase voltage regulator in MATLAB Simulink, specifically for the IEEE 34 distribution network?
Hi Asi, To model a three-phase voltage regulator in MATLAB Simulink for the IEEE 34 distribution network and with load flow an...

8 months ago | 0

Answered
detect and remove motion artifacts from ppg signal using lms adaptive filter
Hi Rajesh, I understand that you are looking for a method to remove noise from motion artifacts in a PPG signal. You can fol...

8 months ago | 0

Answered
Failed to load OpenDRIVE data: Failed to convert '-'
Hi, It looks like you are facing an error because there is an invalid character, like '-' where a number should be, in your fi...

8 months ago | 0

Answered
How to connect simpowersystem generic battery block to the simscape blocks without an algebraic loop error?
Hi Yurdakul, I understand that you are trying to connect a SimPowerSystems battery block to Simscape components and faci...

8 months ago | 0

Answered
Synchronous machine model incorrectly initializes when taking into account saturation
Hi Solis, I understand that you are facing an issue with the initialization of a synchronous machine model when accounting for...

9 months ago | 1

| accepted

Answered
how can i account charge and discharge of battery in ev modeling.
Hi Gokarna, I understand that you are trying to model both the charge and discharge behaviour of a battery in an electric vehi...

9 months ago | 0

Load more