elango8

146 Reputation

4 Badges

12 years, 6 days

MaplePrimes Activity


These are replies submitted by elango8

@Axel Vogt 

But the problem with choosing a6=0 ,is validated only after a critical "w" value..so i need to find it first.

I am doing the method suggested by Markiyan Hirnyk , but its tough to exactly locate the critical "w" at which a6 goes to zero or very close to.

I installed the package and could work different values of "w" to determine the unknowns....but as i increase "w" value theoretically a6 should goes to zero and cease to exist in the reaction zone....so there is a critical value of "w" at which this happens depending on the input.

With the code i could vary "w" and see it decreasing and going towards zero but when "w" is increased further all the values a1,a2,a3,a4,a5 goes haywire giving values in mathematical values but not realisitic and a6 value gets too high.

So is there a way for me to find out for this set of equations the value of "w" that would make a6 as close to zero as possible.

Because if i am able to find this "w" out , then for further increase in "w" values i could eliminate a6 from the equation set by assuming it to be zero from then on , and it hence reduces my system of equations to 6 with 6 unknown rather than 7 by 7 as now.

I installed the package and could work different values of "w" to determine the unknowns....but as i increase "w" value theoretically a6 should goes to zero and cease to exist in the reaction zone....so there is a critical value of "w" at which this happens depending on the input.

With the code i could vary "w" and see it decreasing and going towards zero but when "w" is increased further all the values a1,a2,a3,a4,a5 goes haywire giving values in mathematical values but not realisitic and a6 value gets too high.

So is there a way for me to find out for this set of equations the value of "w" that would make a6 as close to zero as possible.

Because if i am able to find this "w" out , then for further increase in "w" values i could eliminate a6 from the equation set by assuming it to be zero from then on , and it hence reduces my system of equations to 6 with 6 unknown rather than 7 by 7 as now.

Do i have to change the way i have made the system of equations , i am trying to modify the file you uploaded with a different "w" value but i get the following error :

Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received DirectSearch

Do i have to change the way i have made the system of equations , i am trying to modify the file you uploaded with a different "w" value but i get the following error :

Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received DirectSearch

I am having a hard time understanding the list procedure , anyways i am gonna read some more on it and give it a try as you suggested.I tried the following link for understanding it better but its more confusing.

http://www.mapleprimes.com/questions/88377-Direct-Search-Optimization-Package

 

 

 

 

 

 

I am having a hard time understanding the list procedure , anyways i am gonna read some more on it and give it a try as you suggested.I tried the following link for understanding it better but its more confusing.

http://www.mapleprimes.com/questions/88377-Direct-Search-Optimization-Package

 

 

 

 

 

 

The problem is mainly because of thee unknown a6 , the nature of the system is such that the value of a6 would decrease and become zero as temperature increases , so i think this is causing some sort of complexities when the solver is trying to find a solution

@epostma 

 

I have made all the changes as suggested and it works fine and solves the issue i had with manually entering the values.I would like to refine it further by eliminating the repeatability in entering the 't' values and also would like to know if there is a way for me to print out the results for a specific 't' and 'w' value , as you can see it takes a lot of time to sort out the results neglecting the unrealistic ones.

paper_MC_Temp_variat.mw

@epostma 

 

I have made all the changes as suggested and it works fine and solves the issue i had with manually entering the values.I would like to refine it further by eliminating the repeatability in entering the 't' values and also would like to know if there is a way for me to print out the results for a specific 't' and 'w' value , as you can see it takes a lot of time to sort out the results neglecting the unrealistic ones.

paper_MC_Temp_variat.mw

I used you idea an sort of integrated the two worksheets using the following procedures but i am having problems when it comes to the final solve procedure , would be helpful if you could look in to it.

 

Here is the file

Equilibrium_Model_pr.mw

I used you idea an sort of integrated the two worksheets using the following procedures but i am having problems when it comes to the final solve procedure , would be helpful if you could look in to it.

 

Here is the file

Equilibrium_Model_pr.mw

I tried with the for loop for calculating all the variables by varying my dependent t value but it works only for one set of equations when i group all the equations together it doesnt work...

I tried with the for loop for calculating all the variables by varying my dependent t value but it works only for one set of equations when i group all the equations together it doesnt work...

Thank you very much for your help it works that way.

Now i am further trying to improve my calculations by integrating separate calculations i do but ihave no clue how to begin with.

E.mw

paper_model_literatu.mw

 

If you look at the 2 files , you could see me calculating the variables k1,k2,h1,h2...etc in file 1 which are in turn used as inputs in file 2 and then the system of equation is solved.

But the problem i have is all my variables calculated in file 1 are function of t , so each time i enter a new t and find the variables for different values of t and then i use them as inputs in file 2.

ex:file 2 has k1vals:=[a b c d] - these four values are calculated by entering different values of t in file 1.

Is there any way to simplify this procedure so i cud do it like a program, where i enter the range of t values like t:[100..500] and then it automatically calculates the variables and uses them as inputs while solving the system of equations ?

 

I know it sounds confusing but i would be glad to explain in detail what i want to do.

1 2 3 Page 2 of 3