So we have been looking at multivariable interactions and in particular we are looking at interactions between single loop PID controllers, why single loop PID controllers because most of the systems today seem to use multiple PID controllers for controlling achieving desired control. Now what is the problem with multiple PID controllers, I said it is like having multiple drivers in your car, multiple drivers who do not talk to each other, who do not coordinate. Now this can lead to poor control because of lack of coordination between different controllers. So what is the strategy, well most of the large scale systems like chemical refineries or power plants where companies have already invested into single loop PID controllers, they obviously want to continue with that, it is a historical baggage that we carry that we also there are other issues like even though they might have bought a computer control system or DCS still lack of awareness of how to implement advanced control, multivariable control would mean that they continue to use multiple PID controllers which interact and then the way this problem is handled in practices to have programmable logic controllers PLCs together with PID controllers. These PLCs are something like you know they act like a boss, if there is some problem they take some ad hoc actions which are based on experience on some logic derived from experience. If this variable is high and if that variable goes low then shut down the steam or whatever. So there will be logical you know elaborate logic statements which will try to handle safety constraints by some kind of if then else XOR or and so on those kind of blocks and actually designing a system which is interaction between this multi loop PID controllers and this logic is a very complex business it is not so easy and that is because the plant is multivariable everything you know many things affect many outputs, many inputs affect many outputs and the controllers are actually trying to solve this problem using simplistic multiple single loop controllers which is causing problem. There are two solutions to this problem one is try to choose PID controller pairing in such a way what is pairing will come to that try to choose pairing in such a way that there is minimal fight okay after having done that okay tune PID controllers see we know methods of tuning PID controllers for a single loop that is single input single output systems kind of you know back off from tuning which is there for single input single output design a detuned controller okay I am not going to go detail into the detuning of the controller I will just mention it and the third option is of course discard them and go for advanced control to go for multivariable control okay. So this example I was discussing in my last class this is the four tank system quadruple tank system we have actually I think simulink model for this was Krishna you had shared the simulink model for this right and then you can actually if you have access to MATLAB you can run the simulink model there are two PID controllers or there is a PID controller design given in the paper which I have put on the net okay in moodle okay just implement those two PID controllers you will see what happens in simulink it is just take a PID block attach it to this and see what happens when you try to control the system using two PID controllers you can actually simulate and see what happens. Now here this is a multivariable system both the inputs affect both the outputs there are two outputs level in tank one and level in tank two there are two inputs and we know that both the inputs affect both the outputs so how to pair if I do I measure level one and manipulate wall two or wall one okay that is the question now there are two control walls u1 and u2 okay here I have shown you one possible scheme okay there is one there are two possible schemes here one possible scheme here is y1 and u1 now why u1 and u1 right now I am just explaining some concept so numbering is arbitrary what is y1 and what is u1 is so right now so do not think that I have paired one and one that is what I want to convey okay so it did not be that one should be paired with one and two should be paired with two it is not like that so right now I am showing you one scheme other possibility is of course measure y1 and manipulate u2 and measure y2 and manipulate u1 so that is on the scheme which one to choose and why okay so that is the question now as I was explaining to you in the last lecture when there is another loop okay see the difficulty with this kind of a configuration when there are two independent controllers which do not coordinate between each other okay is that they can they can end up you know working against each other they can fight each other see that is because if there is some action planned by the first controller its effect is transmitted to the second loop okay so the second loop gets disturbed as a consequence of manipulated variable action of the first loop and you know it comes back so you put up this loop you unknowingly this PID controller see let us assume that everything is perfect right now both the levels are at steady state somehow level one diverges from the set point what the reaction of the proportional controller PID controller here proportional action will immediately get into action it will start changing the manipulated variable so now there may not be an immediate effect felt because it has to go through this dynamics so initial action is what this direct action is there okay well after sometime the effect of this M1 which is transmitted to Y2 because you change M1 level 2 gets disturbed level 2 gets disturbed controller 2 will come into action now action of controller 2 will come back through G12 to Y1 and this is a loop okay so and you can imagine if you have multiple such PID controllers which are not talking to each other you know this retaliatory actions of other controllers can be quite drastic okay so we have to get some kind of an idea okay if I if I have what is the change in the behavior what is the change in the behavior of Y1 when this loop is open that means that means Y2 is not controlled and when Y2 is controlled okay that is a logical way of going about analyzing the system okay that is what we are going to do in the interaction analysis okay so first thing which I am going to assume that the system is an open loop okay system is an open loop and I am going to do this experiment I am going to give a step change in U1 okay I am going to give a step change in U1 by giving some magnitude change of delta U okay and then I will record output delta Y1 okay the second experiment right now think of this as a thought experiment we are not actually going to perform it in the plant okay we will find some way of doing calculations using just the gain matrix I am looking at right now steady state interactions steady state effects I am kind of ignoring the dynamic component I am looking at large time component steady state behavior okay so if I give a step change in the input the output will go and saturate somewhere in open loop this all of you know okay then what I am going to do is that I am going to close the other loop see I have been looking at interaction between Y1 U1 okay looking at interaction between Y1 U1 what happens to Y1 U1 loop when Y2 U2 loop is closed okay and I want to come up with a major of not just Y2 U2 loop is closed all other loops are closed see suppose you have a system in which there are 5 PID controllers okay I am going to look at Y1 U1 I am going to look at one pair okay and then look at the open loop gain and then look at so called closed loop gain what is this closed loop gain here is that all the other loops closed except Y1 U1 okay all the other loops closed except Y1 U1 so the effect that comes the effect that comes okay when the other loops are closed I am going to call it as a retaliatory effect of the other loops okay retaliatory effect of the other loops so what is my first thing and then I am going to take a ratio of these two I want to find out a ratio of open loop change see this is open loop change when all the loops were open this is change in Y1 total change in Y1 okay when all the loops except Y1 U1 were closed okay every other loop is closed except the one the loop which is under consideration except that loop everything else is closed now I look at a ratio of these two effects okay this ratio is called as relative gain okay so what we are going to do is we are going to find out relative gain for each input and output pairing okay and make use of this relative gain make use of this relative gain see this is delta Y1 divided by delta U I have given same change in both the cases delta U delta Y1 by delta U and this is delta Y1 plus delta Y1 R by delta U delta Y delta Y gets cancelled okay we have those pens well I am calling this one one because we have done pairing of Y1 and U1 if we had done pairing of Y1 U2 I would have called this one two I will come to this little more details now see basically this equation you should look at as delta Y1 by delta U divided by delta Y1 or let us say delta U1 and divided by oh sorry delta Y1 plus delta Y1 R divided by delta U1 now delta U1 delta U1 cancels okay so this and this will cancel and you will get this to be delta Y1 upon delta Y1 plus delta Y1 R so this is retaliatory effect this is the open loop effect linear system they we can just show that the two can be just added okay so and then this index we are going to use for deciding the pairing okay so it is a measure of loop interaction and it can be very useful in pairing it is defined as lambda ij okay relative gain lambda ij is defined as if you do a pairing Y i Uj okay ith output jth input in general you will have a system which have multiple inputs multiple outputs okay and you want to do a pairing which is let us say you choose a pairing there are multiple possible pairings right if you have five inputs five outputs how many pairings you can think of five to the power or five factorial five factorial pairings some of them might be some of them you can eliminate just by logical thinking that from engineering view point some of them are meaningless okay but even if you do all that five factorial is a huge number if you want to screen five factorial even for a five cross five system it is not it is not an easy thing okay to screen so you need some systematic way of screening these multiple options okay so that is why we are coming up with this measure so what we are saying is that this is a relative gain this is between output Y and input Y i and input Uj the gain in the open loop divided by the gain between these two this input output pair with all other loops closed we are not worried how those are closed what is the pairing all other loops are closed perfectly working nicely other loops are closed and only this loop is open okay so when other loops are closed okay so let us see calculation of RGA for a two cross two system very very easy task what is the if I give a step change here in delta U1 okay open loop system this is the steady state equation the steady state equation okay if delta U2 is zero and if delta U1 is changed what will happen see delta Y1 delta Y1 will change because of this equation delta Y1 will be K11 okay and delta Y2 will change which is not equal to zero because because you know you have given change in delta U1 but delta U2 is zero okay but right now we are worried about gain between Y1 and U1 okay so open loop gain delta Y1 to delta U1 is K11 okay now my second situation is this how will you do gain calculations can you do it I have given you this model I have given you this model okay now what if there is a PID controller what will happen if there is a PID controller here if I give a step change in delta U1 what will happen see controller will make sure if it is a PI controller or a PID controller there is no offset okay so the PID controller will act PID controller will act and it will make sure that delta Y2 become zero okay can you calculate the gain for can you calculate the gain between delta Y1 and delta U1 right you know you have this equation you have this equation now because of PID controller is there delta U2 will not be zero delta U2 will be non zero in this case how will delta U2 change as to keep delta Y2 zero so find out and then you find out what should be the gain between delta Y1 and delta U1 under this situation so first you have to solve for delta Y2 equal to zero you have to solve for delta Y2 equal to zero delta Y2 equal to zero will give you delta U2 substitute that in the first equation and then you will get gain between Y1 and U1 you will get delta U2 in terms of delta U1 substitute that in the first equation what do you get what is the answer yeah so if you do this calculations if you do this calculations of delta Y2 equal to zero and put it back okay you will get this particular equation so you can see that the gain the steady state gain when the other loop is closed is different from the steady state gain when the loop other loop is not closed okay so this part this part is coming because of the retaliatory action other loop is reacting and that is what is giving you know that is what is making delta Y1 different now this could be this could be in any we do not know how this is going to be okay sometimes delta Y1 might be smaller sometimes delta Y1 might be larger it all depends upon all these terms K21 K11 K22 and so that so on okay so if I calculate the relative gain so what is what is delta Y1 by delta U1 when the other loops is closed it just given by this value and if you divide K11 open loop by all other loops closed then this is what is the relative gain that you get okay so for a 2 cross 2 system you can very easily show that it is enough to calculate one element all the other elements if this is lambda this will be 1-lambda this will be 1-lambda and this is lambda this can be shown very easily for a 2 cross 2 system okay so this is relative gain for which pairing Y1 U1 this is relative gain for Y1 U2 this is U2 Y1 okay and this is Y2 U2 okay so we have calculated relative gain for each possible pairing okay and now we are going to take a call using values of this relative gain there is one very very nice thing about relative gain see the gains themselves depend upon scaling or the units chosen to represent a variable right a gain would depend upon but relative gain does not depend upon its gain independent it is the unit independent it is scaling independent because it is ratio of 2 gains since it is ratio of 2 gains okay or ratio of gains let us say because 2 is here well in this case yeah ratio of 2 gains in the same units actually whether it is multi variable or single variable it is ratio of 2 gains and it is scaling independent that is very very important this is a measure which is not depending on any which way you represent your variables okay so this is a scaling independent measure and that is why it is very popular well I do not know how much of it is still used in the industry but it is a historically this is a very important development in. So let us look at a simple example again now this is one of the benchmark problems in process control literature this is called as this is a transfer function matrix for a distillation column in which you know mixtures are separated into using relative volatility you separate mixtures of you know lower volatility and higher volatility mixtures are separated so well from a control engineering view point you can look at it as 2 input to output system the purity of the product at the top and the purity of the product at the bottom okay well simplest distillation would be you know you want you have mixture of water and alcohol and you want to get alcohol separated from water okay obviously you are worried about the purity of alcohol which is product which has to be sold in the market. So the top distillate composition let us say it is alcohol and bottom product is water then you have what ethyl alcohol of course I do not know about ethyl alcohol ethyl alcohol also is will come as a top product right ethyl alcohol will be a top product and water will be a bottom product so you are worried about the compositions because you want to sell it to the market okay there are 2 inputs to the system one is reflux that is some part of the product is put back into the distillation column to get good separation good purity and you provide heat input to the system there is a reboiler at the bottom where you provide heat so there are 2 inputs and 2 outputs what should be the pairing okay. So if I do if I take the steady state gains and find out RGA for this relative gain array it turns out to be 2 and minus 1 okay what is the meaning of minus 1 and what is the meaning of 2 how do you interpret let us go back to this definition let us look at this if this ratio is negative what does it mean just try to interpret see let us take you change the input let us take the level case okay I change the wall position okay if I if I increase the flow what should happen to level it should increase okay but suppose RGA for the particular pairing that we have chosen it comes out to be negative means what if I increase the level wall then the level is actually decreasing it is going in the reverse direction okay so when the other loop is present it is completely changing the behavior you know from positive gain it is going to negative gain something which is quite dangerous you do not want this kind of a pairing okay what is the meaning of this going positive but higher value it means that retaliatory action is in the opposite direction but not too much opposite direction you know it is still smaller than the so delta y1 is larger than delta y1 plus delta y1 R retaliatory action is reducing delta y1 okay is reducing delta y1 but then you know it is not so harmful as negative pairing or negative RGA negative RGA means it is changing the direction completely here all that we are saying is that when it is higher than 1 okay so definitely I do not want a pairing in which the gain is changing sign okay so I immediately reject this okay the only possible pairing for this is these two okay so only way I can pair this is okay I have given the pairing here yeah pairing here is the top composition is to be controlled using reflux ratio the bottom composition is to be controlled using or is to be controlled using the bottom flow rate as a manipulated variable okay bottom draw as a might variable so this is what comes out from this analysis okay here I have given some PID tuning parameters do not worry about them right now okay this is just a demonstration of what happens if what is the effect of occurrence of the presence of the other loop see this is this is the this is the control loop see let us look at these two control loops what are the two control loops that we have x d and R x b and R okay now if you do an experiment in which x d and R the loop for the top composition is closed other loop is open if I give a step change in the set point okay if I give a step change in the set point what happens here okay the you know it settles to the new set point within you know seven minutes okay if I repeat my experiment with the other loop closed see what happens if my other loop is closed the settling goes to 35 40 minutes okay so if I do this experiment one loop you know first loop is closed the second loop is open I give a change in the first loop okay the first loop seems to behave very nicely but then this tuning is not going to work okay this tuning is not going to work it is not a good tuning why because because when the other loop is present you know the settling time of seven minutes becomes 35 minutes five times increase not a good idea okay so so what I want to stress here is that I may have obtained this tuning just looking at one loop see what we do in your first course in control you look at tuning methods for single input single output okay we do not worry about what is there in the other loop if I just look at one one loop and tune it without worrying about the other loops okay then when all the loops start working together this will happen okay the same thing happens about the second variable the second variable also very well tuned you know it is a very nicely tuned when it when the other loops are open okay but moment I close the second loop okay then you start getting this behavior oscillator behavior it is no longer settling in five minutes or ten minutes or whatever it is okay so so to nicely tuned controllers tuned individually when they are put together in this particular case because of heavy interactions they start fighting what tells you there is a heavy interaction this RGA this value is 2 this value is minus 1 there is lot of interaction between the loops so now how do you take a call based on RGA values okay so there are some rules to decide about that so just RGA of 2 is causing so much of change in the behavior from you know individually tuned controllers to all controllers working together okay so you can imagine what will happen in a Nemo process well this particular part this particular slide has lot of little bit of complex looking algebra and you can go back and look at it more carefully I am going to go over it very quickly it is a simple derivation how do I calculate RGA for a multiple input multiple output system okay this derivation is for a square system okay it is for a square system there are number of inputs equal to number of outputs so 5 x 5 x 6 x 7 x 7 whatever okay open loop gain of course is given by if you have a steady state gain matrix the open loop gain is given by Isaac element of that matrix okay now if K is the gain matrix okay then K inverse is the gain inverse matrix I am going to call it as K tilde here okay instead of calling it K inverse I am going to call K tilde K tilde is K inverse okay now we want to find out a scenario where why I use a why I use a this loop is open and all the other loops are perfectly controlled am I correct how do you find out relative gain you find out the gain between why I use a in open loop open loop gain is this okay now I want to find out gain between why I use a when why I use a loop is open all the other loops are perfectly closed so why should be 0 except why why I write input no no here I have taken I j I output and j no no no K I j is do why I by do you j no why is the output yeah output I so I want output I to be all but output I to be perfectly controlled so ith output will be non-zero all other will be zero because we are assuming that there are PI controllers controlling all the other outputs or this first one oh yeah this one is yes yeah this is j and I yeah this is steady set between output input j and output I yeah okay so now I want to find out this okay now to find out this see to find out what is the effect of u when all the other loops are closed I am going to use this inverse equation I am going to use this inverse equation together with this particular this particular vector okay so the way I am going to do this is I am going to find out do you by do you I do you j do you by do you j why do you by do you j why I want to find out this matrix vector because when other loops are closed see when other loops are closed you 1 you 2 you 3 or whatever u j plus 1 u j plus 2 u j plus 3 all of them are going to change in response to change made in u j I want to find that out okay so essentially I want to find out do you by do you j okay yeah at steady state I am looking at only steady state why no no we have PID controllers no open loop they will be 0 not in the closed loop we are looking at looking at a situation where all the other loops are closed yeah except why I u j other loops somehow are been paired and have been closed we do not ask how they have been closed they are perfectly working all of them are PID controllers so no offset okay see this is a thought experiment this is not we are never going to perform this okay we can just we just want to find out an index using gain matrix okay so this is my so do you agree with this you agree with this just look at the derivation all that I have done is do you by do you j I have used this equation here okay I use this equation and then finally you know you have to do a little bit of manipulation and then you get this you get this column which is nothing but a call appropriate column see in this why all are 0 except why I okay so you will get the column of this matrix corresponding to the ith output okay we will get ith output column corresponding in the inverse matrix and what you can show this go over this slide again you can derive it yourself it is not so difficult this one slide derivation that is all I will give you the final formula which is given in the next page okay so how do you find out relative gain array of a particular system if you are given a gain matrix I will tell you the algebraic formula okay algebraic formula is take the gain matrix okay take the gain matrix inverse transpose okay and then do what is called as Hadamard product is a sure product sorry sure product sure product is you know element by element multiplication do element by element multiplication this is the algebraic formula okay so what I am saying here is something like this see you have this gain matrix you have this gain matrix you know K 11 K 12 K 21 K 22 okay then find out let's define let's define K tilde is equal to K inverse see this is my this is my K and this is my K 11 tilde K 12 tilde so this is K tilde which is same as K inverse okay and then deck element by element product which means K 11 K 11 tilde K 12 K 12 tilde or you need to transpose this say sorry you need to transpose this and then take oh yeah so so so we write K 11 K 12 K 21 K 22 K 11 tilde K 12 tilde and then RGA is simply K 11 K 11 this is element by element product okay very funny product we do not use this in matrix multiplications normally this is element by element this is called sure product or also I think it's called Hadamard product or there is a subroutine in MATLAB which you just give two matrices and ask it to do element by element multiplication it will just do it for you okay there is one very nice property of this matrix is that all the elements sum to one okay all the column sum to one so this is very nice property of RGA matrix and the nice thing is RGA is independent of scaling whichever way you are used to compute the gains it does not matter okay you get a scaling independent measure of interactions okay I am just giving you some rules of how to use this RGA to do pairing okay if what if RGA is let us take a 2 cross 2 system let us go back to 2 cross 2 system if lambda 11 is 1 what does it mean that means the other loop is not making any difference okay it is not interacting okay so ideal situation is lambda 11 is one other loop whether it is present or absent is making no difference okay ideally it should be equal to one but that may not happen it should be close to one okay so what we should do is we should look for that pairing okay in which RGA element is close to one because if RGA element is close to one other loops are not bothering this loop okay that is what it means what if it is less than one but greater than zero if it is less than one but greater than zero it means that the other loop is acting in the same direction okay it is increasing so retaliatory action is suppose the you know original action if you give a change in the flow rate the level increases the retaliatory action further increases the level and that is why you know the RGA is smaller is less than one there is interaction but we roughly say that interaction is strong if it is between zero and point eight okay between point eight and one we say that the interaction is low it is not it is not making too much effect on the so this is little bit there is a heuristics coming in here if it is zero what is the meaning of zero interaction is very strong other loop is nullifying the effect of I do not want to choose this okay if other loops are present it is almost nullifying the effect of the action of you know you want action is getting nullified by the presence of other loops I do not want this pairing what if it is greater than one the retaliatory action is in the opposite direction okay yeah it is reducing the effect of open loop okay but still it is not bad as having negative okay it is not so strong so if it is less than zero we do not want that pairing okay we just reject that particular pairing we do not want that and so lambda is less than zero we do not use this so I am just going to show you this for a little more complex case this is there are a refinery distillation column there are four four measurements top composition of the top product side there are in a in a refining system when you let us say you have a crude oil coming and you are refining it into different products the top product could be you know light hydrocarbons a little below that in the huge column little below that will be petroleum then you will get kerosene then you will get aviation turbo fuel then you will get heavy oils and so on from the same same column you draw different products of different volatility so these are the draws they are called as side draw side product so there are four compositions which are important and you have four manipulated variables you have top flow rate bottom flow rate and two side flow rates there are four flow rates which are manipulated for compositions which are controlled look at this as a look at this as a as a control engineer it is a system with four inputs four outputs you want to put four PID controllers okay you have let us say you are given steady state gain matrix okay you are given steady state gain matrix now if I do RGA calculations for this particular system it turns out to be this now can you tell me how should I choose pairing what about y1 I should choose I should choose y1 u1 okay because this is this is very very close to 0 okay this is very close to 0 I do not like this there will be lot of vitality effects if I choose if I choose y1 u2 pairing or y1 u3 pairing okay there will be strong interactions y1 u4 of course is completely ruled out it is negative okay so I should choose y1 u1 what about y2 y2 should be y2 should be u4 okay y2 should be u4 y3 we have no choice but to go for only positive pairing there is lot of interaction but we cannot help it all others are not acceptable okay and here this is closest to 1 okay now how many possible pairings you can think of for this system 4 factorial that is how much 24 possible pairings okay from that you have arrived at one possible pairing okay you are at one possible pairing just using this simple analysis look at the power of this simple method okay it can tell you what is what is that choice of pairing which will give you minimum fighting between the loops okay this does not mean the fighting does not exist because look here this is going to cause problem for you this is going to cause problem for you nevertheless this is best possible pairing this is the least fighting or least interacting loop pairing that you can think of so this method is quite powerful very simple method based on just gains and then you can choose pairing so question is should we go for multiple multivariable controller or multi loop controller in a plant if you do not have a choice if you have to go for 4 PID controllers your employer says well I do not believe about model based control and observer and all that you are talking about I want to go to the market by 4 PID controllers and put them you know then you should choose that pairing which is which is giving you least interaction it can be also used for screening options see suppose I have 3 inputs and 2 outputs okay I have 3 inputs and 2 outputs why 1 why 2 other 2 outputs and you 1 you 2 you 3 or 3 inputs can I use RGA to screen out I can use 2 PID controllers okay I can use 2 PID controllers because PID controllers you know 1 input 1 output so which one to use so in general for a bigger plant this problem is much bigger the Tennessee Spun problem which I showed you there are 12 inputs and there are 54 outputs okay which subset of which 12 among the 54 there are see how many combinations are there and that one thing which I showed you the Tennessee Spun plant is a small section of a chemical plant there are many such units each one will have you know many inputs many outputs and the pairing problem is a huge problem it is not a simple problem so what I will do is I will find out RGA with respect to each possible pairing okay so I can take y1 y2 you 1 you 2 y1 y2 you 1 you 3 and y1 y2 you 2 you 3 okay which one is which one you will go for you will go for this pairing see because here this 0.76 is higher interaction than 0.84 okay in this case this is negative and this is too high okay so you do not accept this okay so so it is very very in this particular case it is easy to say that this is the best pairing okay you can notice one thing here if you add the columns they will add to one if you add the rows they will add to one okay same thing is here just check here if you add the columns column will add to one if you add the rows they will add to one it is a nice property helps me to give a problem in the in the exam I can give you an RGA with missing elements you have to fill in just know that summation of row or summation so suppose you the but this is not just the thing of giving a problem in the exam in a plant suppose you know some gains partially okay some gain elements are known partially and if you are able to compute RGA elements for some of the if you have just partial RGA information you can fill in the matrix by using this property it is very okay now this is one major one big problem about RGA is that you know you are just using steady state information you are not using dynamic information there have been attempts to extend this to dynamics in frequency domain I don't want to get into that right now but it becomes very complex when you go to frequency domain analysis using RGA kind of framework it is not so straightforward well when you actually do this pairing it is not when you have a multi variable plant and when you are trying to put multiple PID controllers it's a difficult problem you cannot just rely on one major that is RGA we use one more major which is singular value decomposition okay it's a powerful analytical tool it can be also used for robustness analysis I am just giving you some idea about this what is the singular value of a matrix do you remember a transpose a or a transpose eigenvalues of a transpose a or a transpose these are called as so here what we do is we find out eigenvalues of eigenvalues of K transpose K okay you take the gain matrix and for the gain matrix you can find out singular values okay now singular value singular value you know what is the condition number what is the condition number the ratio of the maximum magnitude singular value divided by minimum magnitude single value okay square magnitude of that is called as a condition number a system which is as high condition number from linear algebra what do you know it is difficult to it is difficult to inverse right it is difficult to solve does does control inverse control controller design does it involve inverse inversion somewhere let us look at steady state forget about forget about the dynamics look at the steady state okay look at the steady state what is delta y delta y is the output and what is delta u u is the input okay when you design a controller you give a set point what do you give a set point on output you give a set point on the output and what do you want the controller to do you want the controller to find that input which will take the system to the desired output so if you forget about the dynamics look at the problem only as a steady state problem actually you want to solve this problem you want to solve this problem given delta y find delta u right very simple way of looking at the you know control problem that given delta y I want to go to certain set points okay find the inputs that will take me to the set points okay which means well if k square what does it mean k square what is the u that will take you to that delta y k inverse k inverse into delta y that is the u that will take it to that now k inverse okay very very practical application of you know condition number well you have seen in the numerical methods it has lot of you know meaning in terms of stability of numerical systems here difficulty in control can be quantified using condition number okay if the gain matrix has high condition number which means you know your system is ill-conditioned okay a system is ill-conditioned difficult to control okay well there is only one trouble with this with this analysis it is condition number is dependent upon the scaling of or choice of scaling that is used for gain my gain calculation so this is not a gain this is not a scaling independent measure nevertheless this gives you a good idea about how good is your so for example I yeah no no no it is not it is ratio of eigenvalues it is ratio of eigenvalues depend upon scaling it is ratio of the eigenvalues but the eigenvalues themselves depend upon the scaling see you have different gain elements in the matrix each yeah so each one you can have different scaling and if you change the scaling this ratio will change it is not independent that is not a case about RGA see RGA you are doing point-to-point calculations here you are not doing point okay so so for example in this particular case I could have compared this just like I compare them using RGA I could have compared them using condition number okay which which subsystem is well conditioned in terms of inverting okay I can check that so condition number is a useful measure so you can actually find out that subset of variables which is well conditioned in terms of control using the condition number that is a larger condition number implies you know you have trouble difficulty in the sense that good determinant is all well not determinant is singular it means that inversion is difficult okay inversion is unreliable okay in computationally it means that when you try to invert the answers that you get so see it is to be taken little bit of qualitative interpretation okay you think of it that designing a controller is like inverting the gain matrix okay now when you try to realize gain matrix inversion numerically okay because of gain matrix is ill conditioned okay computation of it inverse can get into numerical trouble you can get spurious answers okay I can show you some example maybe I can put those notes on the model where you take simple 3 x 3 matrix or 4 x 4 matrix 3 x 3 matrix okay and if it is ill conditioned if you find it inverse using matlab matter will give you something with a warning saying that this inverse is not reliable if you multiply the two you will not get identity matrix you will get some arbitrary things okay so trying to invert of ill conditioned gain is inherently difficult is what one has to realize okay so one can face problem in realizing a controller that is what it indicates okay see for example I am just giving you a simple example here this is a of a furnace look at it as a black box as a control engineer there are two inputs air flow rate and fuel flow rate okay and what is important is the temperature of the hydrocarbon which is measured okay inside the temperature of the furnace or hydrocarbon is being heated here now you have a furnace in which you are burning fuel and you are heating up some hydrocarbon to some temperature and you monitor the exit see you are burning fuel you monitor the exit concentration of oxygen okay in the in the flue gas you monitor the exit oxygen concentration okay so the other two control outputs okay exit concentration of oxygen in the flue gas and you are heating some fluid some hydrocarbon in the furnace so the output temperature of the fluid the transfer function for this particular system is given by this simple system there are time delays and your gains are given to you okay with reference to two flows you can appreciate here the gain values you know are quite magnitudes are quite different that is because see this is temperature this is concentration okay these are two flow rates one is air flow rate other is liquid flow rate let us say you have liquid fluid to fuel other is liquid flow rate so the values can be completely different and a gain values will depend upon the choice of units that you choose okay so if you look at the RGA here see you should not use only one measure you have to use multiple measures to do screening of variables RGA shows that there is huge interaction okay these two loops interact a lot but RGA of course gives you pairing what is the pairing it tells you that you should never pair the temperature with with air air flow rate you should pair with you know only with the fuel flow rate that is the other pairing is not allowed okay and in this case in this case singular value analysis also indicates difficulty in control because you know you get this condition number which is very high 7000 a condition number above 100 is considered high okay 7000 is very high which means you will have difficulties in realizing the controller here yeah what can be deceptive condition number can be deceptive but you know it is like at least some systematic way of thinking about the problem yeah so what you try to do normally is that you try to find out each element in the gain matrix something like a dimensionless you know you have to do lot of what I would say of your gain matrix before you can you know so what I would do in such a case to find the gain matrix instead of using direct units I would say percentage change by percentage change okay so you know depending upon whatever is a measuring device okay let us take its maximum and minimum and then define a percentage with respect reference to that so try to make it as unit independent as possible and then but what do you say is right it can be this singular value analysis can be deceptive it depends upon the gain so another example where you have six your four outputs and six inputs okay and in this particular case if you see there are different sub subsets of the different subsets of manipulate variables taken okay and then for each subset you find out the condition number outputs are same there are four outputs I have to choose four inputs which four input to choose okay see so this can be used as a prescreening in this case these two are see this one is definitely not this one definitely not a good combination because this is 60,000 this is you know 1,16,000 this is 9,000 so these three are ruled out okay among these three these three are competing okay now I can use RGA on these three okay see I have to use it is like you know it is like some bags of linear algebra tools that you have and then you are trying to somehow come up with some simple measures yeah why should I so we are not going to use this only thing know we are going to use multiple so there are for example you know doctor asked you to do some when there is a malaria or this thing he asked you to do a blood test some of those blood test are deceptive still you they are asked to do it right because they give you some indication okay see they give you a relative measure they give you a relative measure once you have chosen set of way of tuning gains they give you a relative measure so even if you even if you what is important to note here is that even if you rescale your gains these these relative things are not going to change the values of singular values might change okay but the fact that this particular combination has higher singular value that will not change too much okay so it is a tool that you have to use in a complex scenario with no larger condition numbers it will not happen that you know see this condition number actually depends upon some orientations of the you know eigen vectors of and it will not fundamentally you know it will not change so much that so as a relative measure to you know check between multiple things it is it is a it is a good indicator I am not saying you should rely completely on this okay so just because blood test is deceptive at times particularly when you want to check for malaria does not mean you do not do blood test you also do blood test you also do something else okay so not that you completely rule out because it is deceptive all this it will proportionally shrink yeah it is proportional saying so comparative it is many times useful yes comparative it is useful okay there are many such measures which were developed in the literature because people wanted to deal with you know loops which are interacting and this is one of them neither Linsky index you know you have multiple input and multiple outputs and then you want to distinguish between you know you want to find out whether something there is something called integral controllability of a system okay so well these measures have survived probably because they are simple okay on some simple information just gain matrix you know you can come up with some pre-screening okay you have to use this pre-screening together with your intuition as okay or to together with your understanding of the system as an engineer physics of the system this is just a tool to help you okay it is not it is not the solution okay and it is good because it is not the solution so that I keep saying in every course that if it was those the solution Matlab would solve it for you then you and me are not required right so good these tools are fuzzy and then you know you need somebody a human being to say take the final call what is the right thing to do so now what you do in this neither Linsky index another index that tells you whether the system is whether it is possible to control the given system using multiple controllers that have integral action okay so this is a ruling out test whether it is possible or not possible are you doing something fundamentally wrong by putting up multiple PID controllers that you can find out using this neither Linsky index okay so you rearrange the matrix in such a way the transfer function matrix such that your chosen pairing appears on the diagonal see you have already done pairing let us say using RGA okay RGA did not consider any anything about stability it just told you you know pairing which way to do and it rejected pairings which can potentially lead to instability negative element pairings can lead to instability so those were rejected it does not say anything about it is whether it is possible to control okay so what you do here is this is again a gain dependent index which you can find and you know it shows that if this particular index okay this index is first thing that you have to do is to rearrange the system the transfer function matrix in such a way that the pair variables appear on the diagonal okay and then you compute this index okay I am giving you this without a proof if this index is negative system cannot be controlled using multiple PID controllers okay that is what it tells you so it is a screening test these are all screening test and you have to use them as you know bunch of tools to analyze a multivariable system I will just go back to this furnace example in this furnace example RGA showed us this particular pairing okay and I am now reorganizing see what is required once you have chosen the pairing you reorganize this transfer function matrix such that the paired variables appear on the diagonal okay so I have what I have done is see here air and fuel was there I have changed the matrix to fuel and air okay so the paired variables appear on the diagonal so T hydrocarbon and fuel this is the 1-1 element and O2 and air this is 2-2 element okay this is the paired so I have reorganized this matrix and then I just applied this Nidolinsky index to this particular matrix the Nidolinsky index is positive which means it tells you that you can control the system using to two controllers that have integral action okay if this index had come out to be negative then we can so where do you use all these things see suppose you have a very complex plan and you come up with two or three possible ways of pairing okay now how do I screen out further I check integral controllability for each one of those possibilities then I can screen further you know so there are systematic ways of reducing your options okay to and come up with her so what you do is multi loop PID controllers after selection of the pairing one can design individual PID loops okay and in the presence of interactions there are different ways of dealing with the interactions okay one of them is I don't want to get into this details I am just going to touch very very briefly there are different methods given in the literature that you know you can tune one loop then close that loop tune then close the other loop and tune the second loop with one loop closed then you know loop one loop two closed you tune the loop three and so on there are different approaches given in the literature to do this tuning this details of this biggest log modulus tuning you can see in the notes and well my my intention in this particular course is to go to the multi variable controllers this is just that the some exposure to the multi loop controllers that you need that is because when you go out in a in a field you will find multiple PID controllers and you have to deal with them you should at least know something about that situation okay so you can have a look at the notes for this there is one method called biggest log modulus tuning and you can have details are not important and the details you can see from this notes so I want to just skip this and then I have given some example where if you do this detuning procedure follow this detuning procedure you can come up with reduction in the interact interaction between the loops if you want a summary of this it's something like this you individually design each controller okay and then put some factors so that you reduce the gain and increase the integral time in such a way that the loop interactions become smaller okay this is the iterative design method which there are sequential tuning methods so you tune one loop keep the plant open to one loop close it with one loop closed tune the second loop close the second loop okay with one and two closed tune the third loop go on doing it sequentially and so on okay what I am interested in talking about is this idea of decoupling okay and this decoupling is finally going to lead us to multivariable controllers so now I am getting into the area of multivariable controllers so look at this diagram here see till now we were talking about 2 PID controllers okay and the process part had interactions okay now can you have a controller which is slightly different so this controller this controller has one more leg here which provides some kind of compensation here okay the same thing is here there is one more compensatory element so this controller together is not this and this it is GC1 GC2 T21 and T22 there are two more elements cross links that I am introducing now so this is a multivariable controller it will try to simultaneously change if if I change the set point it will change u11 through this route but it will also try to change simultaneously u12 if I give a set point change in 1 and do not change the set point to what should happen the set point the level 2 should remain constant only level 1 should change okay if this has to happen then then there has to be simultaneously you know you have to take simultaneous action of u12 such that only u1 changes only y1 changes okay and y2 does not change this this to happen I need this cross links okay so these cross links are called as dynamic decouplers okay this cross links are called as dynamic decouplers and this decoupling elements help you to eliminate the interactions okay now this decoupling kind of controllers can be implemented through modern DCS or PLCs okay while they can be implemented through these modern computer control systems which are commercially available people just do not know about it so they still continue to use two PID controllers while it is possible to do this because now when you implement a controller it is a piece of software right actually when you are when you are implementing this PID controller I will be giving you this programs now I will be formulating and a problem for you to solve in that you will realize PID controller or any of these controllers it is just a piece of software okay you are solving some different equations online okay so if I am solving one difference equation I might as well solve ten different equations does not matter okay so now implementing a multi variable controller is not a big deal it is just solving some more equations okay which is very easy with given the kind of computing that power that we have today so developing such complex controllers cross link controllers is not at all difficult it is very very easy it just that people do know about it that using existing hardware and software which is there in the DCS distributed digital control system or computer control system or PLC it is possible to do this okay so we will stop here I can see a lot of people getting bored beyond this point and what I want to do is can I can I do this okay I will just so this lecture next lecture I want to use to do a transition from multi loop control to multi variable control okay so I will start with multi variable control but this is what I want to do can I introduce can I introduce two extra elements okay can I introduce two extra differential equations or difference equations computer control system will be difference equations or continuous time system will be differential equations such that effectively system behaves like this as if there are two decoupled loops okay is it possible to do that this is called decoupling okay using extra blocks I am going to separate the effects I am going to view them as to separate things so how do you do this if you have a transfer function matrix we will look at it very briefly okay and then we will move on we will move on to state space state feedback controllers I will go on talking about observers Kalman filtering quadratic optimal control and so on okay so now what I want to do now which is the course is going to become more intense now because now we will start doing compute the computing assignment okay so we will set up this examples by Friday I want to form groups roughly three students in a group okay and there will be three main components of this assignment okay so you can choose to solve it whichever way you want one person takes lead in one component other person takes lead in other component so three component are the three components of this course one component is parameter identification model identification whatever we detail mid-sem so you take this plant simulate its dynamics collect data okay and use it to develop a model from system identification toolbox of matlab that is part one part two is observer design what I am going to cover next part three is the controller design so whatever we learn as a part of this course you implement it on this particular thing make it into a project okay this is going to be a very very important component about 25% of the marks okay so you can choose your partners okay I am going to we are going to put five problems and if you think you can bring a problem from your domain like you want to do from automotive domain fine okay you can bring bring a problem from your domain just a contact us show it to us and we want to monitor this in three stages so we will have three valuations of this and I will give you a demo program okay there will be a basis from which you can write your own programs okay so and using this you should modify to suit your case and then you should write closed loop control so a complete case study okay of whatever we do in this course okay system identification state estimation and control a mock case study on a simulated system which has at least let's see depending upon the situation it could be multiple input multiple output a single input single output so we will try to set up will partially give you the code beyond the point you have to write your own codes okay


