Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


4 Pages123>»
Options
Go to last post Go to first unread
Offline efus  
#1 Posted : 23 November 2020 14:31:27(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
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 (129kb) downloaded 13 time(s). Confusion
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Online uni  
#2 Posted : 23 November 2020 14:58:31(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
You need to be more careful about the variables and their order in the document.

ode1.png
Russia ☭ forever
Viacheslav N. Mezentsev
Offline efus  
#3 Posted : 23 November 2020 15:06:26(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: uni Go to Quoted Post
You need to be more careful about the variables and their order in the document.

ode1.png


Biggrin 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
Online uni  
#4 Posted : 23 November 2020 15:08:08(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: efus Go to Quoted Post
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
Offline efus  
#5 Posted : 23 November 2020 15:28:04(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: uni Go to Quoted Post
Originally Posted by: efus Go to Quoted Post
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 Confusion

Now I try to fix a little bit better the file and we will see what other problem come out Biggrin
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
Offline efus  
#6 Posted : 23 November 2020 15:45:41(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: efus Go to Quoted Post
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! Biggrin
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
Offline efus  
#7 Posted : 23 November 2020 16:34:56(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
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 (130kb) downloaded 8 time(s).
Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
Offline Jean Giraud  
#8 Posted : 23 November 2020 18:18:13(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
...

Prova.PNG
Offline efus  
#9 Posted : 23 November 2020 18:26:42(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
...

Prova.PNG


Really thank you for this correction, seems great!

gDry 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
Online uni  
#10 Posted : 23 November 2020 18:45:47(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Russia ☭ forever
Viacheslav N. Mezentsev
Offline efus  
#11 Posted : 23 November 2020 18:49:50(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
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
Offline Jean Giraud  
#12 Posted : 23 November 2020 21:31:15(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: efus Go to Quoted Post
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 (19kb) downloaded 10 time(s).
Offline efus  
#13 Posted : 24 November 2020 03:12:46(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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
Offline efus  
#14 Posted : 24 November 2020 03:16:37(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
... 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

Edited by user 24 November 2020 03:18:22(UTC)  | Reason: Not specified

Veniamo da molto lontano e andiamo molto lontano! Palmiro Togliatti
Online uni  
#15 Posted : 24 November 2020 05:55:07(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
Offline efus  
#16 Posted : 24 November 2020 13:24:14(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: uni Go to Quoted Post
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
Online uni  
#17 Posted : 24 November 2020 14:03:32(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
Offline efus  
#18 Posted : 24 November 2020 14:06:57(UTC)
efus


Rank: Advanced Member

Groups: Registered
Joined: 19/11/2020(UTC)
Posts: 34
Man
Italy
Location: Ireland

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: uni Go to Quoted Post
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
Offline Jean Giraud  
#19 Posted : 24 November 2020 17:06:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: efus Go to Quoted Post
I mean, I'm expecting to see something like that (the thick blue lines)

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

BlueBeerries.PNG

Offline Jean Giraud  
#20 Posted : 24 November 2020 17:36:51(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... up to You the expert !
Cheers ... Jean

Prova modello permeabilita.sm (130kb) downloaded 12 time(s).
Users browsing this topic
4 Pages123>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.