Create a model to solve an energy balance

6 views (last 30 days)
kasim on 30 Mar 2020
Commented: kasim on 1 Apr 2020
Hi, I am trying to use MATLAB to create a model that can solve a set of equations. I have attached an image of the equations I am trying to solve. Essentially, there are 3 unknowns, Tout, Tp & Tg.
I wanted to ask which would be the best way to solve this on MATLAB, i have tried to use matrices but the temperatures I am getting are very high. Is there any other method that could be used to solve these equations?
Kind regards
darova on 30 Mar 2020
Experiment with x0 (initial guess) for different outputs

Sign in to comment.

Answers (1)

Alex Sha
Alex Sha on 31 Mar 2020
Hi, I get two solutions:
No. 1 2
tg -328.861557610457 -549.471818197512
tm 1.72830356360143 -541.712011528394
hrpg -0.00727597589137702 -11.1180945451184
tp 326.846969797053 -548.48073838475
hrgs 0.0134500837438822 -4.90776624779464
tout -326.543392872797 -1413.42402305679
kasim on 1 Apr 2020
Hi, Could you show me how you coded this?

Sign in to comment.


Find more on Electrical Block Libraries in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by