element problem

  • GAPDaTsar
    29th Oct 2018 Member 1 Permalink

    I'm having a problem with one of my elements, NI (nickel), where it needs to be on contact with both H2 and CO2 at the same time at or above a temp of 573.15 K in order for a reaction to take place.  The NI is a catalyst that will react H2 and CO2 to make WTRV and GAS (renamed GAS to CH4).  For some reason it's as if the NI an only detect one element at a time instead of two so no reaction takes place.  I've rewritten the code a few times already.  Here's the mod: https://www.dropbox.com/sh/kw8c8e5bjta4rr0/AADqu00RaqK8M__j3dcD8tVHa?dl=0

    Does anyone have any ideas how to fix it?  Thanks.

  • wisecase2
    29th Oct 2018 Member 0 Permalink

    you can map to get the id of the first ch4 and h2 into two variables, if the two variables were filled, perform the reaction with these two variables id. If you are confused, I wrote the code:

    Edited 2 times by wisecase2. Last: 5th Nov 2018
  • GAPDaTsar
    30th Oct 2018 Member 1 Permalink

    @wisecase2 (View Post)

     YES!  That worked!  Thank you!  ^w^