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

4 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

Answered
How to obtain the saturated vapor or liquid temperature from the simscape component: Condenser-Evaporator (TL-2P) during simulation?
In the latest release (R2021a), the 2P domain in the foundation library contains a Saturation Property Sesnsor that would allow ...

5 years ago | 0

Answered
Revolute joint in Simscape
I hope I understood your question correctly that you are trying to attach two revolute joints in different orientations to one s...

5 years ago | 0

| accepted

Answered
Simcape two phase fluid custom component
The convection_A & convection_B are two components that defines the behavior at the "port" or boundary of this block. If you lo...

5 years ago | 0

| accepted

Answered
How can I program a installer chamber in Simscape?
It would be helpful if you could include some diagram or sketch to show what you want to model. My best guess based on what yo...

5 years ago | 0

Answered
how to make an oscillating guide on simscape
This looks (almost) exactly like this example: https://www.mathworks.com/help/releases/R2021a/physmod/sm/ug/how-to-build-a-mode...

5 years ago | 0

| accepted

Answered
regarding thermal liquid reservoir TL
I think this depends on what question you would like to answer with your model. If you just want to study the heat transfer a...

5 years ago | 0

Answered
4 way 2 position directional control valve in simscape fluid
There are multiple physical domains that have 4-way valve blocks, so it's not clear from your question which specific domain/blo...

5 years ago | 0

Answered
How to get the attitude data of the UAV in simscape ?
I believe the most convenient way of measuring the position and orientation of a solid block is to use a transform sensor. It g...

5 years ago | 0

| accepted

Load more