photo

Yifeng Tang

MathWorks

Last seen: Today Active since 2020

Followers: 10   Following: 0

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Chinese
Pronouns:
He/him
Professional Interests:
Physical Modeling, Simscape Fluids, Simscape, Heat and Mass Transfer, Thermodynamics and Heat Transfer

Statistics

All
MATLAB Answers

0 Questions
374 Answers

File Exchange

1 File

RANK
181
of 297,457

REPUTATION
636

CONTRIBUTIONS
0 Questions
374 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
75

RANK
9,021 of 20,438

REPUTATION
82

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
25

ALL TIME DOWNLOADS
619

RANK

of 158,938

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1
  • Knowledgeable Level 5
  • Pro
  • Personal Best Downloads Level 2
  • 12 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 3
  • First Answer

View badges

Feeds

View by

Answered
Load simulation state in Simulink Coder generated C code
Hi @Zoltán Runyó, I think it's possible to do what you are envisioning using "Simulink Parameters" in the initial conditions. ...

1 day ago | 0

Answered
Error in the Documentation and Modeling of the Polytropic Process in Positive Displacement Compressors
Hi @ROBERTO, This looks like an error in the documentation to me right now. I measured a few more quantities from the model. ...

4 days ago | 0

| accepted

Answered
How can I properly include the effect of wall thermal in the geometry based Condenser Evaporator (2P-MA) block?
Hi Roberto, The R2025a release (still in pre-release as of 3/7/2025) now has wall-thermal mass as an option for several geometr...

4 days ago | 0

Answered
Convert a 2013a multibody model to 2022b
Looks like some of the frames need a rotation. I'm not sure about what mechanism you are trying to model, but right now, the th...

5 days ago | 1

| accepted

Answered
How to control pressure gain and mass flow with Fixed Displacement Pump
Hi Nadir, From you model, I measured of 9.2MPa. This is consistent with the formula you showed. I believe when you put in th...

6 days ago | 0

Answered
How can I reduce excessive bouncing in my small quadruped Simulink model using Spatial Contact Force settings while joints run in position mode?
I use the following guideline when parametrizing "hard-stop" in hydraulic components (like a cylinder). You may find this simil...

8 days ago | 0

| accepted

Answered
Modelling multistage expansion of compressed air in a single cylinder engine
Hi @Kyle I feel like the model should look similar to that diagram you have. Single-cylinder engines can be modeled using a Me...

14 days ago | 0

Answered
Linking Mechanical and Hydraulic System Model in SIMSCAP MATLAB
The Translational Multibody Interface was first available in R2021a. Prior to that, such interface can be doen using force sens...

15 days ago | 0

Answered
Adding input for valid parameter in Simscape block
Hi @Florian, I think it's possible. The Simscape code of this block is visible. You may find it in the Description tab of the...

15 days ago | 0

| accepted

Answered
Modelling a Dehumidifier with Simscape Fluids System Level Heat Exchanger(TL-MA) not possible?
The error is complaining that the parameters you've set don't make sense :p For example, you've set the operation condition to ...

15 days ago | 0

Answered
On how to use the Two-Way Connection Block
Hi @CAME, I've seen this in earlier version of Powertrain Blockset examples. I took some snapshot from this "Conventional Vehi...

22 days ago | 0

| accepted

Answered
Model leaks in tanks and valves in a gas SIMULINK system
(Moved to Answer from Comments) It sounds like you have some values as a "standard" leak rate, is that right? I would assume y...

25 days ago | 0

Answered
Bonjour, je souhaite modéliser un piston et j'ai une erreur. Merci
In your model, the B & F ports of the prismatic joint is connected to the B & F port of a rigid transform block. This will fix ...

28 days ago | 0

Answered
PEM fuel cell heat management
Looks like it should be instead. Would you agree? I checked the source code and the power dissipation term is calculated as ...

29 days ago | 1

Answered
Trace Gas Removal Loop
Hi Ryan, The logic you have in mind is likely to trigger lots of zero-crossing/chattering, and as @Walter Roberson pointed out,...

1 month ago | 1

Answered
How to model Concave Hull Contact Force in Simulink Simscape
For a generic solid, Multibody only support exporting the Convex Hull for contact modeling (as of R2025a). So that quarter pipe...

1 month ago | 0

Answered
how to understand and combine simscape pump performance curves
I can try to help on the "Plotting on the Same Graph" part. Once you generate this figure from the pump block, you can use the ...

2 months ago | 0

| accepted

Answered
LNG liquid to gas phase change simulation Simscape
Hi @Anil I suggest that you try something like this: Model the LNG and its evaporization in the 2P domain. The Receiver Acc...

2 months ago | 1

| accepted

Answered
What is my fault to this modelling? I want to move the model but I am not able to solve the faults.
Follow the instructions in the error message. Use the Simulink-PS Converter to provide derivatives. The time constant will c...

2 months ago | 0

Answered
Modelling the sublimation of dry ice
Hi @Kyle, Interesting problem. I would approach it from the angle of convervation of energy and mass. Assuming the dry ice st...

2 months ago | 2

| accepted

Answered
How to model a piston with a retracting spring at one end and having single hydraulic port??
Something like this should work. It's important to pay attention to a few things when setting up this model: (1) area of the...

2 months ago | 0

Answered
Implementing Process Control for Heat Exchanger Networks in MATLAB
For the physical plant, for instances heat exchangers, pipes, valves, pumps, etc., I suggest that you look into Simscape and Sim...

2 months ago | 0

Answered
Lead screw driven by a revolute joint in Simscape Multibody: How can I set a slider displacement to be proportional to the revolute joint angle?
Hi @mhaz, I think it would make more sense to move the revolute joint to be in series with the prismatic joint. See below. ...

2 months ago | 0

Answered
How to measure torque and rpm of compressor in refrigeration cycle?
Use a Ideal Torque Sensor, connect it in series with the compressor R port, and now you are measuring the shaft torque. Multipl...

3 months ago | 0

Answered
How to plot coefficient of performance(COP) of refrigerationcyclemodelexample?
For an air conditioning system, the COP is defined as the ratio between the cooling power and the compressor work. There are tw...

3 months ago | 0

Answered
MATLAB Projects for Mechanical Engineers
Hi Saurav, A few things to check out on fileexchange: Ivan Liebgott (2024). Modeling and Simulation of Multi-Physics Systems w...

3 months ago | 0

Answered
Network coupler for gas
Network coupler for Gas or Moist Air domain doesn't exist as of R2024b. I see two options: (1) follow the structure of such co...

4 months ago | 0

| accepted

Answered
How are centrifugal pump(TL) outlet flow rate and actual brake power calculated with pump nominal parameters?
In the equation for the reference capacity: , the first term on the RHS is the volumetric flow rate. If you move that term t...

4 months ago | 0

| accepted

Answered
I don' know why simulink parameter estimation failed. Please help me
Looks like the error message is trying to tell you that the Parameter Estimater cannot change the parameters it tries to estimat...

4 months ago | 1

| accepted

Answered
How can I determine the distance at which a moving frame slides over a fixed frame, knowing that I use a prismatic joint between these two frames?
You can set limits in the prismatic joint. It'll apply an additonal spring & damper once the limit is reached and try to stop t...

4 months ago | 0

Load more