Please specify the OH-number (or average OH-functionality) of your castor oil and the planned weigth or molar ratio of the polyol components (PEG and castor oil).
1 mol PEG (6000 g) contains 2 hydroxyls, 1 g PEG contains 0.333 mmol hydroxyl. The equivalent weight of the castor oil is 56,000/161.01 (160.01 is the OH number) = 348, which means that 1 g castor oil contains 2.87 mmol hyldroxyl. Which means that 1 g of 50/50 wt% PEG 6000 and castor oil contains (0.333+2.87)/2= 3.203 mmol hydroxyl. You have to add diioscyanate in an amount which contains 3.203 mmol isocyanate (you can calculate it from the isocyanate equivalent) and you will get an isocyanate end-functionalized prepolymer with 3.203 mmol isocyanate groups. To this you have to add 3.203/2= 1.601 mmol butane diol. This calculation assumes that the addition of excess isocyanate prevents the reaction of bot ends of the isocyanate with the polyol and also assumes that there is no side reaction of the isocyanate. This, however, should be handled with care, it is a starting value which you have to try experimentally and find out from the testing of your products physical properties which is the optimum composition.
https://www.researchgate.net/post/How-to-calculate-the-molar-ratio-for-the-components-of-a-polyurethane-in-a-stoichiometric-value,kindly check this link.
https://www.researchgate.net/post/How-to-calculate-the-molar-ratio-for-the-components-of-a-polyurethane-in-a-stoichiometric-value,this link may be useful.