import java.util.*;
import java.lang.*;
import java.io.*;

class kazanTest1{
     public static void main (String args[]) throws IOException
     {
     // Doğal gaz
     // ch4 0.908
     // c2h6 0.059
     // c3h8 0.006
     // n2 0.009
     // co2 0.018
     String s1[]={"ch4","c2h6","c3h8","n2","co2"};
     double n1[]={0.908,0.059,0.006,0.000,0.018};
     double Tyakit=298.0;//K
     double Thava=298.0;//K
     double Tbaca=500.0;//K
     double hava_fazlalik=1.5;
     boolean ust_isil_deger=true;//üst ısıl değer üzerinden analiz
     kazan k1=new kazan(s1,n1,Tyakit,Thava,Tbaca,hava_fazlalik,ust_isil_deger);
     System.out.println("Q="+k1.Qi()+"Qmax="+k1.Qmax()+"eff = "+k1.efficiency());
     //1 KW lık ısıtma için gereken debi : 
     System.out.println("V NM/h="+k1.V_NM3_h(1.0));   
     }
}