From the campus of MIT in Cambridge, Massachusetts, it's theCUBE, covering the MIT Chief Data Officer and the Information Quality Symposium. Now here are your hosts, Stu Miniman and Paul Gillan. Welcome back, this is theCUBE at the MIT CDOIQ Symposium. I'm Paul Gillan here with my colleague Stu Miniman and we've been talking a lot about the role of the CDO where that job fits within the organization, particularly vis-à-vis the CIO. Is the CDO a threat to the CIO? Does the CDO eventually become the successor to the CIO or do the two of the jobs exist as peers? We're going to hear right now from a CDO and a CIO at the same organization with us, Danielle LeBeau, the CIO at GlaxoSmithKline, big pharmaceutical company, and Mark Ramsey, the CDO at GlaxoSmithKline, newly created positions, only been there for a year, so it's still being defined. They presented a session today on dynamics between the CDO and CIO, and talk about those dynamics. I mean, when this job was being defined, let's start with really both of you, when this job was being defined, Danielle, you were already in position. How did, what was the goal and how was this job defined relative to what your responsibilities are? So everything starts from a vision from the head of the R&D, Patrick Valence, who strongly believed that R&D in pharmaceutical, the way we do R&D will change over time, and analytics and insight from data will be key in the coming years. So the first experiment was to ask external companies, a big data company in the Silicon Valley, very well known to do a series of pilots for us, where they in fact extract the data from domains that we were never putting together. So we are used to extract data from clinical data, to extract data from regulatory, to extract data from discovery. We were not used in the past to extract mixed data from commercial, safety, clinical, regulatory, including external resources like scientific literature. So the first experiment were about mixing these different domains and some of these experiments were successful. Then we decide that instead of having all these analytics outside the walls of GSK, it would be much more important to have that as a foundation, as a basics of our discovery. Then came the decision to have this internal big data analytics cross domain in R&D. And to accelerate the speed, to be able to do that project in let's say one year, one year and a half instead of five year, it was clear that we have to recruit somebody who has the expertise, plus the knowledge, plus the trust, plus the contact, and that's why Mark came. Why was this not a role for the CIO to take on? In some sense, CIO, the way I find my role is about getting the maximum from process and data. And I was explaining this morning that process and data are two sides of the moon and if you just look too much on the process and forget data is a mistake. So it's part of the role, but in this case, first, data is not the ownership of the IT department. Data is the ownership of the business point one. Point two, it's extremely important to link that initiative with a kind of R&D top initiative. So in some sense, analytics, and it may come back a role of the IT, perhaps in two, three years. I don't know, I don't care too much. I mean, the question does not come in these terms for GSK. The question was, how can we together achieve a huge objective at the highest speed? What Mark, what appealed to you about this opportunity to really come in and define a whole new role in a very large company? Yeah, I think Danielle touched on it. I mean, one of the things here that I look for was really the sponsorship and the executive support. I mean, we talk a lot about that where it's extremely important to have senior management support in an initiative like this because these are painful and sometimes costly projects and it really does require strong support. And so in this particular case, as Danielle mentioned, Patrick Valance, who's the president of R&D, is a very strong supporter. The senior executives are very strong supporters and that to me was quite appealing. And it was also interesting because I've done a lot of work in many different industries. This is a very unique industry because you're actually helping patients. You're changing people's lives. A lot of the work that has been done as it relates to big data and many of the CDOs are in banks and in the retail companies and in telecommunications, which are great organizations, but it's about sales and marketing. It's around selling another product, keeping customer loyalty. This was very fascinating because it was an opportunity to help transform the R&D organization. And within a pharmaceutical company, R&D is a very large part of the organization. It's not a little piece that just happens to come up with a new idea. It's fundamental to the operation of a pharmaceutical company. So it was quite appealing to take the knowledge that I've built up over the last 25 years and apply it to a new industry so that I actually get to learn along the way. So one of the big challenges of the data these days and for quite a long time, security, where does that fall between the purview of the Toe View? Well, it's both, actually. I mean GSK has a chief information security officer that's part of Danielle's team and security. We talked a little bit about that earlier today where one of our security mechanisms, unfortunately, is data fragmentation. So we have a lot of data that's fragmented and that does can actually act as a barrier for folks to get to all of the information. With the creation of a standardized platform, making it easier to get to data, it's something that increases the importance of security. So we've been very focused on making sure, I said earlier today that the CISO is now my best friend because it's extremely important to protect the information and have the appropriate levels of security because we're eliminating that fragmentation. Yes, so security and data, did these become board-level discussions at GSK? So security is board-level per the nature of the board and it becomes more and more. So on the data, I cannot say it's a board-level discussion. It's an executive team discussion. It's not necessary a board-level discussion. I think everything will depend on two aspects, how fast we can demonstrate the value of the experiment we do. That's very, very important because then it will become a board discussion. And also don't forget that extraction of insight from data is, of course, quite important in R&D but we have also areas in the commercial part of the pharmaceutical companies. Mainly the consumer health care organization where, of course, we try to get the maximum insight of our data. And that is to be clear the discussion of the analytics in consumer health care has been a board discussion. But I think it's also where the data itself is not the key here, right? The value that you can derive out of the data. So I think the board-level discussion is around key strategic initiatives of R&D and what the leadership team has recognized is the way to achieve those objectives is through using data and driving more strategic uses of the data. So it's not that the board says, well, we need these attributes. I mean, it's really around trying to achieve those objectives that are set out. Yeah, Mark, I'm curious. What kind of feedback loops do you have in the data to kind of improve processes and create new products, things like that? Yeah, I mean, I think step number one what we've been working on is really, quite frankly, GSK has grown up through mergers and acquisitions, which means that it creates a fragmented data environment that adds to the complexity of actually using data as a strategic asset. So one of the key focuses now is making that data more available across R&D for these strategic purposes. And as part of that, you learn a lot about the data. You learn data quality items. You learn ways to bring data together and simplify some of the applications. And all of that is fed back to different parts of the organization. But as Danielle mentioned earlier, the data is owned by the business, which means they have the responsibility for actually addressing data quality issues. And so that's something that we are very keen on is having the business own the responsibility for the quality of the data. It's not an IT problem. It's not a CDO problem. It's something that the business really needs to own. That's a theme we've been hearing a lot today. Well, now on a day-to-day basis, I would assume that the two of you talk a lot. But is that really the case? I mean, do you meet every day or are the functions more separate than that? No, we don't meet every day. I mean, there is interaction of the organization of Mark with the IT expert for the extraction of data and from some aspect of infrastructure, which is done on a daily basis, but more and not directly with you could be with your direct report. I mean, we meet in the different steering committees and there are steering committees. And together, by the way, with the R&D organization, and it's mainly to fix the priorities in terms of what are we going to do first? So what are the different sub-projects in this project? Which data are we going to feed first or something like that to fix also the ambition to address like any steering committees, security, find the right balance between, at the end of the day, steering committee, finding the right balance between speed and quality and between security and transparency. One of the things that we're doing is we've really established the R&D Data Center of Excellence as a startup company. You mentioned earlier about GSK being a large complex organization, which is exactly true. We've really established this program as to behave like a startup company within a major corporation. And so in many cases, that means we identify areas where things operate quite well and they're very structured and process-oriented that work well in some regard and may not work so well in what we're trying to accomplish from a execution perspective. So I think sometimes I talk to Daniel more than he probably wants, where we're trying to move the problem up the chain faster than what we might do with a typical program. So at this event for the last few years, one of the questions that people had is, is the CDO, is that where innovation lives in the company and therefore is that a threat to the CIO? How do you see that dynamic working? Well, I mean, again, the CDO, I don't think, I mean, what we're doing is driving innovation around using data as a strategic asset. And that piece of it, we're working in partnership with IT to make that happen. And there's many other innovations that have nothing to do with data that live in various parts of the organization. So I think it's a little unfair to say that innovation lives with the CDO and the CIO gets all the old stuff. I mean, that's not how it works. I think that shows well in articles, but in reality it has to be a partnership. It has to be, because we're building something real, right? We're not doing a little trial off to the side. We want to build this into the infrastructure that's in place within GSK, which means we need to work through, that doesn't mean that there aren't little tensions here and there, but we have to work through those and actually move this thing forward. So give us some examples of what you've been doing. I realize you've only been at this a year, but what kinds of success are you seeing? What projects have show promise right now? Yeah, and what we've done to, I mean, in a data space you can spend a lot of time, right? So the risk is always that you invest one year, two years, three years, trying to just clean up the data and make it available and you really don't have much to show for that. So we definitely did not want to take that approach. And so the approach that we've used is we've identified use cases. So these are specific actionable items where we can bring certain information together, make it available that hasn't been available in the past and it allows scientists to make decisions on that data that they can't do today. And we had a portfolio of almost 100 use cases that we boiled down to the top 10 and we used those 10 to sequence the work. We wanted to have a balance of short term, like three month and longer term, maybe six months. And those are the actions that we're taking and it's a combination of bringing external data together with internal GSK data. A lot of that effort is around getting the platform in place. So we now have a platform in place that allows us to house this information and make it available to the scientists. And that took a period of time. And now we're loading data and making that available to the scientists and we're doing that with these use cases which each have defined value. And so it's kind of the heavy lifting work right now. It's bringing fragmented data together, rationalizing that information, making it available to the scientists so that they can make better decisions. And as we go, the data volumes will get larger, the problems will get more complicated, but we will keep building on those success so that we stay away from the build it and they will come type of an approach. And we also stay away from taking too long before we deliver value. I wish we could talk more. There's so many dimensions to this, but we are out of time. Thank you again very much, Mark Ramsey, CDO, Danielle LaBeau, CIO of GlaxoSmithKline, real treat to have you on theCUBE. Thanks for having us. This is theCUBE. We'll be back in a moment. Hi, this is Chris Devaney from DataRobot. My name is Nensha Bartoliwala. I'm the co-founder and chief product officer of Paxata. Hi, this is Wei Wang.


