Jump to content

User talk:J.saipratap

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This page contains details such as 1) My statement of results 2) ASCEND flat plate collector model (code and snapshots) 3) Reported bugs and 4) ANTLR exercise- work done so far

My statement of results

[edit]

The following image has a detailed description of my previous courses and grades also registration information for current semester.

800x


The first three years have the courses designed by BITS for the curriculum. The first semester of fourth year contains my electives.

ASCEND flat plate collector model (code)

[edit]

The following code was built by me in an attempt to model a solar flat plate collector.

REQUIRE "atoms.a4l"; REQUIRE "measures.a4l";

ATOM power_per_area REFINES solver_var

           DIMENSION M/T^3
           DEFAULT 1.0{W/m^2};
           lower_bound := 0.0{W/m^2};
           upper_bound := 1e50{W/m^2};
           nominal := 1.0{W/m^2};

END power_per_area;

     (* The above atom was required because the atoms.a4l of 0.9.7 version has an error in assigning units for power_per_area definition *)

MODEL flatplate;

           NOTES
                       'author' SELF { J. Sai Pratap}
                       'purpose' SELF { Analysis of solar flat plate collector }
           END NOTES;
                       (* Variables *)
                        A          "collector area(m^2)"                          IS_A area;
                       Fr         "collector heat removal factor"                 IS_A factor;
                       m         "fluid mass flow rate(g/s)"                      IS_A mass_rate ;
                       Tc         "collector average temperature(K)"              IS_A temperature;
                       Ti          "inlet fluid temperature(K)"                   IS_A temperature;
                       To         "outlet fluid temperature(K)"                   IS_A temperature;
                       Ta         "ambient temperature(K)"                        IS_A temperature;
                       Cp        "specific heat"                     IS_A heat_capacity_a_constant;
                       Qi         "collector heat input(1watt)"      IS_A energy_rate_scale;
                       Qu        "useful energy gain(1watt)"         IS_A energy_rate_scale;
                       Qo        "heat loss(1watt)"                  IS_A energy_rate_scale;
                       I           "intensity of solar radiation"    IS_A power_per_area;     
                       Ul         "collector overall heat loss coefficient" IS_A energy_rate_scale;
                       eta        "collector efficiency"                 IS_A constant;
                       tow       "transmission co-efficient of glazing"   IS_A constant;
                       alpha    "absorption co-efficient of plate"           IS_A constant;
                       (* equations *)
                       Heat_input         :           Qi        =          I*tow*alpha*A;
                       Heat_lost          :           Qo       =          Ul*A*( Tc - Ta );
                       Useful_heat       :           Qi-Qo   =          Qu ;
                       Heat_removalfactor         :   Fr     =          m*Cp*( To - Ti )/Qu;       
                       Collector_efficiency        :  eta     =          Fr*Qu/A/I;
           METHODS
           METHOD specify;
                       NOTES
                                   'aim' SELF { fixing 11 variables to make the model well posed}
                       END NOTES;
                                   FIX m ;
                                   FIX Cp;
                                   FIX A;
                                   FIX Tc;                                 
                                   FIX Ti;                                    
                                   FIX To;
                                   FIX Ta;
                                   FIX I;
                                   FIX Ul;
                                   FIX tow;
                                   FIX alpha;
           END specify;
           METHOD values;
                       NOTES
                                   'aim' SELF { assigning values to above fixes variables}
                       END NOTES;
                                   m         :=         0.5 { kg/s };
                                   Cp        :=         4.18 { J/kg/K };
                                   A          :=         2{ m^2 };
                                   Tc         :=         340 { K };
                                   Ti          :=         300 { K };
                                   To         :=         330 { K };
                                   Ta         :=         305 { K };
                                   I           :=         350 { W/m^2};
                                   Ul         :=         15  { W/m^2/K};
                                   tow       :=         0.9;
                                   alpha    :=        0.15;                                        
           END values;
           METHOD bound_self ;
           END bound_self ;

           METHOD bound_all ;
                       RUN bound_self ;
           END bound_all ;
           METHOD scale_self ;
           END scale_self ;
           METHOD scale_all ;
                       RUN scale_all ;
           END scale_all ;
           METHOD default_self ;
           END default_self ;
           METHOD default_all ;
                       RUN default_all ;
                                   m         := 1 {kg/s} ;
                                   Cp        := 10 {J/kg/K} ;
                                   A            := 1 {m^2} ;
                                   Tc           := 340 {K} ;
                                   Ti            := 300 {K} ;
                                   To           := 330 {K} ;
                                   Ta           := 300 {K} ;
                                   I             := 500 { W/m^2};
                                   Ul           := 1000 { W/m^2/K};
                                   tow         := 0.9;
                                   alpha      := 0.1;                        
           END default_all ;

END flatplate ;

ASCEND flat plate collector model(snapshots)

[edit]

The following snapshots display the results obtained on loading the above model into ASCEND0.9.0.


800x

Reported bugs

[edit]

I have reported two issues through the ASCEND Bug Tracker.The links to them are

https://ascendbugs.cheme.cmu.edu/view.php?id=447

and

https://ascendbugs.cheme.cmu.edu/view.php?id=449

ANTLR exercise- work done so far

[edit]

I have been trying to develop a parser in ANTLR for parsing ASCEND0.9.7. The code so far is at the following location;

http://en.wikipedia.org/wiki/User:J.saipratap

Fair use rationale for File:TheComposer.jpg

[edit]

Thanks for uploading or contributing to File:TheComposer.jpg. I notice the file page specifies that the file is being used under fair use but there is not a suitable explanation or rationale as to why each specific use in Wikipedia constitutes fair use. Please go to the file description page and edit it to include a fair use rationale.

If you have uploaded other fair use media, consider checking that you have specified the fair use rationale on those pages too. You can find a list of 'file' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "File" from the dropdown box. Note that any non-free media lacking such an explanation will be deleted one week after they have been uploaded, as described on criteria for speedy deletion. If you have any questions please ask them at the Media copyright questions page. Thank you. Sfan00 IMG (talk) 09:36, 22 May 2010 (UTC)[reply]