Community Profile

photo

Yifeng Tang

MathWorks

Last seen: Today Active since 2020

Statistics

All
  • First Submission
  • GitHub Submissions Level 1
  • 3 Month Streak
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

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

23 days ago | 2

| accepted

Answered
co-simulation within Simulink
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...

1 month ago | 1

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

1 month ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 1

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 1

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

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

3 months ago | 1

| accepted

Answered
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 months ago | 1

Answered
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 months ago | 2

| accepted

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Answered
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 months ago | 1

Answered
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 months ago | 1

Answered
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 months ago | 0

| accepted

Answered
Branching of a two-phase fluid
Hi Kai, You are using the "Orifice (2P)" block to model the valve, right? Good choice, I'd say, but there are a few things you...

3 months ago | 1

| accepted

Answered
Problem with Custom Heat Exchanger (G-TL) model
There is a G-TL heat exchanger block available in Simscape Fluids, starting in R2019a. The source code is not visible since it'...

3 months ago | 0

| accepted

Load more