An Help with ODE system

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

#1 Опубликовано: 23.11.2020 08:31:27
francesco88

francesco88

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

Группа: User

Hello everyone, I have started to use this program from just a couple of days and I have some problems with the model that I'm trying to implement.

So basically I have two ODE with into them some parameters that changing in time...Obviously, nothing work and I would like to have a little bit of help.

Ok, I'm not the best at explaining this, so I attach the file and I hope that someone can give me some good advice to make this thing work!

Prova modello permeabilita.sm (128 КиБ) скачан 35 раз(а).
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#2 Опубликовано: 23.11.2020 08:58:31
Вячеслав Мезенцев

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

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

Группа: Moderator

You need to be more careful about the variables and their order in the document.

ode1.png
Russia ☭ forever, Viacheslav N. Mezentsev
#3 Опубликовано: 23.11.2020 09:06:26
francesco88

francesco88

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

Группа: User

Wrote

You need to be more careful about the variables and their order in the document.

ode1.png



:d This seems to me a great advice!

Now I try to fix it and, in general, to be more ordered.
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#4 Опубликовано: 23.11.2020 09:08:08
Вячеслав Мезенцев

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

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

Группа: Moderator

Wrote

Now I try to fix it and, in general, to be more ordered.



If you describe the original system, it becomes clearer what you want to get.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Опубликовано: 23.11.2020 09:28:04
francesco88

francesco88

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

Группа: User

Wrote

Wrote

Now I try to fix it and, in general, to be more ordered.



If you describe the original system, it becomes clearer what you want to get.



Basically, this set of equations should describe the evolution of the atmosphere inside a packaging.

So we have O2i which is the evolution of oxygen inside the packaging, which decreases because inside there is a fruit that breathes.
Co2i is the evolution of CO2, which increases because the fruit emits it.
ro2 and rco2 would be the breathing of the fruit, which also changes according to the atmosphere of the packaging.

Is a model that you can find in the article:
Modeling respiration–transpiration in a modified atmosphere packaging system containing blueberry
Yoonseok Song a, Nick Vorsa b, Kit L. Yam a,*


And yes...probably isn't the best choices for a first try but unfortunately its what I need

Now I try to fix a little bit better the file and we will see what other problem come out :d
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#6 Опубликовано: 23.11.2020 09:45:41
francesco88

francesco88

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

Группа: User

Wrote

Wrote

So we have O2i which is the evolution of oxygen inside the packaging,
which decreases because inside there is a fruit that breathes.


Most interesting/waiting to taste the fruit from your project !
Cheers ... Jean



hoping they are not poisoned! :d
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#7 Опубликовано: 23.11.2020 10:34:56
francesco88

francesco88

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

Группа: User

Ok, seems that I was able to do some progress here but, obviously, there is something that I think doesn't work

11.PNG

In your opinion this way the value of rco2 change with the new value of Co2i or it remains the initial value that I have set?

Prova modello permeabilita.sm (129 КиБ) скачан 27 раз(а).
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#8 Опубликовано: 23.11.2020 12:18:13
Jean Giraud

Jean Giraud

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

Группа: User

...

Prova.PNG
#9 Опубликовано: 23.11.2020 12:26:42
francesco88

francesco88

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

Группа: User

Wrote

...

Prova.PNG



Really thank you for this correction, seems great!

g Ok, definitely I have to study hard and better how to use smath and repay the community.
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#10 Опубликовано: 23.11.2020 12:45:47
Вячеслав Мезенцев

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

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

Группа: Moderator

#11 Опубликовано: 23.11.2020 12:49:50
francesco88

francesco88

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

Группа: User

Thank you a lot for all this advice.

Now I work a little on this thing and we will see what progress I'm able to do.

I'm sure that in the end, it will work!
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#12 Опубликовано: 23.11.2020 15:31:15
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Now I work a little on this thing and we will see what progress I'm able to do.


AbsTol, RelTol is very specific w/o project application(s)
The attached is suggestive of exploring more.

ODE GearsBDF Undocumented.sm (18 КиБ) скачан 31 раз(а).
#13 Опубликовано: 23.11.2020 21:12:46
francesco88

francesco88

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

Группа: User

Wrote

From the web visit, if 9 out of 10 same link are "404",
the originator is negligent, not to say "not trustable"
Paying $ to Elswier ... my ass !
No need for all that jargon, just give what you want to control,
I will close a control loop to optimum degree of accuracy !



Sorry, for sure is for my bad english, I'm missing the meaning.

What I want to obtain is the evolution of the atmospheric concentration and respiration in the packaging.

So something like

111.PNG

That is more or less what uni has done
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#14 Опубликовано: 23.11.2020 21:16:37
francesco88

francesco88

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

Группа: User

Wrote

... blue berries that have been hyper-frozen are much better
than fresh blue berries. I get my fresh blue berries from next farmer,
enjoy fresh and don't freeze. Never purchase blue berries from California
in winter Quebec. Just leave them for the naive shoppers.



Lol..actually I will have to use this for things related to strawberries...I don't even like strawberries...end at the end of the day the thing that I have a real interest to see is how damn big must be the pore in the film for avoid to reach the 0% of O2
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#15 Опубликовано: 23.11.2020 23:55:07
Вячеслав Мезенцев

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

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

Группа: Moderator

You can set breakpoint on line in D(t,oco) and you will see how values changed.

2020-11-24_07-52-23.png
Russia ☭ forever, Viacheslav N. Mezentsev
#16 Опубликовано: 24.11.2020 07:24:14
francesco88

francesco88

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

Группа: User

Wrote

You can set breakpoint on line in D(t,oco) and you will see how values changed.



Yes, I have to study a little bit about this function of smath...to be honest, all the functions!

In general, there is something that doesn't work properly, because the chart describes the depleting and the increment almost linear until the O2 don't reach 0. After that point the CO2 increment start to being described in a "realistic way


I mean, I'm expecting to see something like that (the thick blue lines)

111.PNG
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#17 Опубликовано: 24.11.2020 08:03:32
Вячеслав Мезенцев

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

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

Группа: Moderator

You need to set real values for all variables. It is not entirely clear from the article what values to use. I can't help here, because I'm not familiar with this task.
I have demonstrated how you can solve this problem. Now you just need to correctly describe it in terms of the program. I wish you success.
Russia ☭ forever, Viacheslav N. Mezentsev
#18 Опубликовано: 24.11.2020 08:06:57
francesco88

francesco88

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

Группа: User

Wrote

You need to set real values for all variables. It is not entirely clear from the article what values to use. I can't help here, because I'm not familiar with this task.
I have demonstrated how you can solve this problem. Now you just need to correctly describe it in terms of the program. I wish you success.



Thank you a lot my friend, I really appreciate the help.

When all will be done I will post here the program, so that it can be useful for everyone.
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
#19 Опубликовано: 24.11.2020 11:06:59
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

I mean, I'm expecting to see something like that (the thick blue lines)


Like this ??? ... freak parameters at will .

BlueBeerries.PNG

#20 Опубликовано: 24.11.2020 11:36:51
Jean Giraud

Jean Giraud

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

Группа: User

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

Prova modello permeabilita.sm (129 КиБ) скачан 35 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений