Community Profile

# Yifeng Tang

### MathWorks

Last seen: Today Active since 2020

All

#### Content Feed

View by

Submitted

Intro-Examples-for-Simscape-CN
Model and scripts from video series on Simcape physical modeling

How to get RC circuit parameter for equivalent circuit diagram from measurement Graph?
Simscape user here. So first, I would build the thermal network using the thermal domain. It's just a few thermal resistance a...

27 días ago | 2

| accepted

It sounds to me that the easiest way is to set up two Simulink simulations. Save the output from the 1st one to the MATLAB work...

alrededor de 1 mes ago | 1

Missing something in Simscape.
The force sensor is a sensor for "through variable", so you'll need to connect in series with the element on which you'd like to...

alrededor de 1 mes ago | 0

How can solve this error: Output 'Taout' declared with unit expression that contains an affine unit: 'degC'. Affine units are not allowed when declaring members of this type.
Declare temperatue units in K. That's what the error message is saying. The numerical value of the temperature may be overridd...

2 meses ago | 0

Ideal Check Valve (Thermal Liquid, Simscape)
Hi Mash, Having a check value (or any closed valve) with absolutely zero leakage is in general a bad idea. It basically change...

2 meses ago | 1

I'm not getting an expected temperature/pressure output from cooling a 600 [F] copper object [FEEDBACK REQUEST]
Looks like the convective coefficient was too small. Also, since the pipe has a wall model for heat transfer, you may not need ...

2 meses ago | 0

| accepted

What does "delta_vel_pos_AI" in Pipe (G) means?
Hi PY, The term is using a trick to avoid using the abs() function, which may otherwise trigger frequent zero-crossing when mdo...

2 meses ago | 0

| accepted

Is this an appropriate way to model the pressure/temperature drop across an elbow joint? Critiques requested
Hi AJ, There is a custom block for an elbow in thermal liquid domain that I can share. Could you please submit a Technical Sup...

2 meses ago | 0

| accepted

simscape block node arrangement
Don't know much about IGBT but this seems to be Simscape language syntax. After the "subcircuit2ssc" function, an object for ss...

2 meses ago | 0

Trying to export .slx and its associated files to allow me to work from a faster PC.
In each of the file solid blocks, the path to the .step file is usually absolute. That full path can be different when you move...

2 meses ago | 0

How to compile a simscape model (to dll) with tunable parameters?
Hi Bruno, Try this: make the parameter you want to tune in the generated code a "Simulink variable", i.e. a variable in the Sim...

2 meses ago | 0

Model contact forces in custom designed CAD using File Solid?
One possibility is adding "point cloud" to better model the contact: https://www.mathworks.com/help/physmod/sm/ref/pointcloud.ht...

2 meses ago | 0

How can I consider the changing temperature of a copper object that is being cooled by coiling a pipe around the outside surface?
The heat transfer between solid objects are best represented by conductive components and thermal mass. I suspect the thermal m...

2 meses ago | 1

| accepted

Modell bearing losses of a compressor-turbine shaft in Simscape
I wonder how is the operating points defined. If you have the shaft speed at these points, it's then possible to find the frict...

2 meses ago | 0

How to compound a block
I attached a model showing two ways of doing that. Both use a mask and mask parameters to allow change of parameters afterwards...

2 meses ago | 0

| accepted

What is the pressure sensor measuring in simscape fluids?
My understanding is that it's the static pressure. The definition of dynamic pressure would involve a flow velocity, hence a fl...

2 meses ago | 0

How to change File Solid
I don't think you can edit the content of the solid via the file solid block, so I am not aware of a way to do what you have in ...

2 meses ago | 0

| accepted

I want to make 70 kw fuel cell system on simulink
Hi Anmol, Let me suggest a few options: 1. Get R2021b pre-release. If you have an active license of MATLAB and the necessary...

3 meses ago | 0

I'm having trouble installing the smlink.r2020b.win64.zip package
I suggest that you contact Technical Support on this. They are very good at handling installation issues.

3 meses ago | 0

| accepted

First solve for initial conditions failed to converge in Simscape model
I suspect this may have to with the two "A" ports connected directly to each other, meaning there is no volume or flow resistanc...

3 meses ago | 0

how can i modeling the desiccant system in simscape?
See the 2nd comment above for the answer.

3 meses ago | 1

| accepted

How do i get Temperature derating Curve of Fuse?
Hi Alpesh, One suggestion: consider using modechart to model discrete states (melt & normal) of your component. You definite h...

3 meses ago | 1

Degenerate mass distribution after reducing step size and using state-space model
ODE4 is an explicit solver, so it tends to be less stable when the time step is "large". You trying to reduce the time step is ...

3 meses ago | 2

| accepted

Is there anyway I can import a SolidWorks Assembly into Simulink and then make changes in SolidWorks appear in Simulink?
It won't be "automatic", and it depends on what you have changed in SolidWorks. It's easy to replace a solid part in Multibod...

3 meses ago | 0

| accepted

How can I fix the "internal energy 'too low' " error in Simscape?
I'll have to make some guess ... could you please check how the heat flows into or out of the H port of the accumulator? The er...

3 meses ago | 0

Is there a way to model a pipe under vacuum pressure using Simscape?
Hey Delika, Thanks for the clarification. It seems to me that it's possible to model the evaporation and condensing effects at...

3 meses ago | 1

How can I properly set a valve with catalogues parameters?
Hi Lucca, To parametrize the pressure-flow curve or an area-vs-position table in the valve block, you'll likely need to use the...

3 meses ago | 1

Retrieve a list of simscape.logging.Node names from simlog or other inner nodes
fieldnames(simlog_ssc_dcmotor) seems to work OK for me. Same way you would get the names of a structure variable. ssc_dcmotor ...

3 meses ago | 0

| accepted