explanation 1.first the windows are cleared using the clear all, close all, clc command 2.next the process are explained using the disp command 3.the manual inputs like t1,p1,p2 are given 4.by using the thermodynamics equation and the XSteam library enthalpy, entropy, temperature, pressure are calculated 5.for plotting…
Arun M
updated on 27 Jun 2020
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Arun M (5)
Project 2 - Rankine cycle Simulator
explanation 1.first the windows are cleared using the clear all, close all, clc command 2.next the process are explained using the disp command 3.the manual inputs like t1,p1,p2 are given 4.by using the thermodynamics equation and the XSteam library enthalpy, entropy, temperature, pressure are calculated 5.for plotting…
27 Jun 2020 05:10 AM IST
Project 1 - Parsing NASA thermodynamic data
Explaining the code 1.start with clear all close all clc and clear the windows 2. using the fopen command with r to read the data file 3.using the fgetl command we extract the header and the comment lines 4.using str2num convert the strings to number 5.using the for loop the 53 species names and their coefficients are…
22 Jun 2020 02:02 PM IST
Week 4 - Genetic Algorithm
ga explanation f_min=ga(@function,nvars,A,B,Aeq,Beq,LB,UB,nonlcon,intcon,options) f_min= local minima @function=the function to be called nvars=no of variables A and B=inequalities that exist in the function Aeq and Beq=ineualities in the function LB=lower bound UB=upper bound nonlcon=gives two vectors representing inequalities…
21 Jun 2020 06:12 AM IST
Otto cycle Efficiency
close all clear all clc %inputs gamma=1.4 t3=2300 % state variables(state point 1, presuure(p1)and temperature(t1)) p1=103125 t1=500 % Engine geometric parameters(bore,stroke,connecting rod length,compression ratio) bore=0.1; stroke=0.1; con_rod=0.15; cr=12; % Isentropic compression %calculating the swept volume and the…
15 Jun 2020 01:00 PM IST
Week 3 - Solving second order ODEs
step wise explanation of te code 1.All the inputs as given are entered in the inputs section like mass,gravity,damping coefficient,length 2.then first order ode thetha_0 is given with angular displacement of 0and and velocity 3 rad/sec 3.then linspace command is used in time_span where the time is fixed between 0 and 20…
12 Jun 2020 05:29 PM IST