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

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

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

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

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

3 years ago | 0

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

3 years ago | 1

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

Answered
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

3 years ago | 0

Answered
Modeling Half-Car Suspension in Simulink/Simscape?
Hi there I managed to put together the model you describe graphically. It is easy to build with Foundation Library components. ...

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

Answered
Simscape: Revolute joint block includes degree of freedom of other revolute joints in the assembly as its own degree of freedom?
Hi Joben If you want to make the joints passive, you should set: Actuation(none) - Motion (automatically computed). If actuat...

3 years ago | 1

Answered
How to generate force AND velocity on an hydaulic cylinder in Simscape
Hello you need: Force sensor (cylinder) Velocity source (cylinder) Force source (wheel-axle > motor) Velocity sensor ...

3 years ago | 0

Answered
Making an active revolute joint passive during simulation
Hello Amir I think the joint will be set to Torque (provided by input) and motion (automatically calculated). Then, when t...

3 years ago | 0

| accepted

Answered
Max speed of a PMSM motor before Flux Weakening
Hi Federico Try the following example https://se.mathworks.com/help/physmod/sps/ug/three-phase-pmsm-drive.html Increase t...

3 years ago | 0

| accepted

Answered
Problem with SimScape Controlled Voltage Source
Hi Carlos Check that the maximum step in your solver is small enough to capture the sine wave (10kHz). For example 10us. If t...

3 years ago | 1

| accepted

Answered
Simscape Multibody PID Controller Tuning fails after different attempts.
Hello Florian Looking at the snapshot, it looked strange that you have a closed loop control but the motor joints are in kine...

3 years ago | 0

Answered
Simscape multibody simulation model extrusion
Hi Ramesh, you can’t do that in this case without several bodies since a cube can’t be built as a revoluted extrusion around...

3 years ago | 0

| accepted

Answered
Why the robot gripper can not pick up the object in Simscape with Contact Forces Library ?
Hi John I would recommend that you use the Spatial Force Contact block we added to Simscape Multibody in latest releases. It is...

3 years ago | 0

| accepted

Answered
Simscape Battery SOC increasing even with Circuit-Braker Open
Hello Sreeraj The way the model is configured, the current source forces the current anyhow through the breaker which ends up c...

3 years ago | 0

Load more