photo

Yifeng Tang

MathWorks

Last seen: 3 dagar ago Active since 2020

Followers: 12   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
385 Answers

File Exchange

1 File

RANK
178
of 298 237

REPUTATION
650

CONTRIBUTIONS
0 Questions
385 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
78

RANK
8 915 of 20 553

REPUTATION
85

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
22

ALL TIME DOWNLOADS
650

RANK

of 160 651

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

  • First Review
  • 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
How to Set Initial Position for a Mass Block in Simscape?
Hi @José, In the mechanical translational domain, the domain variables are the velocity and the force. In general, the displac...

11 dagar ago | 1

| accepted

Answered
Problem with two phase Fluid Tables properties for mixtures for Simscape Matlab using CoolProp
Hi Adam, I think there is path forward, but it'll require some work. The error message you and I saw was generated by the fact...

11 dagar ago | 0

Answered
How to protect a model with simscape interfaces?
Hi @Carolina, As Model Reference and Model Protection won't allow physical connection through the subsystem/model boundary, it'...

20 dagar ago | 0

Answered
How to export data logging in Simcape simulation by second?
First thing to check, whether you are limiting the number of data points to keep. I suspect so, as your tout variable has lengt...

21 dagar ago | 0

Answered
How to add functionality to simscape multibody?
Hi Mark, Simscape Multibody, unfortunately, can't be customized in the same way as other physical domains in Simscape. I would...

26 dagar ago | 0

Answered
I need help coding a custom block on Simscape
This compiled without an error component pelton_turbine % Ce composant calcule le couple généré par l'eau sur la turbine. % 🔹...

26 dagar ago | 0

Answered
In Simscape, is there an equivalent to the Two-Phase Fluid System components that support Phase-Change-Materials (solid-liquid-transition)?
Hi @Philipp, I attached a simple proof-of-concept. The mlx script add an offset to the u(T) property after T is greater than t...

ungefär en månad ago | 0

Answered
Orifice (2P) Parametrization and Control
Hi @Rinaldo Is S a physical signal between 0 and 1, no units (unit = 1)? S is a position input, with a length unit (m, cm, m...

ungefär en månad ago | 0

Answered
I have a subsystem in Simulink with LConn and RConn blocks, some from Simulink Electrical and others from Simscape. How can I retrieve their type info from MATLAB?
I think this will help: myBlock = 'example/Subsystem'; port_handles = get_param(myBlock,"PortHandles") inports = port_han...

ungefär en månad ago | 0

Answered
I added a constant heat flow source to the pipe but I couldn't see any temperature increase to the fluid which flows
This should work fine. This is how heat is added to the coolant in some examples in the Documentation as well, like Electric Ve...

ungefär en månad ago | 0

Answered
Issue with Basin Level Fluctuation After Parallelizing Cooling Towers in MATLAB Data Center Cooling Example
It looks like those two T-junctions are creating different flow resistance into the two towers. As a result, the inflow can flu...

ungefär en månad ago | 0

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

ungefär en månad 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. ...

ungefär en månad 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...

ungefär en månad 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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 ...

ungefär 2 månader ago | 1

| accepted

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

2 månader 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...

2 månader 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 ...

2 månader 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 ...

2 månader 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,...

2 månader 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...

3 månader 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 ...

3 månader 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...

3 månader 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...

3 månader ago | 0

Load more