A Stoichiometry Water Model  

A basic model to show the stoichiometry of the decomposition of water. This model teaches the basic concepts which are used in later models.

STELLATM software is needed to view the model in Mac (hqx) format or PC format.

[Diagram Level | Equations Level | Graphs ]



moles_hydrogen(t) = moles_hydrogen(t - dt) + (hydrogen_production) * dt
INIT moles_hydrogen = 0

hydrogen_production(o) = 1

moles_oxygen(t) = moles_oxygen(t - dt) + (oxygen_production) * dt
INIT moles_oxygen = 0

oxygen_production(o) = .5

moles_water(t) = moles_water(t - dt) + (- hydrogen_production - 
	oxygen_production) * dt
INIT moles_water = 20

hydrogen_production(o) = 1
oxygen_production(o) = .5
mass_hydrogen = moles_hydrogen*2
mass_oxygen = moles_oxygen*32
mass_water = moles_water*18
total_mass = mass_water+mass_hydrogen+mass_oxygen
Total_moles = moles_hydrogen+moles_oxygen+moles_water
Time Specs
Standard: Range:0-12 , dT = 0.25 , Integration Method = Euler's



Home | Contact | Site Map | Search