User:Shaun: Difference between revisions

From ASCEND
Jump to navigation Jump to search
Shaun (talk | contribs)
No edit summary
Shaun (talk | contribs)
No edit summary
Line 1: Line 1:
My name is Liang He. I am now a student of graduate school of Chinese Academy of Sciences at Beijing, China. My mayor is computer science and techs. I have not get in touch with open source project before and hope this is a good start with ascend. I will be very glad to contribute what I could to make ASCEND better. :)
My name is Liang He. I am now a student of [http://www.gucas.ac.cn Graduate University of Chinese Academy of Sciences] at Beijing, China. My mayor is computer science and techs. I have not get in touch with open source project before and hope this is a good start with ascend. I will be very glad to contribute what I could to make ASCEND better. :)
 
<br/><br/>
== The following is an interesting modal I wrote according to a story I heard several days before. ==
== The following is an interesting modal I wrote according to a story I heard several days before. ==



Revision as of 17:38, 28 March 2012

My name is Liang He. I am now a student of Graduate University of Chinese Academy of Sciences at Beijing, China. My mayor is computer science and techs. I have not get in touch with open source project before and hope this is a good start with ascend. I will be very glad to contribute what I could to make ASCEND better. :)

The following is an interesting modal I wrote according to a story I heard several days before.

REQUIRE "atoms.a4l";
MODEL FallDownFromHigh;
        people_mass              IS_A        mass;
        building_height          IS_A        distance;
        time_falldown            IS_A        time;
        v                        IS_A        speed;
        time_stop                IS_A        time;
        f                        IS_A        force;
        (* equations comes here *)
        BuildingHeight:        building_height = 0.5 *1{EARTH_G} * time_falldown ^ 2;
        Speed: v =  1{EARTH_G} * time_falldown;
        ImpulseConservation: f * time_stop = people_mass * v;
END FallDownFromHigh;


Screen shot that I managed to compile the ASCEND successfully and get it worked on my system:



Screen shot show the function of recent files list(bug 533):