An Help with ODE system

An Help with ODE system - Сообщения

#21 Опубликовано: 24.11.2020 12:58:16
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Wrote

... up to You the expert !
Cheers ... Jean

Prova modello permeabilita.sm (129 КиБ) скачан 36 раз(а).




yap, there is something in the data that screwup the ro2 and rco2 evaluation

Damned fruits, things whit dead things are much more simple
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#22 Опубликовано: 24.11.2020 14:01:56
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

yap, there is something in the data that screwup the ro2 and rco2 evaluation


Do you mean you have red ?
Quite right about dead fruits.
Here in Québec, the most poisoned strawberries ... 0 poisoned blueberries.
The most idiotic are kiwis from New Zealand, they grow in Québec smaller size, succulent.

I was reading the paper Adams-Moulton, to some casual exception, they are all
same ballistic approximation ... dn_GearsBDF runs 5 to 10 times faster.
From the attached, please report if you have red evaluation.
If so, it would indicate a bug in your latest SS version.
At the first eventual red occurrence, please attach an *.PDF to see the guilty.

See you soon ... Jean

Prova modello permeabilita.sm (170 КиБ) скачан 27 раз(а).


#23 Опубликовано: 24.11.2020 14:33:18
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

From the attached, please report if you have red evaluation.
If so, it would indicate a bug in your latest SS version.


No, Jean, do not mislead the man. If something doesn't work, it doesn't mean there is an error. There are alternative probabilities.

Russia ☭ forever, Viacheslav N. Mezentsev
#24 Опубликовано: 24.11.2020 15:04:57
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

No, Jean, do not mislead the man.
If something doesn't work, it doesn't mean there is an error.
There are alternative probabilities.


I presumed my document didn't work as given.
Let's see what does not evaluate.
Cheers Viacheslav ... Jean
#25 Опубликовано: 24.11.2020 15:10:16
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Yup, isn't a problem of code, is a problem of data.

Now I'm trying to make something different for having an idea of the behaviors.

Basically, I would like to evaluate the two respiration rate at different concentrations, 0%, 5%, 10%, 15% and 20%, so to be able to leave it constant in the ODE splitting the curve into 3 portions.



In any case, there is something in this model that I haven't understand for sure.
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#26 Опубликовано: 24.11.2020 18:51:34
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Ok, after a little bit of scavenging to find the right data, seems that the implementation of uni works quite well!

I have really to thank you a lot for your help, and also I need to understand better how to use gearsbdf and in general all the things that you has write there!

Now I will add other things and reupload the file.

1111.PNG
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#27 Опубликовано: 24.11.2020 18:54:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Yup, isn't a problem of code, is a problem of data.
Now I'm trying to make something different for having an idea of the behaviors.
Basically, I would like to evaluate the two respiration rate at different concentrations,
0%, 5%, 10%, 15% and 20% ...
so to be able to leave it constant in the ODE splitting the curve into 3 portions.
In any case, there is something in this model that I haven't understood for sure.


As given, your system depends upon 9 parameters, of which many may be interactive.
In Mathcad/Mathsoft, we can optimize a DE wrt some parameters of the DE.
Up to 4 parameters is no sweat. See image in the attached document.
This is due to the Mathsoft proprietary bloc Given/Minerr, not known possible in Smath.
On the other hand, in Smath, given a data set, we can attempt to fit a model function.
Just to fit a model, the data set need not be clean. Do you have experimental data ?
In Mathcad, you can set the ODEsolve as a function, if that is possible our friend
Viacheslav will surely reply. On my side, will cogitate.
Cheers ... Jean

ODE Aminohippuric MCD.sm (164 КиБ) скачан 26 раз(а).
#28 Опубликовано: 24.11.2020 19:10:26
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Wrote

Wrote

Yup, isn't a problem of code, is a problem of data.
Now I'm trying to make something different for having an idea of the behaviors.
Basically, I would like to evaluate the two respiration rate at different concentrations,
0%, 5%, 10%, 15% and 20% ...
so to be able to leave it constant in the ODE splitting the curve into 3 portions.
In any case, there is something in this model that I haven't understood for sure.


As given, your system depends upon 9 parameters, of which many may be interactive.
In Mathcad/Mathsoft, we can optimize a DE wrt some parameters of the DE.
Up to 4 parameters is no sweat. See image in the attached document.
This is due to the Mathsoft proprietary bloc Given/Minerr, not known possible in Smath.
On the other hand, in Smath, given a data set, we can attempt to fit a model function.
Just to fit a model, the data set need not be clean. Do you have experimental data ?
In Mathcad, you can set the ODEsolve as a function, if that is possible our friend
Viacheslav will surely reply. On my side, will cogitate.
Cheers ... Jean

ODE Aminohippuric MCD.sm (164 КиБ) скачан 26 раз(а).



This is a really interesting material and I thank you a lot for have share it!

I really need to become more familiar with the software.

In your opinion the book SMath for Physics by Bernard V Liengme is a good investment of time and money?
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#29 Опубликовано: 24.11.2020 23:02:14
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

In your opinion the book SMath for Physics by Bernard V Liengme is a good investment of time and money?


Sorry, I'm not familiar with the book, just aware of it.
Hopefully, Smath Community will advise ... I guess yes.
If not exactly wrt your project, otherwise sure educative.
Cheers ... Jean
#30 Опубликовано: 25.11.2020 07:47:11
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Wrote

