Samir Khan: New Applications
http://www.maplesoft.com/applications/author.aspx?mid=613
en-us2016 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemThu, 30 Jun 2016 03:08:15 GMTThu, 30 Jun 2016 03:08:15 GMTNew applications published by Samir Khanhttp://www.mapleprimes.com/images/mapleapps.gifSamir Khan: New Applications
http://www.maplesoft.com/applications/author.aspx?mid=613
Steam Turbine Analysis
http://www.maplesoft.com/applications/view.aspx?SID=154125&ref=Feed
Assuming adiabatic operation and an isentropic efficiency of 0.85, this application calculates the turbine power and temperature of the exit gas.<img src="/applications/images/app_image_blank_lg.jpg" alt="Steam Turbine Analysis" align="left"/>Assuming adiabatic operation and an isentropic efficiency of 0.85, this application calculates the turbine power and temperature of the exit gas.154125Fri, 24 Jun 2016 04:00:00 ZSamir KhanSamir KhanEfficiency of a Rankine Cycle
http://www.maplesoft.com/applications/view.aspx?SID=154126&ref=Feed
This application calculates the efficiency of a Rankine cycle with:
<UL>
<LI>a condenser temperature of 380 K,
<LI>a compressor output pressure of 3.5 MPa
<LI>and a boiler temperature of 900 K.
</UL>
Additionally, the thermodynamic cycle is visualized on a temperature-entropy plot.<img src="/view.aspx?si=154126/rankine_cycle_using_water.jpg" alt="Efficiency of a Rankine Cycle" align="left"/>This application calculates the efficiency of a Rankine cycle with:
<UL>
<LI>a condenser temperature of 380 K,
<LI>a compressor output pressure of 3.5 MPa
<LI>and a boiler temperature of 900 K.
</UL>
Additionally, the thermodynamic cycle is visualized on a temperature-entropy plot.154126Fri, 24 Jun 2016 04:00:00 ZSamir KhanSamir KhanIsothermal Compression of Methane
http://www.maplesoft.com/applications/view.aspx?SID=154127&ref=Feed
Methane is initially at 400 K and 2 MPa, and then compressed to 5 MPa in a piston.
<BR><BR>
Assuming isothermal operation, this application calculates the work done (using Maple’s numeric integrators), and the heat transferred.<img src="/view.aspx?si=154127/work_done_in_isothermal_compression.png" alt="Isothermal Compression of Methane" align="left"/>Methane is initially at 400 K and 2 MPa, and then compressed to 5 MPa in a piston.
<BR><BR>
Assuming isothermal operation, this application calculates the work done (using Maple’s numeric integrators), and the heat transferred.154127Fri, 24 Jun 2016 04:00:00 ZSamir KhanSamir KhanHeat Flows in and COP of a Refrigeration Cycle
http://www.maplesoft.com/applications/view.aspx?SID=154128&ref=Feed
An ideal vapor-compression refrigeration cycle has R134a as the working fluid at a mass flowrate of 0.09 kg/s, with a condenser pressure of 0.5 MPa and an evaporator pressure of 0.15 MPa.
<BR><BR>
This application calculates:
<UL>
<LI>the rate of heat removal from the evaporator
<LI>the power input to the compressor
<LI>the rate of heat rejection in the condenser
<LI>and the COP
</UL>
In an ideal vapor compression refrigeration cycle,
<UL>
<LI>the compression process is isentropic
<LI>the refrigerant enters the compressor as a saturated vapor at the evaporator pressure
<LI>and leaves the condenser as saturated liquid at the condenser pressure.
</UL><img src="/view.aspx?si=154128/heat_flows_in_and_COP_of_a_refrigeration_cycle.png" alt="Heat Flows in and COP of a Refrigeration Cycle" align="left"/>An ideal vapor-compression refrigeration cycle has R134a as the working fluid at a mass flowrate of 0.09 kg/s, with a condenser pressure of 0.5 MPa and an evaporator pressure of 0.15 MPa.
<BR><BR>
This application calculates:
<UL>
<LI>the rate of heat removal from the evaporator
<LI>the power input to the compressor
<LI>the rate of heat rejection in the condenser
<LI>and the COP
</UL>
In an ideal vapor compression refrigeration cycle,
<UL>
<LI>the compression process is isentropic
<LI>the refrigerant enters the compressor as a saturated vapor at the evaporator pressure
<LI>and leaves the condenser as saturated liquid at the condenser pressure.
</UL>154128Fri, 24 Jun 2016 04:00:00 ZSamir KhanSamir KhanEffect of Measurement Error in Venturi Flowmeter
http://www.maplesoft.com/applications/view.aspx?SID=154129&ref=Feed
Venturi flowmeters use the height of a liquid column to measure the pressure drop (and hence the flowrate) of fluid in a pipe. However, small errors in reading the height of the column will affect the calculated value of the flowrate.
<BR><BR>
Methane (at 1 bar and 40°C) enters a venturi meter with a water manometer (with a measurement error of ±1 mm). The upstream pipe area is 0.05 m2 and the venturi throat diameter is 0.025 m2.
<BR><BR>
The water displacement across the manometer is 3 cm. Given the measurement error, this application calculates the potential range of flowrates.
<BR><BR>
This application uses several Maple packages, including <A HREF="/support/help/maple/view.aspx?path=ThermophysicalData%2fProperty">ThermophsyicalData</A>, <A HREF="/support/help/maple/view.aspx?path=ScientificConstants%2FPhysicalConstants">ScientificConstants</A> and <A HREF="/support/help/maple/view.aspx?path=Tolerances">Tolerances</A>. The Tolerances package is particularly important because it allows measurement error to be carried through a series of calculations<img src="/applications/images/app_image_blank_lg.jpg" alt="Effect of Measurement Error in Venturi Flowmeter" align="left"/>Venturi flowmeters use the height of a liquid column to measure the pressure drop (and hence the flowrate) of fluid in a pipe. However, small errors in reading the height of the column will affect the calculated value of the flowrate.
<BR><BR>
Methane (at 1 bar and 40°C) enters a venturi meter with a water manometer (with a measurement error of ±1 mm). The upstream pipe area is 0.05 m2 and the venturi throat diameter is 0.025 m2.
<BR><BR>
The water displacement across the manometer is 3 cm. Given the measurement error, this application calculates the potential range of flowrates.
<BR><BR>
This application uses several Maple packages, including <A HREF="/support/help/maple/view.aspx?path=ThermophysicalData%2fProperty">ThermophsyicalData</A>, <A HREF="/support/help/maple/view.aspx?path=ScientificConstants%2FPhysicalConstants">ScientificConstants</A> and <A HREF="/support/help/maple/view.aspx?path=Tolerances">Tolerances</A>. The Tolerances package is particularly important because it allows measurement error to be carried through a series of calculations154129Fri, 24 Jun 2016 04:00:00 ZSamir KhanSamir KhanPsychrometric Chart
http://www.maplesoft.com/applications/view.aspx?SID=154124&ref=Feed
This application contains an interactive psychrometric chart.
<BR><BR>
As you move the mouse over the psychrometric chart, Maple:
<UL>
<LI>calculates thermophysical data for the current dry bulb temperature and humidity ratio.
<LI>and overlays the information on top of the chart.
</UL>
The thermophysical data includes the enthalpy, specific heat capacity, thermal conductivity, viscosity, specific volume, entropy and more.<img src="/view.aspx?si=154124/psychrometric.PNG" alt="Psychrometric Chart" align="left"/>This application contains an interactive psychrometric chart.
<BR><BR>
As you move the mouse over the psychrometric chart, Maple:
<UL>
<LI>calculates thermophysical data for the current dry bulb temperature and humidity ratio.
<LI>and overlays the information on top of the chart.
</UL>
The thermophysical data includes the enthalpy, specific heat capacity, thermal conductivity, viscosity, specific volume, entropy and more.154124Thu, 23 Jun 2016 04:00:00 ZSamir KhanSamir KhanThermal Engineering with Maple – Application Collection
http://www.maplesoft.com/applications/view.aspx?SID=154123&ref=Feed
This e-book contains many Maple applications covering topics in psychrometric modeling, thermodynamics, refrigeration, heat transfer and more. With practical examples, it demonstrates how you can use Maple to solve various problems in thermal engineering.
<BR><BR>
Maple’s fluid properties engine is used throughout; if you change the working fluid or operating conditions, Maple updates the application with accurate thermophysical data.
<BR><BR>
You can explore the e-book using the Navigator or the table of contents.
<BR><BR>
These applications are packaged together in the Workbook file format. You will need Maple 2016 (or later) to use this workbook. If you do not have Maple 2016, download the <A HREF="http://www.maplesoft.com/products/maple/Mapleplayer/">free Maple Player</A> to view the applications and interact with a select few.<img src="/view.aspx?si=154123/thermal.png" alt="Thermal Engineering with Maple – Application Collection" align="left"/>This e-book contains many Maple applications covering topics in psychrometric modeling, thermodynamics, refrigeration, heat transfer and more. With practical examples, it demonstrates how you can use Maple to solve various problems in thermal engineering.
<BR><BR>
Maple’s fluid properties engine is used throughout; if you change the working fluid or operating conditions, Maple updates the application with accurate thermophysical data.
<BR><BR>
You can explore the e-book using the Navigator or the table of contents.
<BR><BR>
These applications are packaged together in the Workbook file format. You will need Maple 2016 (or later) to use this workbook. If you do not have Maple 2016, download the <A HREF="http://www.maplesoft.com/products/maple/Mapleplayer/">free Maple Player</A> to view the applications and interact with a select few.154123Wed, 22 Jun 2016 04:00:00 ZSamir KhanSamir KhanThermal Efficiency of the combined (binary) cycle with T-s and h-s charts
http://www.maplesoft.com/applications/view.aspx?SID=154050&ref=Feed
This application calculates the thermal efficiency of a steam turbine (based on a Rankine cycle), combined with a gas turbine based on the Brayton Cycle) with the creating a T-s and h-s (Mollier) live charts.<img src="/view.aspx?si=154050/Gas-Steam-Cycle-T-s-h-s-charts.png" alt="Thermal Efficiency of the combined (binary) cycle with T-s and h-s charts" align="left"/>This application calculates the thermal efficiency of a steam turbine (based on a Rankine cycle), combined with a gas turbine based on the Brayton Cycle) with the creating a T-s and h-s (Mollier) live charts.154050Mon, 21 Mar 2016 04:00:00 ZProf. Valery OchkovProf. Valery OchkovWorking with Thermophysical Data: Dew-Point and Wet-Bulb Temperature of Air
http://www.maplesoft.com/applications/view.aspx?SID=154054&ref=Feed
Maple can perform calculations and generate visualizations involving thermophysical properties of pure fluids, humid air, and mixtures. Using the dew-point and web-bulb temperature of air as an example, this Tips and Techniques application demonstrates how to access thermophysical properties data, perform calculations that include units, and visualize the results on a psychrometric chart.
<BR><BR>
Atmospheric air contains varying levels of water vapor. Weather reports often quantify the water content of air with its relative humidity; this is the amount of water in air, divided by the maximum amount of water air can hold at the same temperature.
<BR><BR>
Given the temperature and the relative humidity of air, you can calculate:
<UL>
<LI>the temperature below which water condenses out of air - this is known as the dew-point
<LI>the coldest temperature you can achieve through evaporative cooling - this is known as the wet-bulb temperature
</UL><img src="/view.aspx?si=154054/webbulb.PNG" alt="Working with Thermophysical Data: Dew-Point and Wet-Bulb Temperature of Air" align="left"/>Maple can perform calculations and generate visualizations involving thermophysical properties of pure fluids, humid air, and mixtures. Using the dew-point and web-bulb temperature of air as an example, this Tips and Techniques application demonstrates how to access thermophysical properties data, perform calculations that include units, and visualize the results on a psychrometric chart.
<BR><BR>
Atmospheric air contains varying levels of water vapor. Weather reports often quantify the water content of air with its relative humidity; this is the amount of water in air, divided by the maximum amount of water air can hold at the same temperature.
<BR><BR>
Given the temperature and the relative humidity of air, you can calculate:
<UL>
<LI>the temperature below which water condenses out of air - this is known as the dew-point
<LI>the coldest temperature you can achieve through evaporative cooling - this is known as the wet-bulb temperature
</UL>154054Wed, 09 Mar 2016 05:00:00 ZSamir KhanSamir KhanEngine Noise Spectogram
http://www.maplesoft.com/applications/view.aspx?SID=153978&ref=Feed
This application plots the spectrogram and power spectrum of the sound of an engine changing gears.<img src="/view.aspx?si=153978/Engine_Noise_Spectrogram.png" alt="Engine Noise Spectogram" align="left"/>This application plots the spectrogram and power spectrum of the sound of an engine changing gears.153978Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanVehicle Ride and Handling Analysis
http://www.maplesoft.com/applications/view.aspx?SID=153980&ref=Feed
This tool lets you experiment with the steer- and camber-by-roll coefficients of a 3-DOF vehicle model, and simulate the effect on the yaw gain curve and the understeer coefficient.<img src="/view.aspx?si=153980/Vehicle_Ride.png" alt="Vehicle Ride and Handling Analysis" align="left"/>This tool lets you experiment with the steer- and camber-by-roll coefficients of a 3-DOF vehicle model, and simulate the effect on the yaw gain curve and the understeer coefficient.153980Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanAnalysis of a Vapor Compression Refrigeration Cycle
http://www.maplesoft.com/applications/view.aspx?SID=153982&ref=Feed
This application analyzes the heat flows across a vapor compression refrigeration cycle, and calculates its coefficient of performance.
<BR><BR>
Additionally, the thermodynamic cycle will be plotted on a pressure-enthalpy-temperature chart.
<BR><BR>
The compressor, condenser, throttle and evaporator are analyzed in sequence with this equation, a statement of the conservation of energy,
<BR><BR>
q - w= Δh + ΔKE + ΔPE
<BR><BR>
where
<UL>
<LI>w is the work done by the component
<LI>ΔKE and ΔPE are the changes in kinetic and potential energy
<LI>Δh is the change in specific enthalpy
<LI>q is the heat transferred to the system
</UL><img src="/view.aspx?si=153982/Analysis_VCRC.png" alt="Analysis of a Vapor Compression Refrigeration Cycle" align="left"/>This application analyzes the heat flows across a vapor compression refrigeration cycle, and calculates its coefficient of performance.
<BR><BR>
Additionally, the thermodynamic cycle will be plotted on a pressure-enthalpy-temperature chart.
<BR><BR>
The compressor, condenser, throttle and evaporator are analyzed in sequence with this equation, a statement of the conservation of energy,
<BR><BR>
q - w= Δh + ΔKE + ΔPE
<BR><BR>
where
<UL>
<LI>w is the work done by the component
<LI>ΔKE and ΔPE are the changes in kinetic and potential energy
<LI>Δh is the change in specific enthalpy
<LI>q is the heat transferred to the system
</UL>153982Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanChemical Kinetics Reaction Rate Estimation
http://www.maplesoft.com/applications/view.aspx?SID=153983&ref=Feed
This application estimates the rate parameters for a reversible reaction with dimerization of an intermediate.
<BR><BR>
It does this by
<UL>
<LI>parameterizing (with respect to the rate parameters) the numerical solution of the different equations that describe the reaction kinetics
<LI>calculating the sum of the square of the errors between the model predictions and experimental data
<LI>minimizing the sum of the square of the errors to find the best fit values of the rate parameters
</UL><img src="/view.aspx?si=153983/CKRR_Estimation.png" alt="Chemical Kinetics Reaction Rate Estimation" align="left"/>This application estimates the rate parameters for a reversible reaction with dimerization of an intermediate.
<BR><BR>
It does this by
<UL>
<LI>parameterizing (with respect to the rate parameters) the numerical solution of the different equations that describe the reaction kinetics
<LI>calculating the sum of the square of the errors between the model predictions and experimental data
<LI>minimizing the sum of the square of the errors to find the best fit values of the rate parameters
</UL>153983Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanDouble Pipe Heat Exchanger
http://www.maplesoft.com/applications/view.aspx?SID=153984&ref=Feed
This application models the temperature dynamics of a countercurrent double pipe heat exchanger. Three partial differential equations describe
<UL>
<LI>heat balances across the tube- and shell-side liquids,
<LI>and a heat balance across the tube-wall (taking into account the heat flow from the shell- and tube-side liquids, and conduction along the length of the tube)
</UL>
The equations are solved numerically, and the temperature profiles are plotted. The heat exchanger is assumed to be perfectly insulated. Densities, specific heat capacities, heat transfer coefficients, and thermal conductivities are assumed to be constant.<img src="/view.aspx?si=153984/Double_Pipe.png" alt="Double Pipe Heat Exchanger" align="left"/>This application models the temperature dynamics of a countercurrent double pipe heat exchanger. Three partial differential equations describe
<UL>
<LI>heat balances across the tube- and shell-side liquids,
<LI>and a heat balance across the tube-wall (taking into account the heat flow from the shell- and tube-side liquids, and conduction along the length of the tube)
</UL>
The equations are solved numerically, and the temperature profiles are plotted. The heat exchanger is assumed to be perfectly insulated. Densities, specific heat capacities, heat transfer coefficients, and thermal conductivities are assumed to be constant.153984Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanEconomic Pipe Sizer
http://www.maplesoft.com/applications/view.aspx?SID=153985&ref=Feed
Pipework is a large part of the cost of a process plant. Plant designers need to minimize the total cost of this pipework across the lifetime of the plant. The total overall cost is a combination of individual costs relating to the
<UL>
<LI>pipe material,
<LI>installation,
<LI>maintenance,
<LI>depreciation,
<LI>energy costs for pumping,
<LI>liquid parameters,
<LI>required flowrate,
<LI>pumping efficiencies,
<LI>taxes,
<LI>and more.
</UL>
This application uses the approach described in the reference to find the pipe diameter that minimizes the total overall cost. The method involves the iterative solution of an empirical equation using Maple’s fsolve() function (the code is in the Startup code region)
<BR><BR>
Bear in mind that the empirical parameters vary as economic conditions change. Those used in this application are correct for 1998 and 2008 (as given in the reference)
<BR><BR>
Reference: "Updating the Rules for Pipe Sizing", Durand et al., Chemical Engineering, January 2010<img src="/view.aspx?si=153985/EPS.png" alt="Economic Pipe Sizer" align="left"/>Pipework is a large part of the cost of a process plant. Plant designers need to minimize the total cost of this pipework across the lifetime of the plant. The total overall cost is a combination of individual costs relating to the
<UL>
<LI>pipe material,
<LI>installation,
<LI>maintenance,
<LI>depreciation,
<LI>energy costs for pumping,
<LI>liquid parameters,
<LI>required flowrate,
<LI>pumping efficiencies,
<LI>taxes,
<LI>and more.
</UL>
This application uses the approach described in the reference to find the pipe diameter that minimizes the total overall cost. The method involves the iterative solution of an empirical equation using Maple’s fsolve() function (the code is in the Startup code region)
<BR><BR>
Bear in mind that the empirical parameters vary as economic conditions change. Those used in this application are correct for 1998 and 2008 (as given in the reference)
<BR><BR>
Reference: "Updating the Rules for Pipe Sizing", Durand et al., Chemical Engineering, January 2010153985Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanInteracting Tank Resevoirs
http://www.maplesoft.com/applications/view.aspx?SID=153986&ref=Feed
This worksheet models liquid flow between three tanks connected by two pipes (the first pipe connecting Tank 1 and 2, and the second pipe connecting Tank 2 and 3).
<BR><BR>
The flow is opposed by pipe friction, and the level of liquid in each tank oscillates to equilibrium. Differential equations that describe the dynamic change in liquid height in each tank and a momentum balance are solved numerically.<img src="/view.aspx?si=153986/itr.png" alt="Interacting Tank Resevoirs" align="left"/>This worksheet models liquid flow between three tanks connected by two pipes (the first pipe connecting Tank 1 and 2, and the second pipe connecting Tank 2 and 3).
<BR><BR>
The flow is opposed by pipe friction, and the level of liquid in each tank oscillates to equilibrium. Differential equations that describe the dynamic change in liquid height in each tank and a momentum balance are solved numerically.153986Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanAmplifier Gain
http://www.maplesoft.com/applications/view.aspx?SID=153987&ref=Feed
In this application, we will plot the gain of an amplifier circuit, for both the ideal and non-ideal response.<img src="/view.aspx?si=153987/Amplifier_Gain.png" alt="Amplifier Gain" align="left"/>In this application, we will plot the gain of an amplifier circuit, for both the ideal and non-ideal response.153987Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanAmplifier Gain Application
http://www.maplesoft.com/applications/view.aspx?SID=153988&ref=Feed
This application provides an interface that lets you experiment with amplifier parameters, and plot the ideal and non-ideal gain.<img src="/view.aspx?si=153988/AGA.png" alt="Amplifier Gain Application" align="left"/>This application provides an interface that lets you experiment with amplifier parameters, and plot the ideal and non-ideal gain.153988Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanPV Diode Parameter Estimation
http://www.maplesoft.com/applications/view.aspx?SID=153990&ref=Feed
The behavior of a photovoltaic diode is often modeled with an equivalent circuit and described by an implicit diode equation.
<BR><BR>
This application
<UL>
<LI>will rearrange the diode equation to give the current in terms of the LambertW equation
<LI>find the best-fit parameters against experimental data
</UL><img src="/view.aspx?si=153990/PV_Diode_Estimation.png" alt="PV Diode Parameter Estimation" align="left"/>The behavior of a photovoltaic diode is often modeled with an equivalent circuit and described by an implicit diode equation.
<BR><BR>
This application
<UL>
<LI>will rearrange the diode equation to give the current in terms of the LambertW equation
<LI>find the best-fit parameters against experimental data
</UL>153990Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir KhanDownloading Stock Prices and Plotting Returns Distributions
http://www.maplesoft.com/applications/view.aspx?SID=153991&ref=Feed
This application:
<UL>
<LI>downloads historical stock prices from Yahoo Finance,
<LI>calculates the returns,
<LI>plots the distribution of the returns in a histogram,
<LI>and overlays a normal distribution with the same mean and standard deviation as the historical data.
</UL><img src="/view.aspx?si=153991/Stock_Prices.png" alt="Downloading Stock Prices and Plotting Returns Distributions" align="left"/>This application:
<UL>
<LI>downloads historical stock prices from Yahoo Finance,
<LI>calculates the returns,
<LI>plots the distribution of the returns in a histogram,
<LI>and overlays a normal distribution with the same mean and standard deviation as the historical data.
</UL>153991Wed, 02 Mar 2016 05:00:00 ZSamir KhanSamir Khan