What's going on and welcome to the solo shot? My name is Tom Vecchio. We have a four-game MLB slate tonight It starts at 7 0 5 as always This is one of the many shows on the Fandall podcast network You can find that anywhere whether it's Apple podcast whether it's Spotify make sure to give it a like follow or subscribe Leave a review that be greatly appreciated and you can follow me on Twitter at Tom underscore Vecchio 1 Before we hop into things NFL seasons underway and get set for incredible offers from Fandall America's number one sportsbook right now new customers can bet $5 and get 200 in bonus bets guaranteed Plus all customers who bet $5 will get $100 off NFL Sunday ticket from YouTube and YouTube TV Now is the best time to join Fandall the app is easy to use and you can bet on everything from spreads to player props and more Fandall official partner of the NFL must be 21 plus and present in select states Fandals offering online sports wagering in Kansas under agreement Kansas Tarkasino LLC First online real money wager only $10 first positive card bonus issued as now drawable bonus bets that expire seven days after receipt Restrictions apply see terms at sportsbook.com gambling problem call 100 gambler or visit Fandall comm slash RG in Colorado, Iowa, Michigan, New Jersey, Ohio, Pennsylvania, Illinois, Tennessee or Virginia Call 1-800 next step or text next step to 5334 to in Arizona call 1-888-7977 or visit ccpg.org slash shag Connecticut call 1-800-9 with it in Indiana call 1-800-522-4700 or visit KS gambling help in Kansas Call 1-877-770 stop in Louisiana. This is mdgamblinghelp.org in Maryland Visit 1-800 gambler net in West Virginia or call 105 to 2-4700 in Wyoming Hope is here visit gambling help line MA.org or call<PHONE_NUMBER> for 24 seven support in Massachusetts Or call 1-877-8 hope and wire text open Y in New York NFL Sunday ticket offer ends 9 18 23 no refunds terms and embargoes apply 100 100 off NFL Sunday ticket not YouTube TV YouTube TV base plan required to watch YouTube TV redemption requires a Google account and current form of payment commercial use excluded All right, let's get into tonight's smaller for game MLB slate lock is set for 705 You know some day games going on we're gonna stick to the main slate We do of course field on tonight's late, which is the last game 840 and the weather note for tonight is that the course field game is set to have Just a tremendous amount of rain. There's really no other way to describe it It is going to be cooler not only in Colorado, but we're starting to see some cooler temperatures come across for all stadiums But a massive amount of rain in Colorado sub 60 degrees and Very strong wind blowing in 10 15 miles per hour No indication as of now whether this game will actually play We're we're hours and hours away from happening But the expectation is that there's going to be a lot of rain tonight So this is a four game slate that could very easily turn into a three game slate So and not to mention the fact that it's course field This is obviously the best spot spot that we want to be looking for hitters So if you're rolling out one lineup You may not want to have exposure to course field simply because there's too much of a risk and the game getting postponed If you're running on multiple lineups, you can go about it Obviously multiple ways some lineups have exposure course field some don't you mix and match whatever might be Obviously have to get updates throughout the day on what this weather situation Will look like because it does not look good as of now Let's jump into pitching starting off the top where Kyle Bradish at 10,600 is the most expensive pitcher Filed by Kevin Gosman at 10.3 Logan Webb for the Giants. He's at course field 9.5. Nathan the Evaldi 9.2 Aaron Savalli 8.7 Kanta, Myeda at 7.6 Chase Anderson 6.2 and Jose Urina at 5.7 So again only four games could very easily be three before we know it and we have two pitchers that are above $10,000 Kyle Bradish for the Baltimore Orioles has looked great as of late Showing a really high level of consistency He comes with a 24.7 strikeout rate only on 0.80 homeruns per nine a 6.6% walk rate Which is great to see he has a 3.82 skill interactive ERA and not surprisingly He's keeping the ball down with that point eight zero home runs per nine He's mainly a ground ball medium contact pitcher 60% medium contact rate is absolutely unbelievable along the 48.5% ground ball rate So he does not allow any damage or limits of damage greatly The question becomes is how do we approach this slate? When we have two expensive pitchers both, you know 10k and above between Bradish and Kevin Gosman and you know Frankly, I'll just say that I think Kevin Gosman is the better pitcher of these two not to say Kyle Bradish isn't good But Kevin Gosman is a different level and really the type of picture that we want when it comes to bringing fans the upside So when it comes to Kevin Gosman, he has a 31.5 percent strikeout rate 6.4 percent walk rate 0.91 homeruns per nine Comes under the super solid 3.2 once here also medium contact ground ball pitcher not as much as Bradish But 46.7 percent medium contact rate 42.2 percent ground ball rate for Kevin Gosman Yours comes under the 12.9 percent swinging strike rate, which is absolutely awesome Gossum Gosman awesome for Gosman. Gosman is a great pitcher in that type of picture that we want for that type of fantasy upside Really bringing the potential to rack up the strikeouts go, you know for double digits strikeouts as we've seen he's one of the You know top options for Cy Young I don't think he'll win it this year, but he really has been having an awesome season The question is these are difficult matchups The Rangers, you know, they were going slow on offense for a couple weeks All of a sudden they've turned up their offense to a new level and they're piling up the runs each and every night against the Blue Jays Tampa is no doubt a tough matchup as well When it comes to Tampa Bay for Kyle Bradish with their current active roster versus righties They come in with a 23.6 percent strikeout rate, which is the 11th worst in the league Texas comes with a 20.3 percent strikeout rate with their current active roster versus righties, which is 24th in a league So there's no doubt that the higher strikeout match that probably lies with Kyle Bradish But Kyle we have to remember Kyle Bradish has a 24.7 percent strikeout rate and Gosman is up at 31 percent And really no picture on tonight's lake in touch what Gosman can bring individually in terms of the strikeout upside Now when it comes to Tampa Bay on offense, there are solid versus righties And so is Texas. Tampa Bay comes with a 121 WRC plus their current active roster versus righties Which is the second best in the league and Texas is right behind them at a 114 WRC plus Which is the fourth best in the league and their ISOs are nearly identical 186 for Tampa 183 for Texas So no doubt these are difficult matchups for both pitchers So how do we decide? Well, I'm just going to simply side with Kevin Gosman because he has a higher individual striker He brings more skill to the mound compared to Kyle Bradish, you know, if we're going to pick one pitcher on tonight's lake Who's going to be going for 10 plus strikeouts? It's going to be Kevin Gosman So I will take him in what I'm going to say an equivalent match in terms of difficulty I'll take him and what is it 300 less expensive? That's not too much But I guess every salary dollar helps when we're dealing with a very very small slate So let's just say course field does play tonight Right. We we get some news. Maybe the storm comes early. Maybe it's going to hold off whatever might be just a hypothetical here No rostering a pitcher That's over 10,000 is difficult to do when we're trying to get these hitters At course feel that are you know very very expensive You know, we have hitters that are you know in the high 3000 So if you were to roster Kevin Gosman And drop him into your line up immediately your average remaining per player is just under 3100 and that's obviously very difficult to do When we're looking to get some hitters from course feel that are 37 38 39 whatever it might be So is there another pitching option that we can look to tonight? I think so kentomieta at $7600 for the Minnesota twins they are on the road going up against the chicago white socks now kentomieta has missed a little bit of time this year With some injuries did not pitch all of last year. We have to keep that Give that in mind and he only has 86 89 innings pitch this season. He had 106.1 innings pitched in 2021 66.2 innings pitched in 2020 and 153.2 innings pitched in 2019 I'm going back as far to just to show that his 25.8 strikeout rate this season is certainly very solid And I think we can trust that even though it's from a smaller sample size because This is what he's really done over the past few seasons 24.9 strike rate in 2021 a 32.3 strike rate in 2020 and then a 27 strike rate in 2019 So yeah, he's missed a bit of time this year due to injuries But I think we can roll with the stats because this is where he's been Roughly over the past few years a 6.5 walk rate isn't that far off from the 7.1 He had the year prior. He's allowing a few more home runs this year that he has in years in years prior It's kind of always been his thing It's a 1.52 home runs per night this year 1.35 the year before 1.22 the year before so we're roughly within the same range I still expect some of those home runs to progress because he's mainly a medium contact pitcher He's not giving up a whole lot of hard contact. It's a 54.6 percent this year And over the past two years that he's pitched in 2021 and 2020 He was both at he was at a 50 percent hard contact rate Excuse me a 50 medium contact rate in both 2021 and 2020 He's not a hard contact pitcher.  So I expect the fly balls for kensameida to regress Now ultimately we're looking at kensameida for A few reasons one he's 7600 Which is a great bit of salad relief that we'd love to have on a very small slate And then two the match up versus the chicago white socks is something that we're going to be very interested In going to currently with with their active roster the white socks coming with the 21.8 strikeout rate versus righties Which is 17th in the league. So they're not striking out at a super high clip, but When it comes to offense overall for the white socks, they are bad They come in with a 28th in the league right now and they have an 87 w RC plus and a 144 team iso versus righties, which is also 27th in the league So it really is a super easy matchup for kensameida And he hasn't been putting up massive numbers as of late But in terms of his salary in terms of point per dollar in terms of what we may need on this slate Given the lack of value options just because it's only three, but it's only four games could be three games kensameida Is actually shaping up to be a pretty solid option now, of course If you're making one lineup kevin gossman is still probably the answer of who you should be going to So that does it for pitching. Let's move on to the stacks. It's obviously Uh, you know, I would say a tougher slate just because We have so few options and then again, we have the potential for course field the spot that we'd all love to be going Uh, you know, not just on any slate, but really on a on a four game slate We'd love to be going to course field, but obviously it has the potential for this game to be Reigned out So where else can we be going? So of course field plays like I said Feel free to load up those hitters from the Giants and the Rockies. We know what course field can bring outside of that I think it's come down to Going to some of the Minnesota twins here is going up against hosea urina Urina has been with multiple teams this year multiple teams last year He's just not a good pitcher at this point in his career. He's really not The walk rate this year is at 14.3 percent. It's coming from a smaller 20 22.1 any sample size if we look back to last year when he had a 97 any sample size It was still at 10 and the year before it was at 9.2 and the year before is at 12.5 He's just not a pitcher that has a whole lot of command on the mound He's allowing over one home run per nine in each of the last five seasons this year It's at 3.36 home runs per nine began a very very small Sample size this year too much hard contact Flyballs not to give him any favors and I think the Minnesota twins are a team that We really should be looking to trust tonight and frankly Might be one of the best options we have if there's going to be no course field Now when it comes to the twins Royce Lewis at $3,700 is their most expensive player Jorge Polanco is $3,200 For them those are the only two hitters that are above 3k for the twins So realistically they're looking like a pretty favorable team to stack Because of the salary relief that we have Royce Lewis has been great this year And specifically he's been hot as you know in recent weeks But they have a lot of options You know in their lineup that we could certainly be going to each and every night, especially when we're getting Let's see Jeffers, Correa, Kepler, Julian Walner any of these player Cureloff any of them who you decide to end up rostering they're all 2,900 and below So when we see Royce Lewis, yeah, I would love to have him in his 259 iso Versus righties in my lineup, but we also have to factor in his salary Can we go to Cureloff with the 135 WRC plus sure good Ryan Jeffers 132 WRC plus sure max Kepler 120 WRC plus Yes, the list kind of goes on and on for the twins who are all good hitters They may not all have a ton of power upside But their salaries are really really friendly tonight when it comes to roster construction If you're trying to pay up for uh kevin gossman or kyle graddish So the twins are just objectively in a great spot and they're actually what we need when it comes to line of construction tonight based on a smaller slate Based on some expensive Uh pitchers and their salaries that we're trying to get into our lineup. So sure hosey arena Has a small sample size this year, but looking back over the past few seasons I'm not going to be worried about literally anything that he's done And I think the clear upside lies with The hitters from the twins so Lewis polanco jeffers korea kepler julian wolner you name it get them into your lineups Twins very easy tonight again. We of course field. Where else do we want to be going? Gossman is obviously solid erin savalli is on the mound for tampa bay He's an okay pitcher. He's like not a pitcher that um He's not terrible, but he's also not great He's just kind of this middle of the road pitcher doesn't strike out hitters at a super high clip I know he had this high 12 strikeout game or whatever was recently, but ultimately he's still not a pitcher I'm super worried about on baltimore last night didn't come through. I'll be willing to go back to baltimore tonight uh, but I also want to be focusing in on the Toronto blue jays and they have been faltering these past few games and in a very very important series for their a wild card race And tonight they have a chance to pick up one, you know, really needed win Against nathan iovaldi for texas and iovaldi is recently returned from the il. He only has two starts under his belt He only went 1.1 innings against houston where he gave up Four earned runs and only one strikeout. He then pitched 2.1 innings against oakland on the ninth three strikeouts No earned runs So it doesn't look like iovaldi is going to be going super deep into the game He's 2.1 innings pitched. He's going to be i'm going to guess around four innings Uh, you know tonight, it doesn't seem like they're going to be ramping up at a super high rate, especially because the Rangers announced that scherzer is likely out for the season Unlikely for the playoffs or wherever the quote was that they may need to really kind of Take things slow with iovaldi if they make the playoffs, they're going to need a solid picture that they can trust So i'm not expecting iovaldi to be out there for super long It's probably in terms of the texas bullpen who I think are pretty average in the grand scheme of things so this will turn to the blue jays and again Kind of like muslin spots for the blue jays at this point in the season So Yeah, I want to focus in on getting some of their top hitters But it's going to come down to their salaries and what we can afford davis davis schneider at 3900 has really been putting up Impressive numbers since he has been called up.  We only 60 plate appearances a 327 iso is absolutely bananas But I obviously don't expect that to maintain if we were to extrapolate that over the course of an entire season But he is hot right now He should absolutely look to roster him if you can Then we have the normal cast of characters for the blue jays of Whoever you can afford whatever makes sense for your lineup george springer latty bobeshet whip maryfield that he's in the lineup spencer horowitz Recently called up. You can go to him as well 2600 I don't necessarily want to get someone like kevin curemeyer and my lineups would shoot for a player that has a little bit more power upside So really whatever's going to be making sense for your lineup. That's who you need to be focusing in on schneider latty beshet Springer is probably the order that I would I would target the blue jays in terms of their priority for the lineups tonight So it's a smaller slate again for games massive rain issues. We have to worry about when it comes to course field We need paid attention to that. We'll get updates throughout the day You know, we want to be focusing on getting kevin gaussman into the lineup So we can if that's not a possibility certainly look to kensomayeta going up against the white socks in easy easy match up All right, so that does it for today's podcast is always it can be oh, no Let's close out on some dinger calls actually let's close out on some dinger calls before we Before we close things out. I would love to pick an option from course field But i'm simply not going to be doing that don't want to be Looking to any of those options just because you know not expecting or i'm anticipating The worst and that would be the game gets postponed. So i'm not going to pick any options from course field Let's go with rois louis from the twins obviously insane power from him in the lineup for them always be looking there And then with erin savalli not again not a picture i'm overly worried about let's go with gunnar henderson the lefty future rookie the year for the baltimore oryals the lefty versus savalli so Royce louis and gunnar henderson as the two dinger calls to close things out today All right, so that does it for today's podcast is always going to be found on spotify on apple podcast You can find the video version on the fandal youtube page. They can be found on fandal tv plus can be found on fandal dot com slash watch You follow me on twitter at tom underscore vekio one until next time. Good luck in your contest


