photo

Yifeng Tang

MathWorks

Last seen: Today Active since 2020

Followers: 5   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
  • 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
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...

1 day ago | 0

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

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

1 day ago | 1

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

9 days ago | 0

Answered
How to change the type of step for a Simulink Solver from variable to fixed in the Electric Vehicle Thermal Management model in Simulink?
When trying to run a complex Simscape in fixed-step, it is almost always recommended to use an implicit solver, as the equations...

15 days ago | 0

Answered
How to change a simscape block parameter from MATLAB app?
modelname = "myModel"; % CHANGE THIS refrigerant = "R134a"; % CHANGE THIS. % You may use any of the following refrigerant n...

15 days ago | 0

Answered
How to obtain 4th order transfer function in simulink
This example from the System Identification Toolbox should address what you need. https://www.mathworks.com/help/ident/ug/estim...

15 days ago | 0

Answered
How to visualize a multibody model when running on a Speedgoat
Hi @f wang, If I understand it correctly, you are trying to visualize the 3D movements of the parts, is that right? If so, the...

15 days ago | 0

| accepted

Answered
Is there a way to add a graphical only line between two frames in multibody
Hi Mark, I don't think there is a "native" way to do this. I can think of a clunky way of doing this. I don't like it but may...

15 days ago | 0

Answered
Determining the Nominal mass flow rate
Hello, First of all, make sure you follow the workflow example in the documentation when modeling a refrigeration system: https...

20 days ago | 0

Answered
Exporting Simscape model from R2024a to R2021a and R2023a
The message you got is a warning, not an error, which is trying to tell you to be very careful with the resulting model. Whethe...

22 days ago | 0

| accepted

Answered
How to convert constants in parameters to variables in inputs in simscape?Invalid use of value 'density'.
Below is a summary of the discussion in the comments section: It is not possible to use an input to assign a domain parameter. ...

29 days ago | 1

Answered
in simscape fluids, I want to use the gas-charged accumulator, which is a single phase component, in a 2 phase loop. How can I use it?
Try something like this: Use Translational Mechanical Converter for each domain, connect the R port, and add a small mass. R...

1 month ago | 0

Answered
I wanna make 2D compressible fluid simulation when off gas ventilation at battery thermal runaway
Just a suggestion ... Right now, you have Neumann type of boundary condition for your normal velocity at the right boundary, na...

1 month ago | 0

Answered
How to connect a 6 DoF joint to a moving center of mass (by creating a moving frame) in Simscape Multibody
Summarizd from comments: (1) leave the 6DOF untouched (2) use the measured CG location to drive a cartesian joint to the new C...

2 months ago | 1

| accepted

Answered
How to change size of simscape multibody models
Hi @Ting, I just multiplied most of the dimensions in the subsystem mask by 10, and the model seems to assemble OK. See below....

2 months ago | 1

| accepted

Answered
How to model marine exhaust system using Simscape.
Hi @Jonathan Thanks for sharing the picture. That helps. Whether MathWorks tools, in particular Simscape, can help model this...

2 months ago | 1

Answered
Simscape parameter estimate using App
Hi @ENRICO, I echo much of your concerns and observations in the comments! Parameter estimator is a tool to find a minimum by ...

2 months ago | 0

Answered
Is it possible to make Machine Learning model to predict multiple outputs with Statistics and Machine Learning Toolbox?
Using Regression Learner App, you can build a regression model for EACH of the outputs. That is to say you need to build TWO mo...

2 months ago | 0

| accepted

Answered
Reference data source for Simulink Data center cooling example's default values
The example is to demonstrate a "reasonably sized" data center cooling system, instead of any specific data center. Lots of t...

2 months ago | 2

| accepted

Answered
Modelling a 2p-2p Plate Heat Exchanger
The best alternative is the System-Level Heat Exchanger (2P-2P) block. The nominal condition should be quite easy to set up, bu...

2 months ago | 0

Answered
Gas-Isothermal Liquid Model is not working
The model architecture is OK but some parameters need some efforts. I attached a modified model and it seems to run OK. The ma...

3 months ago | 1

| accepted

Answered
How to set multiple coordinate systems at specified locations in a Brick Solid block
The origin of "new frame" on the solid itself has three options, but it won't allow you to specify an arbitrary point, which I u...

3 months ago | 1

Answered
Challenge with Simulating Loader Mechanism with Closed Kinematic Loop
Hi @Medalan Thanks for the clarfication on your question. Let's see if this idea helps. I created two simple models to demons...

3 months ago | 0

| accepted

Answered
Signal Routing in Simscape
Hi Paul, I think we can achieve what you envisioned not with a switch of joints but with a "hard-stop". I created a 1D Simscap...

3 months ago | 0

| accepted

Answered
Jacobians using Simscape (numerical or symbolic)
The Jacobian of the system of equations is formulated by the solver, but I don't think it's available explicitly in any form. I...

3 months ago | 0

Answered
Inputs and process for thermal model discretization for battery spatial temperature estimation
If you are thinking about running the ANSYS simulation and Simscape at the same time, with some kind of interface to pass along ...

3 months ago | 0

Answered
How to model the battery module with forced air cooling in Simscape?
Something like this should work. Well, reasonable parameters are really what will make it work :)

3 months ago | 0

| accepted

Answered
[Thermal Liquid library Simscape] Help for an Engine cooling model
Copied from the comment section: I changed pressure_sidepods from 500 to 2000 and did observe change in the coolant temperature...

3 months ago | 0

Answered
Direction of force input for a prismatic joint
Yes, you are correct. When you provide a negative value for the actuation force, it's applied in the opposite direction with th...

4 months ago | 0

| accepted

Load more