Answered
simscape variable thermal mass - initial condition issue
Hello Benoit, It seems strange. Have you got the chance to share the files? BR/Juan

alrededor de 2 meses ago | 0

Answered
How to get oscillatory motion for a solid in simscape?
Hello there, In order to do the work, I'd recommend to use Simscape Multibody to build the five-bar linkage mechanism. In Multi...

alrededor de 2 meses ago | 0

| accepted

Answered
Speed control and Position of DC motor using PID and Simscape
Hi Alejandro, Easiest is that you use a controlled DC voltage source. The output of the PID controller adjusting speed to the d...

alrededor de 2 meses ago | 0

| accepted

Answered
How to model a catch basin in simscape fluids
Hi there I think that the best way to solve that problem is to use a Local Resistance (Isothermal Liquid) between the end of th...

2 meses ago | 0

Answered
Simscape-Multibody-Multiphysics-Library
Hi Andy Here is the link to the library. https://se.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multip...

2 meses ago | 0

Answered
Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop.
Hi there, I believe that you need to latch the incoming signals to the triggered subsystems. You do that in the Inport Simuli...

2 meses ago | 0

Answered
modeling a solenoid coil
Hello Goutham I think you will find creating a Simscape component a better solution. Then, you can write the equations textua...

2 meses ago | 0

Answered
Simscape interface with Simulink
Hi Don You can only connect physical inputs or outputs in Simscape to Simulink signals (through S-PS or PS-S Converters). C i...

2 meses ago | 0

| accepted

Answered
How to use matlab function output variable as a simscape block input variable?
Hi Youri, You need to create a custom thermal mass where cp is no longer a parameter but an input. Once you have created t...

2 meses ago | 0

Answered
Simscape Multibody - Spatial Contact Force Block - Interference Fit modeling
Hello Hakan The interference fit is a complex phenomenon to model. I think that I would approach this as a prismatic joint wi...

2 meses ago | 1

Answered
Lithium battery parameter estimation and SOC
Hi Glenn I’ll give a shot to the questions you have. 1. When this type of work is done with Simulink Design optimization,...

2 meses ago | 0

Answered
Changing sequence of transformation of Simscape Multibody Joints
Hello Edwin It is likely that you need to compose your own joint to get the exact sequence you look for. To be sure, i would re...

3 meses ago | 0

| accepted

Answered
How to filter the current measurement before it enters a scope or signal analyzer
Hi Joseph If it is a physical signal (Simscape) for current, you’ll need a PS-Simulink converter to connect through to the filt...

3 meses ago | 0

Answered
Can you create an S-Function from a Simscape Model?
Hi Tamam S-function generation from Simscape models is no longer supported from releases after 2015 or thereabouts. Deploymen...

3 meses ago | 0

Answered
How to I simulate only heat exchanger outlet conditions?
Hello Tiffy What happens underneath is that the model has got too many state variables in relation to equations. In order ...

4 meses ago | 0

| accepted

Answered
Parameter sweep using simscape
Hi Joshua Is the inductance parameter set as Run-time in the Simscape component? By default it is not, so maybe you can check...

4 meses ago | 0

Answered
Torque and Rotational motion sensor in simscape
Hi Leonardo Torque is a through variable measured with a torque sensor (TS) in series with the shaft of the motor. Speed is a...

4 meses ago | 1

Answered
Why is the current from the wind farm not uniform when using multiple wind turbines.
Hi Joseph The individual turbines might get wind speed that is not equal but follow a given distribution with a mean value of 3...

4 meses ago | 0

| accepted

Answered
AGING MODEL of a lead acid battery in simulink
Hello Buket There is a battery model in Simscape Electrical that includes aging effects. https://se.mathworks.com/help/phy...

4 meses ago | 0

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

4 meses ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4 meses ago

Answered
Simscape Multibody - How to model a link with holes
Hello Marco You run the function prior to the simulation to obtain the 2D profile of the solid with hole. Then u get somethin...

4 meses ago | 1

| accepted

Answered
Issues with building a fan using a BLDC and a controlled volumetric flowrate source
Hello Renée You need to connect the shaft of the BLDC motor (electric to mechanic) to a component converting mechanic to pneu...

4 meses ago | 0

| accepted

Answered
Two-Phase Fluid Simscape : different values between Simscape Results Explorer and Sensors
Hi Joris In the cylinder a new through variable comes into play: the heat exchanged with the environment. The variations of e...

5 meses ago | 0

Answered
How could I simulate the contact force on flexible bodies in Multibody?
Hello there I don’t think this can be solved in the tool now, unless you use discrete solids assembled with elastic joints. ...

5 meses ago | 0

| accepted

Answered
Update custom block image from MATLAB code
Hi Aled As far i know, when you build the library again with a new component, it will automatically take the graphics of an e...

5 meses ago | 0

Answered
Thermal Conductivity varying with input temperature
Hi Alex An easy way to solve this by defining the equation: th_cond == a+b*T1. Parameters a and b shall be defined with a ...

5 meses ago | 0

Answered
Gravity compensation in SimMechanics/ Simscape
Hello Stan The easiest in this case is that u use a distance constraint between mushroom and platform instead of the joint. ...

5 meses ago | 0

Answered
Terramechanics, tire and ground interaction in Matlab/Simulink
Hi Marcin the Simscape Driveline component Tire-Road Interaction below can be a good starting point. https://se.mathworks....

5 meses ago | 0

Answered
Simscape custom model: Invalid use of the operand '+'
Hi there It looks like the syntax in that line has a problem. Furthermore, all Simscape keywords are not in blue. This indica...

5 meses ago | 0

Load more