Difference between revisions of "Team:Calgary/Notebook"

 
Line 947: Line 947:
 
</p><p>Created outline for testing and validation.
 
</p><p>Created outline for testing and validation.
 
</p><p>Explored MLP's for multivariate regression on time series.
 
</p><p>Explored MLP's for multivariate regression on time series.
<<<<<IMAGE>>>>>
 
  
 
</p><p><h6>Economic Modelling (Italian Wedding Soup)</h6>
 
</p><p><h6>Economic Modelling (Italian Wedding Soup)</h6>
Line 966: Line 965:
 
</p><p><h6>protein modelling: </h6>
 
</p><p><h6>protein modelling: </h6>
 
</p><p>Started gathering RMSDs, videos, and summaries to inform wetlab based on the 6gix modifications presented last week.
 
</p><p>Started gathering RMSDs, videos, and summaries to inform wetlab based on the 6gix modifications presented last week.
Generated Summmary graphs to compare stability between 6gix and tagged proteins. <<<<<IMAGE>>>>>
+
Generated Summmary graphs to compare stability between 6gix and tagged proteins.
 
</p>
 
</p>
 
</div>
 
</div>
Line 1,045: Line 1,044:
 
Hybrid PNMM model completed.
 
Hybrid PNMM model completed.
 
Sunny Days writeup begins.
 
Sunny Days writeup begins.
<<<<<image.png>>>>>>>>>>
 
  
 
</p><p><h6>Salad Dressings (SCALE UP):</h6>
 
</p><p><h6>Salad Dressings (SCALE UP):</h6>
Line 1,104: Line 1,102:
 
</p><p>Created McCabe-Thiele Script for Liquid-Liquid Extractions at low concentrations. Will derive a kremser equation as well to analytically determine stage number. Goal is to consider alternative process operations to syn-bio for comparative assesment (we want syn-bio approach to be clearly better).  
 
</p><p>Created McCabe-Thiele Script for Liquid-Liquid Extractions at low concentrations. Will derive a kremser equation as well to analytically determine stage number. Goal is to consider alternative process operations to syn-bio for comparative assesment (we want syn-bio approach to be clearly better).  
  
<<<<image.png>>>>
 
  
 
</p><p>More practice with emulsions. testing different formulations and observing size (emulsion structure). Began to look into possible neural net approach - different types of hybrid nets are used in similar studies, but existing approaches have illogical mehtods - like using 1 net to predict different ampiphile effects, and not including HBL or OHBLD measurement. Jake, Rylan, and Andrew mentioned that a classification approach using SVM and/or k-means clustering might be able to interporlate rather than using a neural net.  
 
</p><p>More practice with emulsions. testing different formulations and observing size (emulsion structure). Began to look into possible neural net approach - different types of hybrid nets are used in similar studies, but existing approaches have illogical mehtods - like using 1 net to predict different ampiphile effects, and not including HBL or OHBLD measurement. Jake, Rylan, and Andrew mentioned that a classification approach using SVM and/or k-means clustering might be able to interporlate rather than using a neural net.  
Line 1,140: Line 1,137:
 
Created Supply/Demand Plot for Farmers
 
Created Supply/Demand Plot for Farmers
 
</p><p>
 
</p><p>
<<<<image.png>>>>
 
 
Found cost of clays/shipping as well as many other factors for the project
 
Found cost of clays/shipping as well as many other factors for the project
  
Line 1,180: Line 1,176:
 
</p><p>
 
</p><p>
  
1
 
2
 
95.00 8.66 90.00 0.00 10.00
 
3
 
61.67 8.66 56.67 33.33 10.00
 
4
 
45.00 8.66 40.00 50.00 10.00
 
90.00 17.32 80.00 0.00 20.00
 
5
 
35.00 8.66 30.00 60.00 10.00
 
70.00 17.32 60.00 20.00 20.00
 
6
 
28.33 8.66 23.33 66.67 10.00
 
56.67 17.32 46.67 33.33 20.00
 
