equation system with time and space derivation

4 views (last 30 days)
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

Accepted Answer

Alan Stevens
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
badia rt
badia rt on 29 Oct 2020
thanks a lot Alan Stevens what is the value of "tau" that make this curve for solar flux G .is it the same shape of the curve for the other output??means Tglass Tpvt Twax Tfluid
about dTfluid/dz i didn't have other equations but we can make an assumption that the temperature is uniforme in each section or there is a linear variation
Alan Stevens
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming 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!