Design transcritical Co2 system using spiral expansion valve.....Model the system in AutoCAD and write a mathematical code in Fortran 77 and with the help of scilab plot the graph......
"!EES Subprograms"
"This example calculates the pipe friction factor using the Colebrook friction factor for turbulent flow (Re>2100) and 64/Re for laminar flow. This is the information that is provided in the Moody Chart.
This program demonstrates the use of an EES SUBPROGRAM. A SUBPROGRAM is a stand-alone EES program that can be called from the main EES equations or from a FUNCTION, PROCEDURE, MODULE, or another SUBPROGRAM. See the online help for details. The SUBPROGRAM is convenient in this problem because the Colebrook turbulent friction factor is implicit in f and cannot be solved without iteration. "
{!The following SUBPROGRAM and FUNCTION are automatically loaded in file MOODY.LIB}
{SUBPROGRAM Colebrook(Re, RR , f)
1/sqrt(f)=-2*log10(RR/3.7+2.51/(Re*sqrt(f))) "Colebrook turbulent
friction factor equation - implicit in f"
end
FUNCTION MoodyChart(Re, RR)
{$MoodyChart
This module returns the Darcy friction factor (f) for internal flow
given inputs of Reynolds number (Re) and the Relative Roughness
(RR).
The head loss and pressure drop can then be found from:
head loss = DELTAp/rho = f * (L/D )* (V^2/(2*g))
If you wish, you can save this file as a library component with
a .LIB filename extension using the Save As command. If the file is
saved in the Userlib subdirectory, the MoodyChart function will be
loaded whenever EES is started which in effect makes the MoodyChart
appear to be a built in function.
}
if (Re<2100) then
f=64/Re "laminar flow"
else
Call Colebrook(Re, RR , f) "turbulent flow"
endif
MoodyChart=f
end MoodyChart
{Here is an example call to the MoodyChart function. Press F3 to calculate. View Plot Window 1 to see the results.}}
rough=0.001
f=MoodyChart(Re, rough)
"!Regenerative Rankine Cycle with 2 feedwater heaters"
"Purpose: Investigate the effect of pressures of two feedwater heaters on the efficiency of a Rankine - regenerative cycle. The cycle analysis is done for unit steam flow through the boiler. P[2] is the pressure of the low pressure feedwater heater which in this example is fixed at 200 psia in the Parametric table. P[4] is the higher extraction pressure which is varied in the table.
This problem demonstrates the use of Procedures. The parameters to the left of the : in the Procedure/Call statements are inputs. Outputs appear to the right of the colon. A Call statement references the Procedure.
Arrays are used for state variables so that the values can be plotted. In this case the cycle efficiency is plotted against the extraction pressure.
To run, select Solve Table from the Calculate menu.
"
PROCEDURE pump(P_in,P_out,Eff :h_in,h_out,W_p)
h_in:=ENTHALPY(STEAM,P=P_in,x=0);
v:=volume(STEAM,P=P_in,x=0)
W_p:=v*(P_in-P_out)/Eff*Convert((ft^3/lb_m)*(psia),Btu/lb_m)
h_out:=h_in-W_p
END
PROCEDURE turbine(h_in,P_in,P_out,Eff :h_out,W_t)
s_in:=entropy(STEAM,h=h_in,P=P_in)
h_out_id:=enthalpy(STEAM,s=s_in,P=P_out)
W_t:=(h_in-h_out_id)*Eff
h_out:=h_in-W_t
END
eta_turb=0.84
"Isentropic turbine efficiency; same for all turbines"
eta_pump=0.65
"Isentropic pump efficiency; same for all pumps"
"!Pump 3"
P[1]=1 [psia]
CALL Pump(P[1],P[2],eta_pump:h[1],h[2],W_p_3)
"!Pump 2"
CALL Pump(P[3],P[4],eta_pump:h[3],h[4],W_p_2)
"!Pump 1"
CALL Pump(P[5],P[6],eta_pump:h[5],h[6],W_p_1)
"!Boiler"
P[6]=P[7]
"neglect pressure drop thru boiler"
P[7]=900 [psia]
h[7]=enthalpy(STEAM,T=800,P=P[7])
Q=h[7]-h[6]
"!Turbine 1"
CALL Turbine(h[7],P[7],P[8],eta_turb:h[8],W_t_1)
P[8]=P[4]
"!Turbine 2"
CALL Turbine(h[8],P[8],P[9],eta_turb:h[9],W_t_2)
P[9]=P[2]
"!Turbine 3"
CALL Turbine(h[9],P[9],P[10],eta_turb:h[10],W_t_3)
P[10]=P[1]
"!Feedwater Heater 2"
P[3]=P[2]
f_2*h[9]+(1-f_2)*h[2]=h[3]
"!Feedwater Heater 1"
P[5]=P[4]
f_1*h[8]+(1-f_1)*h[4]=h[5]
"!Cycle Statistics"
W_t=W_t_1+(1-f_1)*(W_t_2)+(1-f_1)*(1-f_2)*W_t_3
W_p=W_p_1+(1-f_1)*W_p_2+(1-f_1)*(1-f_2)*W_p_3
W_net=W_t-W_p
Eff=W_net/Q
DUPLICATE i=1,10
T[i]=temperature(STEAM,h=h[i],P=P[i])
END
$Tabstops 0.25 1.5 in
Design transcritical Co2 system using spiral expansion valve.....Model the system in AutoCAD and write a mathematical...
write a software or business system that has one topic in each categorie 1. Software Development Mode Waterfall Model Evolutionary Model Boehm's Spiral Model 2. Team Structure Democratic Team Chief Programmer Team Hierarchical Team 3. Project Evaluation in terms of: Individual Ability . Team Communication Product Complexity . Appropriate Notation . Level of Technology Level of Reliability Available Time . Required Skills 4. Cost Estimation using COCOMO Use Effort Multipliers Perform Sensitivity Analysis Calculate FSP(Fulltime Software Personnel) - . ....
Show work by hand and also using MATLAB code. Model 1 Given a polynomial f(x) Write a first-order approximation of f(x), given the value of f(x) at two points Plot the polynomial and the first-order approximation on a graph Write a second-order approximation of f(x), given the value at three points. Plot the polynomial, the first-order and second-order approximations on a graph Find the integral Exactly Using trapezoidal rule Using composite trapezoidal rule Using Simpson's 1/3 rule . Calculate the...
For the simulink part i just meed to see a snapshot of the system model and an ouput. Must be for the tracking sustem design in B. For be please show all work and write neatly so i can learn to do this on my own. Please show all work so I understand how to do this on my own. Write neatly please. Thank you in advance. The transfer function of the given physical system is 2500 Gp(s)1000 The physical...
System Model: Automotive Air Conditioning System Outside Air Temp: 45 oC Car Interior Air Temp: 22 oC Heat Load = 4.2 kJ/sec rate at which heat must go in to the air conditioner to be removed from the car’s interior Refrigerant: R134a HINT: Heat enters an air conditioning system where? Refrigerant 134a … - leaves the evaporator coil and enters the compressor as a saturated vapor at the evaporator pressure of 2.8 bars. - It leaves the compressor at...
solve quastion 3,4 and 5 B. Tasks and Guide 1. System description and Mathematical modeling The antenna positioning system is shown in Fig. 1. In this problem we consider the yaw angle control system, where 0(t) is the yaw angle. Suppose that the gain of the power amplifier is 5 , and that the gear ratio and the angle sensor (the shaft encoder and the data hold) are such that (t)= 0.40(t) where the units of v,(t) are volts and...
write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle Objective: Write MATLAB scripts to solve differential equations. Implementation: MatLab is an ideal environment for solving differential equations. Differential equations are a vital tool used by engineers to model, study and make predictions about the behavior of complex systems. It not only allows you to solve complex equations and systems of equations it also allows you to easily present the solutions in graphical form....