85.00 25.98 70.00 0.00 30.00
 
7
 
23.57 8.66 18.57 71.43 10.00
 
47.14 17.32 37.14 42.86 20.00
 
70.71 25.98 55.71 14.29 30.00
 
8
 
20.00 8.66 15.00 75.00 10.00
 
40.00 17.32 30.00 50.00 20.00
 
60.00 25.98 45.00 25.00 30.00
 
80.00 34.64 60.00 0.00 40.00
 
9
 
17.22 8.66 12.22 77.78 10.00
 
34.44 17.32 24.44 55.56 20.00
 
51.67 25.98 36.67 33.33 30.00
 
68.89 34.64 48.89 11.11 40.00
 
10
 
15.00 8.66 10.00 80.00 10.00
 
30.00 17.32 20.00 60.00 20.00
 
45.00 25.98 30.00 40.00 30.00
 
60.00 34.64 40.00 20.00 40.00
 
75.00 43.30 50.00 0.00 50.00
 
11
 
13.18 8.66 8.18 81.82 10.00
 
26.36 17.32 16.36 63.64 20.00
 
39.55 25.98 24.55 45.45 30.00
 
52.73 34.64 32.73 27.27 40.00
 
65.91 43.30 40.91 9.09 50.00
 
12
 
11.67 8.66 6.67 83.33 10.00
 
23.33 17.32 13.33 66.67 20.00
 
35.00 25.98 20.00 50.00 30.00
 
46.67 34.64 26.67 33.33 40.00
 
58.33 43.30 33.33 16.67 50.00
 
70.00 51.96 40.00 0.00 60.00
 
13
 
10.38 8.66 5.38 84.62 10.00
 
20.77 17.32 10.77 69.23 20.00
 
31.15 25.98 16.15 53.85 30.00
 
41.54 34.64 21.54 38.46 40.00
 
51.92 43.30 26.92 23.08 50.00
 
62.31 51.96 32.31 7.69 60.00
 
14
 
9.29 8.66 4.29 85.71 10.00
 
18.57 17.32 8.57 71.43 20.00
 
27.86 25.98 12.86 57.14 30.00
 
37.14 34.64 17.14 42.86 40.00
 
46.43 43.30 21.43 28.57 50.00
 
55.71 51.96 25.71 14.29 60.00
 
65.00 60.62 30.00 0.00 70.00
 
15
 
8.33 8.66 3.33 86.67 10.00
 
16.67 17.32 6.67 73.33 20.00
 
25.00 25.98 10.00 60.00 30.00
 
33.33 34.64 13.33 46.67 40.00
 
41.67 43.30 16.67 33.33 50.00
 
50.00 51.96 20.00 20.00 60.00
 
58.33 60.62 23.33 6.67 70.00
 
16
 
7.50 8.66 2.50 87.50 10.00
 
15.00 17.32 5.00 75.00 20.00
 
22.50 25.98 7.50 62.50 30.00
 
30.00 34.64 10.00 50.00 40.00
 
37.50 43.30 12.50 37.50 50.00
 
45.00 51.96 15.00 25.00 60.00
 
52.50 60.62 17.50 12.50 70.00
 
60.00 69.28 20.00 0.00 80.00
 
17
 
6.76 8.66 1.76 88.24 10.00
 
13.53 17.32 3.53 76.47 20.00
 
20.29 25.98 5.29 64.71 30.00
 
27.06 34.64 7.06 52.94 40.00
 
33.82 43.30 8.82 41.18 50.00
 
40.59 51.96 10.59 29.41 60.00
 
47.35 60.62 12.35 17.65 70.00
 
54.12 69.28 14.12 5.88 80.00
 
18
 
6.11 8.66 1.11 88.89 10.00
 
12.22 17.32 2.22 77.78 20.00
 
18.33 25.98 3.33 66.67 30.00
 
24.44 34.64 4.44 55.56 40.00
 
30.56 43.30 5.56 44.44 50.00
 