Wrote

In your opinion the book SMath for Physics by Bernard V Liengme is a good investment of time and money?


Sorry, I'm not familiar with the book, just aware of it.
Hopefully, Smath Community will advise ... I guess yes.
If not exactly wrt your project, otherwise sure educative.
Cheers ... Jean



eheh We will see, for his price I suppose that I can take the risk.
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#31 Опубликовано: 25.11.2020 08:34:28
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

eheh We will see, for his price I suppose that I can take the risk.


I would recommend just looking at the video courses that are currently available:

- Simple Introduction in SMath with Tanya J. Laird;
- Curso SMath Studio CEI;
- Curso de SMath;
- Marcelo Ortiz Plá.

SMath Suite: A Primer (pdf)
SMath Suite: A Primer (documents)

SMath Suite. A Primer (Bernard Liengme).pdf (2 МиБ) скачан 40 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#32 Опубликовано: 25.11.2020 09:56:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

eheh We will see, for his price I suppose that I can take the risk.


Very minimalist for new Smath user, not familiar with CAS software.
You will find infinitely more stuff/project in Samples Repository.
#33 Опубликовано: 25.11.2020 10:17:47
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Thank you again for all your goods advice.

I had always used an Hp50g, paper, and pen but now I really need to make this step up.

So, I will study well the video and the materials on the forum.

Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#34 Опубликовано: 29.11.2020 14:32:11
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Ok, I started to understand a little bit better how smath work and I really hope it will be able to do what I need because I really like it.

Now, sorry for bothering you again, I would like to have another little help.

To have the model properly working I need to add some other pieces, and I made some tentative to put these pieces is with some uhmmm "horrible" results.

Now, If you can give me feedback on what I have done on pages 2-3 would be lovely

I would like to understand if what I have done is totally wrong or if there are some "grammatical" errors.

So any Help is welcome!




Modeling respiration-transpiration FRA2.sm (46 КиБ) скачан 35 раз(а).
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#35 Опубликовано: 29.11.2020 18:11:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

1. Forget AbsTol, RelTol ... there is no known use, specific to dn_GearsBDF
2. mr.pr not defined
3. Construct the DE piece wise
What you have is so far not same as the previous work
The original *.PDF is so much jargon ... their DE is what you should use.
I can't follow your D(t,oco).

Prova modello permeabilita.sm (158 КиБ) скачан 30 раз(а).
#36 Опубликовано: 29.11.2020 18:22:17
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Wrote

1. Forget AbsTol, RelTol ... there is no known use, specific to dn_GearsBDF
2. mr.pr not defined
3. Construct the DE piece wise
What you have is so far not same as the previous work
The original *.PDF is so much jargon ... their DE is what you should use.
I can't follow your D(t,oco).

Prova modello permeabilita.sm (158 КиБ) скачан 30 раз(а).



Thank's a lot for all the observations!

I thought to had to define m.pr in the stack XD my bad

Now I try to rewrite all in a more clear and comprehensible way, maybe with some comment!
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#37 Опубликовано: 29.11.2020 20:03:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Now I try to rewrite all in a more clear and comprehensible way, maybe with some comment!


... the DE system from the paper. Originally, you composed two DE.
That paper is damned hard to follow, probably a plagia itself.
#38 Опубликовано: 29.11.2020 21:25:48
francesco88

francesco88

1 сообщений из 34 понравились пользователям.

Группа: User

Wrote

Wrote

Now I try to rewrite all in a more clear and comprehensible way, maybe with some comment!


... the DE system from the paper. Originally, you composed two DE.
That paper is damned hard to follow, probably a plagia itself.



Yes, in reality, that two DE was just a first step.

What I need to do is just a little bit more complex than what is written in the first paper, because there are a lot of things that have an influence on the mass transfer in a package.

So, what I'm trying to do is to add a piece at once.

Now, in the last file there are in oco 5 pieces.

[O.2i (oxygen in the package),
C.O2i (CO2 in the package),
m.pr (amount of water that permeate through the plastic film),
W.1 (weight loss of product due to the loss of water),
HR1 (humidity in the package]

Now, unfortunately, all these factors are correlated...and more are needed for describing all the system.

I'm trying to write in a very simple way what I would like to do on the smath file, and I hope it will be possible.


Honest, more I look at the sheet and more it seems a mess to me.

I need to find a way to make it more simple

Presentation1.pdf (107 КиБ) скачан 31 раз(а).
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#39 Опубликовано: 30.11.2020 03:39:42
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

It is possible to solve the system in this way, i.e. integrating each equation separately. But here you need to be very careful.

Modeling respiration-transpiration in a modified atmosphere packaging system containing blueberry 2 (uni).pdf (83 КиБ) скачан 31 раз(а).
Modeling respiration-transpiration in a modified atmosphere packaging system containing blueberry 2 (uni).sm (18 КиБ) скачан 33 раз(а).

Modeling respiration-transpiration in a modified atmosphere packaging system containing blueberry 2 (uni).png
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 30.11.2020 09:49:00
#40 Опубликовано: 30.11.2020 03:54:05
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Euler is still good.

Modeling respiration-transpiration in a modified atmosphere packaging system containing blueberry 2 (uni).png
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 30.11.2020 09:49:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений