# Chapter 23: Environmental Management¶

### ILLUSTRATIVE EXAMPLE 23.6, Page number: 498¶

In :
from __future__ import division

#Variable declaration:
Q = 20000                   #Fuel input (Btu)
e = 1                       #Energy produced (kW.h)
Btu = 3412                  #Units Btu in 1 kW.h

#Calulation:
ER = Q/Btu                  #Energy requirement in 1990 (kW.h)
E = e/ER*100                #Efficiency of energy conversion (%)

#Result:
print "The efficiency of energy conversion is :",round(E,1)," % ."

The efficiency of energy conversion is : 17.1  % .


### ILLUSTRATIVE EXAMPLE 23.7, Page number: 499¶

In :
from __future__ import division

#Variable declaration:
ADL1 = 2                        #Average daily load (MW)
R = 25/100                      #Reduction in electrical load (%)

#Calculation:
L = 1-R                         #New load fraction
ADL2 = ADL1*L                   #New average daily load (MW)
AR = ADL1-ADL2                  #Average reduction in electrical load (MW)

#Result:
print "The new Average daily load for the plant is :",ADL2," MW."
print "The average reduction in electrical load is :",AR," MW."

The new Average daily load for the plant is : 1.5  MW.
The average reduction in electrical load is : 0.5  MW.