답변 있음
Hello Buket There is a battery model in Simscape Electrical that includes aging effects. https://se.mathworks.com/help/phy...

약 1년 전 | 0

해결됨

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...

약 1년 전

해결됨

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...

약 1년 전

답변 있음
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...

약 1년 전 | 1

| 수락됨

답변 있음
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...

약 1년 전 | 0

| 수락됨

답변 있음
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...

약 1년 전 | 0

답변 있음
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. ...

약 1년 전 | 0

| 수락됨

답변 있음
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...

약 1년 전 | 0

답변 있음
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 ...

약 1년 전 | 0

답변 있음
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. ...

약 1년 전 | 0

답변 있음
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....

약 1년 전 | 0

답변 있음
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...

약 1년 전 | 0

답변 있음
Change background color in Simscape Multibody
Hi Nick We do not have a preference meny for Mechanics Explorer, which would be ideal here. You can nevertheless change b...

약 1년 전 | 1

답변 있음
Pulsed Simulink (simscape) analog circuit with various pulses for excitation
Hello Vincent, I guess there is no perfect solution, different people like different methods(signal builder, look up table......

약 1년 전 | 0

| 수락됨

답변 있음
How is efficiency translated into fluid temperature in Simscape Fluids fixed displacement pump?
Hi Nick The documentation explains well the equations behind the fixed displacement pump TL and losses. See the link below: ...

약 1년 전 | 0

답변 있음
Recouped heat from the heated gas
Hi there I can see two issues in the model. The pipe connected to A1 in the exchanger is just open in the end, as it is j...

약 1년 전 | 0

답변 있음
Simscape Multibody *** Model not assembled: position violation ***
Hi Garett Do you have the chance to share the model? It must be a detail in there that needs sorting out. Br Juan

약 1년 전 | 0

답변 있음
Hi there I managed to put together the model you describe graphically. It is easy to build with Foundation Library components. ...

약 1년 전 | 0

답변 있음
How to make a gate valve work in a hydraulic circuit?
Hi there Have you checked that the unit in the S-PS converter for the gate valve is set to mm? If not, Simscape believes it is ...

약 1년 전 | 0

답변 있음
how to use a variable-length cable
Hi Amir I think that you need a prismatic degree of freedom linking upper and lower parts in your rod. Each part with its ow...

약 1년 전 | 0

| 수락됨

답변 있음
Different height tanks using Thermal Liquid Simscape Blocks
Hello Pedro This shall be alright to simulate. Check the link below > Inlet Height. https://se.mathworks.com/help/physmod/...

약 1년 전 | 0

답변 있음
Incorrect extreme values of numerical derivative
Hi Jörgen It looks like the kinematic motion in MATLAB is somehow idealized. The one from SolidWorks is asymmetric and thus sh...

약 1년 전 | 0

답변 있음
How to create tunable parameters for a standalone FMU Export?
Hi David You need to set in the Simscape Preferences (MATLAB user pane) the option Show Run-time parameters on. https://se...

약 1년 전 | 0

| 수락됨

답변 있음
Pulling against Gravity with a Pulley System
Hi Matthias It is difficult to say what happens without the model. But i wonder if the rigid transform between the revolute j...

약 1년 전 | 0

| 수락됨

해결됨

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

약 1년 전

답변 있음
Gas-Charged Accumulator
Hi Andy We have such a block but in our Simscape Fluids toolbox. https://se.mathworks.com/help/physmod/hydro/ref/gaschargeda...

약 1년 전 | 0

| 수락됨

답변 있음
How to transfer simulation output from Simscape Results Explorer
Hi Henrik The results of the model shown in the Explorer are retrieved automatically in MATLAB workspace after the simulation...

약 1년 전 | 0

| 수락됨

답변 있음
Is it possible to find the acceleration profile for a simple spring mass system using Simscape?
Hi Naresh The easiest is to use a derivative from simulink that takes the speed from the translational sensor and gives accel...

약 1년 전 | 0

| 수락됨

해결됨

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

약 1년 전

답변 있음
4 Stroke Diesel Engine Simulation
Hello Augustine One option is to use the engine block from simscape driveline https://se.mathworks.com/help/physmod/sdl/ref/...

약 1년 전 | 0