36.67 51.96 6.67 33.33 60.00
 
42.78 60.62 7.78 22.22 70.00
 
48.89 69.28 8.89 11.11 80.00
 
55.00 77.94 10.00 0.00 90.00
 
19
 
5.53 8.66 0.53 89.47 10.00
 
11.05 17.32 1.05 78.95 20.00
 
16.58 25.98 1.58 68.42 30.00
 
22.11 34.64 2.11 57.89 40.00
 
27.63 43.30 2.63 47.37 50.00
 
33.16 51.96 3.16 36.84 60.00
 
38.68 60.62 3.68 26.32 70.00
 
44.21 69.28 4.21 15.79 80.00
 
49.74 77.94 4.74 5.26 90.00
 
 
<<<image.png>>>
 
  
 
</p><p>Created a prototype SVM and neural net model for ternary phase diagrams through changing temperature in order to extrapolate and interpolate the phase behaviour of systems in temperature.
 
</p><p>Created a prototype SVM and neural net model for ternary phase diagrams through changing temperature in order to extrapolate and interpolate the phase behaviour of systems in temperature.
<<<tempSeriesEx.gif>>>
+
 
  
 
</p><p><h6>Weather Modelling:</h6>
 
</p><p><h6>Weather Modelling:</h6>
Line 1,311: Line 1,196:
 
<p><h6>Clay Filtration: </h6>
 
<p><h6>Clay Filtration: </h6>
 
</p><p>We filtered chlorophyllated oil through acid activated clay. These pictures show the before/after filtration. it filters well but these conditions cause a 20% mass loss in canola oil (yikes.)
 
</p><p>We filtered chlorophyllated oil through acid activated clay. These pictures show the before/after filtration. it filters well but these conditions cause a 20% mass loss in canola oil (yikes.)
</p><p><<<IMG_20190724_124022.jpg>>>
+
</p><p>
<<<IMG_20190724_124015.jpg>>>
+
  
  
  
<<<image.png>>>
 
  
  
Line 1,333: Line 1,216:
 
</p><p><h6>Economic Modelling:</h6>
 
</p><p><h6>Economic Modelling:</h6>
  
<<<image.png>>>
 
  
<<<image.png>>>
+
 
 
</p>
 
</p>
 
</div>
 
</div>
Line 1,356: Line 1,238:
 
</p><p><h6>Phase Diagrams:</h6>
 
</p><p><h6>Phase Diagrams:</h6>
 
</p><p>Worked on SVM, K-nearest-neighbours, and MLP primary stage phase diagram interpolation.
 
</p><p>Worked on SVM, K-nearest-neighbours, and MLP primary stage phase diagram interpolation.
<<<Phase 1 Comparison.png>>>
 
 
Used the first batch of real experimental results to get MLP secondary stage phase diagram interpolation.
 
Used the first batch of real experimental results to get MLP secondary stage phase diagram interpolation.
 
</p><p>
 
</p><p>
<<<KNN training history.png>>>
 
 
Worked on data visualization.
 
Worked on data visualization.
  
Line 1,384: Line 1,264:
 
<h6>Clay Filtration:</h6>
 
<h6>Clay Filtration:</h6>
 
</p><p>Standard dilution curves were built for comparative extraction of chlorophyll. Results were taken at absorbances 649, 664, 670  
 
</p><p>Standard dilution curves were built for comparative extraction of chlorophyll. Results were taken at absorbances 649, 664, 670  
</p><p><<<image.png>>>
 
 
</p><p>Explain T1, t2, t3, then explain what langmuir and freundlich are, not in detail but enough to know what is happening
 
</p><p>Explain T1, t2, t3, then explain what langmuir and freundlich are, not in detail but enough to know what is happening
 
T1  fits langmuir and freundlich well - T2 (60) and T3 (100) don't - might be due to change in physical characteristic of pore site - equivalence in in binding energy is no longer valid. There is a model that described sigmoid-like adsorption, assumptions are different. Refered to as langmuir s-type or sigmoid type.  
 
