Answered
How to understand the simulation results using basic components in Simscape->foundation library-->mechanical?
Hello Liqun, The direction in Simscape is usually defined by the movement (towards/away) of R port with respect to the C port. ...

5 years ago | 0

Answered
Is there a way to link plots to simscape log data / simscape results explorer data?
You may access everything in simlog through MATLAB base workspace. This documentation page includes some basic functions to acc...

5 years ago | 0

| accepted

Answered
Is there a way to link plots to simscape log data / simscape results explorer data?
You may access everything in simlog through MATLAB base workspace. Follow the instructions on the following documentation page ...

5 years ago | 0

Answered
Why don't pipe and orifice blocs in Simscape Fluids cause a pressure change ?
The model does not have an outlet right now. The system is all pressurized to the value set by the constant pressure source, bu...

5 years ago | 0

| accepted

Answered
pilot operated check valve to open only by pilot pressure x
Thanks for the details. The pilot in this case is acting in the opposite direction as in the "Pilot-Operated Check Valve (IL)" ...

5 years ago | 0

| accepted

Answered
Simscape Multibody: 6DOF joint has a degenerate mass distribution on its follower side.
Thanks for sharing the model. It looks to me the problem here is still the algebraic loop. I tried two ways to break it and bo...

5 years ago | 0

| accepted

Answered
can you simulate viscous surrouding in multibody simulation?
There is an underwater vehicle example that includes hydrodynamic and hydrostatic forces, which I believe will help you get star...

5 years ago | 0

Answered
Simscape Multibody - model does not react to slider gain changes without stopping and starting the simulation again
The answer is that the slider gain actually is working as intended. It's changing the position of the swing bar, but we were no...

5 years ago | 0

| accepted

Answered
want to make vehicle dynamic model in fuel cell truck
This can be a big project. Definitely not something can be fully resolved through MATLAB Answers. Some resource that may be us...

5 years ago | 0

Answered
Commensurate units error - Simscape Covective heat transfer (Pipe)
Hi Aled, Consider use the syntax value(a,'unit','type') to use only the value of a variable with specified unit. More detai...

5 years ago | 0

Answered
how to plot angles of the oscillating guide and the crank in the same graph
Two possible ways I know of: Use the simlog. I saw your model is already logging the Simscape data, so you just need to go to ...

5 years ago | 0

Answered
How to get the instantaneous step size value in variable step solver at a simulink model?
If you turn on data logging for Simscape, you can access the time marks in the states data for each block. Any block will give ...

5 years ago | 0

Answered
Spatial contact force block
Contact force only works with Convex Hull at this moment. See Documentation page here: https://www.mathworks.com/help/releases/...

5 years ago | 0

| accepted

Answered
Simscape 2P energy conservation bug ?
Hi Joris, After a closer look at the results, it looks like everything was physically reasonable. There was some very quick ac...

5 years ago | 0

| accepted

Answered
Efficient way to evaluate multiple logic expression as in 'if' condition
something like max(abs(u(i+1,:)-u(i,:))) <= 1e-7 do you think this will work?

5 years ago | 0

| accepted

Answered
How to simulate/create a spring in an already generated Block Diagram of a CAD Model in Simscape Multibody?
You'll need to first define how the two ends of the spring is connected to the wishbone part and the vehicle body, including the...

5 years ago | 0

| accepted

Answered
How to set suspension sag due to mass in simscape quarter car model ?
Are you working in Simscape (1D mechanical) or Simscape Multibody? In Multibody, the weight of the sprung mass will affect the ...

5 years ago | 0

| accepted

Answered
[Multibody] Get body frame list from Matlab script
You'll probably need to attach a Transform Sensor to each solid so you can get all kinds of kinematic information of the solid. ...

5 years ago | 0

Answered
[Simscape Multibody Contact Forces] Fluctuations in Normal & Friction Forces
The contact force, when in contact, is modeled as a stiff spring and damper to prevent the penetration and calculate the normal ...

5 years ago | 0

| accepted

Answered
How do I import a motor dyno curve into Simscape?
Do you care about the electrical side of the motor (like current, voltage, etc), or you just need the motor as a source for mech...

5 years ago | 0

Answered
Change Ah capacity of Simscape lead acid battery model?
I don't have R2018b on my machine, but I assume the model is similarly constructed in newer releases. Inside the Battery Cell, ...

5 years ago | 0

| accepted

Answered
how to convert a solidworks file to xml file?
You'll need a Simscape Multibody Link Plugin in SolidWorks. Here is the instruction: https://www.mathworks.com/help/physmod/sml...

5 years ago | 2

| accepted

Answered
CADモデルを変更し,Simscape Multibodyにも反映するには?
Taka San, I tried to understand your question using Google Translator, and I believe you are wondering if your modification in ...

5 years ago | 0

| accepted

Answered
Kinematic Codnditions in Simscape
I can't think of a way to do this exactly kinematically (not claiming it's impossible though), but here may be a workaround: Pl...

5 years ago | 0

Answered
How to make SimMechanics works in rapid accelerator mode
In Model Settings (or Ctrl+E) - Simscape - Data Logging: turn Log Simulation Data to "None".

5 years ago | 0

Answered
Joint Actuation Inputs: Specify both Motion and Force/Torque
Hi Nicholas, It is possible to specify EITHER motion OR force as "provided by input", but not both. Specifying both is physica...

5 years ago | 0

Answered
How can I view the convex hull geometry exported from a file solid block in simscape multibody?
If you have a way to convert the STEP file into STL, I know of a way to do this outside Multibody using MATLAB command convhull ...

5 years ago | 1

Answered
Temperature control of furnace model
Hope it's not too late ... It looks like the Furnance block is set up such that it produces (1) a burning temperature in the H...

5 years ago | 0

Answered
Centrifugal Pump (IL) Predefined Parameterization
This feature is available starting 2020b. The list of predefined pumps is growing but it may not include the exact one you want...

5 years ago | 1

| accepted

Answered
Control the pressure AND the mass flow rate of a pipeflow in Simscape
Looks like you were trying to set the outlet pressure of the pipe by adjusting the orifice parameters. It's definitely reasonab...

5 years ago | 0

| accepted

Load more