Welcome to this course on Software Conceptual Design. This course is a primer to a full-fledged software engineering course. One of the things that we will do in this course is to take a e-commerce application and deconstruct it and see what are the components in it and how it is constructed in order to understand this process of software conceptual design. In this course we will also take you through why it's important to create a conceptual design and have an integrated view of the system before you start coding. One of the many ways that you could do is by using the function behavior structure framework. We will take you through a learning environment namely think-in link that will help you to create an integrated view of the system. So after you come up with the software conceptual design it is also important that you evaluate this design so that it satisfies the intended requirements of the system. In this course we will be going through a learning environment called very sim which will help you effectively evaluate a software design against the given requirements. In addition to doing software conceptual design using the environment think-in link as well as evaluation of the design using the environment very sim you will also be looking at various software design models such as the v-model, agile and so on which typically you would encounter in a software engineering course. More details of such models and other steps in software design and development will be encountered in another course on software engineering. Welcome to this course which is the primer called software conceptual design. Happy learning.


So if you run your own mini camps or clinics, sorry, you can market it or try and see if you can get players from your school to attend. Right, you can do some kind of agreement that if certain players from your university team attend, you know, they can get it for half price or they can get it for a discount, whatever it is. Right. And then if they bring a friend, then, because I noticed this is something, one coach that comes to my mind, he'd done it, was he ran his own mini clinics. He was also a high school coach. Any player from his high school that attended and bought a friend, that player would essentially get the clinic for free. Okay. And so that would be another way to try and entice more players to come to your camps, right? And also it helps your players to get better because they get more coaching with you. Exactly, yeah, yeah, that's good, that's good. So again, once you start to build your clientele, once you start to structure your camps, then you can sell that to parents who are at your high school, now we're gonna be running an hour long camp, we're gonna be focusing on this, this and this. If you guys bring a friend along to the camp or clinic, you guys will get 50% off of the total cost of the camp. Yeah, all right, that's good, I like that. Yeah, and again, it's a win-win for both, right?


Welcome traders to the Tick-Mail-Telt-It with me Patrick and we want to draw your attention to these sterling yen from the intraday 4 hour time frame that have been in this corrective descending trend channel false break here and it was used within the channel. We're now coming up for a bit of a test here of this 152.50 area. Closed through 152.50 will be a bullish development suggesting further upside within this emerging trend channel and ultimately looking for a test of 153.90, 154 area. However, if we test and fail at the trend line resistance and get a break through 151.40 that will be a bearish development suggesting that these two are down to test support at 150.40, ET range support 150.30 and potentially down to 148.50. That's all you traders plan the trader plan and it's your risk.