Community Profile

photo

Yifeng Tang

MathWorks

Last seen: 2 days ago Active since 2020

Statistics

  • 3 Month Streak
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer

View badges

Content Feed

View by

Answered
How can solve this error: Output 'Taout' declared with unit expression that contains an affine unit: 'degC'. Affine units are not allowed when declaring members of this type.
Declare temperatue units in K. That's what the error message is saying. The numerical value of the temperature may be overridd...

2 days ago | 0

Answered
Ideal Check Valve (Thermal Liquid, Simscape)
Hi Mash, Having a check value (or any closed valve) with absolutely zero leakage is in general a bad idea. It basically change...

2 days ago | 0

Answered
I'm not getting an expected temperature/pressure output from cooling a 600 [F] copper object [FEEDBACK REQUEST]
Looks like the convective coefficient was too small. Also, since the pipe has a wall model for heat transfer, you may not need ...

2 days ago | 0

Answered
What does "delta_vel_pos_AI" in Pipe (G) means?
Hi PY, The term is using a trick to avoid using the abs() function, which may otherwise trigger frequent zero-crossing when mdo...

2 days ago | 0

Answered
Is this an appropriate way to model the pressure/temperature drop across an elbow joint? Critiques requested
Hi AJ, There is a custom block for an elbow in thermal liquid domain that I can share. Could you please submit a Technical Sup...

5 days ago | 0

Answered
simscape block node arrangement
Don't know much about IGBT but this seems to be Simscape language syntax. After the "subcircuit2ssc" function, an object for ss...

8 days ago | 0

Answered
Trying to export .slx and its associated files to allow me to work from a faster PC.
In each of the file solid blocks, the path to the .step file is usually absolute. That full path can be different when you move...

9 days ago | 0

Answered
How to compile a simscape model (to dll) with tunable parameters?
Hi Bruno, Try this: make the parameter you want to tune in the generated code a "Simulink variable", i.e. a variable in the Sim...

9 days ago | 0

Answered
Model contact forces in custom designed CAD using File Solid?
One possibility is adding "point cloud" to better model the contact: https://www.mathworks.com/help/physmod/sm/ref/pointcloud.ht...

9 days ago | 0

Answered
How can I consider the changing temperature of a copper object that is being cooled by coiling a pipe around the outside surface?
The heat transfer between solid objects are best represented by conductive components and thermal mass. I suspect the thermal m...

9 days ago | 1

| accepted

Answered
Modell bearing losses of a compressor-turbine shaft in Simscape
I wonder how is the operating points defined. If you have the shaft speed at these points, it's then possible to find the frict...

9 days ago | 0

Answered
How to compound a block
I attached a model showing two ways of doing that. Both use a mask and mask parameters to allow change of parameters afterwards...

9 days ago | 0

| accepted

Answered
What is the pressure sensor measuring in simscape fluids?
My understanding is that it's the static pressure. The definition of dynamic pressure would involve a flow velocity, hence a fl...

9 days ago | 0

Answered
How to change File Solid
I don't think you can edit the content of the solid via the file solid block, so I am not aware of a way to do what you have in ...

9 days ago | 0

| accepted

Answered
I want to make 70 kw fuel cell system on simulink
Hi Anmol, Let me suggest a few options: 1. Get R2021b pre-release. If you have an active license of MATLAB and the necessary...

21 days ago | 0

Answered
I'm having trouble installing the smlink.r2020b.win64.zip package
I suggest that you contact Technical Support on this. They are very good at handling installation issues.

1 month ago | 0

| accepted

Answered
First solve for initial conditions failed to converge in Simscape model
I suspect this may have to with the two "A" ports connected directly to each other, meaning there is no volume or flow resistanc...

1 month ago | 0

Answered
how can i modeling the desiccant system in simscape?
See the 2nd comment above for the answer.

1 month ago | 1

| accepted

Answered
Simscape_Thermoelectric:_Model: How do i get Temperature derating Curve of Automotive Fuse after the Fuse Temperature reaches the melting temperature (tripping situation)?
Hi Alpesh, One suggestion: consider using modechart to model discrete states (melt & normal) of your component. You definite h...

1 month ago | 0

Answered
Degenerate mass distribution after reducing step size and using state-space model
ODE4 is an explicit solver, so it tends to be less stable when the time step is "large". You trying to reduce the time step is ...

1 month ago | 2

| accepted

Answered
Is there anyway I can import a SolidWorks Assembly into Simulink and then make changes in SolidWorks appear in Simulink?
It won't be "automatic", and it depends on what you have changed in SolidWorks. It's easy to replace a solid part in Multibod...

1 month ago | 0

| accepted

Answered
How can I fix the "internal energy 'too low' " error in Simscape?
I'll have to make some guess ... could you please check how the heat flows into or out of the H port of the accumulator? The er...

1 month ago | 0

Answered
Is there a way to model a pipe under vacuum pressure using Simscape?
Hey Delika, Thanks for the clarification. It seems to me that it's possible to model the evaporation and condensing effects at...

1 month ago | 1

Answered
How can I properly set a valve with catalogues parameters?
Hi Lucca, To parametrize the pressure-flow curve or an area-vs-position table in the valve block, you'll likely need to use the...

1 month ago | 1

Answered
Retrieve a list of simscape.logging.Node names from simlog or other inner nodes
fieldnames(simlog_ssc_dcmotor) seems to work OK for me. Same way you would get the names of a structure variable. ssc_dcmotor ...

1 month ago | 0

| accepted

Answered
Branching of a two-phase fluid
Hi Kai, You are using the "Orifice (2P)" block to model the valve, right? Good choice, I'd say, but there are a few things you...

2 months ago | 1

| accepted

Answered
Problem with Custom Heat Exchanger (G-TL) model
There is a G-TL heat exchanger block available in Simscape Fluids, starting in R2019a. The source code is not visible since it'...

2 months ago | 0

| accepted

Answered
Cartridge Valve Insert-Simscape Fluid
Looking at the Documentation of this block, I don't think the forces would be in the right direction if you use this block. Als...

2 months ago | 0

Answered
Modelling Wave Forces on a Buoy
Thanks for sharing the model. Looks like the main issue is caused by the source term inside the Heave Wave Force Signal. It ...

2 months ago | 0

| accepted

Answered
Approximated Compressor Map by empirical Coefficients - basic compressor in a moist air network (Aircraft Environmental Crontol System)
Couple things to try: Item 4 in this example allows you to plot the compressor map for the given coefficients. In the actual c...

2 months ago | 0

| accepted

Load more