equation system with time and space derivation
4 views (last 30 days)
Show older comments
hello everyone!
i have an equation system for a solar panel formed by 4 equations 3 of them are depending only on time variation and the last one is depending on time and space variation .could you help me to implement the last equation on matlab .does ode45 works to solve this equation system .
dTfluid/dz i: the variation of temperature in the coil
best regards
0 Comments
Accepted Answer
Alan Stevens
on 28 Oct 2020
You could use the pdepe function (try doc pdepe). Alternatively, explicitly discretise z and use ode45 to solve the time dependence for each section.
8 Comments
Alan Stevens
on 29 Oct 2020
Sorry, I should have noted that tau is just 6000, as in your original expression for sinterm.
There was no sensible solution for the other temperatures, but I didn't try further because of uncertainty in the z dependence. if the temperature is uniform along z then the dTfluid/dT will be zero (as it is in what I've supplied so far). If there is a inear variation then you will need to specity its magnitude.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!