T1  fits langmuir and freundlich well - T2 (60) and T3 (100) don't - might be due to change in physical characteristic of pore site - equivalence in in binding energy is no longer valid. There is a model that described sigmoid-like adsorption, assumptions are different. Refered to as langmuir s-type or sigmoid type.  
</p><p><<<image.png>>>
 
 
</p><p>Performed a second round of experiments on T1 with 0.5%, 1%, 2%, 2.5% and 5% loadings at T1. Isotherm results are given below. Still need an effective way to describe oil loss mathematically as a function. It seems that the chlorophyll absorbance data fits the langmur isotherm at this temp well. Still need to include the quality of fitting parameters in the scripts.  
 
</p><p>Performed a second round of experiments on T1 with 0.5%, 1%, 2%, 2.5% and 5% loadings at T1. Isotherm results are given below. Still need an effective way to describe oil loss mathematically as a function. It seems that the chlorophyll absorbance data fits the langmur isotherm at this temp well. Still need to include the quality of fitting parameters in the scripts.  
 
</p><p>
 
</p><p>
<<<image.png>>>
 
 
</p><p>Experimental results also have begun to show the relationship between %removal and temperature. Higher temperature, as predicted, allows improved removal of chlorophyll, but also causes a lower loss in oil. Thus, higher temperature operaiton has a higher oil recovery ratio. However it is more expensive to operate at a higher temperature - will attempt to adress this with economic trade off. A possible approach would be co-optimization of clay and protein bleaching. Still need to formulate continuum models. Possible approach would be to build solid/liquid separation into a black box model, and allow it to operate continously. Perform heat exchanger calculations off of slurry output.  
 
</p><p>Experimental results also have begun to show the relationship between %removal and temperature. Higher temperature, as predicted, allows improved removal of chlorophyll, but also causes a lower loss in oil. Thus, higher temperature operaiton has a higher oil recovery ratio. However it is more expensive to operate at a higher temperature - will attempt to adress this with economic trade off. A possible approach would be co-optimization of clay and protein bleaching. Still need to formulate continuum models. Possible approach would be to build solid/liquid separation into a black box model, and allow it to operate continously. Perform heat exchanger calculations off of slurry output.  
 
  </p><p>
 
  </p><p>
<<<image.png>>>
 
<<<image.png>>>
 
  
 
</p><p><h6>Phase Diagrams:</h6>
 
</p><p><h6>Phase Diagrams:</h6>
 
</p><p>SVM hyperparameter (gamma and cost) optimization algorithms implemented in addition to the K optimizations for K nearest neighbours. Improved results seen.
 
</p><p>SVM hyperparameter (gamma and cost) optimization algorithms implemented in addition to the K optimizations for K nearest neighbours. Improved results seen.
<<<Optimized Comparison.png>>>
 
 
</p><p><h6>Protein Modelling:</h6>
 
</p><p><h6>Protein Modelling:</h6>
  
Line 1,408: Line 1,282:
 
Also started looking into utility costs. Utilities can extrapolate the total cost of the operation. utilities generally are 15% of the cost of operation. using [Towler,_Gavin;_Sinnott,_Ray_K.]_Chemical_Engineer(z-lib.org).pdf
 
Also started looking into utility costs. Utilities can extrapolate the total cost of the operation. utilities generally are 15% of the cost of operation. using [Towler,_Gavin;_Sinnott,_Ray_K.]_Chemical_Engineer(z-lib.org).pdf
 
</p><p>
 
</p><p>
<<<image.png>>>
 
 
</p>
 
</p>
 
</div>
 
</div>
Line 1,427: Line 1,300:
 
</p><p><h6>Phase Diagrams:</h6>
 
</p><p><h6>Phase Diagrams:</h6>
 
Continued working on data visualization techniques.
 
Continued working on data visualization techniques.
<<<ternaryPhaseDiagram.gif>>>
 
 
</p><p><h6>Protein Modelling:</h6>
 
