Answered
Binary Mixtures using coolprop in Matlab
Looks like you can use the MATLAB wrapper for Coolprop to define a mixture and query the properties, like below: py.CoolProp.Co...

12 months ago | 1

Answered
How to plot pump and system curve based on the hydraulic model in Simscape / Simulink?
To summarize the discussion from the comments section: The pump curves can be generated from the pump blocks in Simscape Fluids...

12 months ago | 0

Answered
Connection between corrected mass flow and pressure ratio in the Turbine (G) Block
Summary from the discussion in the Comments section. While the formulation isn't given in the Documentation page of the Turbine...

12 months ago | 0

Answered
Definition of Reynolds number for MA side in Heat Exchanger (2P-MA) model
I checked the source code: for generic geometry, the hydraulic diameter is calculated as 4 * generic_fluid_volume / generic_he...

12 months ago | 0

Answered
Heat Pump Air Conditioner
Hello, I would suggest that you take a close look at this Documentation page "Model a Refrigeration Cycle" https://www.mathwor...

12 months ago | 0

| accepted

Answered
Two-phase exchanger with evaporator that loses pressure at the outlet.
Check out this documentation page and carefully follow the workflow. https://www.mathworks.com/help/hydro/ug/modeling-a-refrige...

1 year ago | 1

Answered
Implementation of two-phase liquid out of REFPROP into simscape
In the same Documentation page, there is an example of using the same command to assign the properties to a Two-Phase Fluid Prop...

1 year ago | 0

| accepted

Answered
How can I solve the error generated by a T-Junction when there is a Parallel Channels block in my simscape fluid model?
Hi Miguel, In the model you shared, the T-junction has the default initial flow target of 0 at all ports and "high" priority. ...

1 year ago | 1

Answered
Data center Simscape modelling
There is a shipping example on data center cooling, in R2023a. https://www.mathworks.com/help/hydro/ug/data-center-cooling.html...

1 year ago | 0

Answered
Fin Surface Area Condenser-Evaporator (2P-MA) Simscape Fluids
In the parameter dialog, the fin area for the MA side are for those thin foil/sheet you see on the outside of the tubes. The wa...

1 year ago | 1

| accepted

Answered
Cooling system whit Ammonia not run
Hi Francesco, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fix...

1 year ago | 0

Answered
Error using System-Level Refrigeration Cycle (2P)
Hi Carlo, We believe the error has to do with the fact that NH3 has a non-monotonic supercritical line. It needs to be fixed i...

1 year ago | 0

Answered
Simscape two-phase fluid in closed accumulator looses pressure
Hi Patrick, I believe what you are seeing is the result of the "upwind energy scheme" implemented at all ports of thermo-fluids...

1 year ago | 1

| accepted

Answered
how mixing pressure Pm is calculated in gas ejector model of Matlab
This pm term is EVERYWHERE in the governing equations of the ejector. It's solved for implicitly to keep the system of equation...

1 year ago | 1

Answered
How to model actuator ports in Simscape fluids?
I'd encourage you to think more about the "effect" of a port in the actual system, instead of just having the actually values of...

1 year ago | 0

Answered
issues on Heat exchanger in simscape TL-MA
Setting reasonable parameters to discribe the nominal conditions for the heat exchanger seem to resolve the issue. Pay particul...

1 year ago | 0

| accepted

Answered
In a Simscape Fluids/Hydraulic/IL centrifugal pump model, why is the flow higher after narrow pipe than directly after the pump?
In the Isothermal Liquid domain, the density of the fluid is a function of the pressure. See this documentation page: https://w...

1 year ago | 3

| accepted

Answered
How can I mode the refrigeration cycle considering frosting in the evaporator in simscape
Hi Shuping, You are correct about the condensed water being removed right away (like magic) from the MA domain. Therefore, no ...

1 year ago | 0

Answered
Modelling a layer of water crossed by a water circulation.
Hi Lucas, Check out the attached modified .ssc file and a simple test harness. I keep most of the equations from constant volu...

1 year ago | 0

| accepted

Answered
problem with ssc_build to generate custom simscape library
The input to the ssc_build command should be the directory name, instead of the .ssc file name. The directory can contain multi...

1 year ago | 0

| accepted

Answered
Two-Phase Cascade Heat Exchanger
Suggestion: check the parameters you've set for the heat exchanger, source, and reservoir blocks. Pay special attention to the ...

1 year ago | 0

| accepted

Answered
Modelling a layer of water crossed by a water circulation.
For the thermal liquid and almost all other fluids domains, you'll see a "port_convection" connection in the component block. C...

1 year ago | 0

Answered
variation of liquid and gas over time and the pressure variation inside a tank
The two absoluate reference block I believe will enforce the temperature and pressure to be 0K and 0Pa, respectively. Use Cap i...

1 year ago | 0

| accepted

Answered
Increase power compressor 2 phases simscape
Scale up the mass flow lookup table inside the compressor map block. You will then get more flow for the same RPM and pressure ...

1 year ago | 0

Answered
Can T-Junction (IL) be used to merge 2 pipe flows?
Yes, sure, although it's not necessary if you just want to merge two flows. You may just connect both B ports to the next compo...

1 year ago | 0

| accepted

Answered
Calculating Work done by a Closed Cylinder in Simulink and Simscape
You mentioned that you are using Simscape for the simulation of the cylinder. If that is indeed the case, I believe it would be...

1 year ago | 0

| accepted

Answered
What causes the pressure to be different in the shown figure when I use flow divider which must be dividing the flow equally?
The pressure sensor is an across variable sensor and no flow will go through the block. So your motor isn't getting any fluid t...

1 year ago | 0

| accepted

Answered
Which blocks could I use to model a hydraulic turbine in Simscape?
Some ideas: This hydraulic motor may be useful, though I suspect the shape of its performance curve may not be like that of a t...

1 year ago | 0

Answered
TL pressure Keep descending until the error is reported below the minimum effective value in matlab "official example of heat pump"
It's a model problem, in my opinion, meaning some important feature is missing from the model. In this case, some type of tank ...

1 year ago | 0

Answered
Does simscape two-phase element "2P pipe" allows constant temperature , constant pressure and constant mass flow rate as inputs?
The source block is only responsible of driving a flow. The states, temperature and/or pressure, are set mainly by the conditio...

1 year ago | 0

Load more