Recent content by Will26040

  1. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    Thanks for all your help! that's all very useful info. Ill get back to you if I find a better solution
  2. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    Hi, thanks for your patience. I have attached the actual question; it still is T that I want to optimize, however you have to assume it varies non-linearly with the length- which is fixed at 2m. I have assumed the relationship ##T(z)=a+bz+cz^2## I am not sure if I am doing it right.
  3. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    Thanks. This is the last question that involves coding, however, it does say you can consider the energy balance at the end. I think something is wrong with my code. I only seem to get one temperature in the output of x, but I am meant to be getting a temperature profile so that I can plot a...
  4. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    okay thanks for all the help so far. Do you think it mostly looks right other than that?
  5. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    I now have a second part which I was wondering if anyone could help me please. You have to assume that the temperature profile varies nonlinearly with length (z) of the reactor: ##T(z)=a+bz+cz^2## I have some code for it however I think it is wrong: A=[-1 0 0 ]; B=[0]; Aeq=[]; Beq=[]; LB=[]...
  6. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    thanks that's what I got too. I didnt have to make any other changes
  7. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    thanks to you both for the help, I think I've sorted it with your advice.
  8. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    yep sorry didnt know about code blocks: function Main x0 = [100] OPTIONS = optimoptions('fmincon','Display','iter'); x = fminunc(@fun,x0,OPTIONS) end function obj = fun(x) T = x(1); Lspan = [0 2]; %reactor 2m long y0 = [700 0 0]; [L,y] = ode15s(@(L,y)...
  9. Will26040

    MATLAB MATLAB Plug flow reactor optimisation Problem

    The assignment is to find the optimal operating temperature and maximum product concentration of reactant B, assuming a constant temperature across the PFR length. Please could someone help? thanks the reaction is a series reaction: A → B → C (liquid phase) Here is my current code which is...
  10. Will26040

    How do I get the Convection Coefficient for steam in a jacketed vessel?

    Please could someone point me in the direction of an equation/ book I can use to obtain the convection coefficient for steam in a heating jacket. Steam is at 1 bar pressure. I think I need to use a dimensionless number. Thanks
  11. Will26040

    How do I get the viscosity of a mash mixture in brewing?

    Hi, I am designing a mash tun to produce beer. I have 1300kg of malted barley (at a known density) and 3250kg of water. Please could someone outline a method I could use as I am really struggling. One of the main problems I am having is accounting for the density change of the malt when it...
  12. Will26040

    Engineering Tuning Rules for Lag Dominated FOPDT (first-order plus deadtime) model

    I am trying to find an alternative tuning rule for use with the transfer function specified. Please could someone help by pointing me in the right direction, thanks. Process transfer function: ## \frac {27e^{-3s}} {30s+1} ## Also, am I right in thinking that this process transfer function is...
  13. Will26040

    How do you approximate between the Cp of a gas and a solid?

    Thanks! do you have any idea on how I would check the accuracy of my obtained value? I am not sure where to find a literature value
Back
Top