</p><p><h6>Protein Modelling:</h6>
  
Line 1,436: Line 1,308:
 
</p><p>Created a script based on multiple assumptions that calculates the needed recycling capablities to have a decent return on investment. If we recycle less than 99.8% of protein there will not be a return on investment whilst there is a return on investment just shy of 5 years with a recycle factor of 99.91%
 
</p><p>Created a script based on multiple assumptions that calculates the needed recycling capablities to have a decent return on investment. If we recycle less than 99.8% of protein there will not be a return on investment whilst there is a return on investment just shy of 5 years with a recycle factor of 99.91%
  
<<<image.png>>>
 
 
<<<image.png>>>
 
  
<<<image.png>>>
 
 
</p>
 
</p>
 
</div>
 
</div>
Line 1,795: Line 1,663:
 
Created and printed first seed holder. The PLA formed in such a way that the divots were too shallow to use.
 
Created and printed first seed holder. The PLA formed in such a way that the divots were too shallow to use.
 
Generated another seed holder with more breathing room but it ultimately failed due to being processed with too low of a fill percentage
 
Generated another seed holder with more breathing room but it ultimately failed due to being processed with too low of a fill percentage
<<<OpenCVOE.png>>>
 
  
 
</p><p><h6>Codon Optimization:</h6>
 
</p><p><h6>Codon Optimization:</h6>
Line 1,821: Line 1,688:
 
A successful print of the seed holder was also stolen from the printer this week :(
 
A successful print of the seed holder was also stolen from the printer this week :(
 
Refined the colour analysis software.
 
Refined the colour analysis software.
<<<OpenCVJourno.png>>>
 
  
 
</p><p><h6>Codon Optimization:</h6>
 
</p><p><h6>Codon Optimization:</h6>
Line 1,876: Line 1,742:
 
</p><p><h6>Codon Optimization:</h6>
 
</p><p><h6>Codon Optimization:</h6>
 
</p><p>GREAT SUCCESS ACTUALLY PASSES TESTS
 
</p><p>GREAT SUCCESS ACTUALLY PASSES TESTS
<<<<image.png>>>>
 
 
Next step: Make my changes run without issue, pass arguments through a script, and then submit a pull request
 
Next step: Make my changes run without issue, pass arguments through a script, and then submit a pull request
 
PULL REQUEST SENT IN, decreases code coverage whatever that means. It is extremely easy for django to use it so it should be fine
 
PULL REQUEST SENT IN, decreases code coverage whatever that means. It is extremely easy for django to use it so it should be fine
Line 1,923: Line 1,788:
 
</p><p>Brian hates the aesthetic.
 
</p><p>Brian hates the aesthetic.
 
</p><p>Proposes solutions that are incompatible with tox (py version 3.6 gets angry)
 
</p><p>Proposes solutions that are incompatible with tox (py version 3.6 gets angry)
</p><p>When told he said to "Just bump the requirements up to python 3.7" Which i dont fucking know how to do. So I'm in a bit of a pickle
+
</p><p>When told he said to "Just bump the requirements up to python 3.7" Which i don't know how to do. So I'm in a bit of a pickle
 
</p><p>I've also been working on the look of the website.
 
</p><p>I've also been working on the look of the website.
 
</p><p>I also tested the software, (unoptimized) on sequences. I ran it on modGIX, and it worked very well, no issue.  
 
</p><p>I also tested the software, (unoptimized) on sequences. I ran it on modGIX, and it worked very well, no issue.  
Line 1,976: Line 1,841:
  
  
<<image.png>>
 
 
</p><p>The modified flood fill algorithm used by the program was visualized.
 
</p><p>The modified flood fill algorithm used by the program was visualized.
 
</p><p>
 
</p><p>
<<FlooFill_1.gif>>
 
 
</p><p><h6>
 
</p><p><h6>
 
Codon Optimization:</h6>
 
Codon Optimization:</h6>

Latest revision as of 03:14, 22 October 2019

Notebook

Entries