Community Profile

photo

Yifeng Tang

MathWorks

Last seen: 5 dagar ago Active since 2020

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

Content Feed

View by

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

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

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

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

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

20 dagar ago | 0

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

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

ungefär en månad ago | 0

Answered
Failed to increase pressure of a system with an actuator. Whats wrong?
It looks like that you would like to move the piston & mass so the pressure in Chamber A of the actuator will increase and you a...

ungefär 2 månader ago | 0

| accepted

Answered
Simscape piston moves without pressure difference
You don't need a force to keep a mass moving at constant velocity, as the acceleration is zero and F=m*a. When I add a damper...

ungefär 2 månader ago | 0

| accepted

Answered
Simscape pipe cleaning model - cleaning used pipe's interior surface with different fluid
It's possible to model a "solution", i.e. thermal liquid + passive scalar(s), using a quick-and-dirty way or a more formal one. ...

ungefär 2 månader ago | 0

Answered
simulation of a gas network node
It should be quite straightforward to build something like this: Just like how you draw that on paper. Simscape Onramp can b...

ungefär 2 månader ago | 1

Answered
What is the mistake in the simulation, if the transient initialization at time x, solving for consistent states and modes, failed to converge?
Hi Emefun, It looks like the piston side of your hydraulic cylinder doesn't have any mass. Adding a mass block to the rod allo...

2 månader ago | 1

| accepted

Answered
False Results SIMSCAPE Pipe Block for cooling air stream
Hi Bastian, It sounds like in the simulation, the air stream is taking away less heat than in the test, resulting in a higher e...

2 månader ago | 0

Answered
Li-ion battery pack cooling using Phase changing material
Hi Chinmaya, This will involve some customization in Simscape language. The simpliest implementation is to make a custom block...

3 månader ago | 0

Answered
Simscape: Fan (MA) behavior with higher external flow
Hi Fabian, Check out this example: https://www.mathworks.com/help/hydro/ug/sscfluids_ev_thermal_management.html In the radiato...

3 månader ago | 0

Answered
Temperature varying input for reservoir in refrigeration cycle
Use a Controlled Reservoir (MA) block. https://www.mathworks.com/help/releases/R2023b/simscape/ref/controlledreservoirma.html ...

3 månader ago | 0

Answered
Centrifugal Pump doesnt increase pressure in Simscape for 2P-Fluid
Hi ÖMER, Two things I did to make the "Comminityfrage.slx" model to produce reasonable results. At the pump, make the max head...

3 månader ago | 0

| accepted

Answered
Simulink: Adding expansion valve and try to close the refrigerant loop but fail to converge with initial conditions
Hi Brendon, I'm concerned that the way you are taking heat out of the condenser may generated unintended consequences and make ...

3 månader ago | 0

Answered
How is the correct heat transfer equation in the Simscape block "Pipe (TL)"?
The temperature at the outlet port will be the same as the temperature inside the pipe. So usually either T_A or T_B will be th...

3 månader ago | 0

Answered
Tutorials on Two Phase Fluid models?
In Simscape Fluids, there is an example/tutorial on how to build one of the shipping example on refrigeration step by step. h...

3 månader ago | 0

Answered
How can i plot P-H Diagram with two parameter are: Pressure and Temperature( With refrigerantion system)?
Hi Trieu, For points outside the vapor dome, P & T uniquely determine the state. You may use Reservoir (2P) or Controlled Rese...

3 månader ago | 0

Answered
How to model combustion chamber or heater for gas turbine system using Simulink?
Hi Kheng, For this application, I would highly recommend that you use Simscape and Simscape Fluids for your physical modeling. ...

3 månader ago | 0

Answered
Simscape Thermal Liquid Domain - Across variable T of parallel flows
Adding a pipe block after each of the custom components will work just fine as well. Indeed, ALL ports connected to the same ju...

3 månader ago | 0

Answered
Problem with Condensator-Evaporator (TL-2P) block in simscape fluids
Hi Lorenzo, I too agree that having counter flow and flow perpendicular to bank of tubes at the same time doesn't quite make se...

3 månader ago | 0

Answered
On what basis do you vary the Laminar Pressure Ratio parameter in the Local Restriction (MA) block in Simscape?
I've adjusted this parameter to match the shape of a deltaP-Q curve over an orifice inside a valve. But 99% of the time, I didn...

3 månader ago | 0

Answered
How can I assamble n identical blocks in a simscape simulation automathically?
In addition to @Fangjun Jiang's suggestion on add_block(), I would encourage you to also look into the "composite component" opt...

3 månader ago | 1

Answered
Error Temperature of liquid volume must be less than or equal to Maximum valid temperature
Hi Johannes, I took a look at your model. Two minor things, both in the pump subsystem, I'd suggest that you change: the unit...

3 månader ago | 0

Answered
I want to use a solenoid valve to achieve two-phase flow on/off
First, you'll almost never see a valve block to be complete "off" in a model. You'll always see a minimum area or flow fraction...

3 månader ago | 0

Submitted


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

5 månader ago | 26 downloads |

Answered
Problems with the "System-Level Heat Exchanger (TL-MA)" Simscape block
Starting from "nominal temperatures and rate of heat transfer" means at time of 0, the fluids inside the volume will have the pr...

6 månader ago | 0

Load more