Conservation of Energy and Mass

  • Patr1ckStar
    19th Jul 2012 Member 4 Permalink

    Powder Toy lacks fundamental physical properties on elements; conservation of energy and conservation of mass.

     

    For example:

     

    When a gas is compressed, its temperature should increase etc.

     

    and

     

    When SLTW evaporates, there is an inequality in WATR to SALT ratio. SALT appears to get converted into WATR:

     

     

    2 SLTW particles created from one SALT particle and one WATR particle does not properly evaporate; both SLTW particles evaporate into WATR and leave no SALT behind.

  • Powdersaurus
    19th Jul 2012 Member 2 Permalink

    I like the gas and compression part, but the SLTW part would break quite a lot of saves.

  • keperitan
    19th Jul 2012 Member 1 Permalink

    I agree. Mixing ICE and SALT shouldn't cause all the SALT to turn into ICE.

  • Patr1ckStar
    19th Jul 2012 Member 1 Permalink

    Yeah I have a power plant that uses water from the 'ocean' and then recycles the water and salt by-products into saltwater again to be reused infinitely... except that eventually the ocean runs out of salt because the salt 'magically' disappears >.<

     

    The gas one was the main suggestion, The SALT one has just been bugging me for such a long time.

     

    I wanted to build an airconditioner but I soon realised that since the gasses won't change temperature, I can't cool anything...

  • grandmaster
    19th Jul 2012 Member 0 Permalink

    Sounds cool, the gas should be an option to prevent if from breaking saves, in that option there should be a little more things like the saltwater and gas problem and then there is a cool new mode.

     

     

  • Patr1ckStar
    29th Jul 2012 Member 0 Permalink

    Yeah that's a good idea. You can choose to turn compression on or off

  • Catelite
    29th Jul 2012 Former Staff 3 Permalink

    This is a falling sand game, and by extension, virtually all in-game particle interactions are dictated by arbitrary rules that only occasionally flirt, or even remotely emulate real-life physics. We can't even make objects in this game proper. Conservation of mass would be nice, but for some things it wouldn't quite work.

  • Patr1ckStar
    29th Jul 2012 Member 1 Permalink

    Conservation of mass would be being very picky, I understand. I don't mind it as much. What I really want is conservation of energy.

     

    Like BOYL where it generates pressure under heat. All you have to do is get a gas to generate heat under pressure- like the opposite of BOYL.

     

    Basically I want it to be implemented that gasses and liquids can change states depending on both temperature and pressure. Not just one, but both.

     

    Or just create a new element that is a refrigerant and has these properties:

     

    As a gas:

     

    1. Increases temperature when under pressure.

    2. Increases pressure when heated.

    3. At a certain pressure, will turn into a liquid.

     

    Property 3 will invoke property 1. So when it is put under pressure, it's temperature will increase and it will turn into a hot liquid

     

    As a liquid:

     

    1. Expands into a gas at a certain pressure

     

    Property 1 will invoke property 1 of it's gas form so it will absorb heat as it expands into a gas.

     


    Or something like that. Just follow this: http://en.wikipedia.org/wiki/Chlorodifluoromethane

     

    R-22 is a good example of a refrigerant

  • Uberfatty
    29th Jul 2012 Member 0 Permalink

    There really is a problem with conservation of certain properties in this game. A neutron and an electron, total charge of -e, combined give you a hydrogen molecule, total charge 0. And the plutonium+neutron reaction doesn't make a lot of sense either. I agree there should be some basic laws of conservation in this game.

  • Pilihp64
    29th Jul 2012 Developer 1 Permalink

    @Patr1ckStar (View Post)

    Element transitions are already based on both properties, pressure and temp.

    You can have 500C water without boiling while under very high pressure.

    Or have 0C water vapor by using negative pressure.

     

    There is no 'energy' value anywhere, so we can't conserve it.

    All particle games should follow the convervation of particles law, which is that there is only one particle per pixel (which tpt can violate pretty badly) and nothing is created nor destroyed as a result of movement (which moving solids would break).