Answered
please , if that you can help me in my simulation of a PV module, I finished the model, but I find a problem in the integration of the (+) and (-) bounds even if I use the block controlled current source for connecting the physical components
That "Controlled Current Source" block is from the SimPowerSystems library, whereas the Resistor block is from the Simscape Foun...

9 years ago | 0

| accepted

Answered
Connecting Resistor and DC Voltage Source
Make sure both of these blocks come from the same block library. Unfortunately, there are "DC Voltage Source" and "Current Me...

9 years ago | 0

Answered
how to set the initial condition of Pm of a synchronous machine in a model?
If you get that message it's because the Machine Initialization tool cannot do it automatically. This is the case for most block...

10 years ago | 0

| accepted

Answered
Simulation Data Inspector is broken
This seems to be a <https://www.mathworks.com/support/bugreports/1302441 known bug> when the Simulink Data Inspector files get c...

10 years ago | 12

| accepted

Answered
Producing a line of best fit with equation
There is also the |polyfit| function in MATLAB. If you specify an order of 1, the output of |polyfit| will have the two componen...

10 years ago | 2

| accepted

Answered
Physical Activity Recognition with Accelerometers: How to distinguish between daily activities using data obtained from an accelerometer?
I would highly recommend watching the following webinar. One of the examples (Example 1) is exactly on the activity tracking pro...

10 years ago | 0

Answered
Using a variable frequency AC Voltage Source in Simulink
You cannot enter a range (vector) of frequencies into the block. The AC voltage source block, as it is currently implemented, mu...

10 years ago | 0

Answered
How to change the torque to the velosity actuation in the revolute joint during simulation?
As Debarati commented, you cannot change the type of actuation mid-simulation. What I may try do is create a PID controller t...

10 years ago | 0

Answered
Move a mechanical model with a given path
As I commented on one of your previous questions, you can use motion actuation to achieve this: http://blogs.mathworks.com/si...

10 years ago | 0

| accepted

Answered
how to make speed control for single phase induction motor using scr ? (simulation)
First off, there are a few built-in blocks that represent single-phase induction motors: * Simscape Electronics: <http://www....

10 years ago | 0

Answered
Connect PSMS to Mechanical model
First, download the Simscape Multibody 3D-1D interface blocks from the File Exchange: http://www.mathworks.com/matlabcentral/...

10 years ago | 1

| accepted

Answered
How can I simulate time response of dynamic system to arbitrary inputs without shown the arbitary input on my plot?
If you assign outputs to |lsim|, you don't get the specialized plot and simply get the output variables. So, if you add an extra...

10 years ago | 0

| accepted

Answered
How can I simulate Inertia in Simulink?
Your model and response seem fine to me. Dividing the input torque by the moment of inertia is correct. The acceleration you'...

10 years ago | 0

| accepted

Answered
'Set Attributes' SimEvents Block Functionality in R2016a
In R2016a, you should be able to use the "Event Actions" tab in the Entity Generator block to set the attributes of your entitie...

10 years ago | 0

Answered
how to modify the jet engine model?
Looks like in the example, the fuel rate isn't manipulated at all. The control input to the burner is simply the burner temperat...

10 years ago | 0

Answered
2 DOF System is unstable? "Warning: The closed-loop system is unstable"
Negative gain and phase margins means that the open-loop system is unstable. You're right that a mass-spring-damper system sh...

10 years ago | 0

Answered
How to get rid of data type display in Simulink ?
Try unselecting "Display > Signals & Ports > Port Data Types" in the Simulink menu. - Sebastian

10 years ago | 1

Answered
How are units interpreted from simulink to physical signals in SimScape?
If you leave the unit at "1" in the PS-Simulink/Simulink-PS Converter blocks, Simscape models will use the default units for tha...

10 years ago | 0

| accepted

Answered
Time-Varying Passive Components in Simmechanics
True that it's not directly available, but you can actually implement this yourself with blocks from the "Simscape > Foundation ...

10 years ago | 3

| accepted

Answered
Disable a Simpower block using a logic block
You should be able to set the snubber values of |inf|, which makes them ideal. Even the block icons should change to remove the ...

10 years ago | 0

Answered
how to vary parameters in Simulink
Do you mean changing frequency during simulation, or being able to run multiple simulations with different frequencies each? ...

10 years ago | 0

Answered
What products do i need to generate C/C++ code from a SimuLink model?
You will at least need Simulink Coder to generate C code from a Simulink model. You can also look into Embedded Coder (which ...

10 years ago | 0

Answered
Simulink RLC branch dependency on frequency
If you connect an <http://www.mathworks.com/help/physmod/sps/powersys/ref/impedancemeasurement.html Impedance Measurement block>...

10 years ago | 0

Answered
Simscape language: AC Voltage Source - variable frequency input - Problem: Number of equations exceeds number of variables.
As the error message suggested, you have 3 equations but 2 variables. Two issues: # You needed the current to also be a varia...

10 years ago | 3

| accepted

Answered
Update modified CAD model in Simmechanics 2G
You're right, except as of R2016a, there is a way to update an imported model with the new 2G blocks. The difference is that...

10 years ago | 0

Answered
Block path relative to masked subsystem
There is a |gcb| command which stands for "get current block"... so in your case you can use: set_param([gcb '/child-block'...

10 years ago | 0

| accepted

Answered
From PTC Creo to SimMechanics
Have you seen this documentation page? It outlines the supported constraints and what they become in Simscape Multibody (SimMech...

10 years ago | 0

| accepted

Answered
How do I force a zero value in Simscape language
I would start off by changing the equations to something like let X = (Pratio^(gm1/-A.gam) * (1+(gm1/2)*Minf^2) - 1) *...

10 years ago | 0

| accepted

Answered
How to get the Simulink model for estimating DC motor parameters?
The DC Motor model uses <http://www.mathworks.com/products/simscape/ Simscape> and its specialized <http://www.mathworks.com/pro...

10 years ago | 0

| accepted

Answered
can't connect scope to simElectronics' components...
Between the PS-Simulink Converter and the Simscape Electronics blocks, you also need to use either a Voltage Sensor or Current S...

10 years ago | 0

| accepted

Load more