### Quick Start

This is a major app. It tells you what is going on inside a crosslinking system made of multiple components (epoxies, urethanes, polyols...) with different functionalities. I have not yet got a UV curing version!.

X
Wt% A
%B Side React.
A:B Ratio
Gel Point
MWt @ Gel-1%

The app assumes you have some A-B reactive system such as epoxy-polyol, urethane-polyol or some sort of melamine system. [It also assumes that each group reacts at the same rate] You might have 100% of a 6-functional A and 100% of 2-functional B (in a 1:3 ratio) or you might have some 2-, 3-, 4-functional A's and 3-, 4- functional B's in any combination. What you want to know is how quickly it gels, how much soluble material remains and how much of each functionality is used up.

Thanks to the magic of the Miller-Macosko (MM) approach1, this is all easily calculable. Well, not "easily" for me as I simply could not work it out. Fortunately, Dr David Bauer from Ford provided a paper2 with computer code in the appendix and I was able to translate it from ancient command-line BASIC into modern Javascript.

First, play with the examples (you can create your own as described below). The names don't mean much but some of them are literature examples I used to validate the app. They each start with a closely-matched functionality of A:B and you can see what happens when you play with that ratio. Because the % Conversion axis is of A, if you have more A than B then the % Conversion stops when you have run out of B.

You get some obvious output values plus some graphs

1. The A:B functionality ratio which generally should be close to 1
2. The Gel Point
3. The MWt at 1% conversion below the gel point. This isn't very meaningful, but gives an idea of what is happening.
4. Plot of the MWt as a % of the recorded MWt. With the mouse over the graph you get the actual value.
5. The % soluble fraction
6. A measure of the crosslink density, discussed below
7. Graphs of how much of each of 3 of your chosen functionalities exist as the cure progresses, discussed below.

X[m,f] is the nomenclature used by MM for describing how much reacted functionality, m, exists of each group with total functionality f. These values can be readily calculated, but as there can be lots of them they are restricted to your choice of f (from 3 to 6), with m=f-2, f-1, f. So if you are interested in your 4-functional reactants you select X=4 and see how much 2-, 3- and 4-functionalised material there is. The magnitude depends on the % 4-functional material at the start.

The Links output is something like a cross-link density but is defined by MM in a way that I don't properly understand. If you react a 6-function with a 2-functional you get zero links, only 3-function and more count towards this. If someone can better explain it and check the calculation, I will update the text and (if necessary) app. The mouse output gives the actual values.

### Not 100% conversion!

The app shows what happens up to 100% conversion of the A groups. But of course, many reactions stop at a much lower % conversion because groups cannot move to find each other - unless you raise the temperature to allow more freedom to move.

It is important, therefore, to have a realistic idea of your % conversion and read off values at that % and ignore everything above it as irrelevant.

### Side Reactions (Self-Condensation)

Sometimes the B component can get involved in side reactions. Bauer included this effect ("self condensation") in his code and I've added the effect. If you happen to know about self-condensation (and, if I understand correctly, side reactions with water) then feel free to change the %B Side React. value.