photo

Yifeng Tang

MathWorks

Last seen: 4 days ago Active since 2020

Followers: 1   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
  • Personal Best Downloads Level 2
  • 12 Month Streak
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Revival Level 3
  • First Answer

View badges

Feeds

View by

Answered
How do I get the right vector of spring coefficients for the nonlinear translational spring?
Hi Emefun, A couple of things to fix: (1) add mass blocks. The "dynamic variable derivatives" error is most likely referring ...

5 days ago | 0

| accepted

Answered
Are Flooded Evaporators modeled already?
Hi Pablo, To the best of my knowledge, there isn't a block designed specifically for this type of heat exchanger, with coolant/...

13 days ago | 1

| accepted

Answered
Add "Block Parametrization Manager" to custom ssc block for Simscape
It's not supported for your use case here. Consider put together a custom Simulink library instead, where you can store and loc...

24 days ago | 0

| accepted

Answered
Simulation of two phase fluid with Simscape - pressure behavior unexplicable
Hi Marcel, The port area parameter of the Receiver Accumulator block doesn't affect the pressure drop between inside and outsid...

26 days ago | 0

Answered
MATLAB/Simulink/Simscape:Contact force analysis
You can only to "Convex Hull" for generic geometry (e.g. a stp file). It may or may not be good enough for your contact force m...

27 days ago | 0

| accepted

Answered
The Excavator Hydraulic Jack Forces are Changing Direction in Simscape Multibody
The way the joints are actuated and the joint forces are sensed for inverse dynamic analysis looks OK. As a position signal is ...

28 days ago | 1

| accepted

Answered
Fluid inertia in Simscape hydraulic
Hi Amodio, I don't think the actuator blocks model the inertia of the fluid inside. The "cushion" can be used to model some en...

29 days ago | 0

Answered
Center of mass of a free-floating body in Simscape Multibody is moving with no external forces
I believe there can be many solutions that would satisfy the initial conditions you have set. The only target set here is the s...

1 month ago | 0

| accepted

Answered
Flow rate discrepancy between upstream and downstream of orifice model.
A diffential pressure 2950 psi sounds big enough to change the density of the fluid. As the density changes, volumetric flow ra...

1 month ago | 0

Answered
Simscape Fluids model of closed system
Hi Jeremy, Looks to me like an initialization issue. I don't have R2020b on my computer so I tried this on R2021b, the oldest ...

1 month ago | 0

Answered
How to make a revolute joint turn in one direction in Simscape?
There may be better solutions, but just some ideas. If you have access to Simscape Driveline, there is a one-way clutch (Unid...

1 month ago | 0

Answered
Pressure drop of a two-phase fluid pipeline in simscape
You can view the Simscape code of the Pipe (2P) block, save a copy, and modify it to use a custom correlation if you like. Find...

1 month ago | 0

| accepted

Answered
Can "pipe(G)" block be used to model forced air convection?
I think it's possible. The combination of cross section and hydraulic diameter will give you a circumference; that multiplied b...

1 month ago | 0

| accepted

Answered
HOW CAN I TURN AN EQUATION INTO COMPONENT IN A LIBRARY?
Hi Usha, In addition to Ayush's answer, I suggest that you look at the source code of a translational spring block. You custom...

1 month ago | 1

Answered
How does simscape caculate the hydraulic pressure?
The pump blocks in Simscape Fluids models the flow rate at different pressure difference and speed, but themselves are "volume-l...

1 month ago | 0

Answered
state flow入门之旅中的诸多疑问
应该是workspace的问题,红色阴影表示有缺失的参数值。Simulink模型的参数可能在 Base Workspace, Model Workspace 或者是 mask local workspace (你这里不会是最后这个情况),可以参考这个文档:...

2 months ago | 0

Answered
Use Simscape parameter as variable in Simulink model
If it's in the Simscape Results Explorer, you should be able to use a Probe block to make it available during simulation as a Si...

2 months ago | 0

Answered
Using the TL-2P heat exchanger in simscape to simulate an external threaded tube heat exchanger
The way you set up the heat exchanger looks promising to me. I would use the Parameter Estimator App (Documentation) to estimat...

2 months ago | 0

| accepted

Answered
why are the results different from moist air domain(MA) using only dry air and gas domain(G)? - simscape
Hello, Given the range of temperature you'd like to implement, I believe you are seeing the difference in the way the specific ...

2 months ago | 1

Answered
The sum of the 2 branches flow is different than pump flow
Hi Flavio, I looked at the model and below are my observations. the parameters and inputs for the pump look ridiculous: at 1m^...

2 months ago | 2

| accepted

Answered
Simscape 4-Way 3-Position Directional Valve (IL) No "Fluids/Plot Valve Characteristics" Option
See the comment section for the discussion. Issue resolved (by itself) as of now.

2 months ago | 0

Answered
Pipe (TL) fluid compressibility problem
See this related question for a more detailed discussion: https://www.mathworks.com/matlabcentral/answers/2111661-rservoir-tl

3 months ago | 0

| accepted

Answered
Rservoir (TL)
Hi Karim, I did a few things that feel like best practices to me: (1) add a Tank (TL) block to where the reservoir was. Pleas...

3 months ago | 0

| accepted

Answered
Heat Exchanger (TL-TL) breaking thermodynamics?!
This shouldn't happen for parallel-flow heat exchangers, because of 2nd law of thermo-dynamics. But this may happen for counter...

4 months ago | 1

| accepted

Answered
hydraulic circle for fire suppression system clean agent
Hi Albara, It will be helpful if you could provide some schematic to show the interior of the agent tank so we can understand t...

4 months ago | 0

Answered
Simscape Gas Inertia block
Hi Caleb, "Fluid inertia is negligible." is one of the model assumption of the Pipe (G) block. You may be able to modify the c...

4 months ago | 0

Answered
Simscape fixed displacement pump pressure gain wrong?
Hi Sandro, one quick thing to fix: you need another reservoir at port B, otherwise the fluid has nowhere to go. The reservoir a...

4 months ago | 0

Answered
Modeling a pressurized flexible body (balloon) in simscape multibody/fluids
Hi Siril, I feel the problem may be way more complicated than just "the two open red open wires". To model this pressurized fl...

4 months ago | 0

| accepted

Answered
Isothermal Fluids Pump/Motor Case Drain
Hi Philip, I feel the way you model it is very reasonable. Adding an small orifice or check valve mimics what happens in real ...

4 months ago | 0

Answered
Changing Thermal Liquid Properties in Simscape
If you'd like to manually set the properties like density, Cp, etc., the right block to use is "Thermal Liquid Settings (TL)" fr...

4 months ago | 0

Load more