views:

68

answers:

2

hi

I was wondering if it was possible to put balanced chemical equations, and if possible including state symbols, in the existing netlogo model that i am using, i havenot seen any examples in the models library so was not sure if it was possible.

I wanted the model to be able to allow the user to input a balanced chemical equilibrium equation, or the model displays the the equation so then the user can select from them if they do not want to enter their own

any help will be greatly appreciated thanks

for example

ethane + oxygen --> carbon dioxide + steam

C2H6 + O2 --> CO2 + H2O

A: 

Last that I checked NetLogo really can't handle symbolic manipulations, let alone the manipulations involved. If you really want to see this in Netlogo you would have to implement it by hand.

monksy
thank you..i thought so
I think it would be easier to use REPAST for this kind of task [if you want it to be agent based]
monksy
A: 

If there is a limited number of equations the user can enter, you could just use a drop-down list (drop-down button) that includes all the equations. Your code could then just set different parameters based on the equation the user entered on the drop-down.

Jose M Vidal