So now, let's try to reproduce your issue:
As the A320 empty weight is 87000 lbs, like you mentionned here: https://www.fsdreamteam.com/forum/index.php/topic,27994.0.html
This was the only thing I wrote wrong in my previous post. I just googled "A320 empty weight" and the preview of the first result showed 87,100 lbs, which in fact is the empty weight for the A318, the result pointed to this site, where's a table of the entire A320 family is shown:
https://www.modernairliners.com/airbus-a320And there, you can see the A320 empty weight is instead 93,900 lbs, this also explains why you were assuming the default conditions won't work:
Normally, if these default conditions settings were respected, the tug TPX_200 should NEVER appear and it is the tug TMX_150 which should be always chosen. Effectively, 87000 lsb belong ONLY to the condition range of the TMX_150 and is BELOW the range of the TPX_200, which goes from 90000 to 180000 !
When in fact they worked perfectly fine as written, because as they were, you should get exactly what you said you were getting: a random chance of TMX/TPX, with the Trepel appearing when the airplane is heavier.
That is using the DEFAULT conditions. Now let's see your modifications. I tried doing what I suggested to do, and you said you did:
FSDT_Pushback_TMX_150>sim.cfg
condition = %(aircraftWeight)g < 0
FSDT_Pushback_TPX_200>sim.cfg
condition = %(aircraftWeight)g >= 50000 and %(aircraftWeight)g <= 180000
And sure enough, after these changes and of course "Without to forget to delete the cache", I ALWAYS get the TPX ( as expected ), with a weight lower than 120.000 lbs. I tried selecting Pushback for 10 times in a row, always the TPX.
To confirm this, I reverted the changes back and, sure enough, I got the TMX again at the 3rd try. So yes, the conditions DO WORK.
Also, it seems you added C++ style // comments in the .CFG file, which are not exactly legal in .INI files.
While there isn't any accepted standard on comments because the .INI file format is not structured, but the most widely accepted is the semicolon, the standard .INI parsing routine we use that comes with the Python language, considers that as a proper character for comments, and we had to add extra custom code to handle // comments too. I don't think this should be the issue but, it's probably best to not use comments or, if you really want them, use the semicolon.
And, again, remember to remove the model cache ( %PROGRAMDATA%\Virtuali\MSFS ) after you do even a single smallest change, then restart Couatl.
Those are the only possible reasons I can think of why you think your modifications are not working. Which lead you to assume that conditions were not working at all, because you thought even the default rules didn't work, but that was JUST caused by the misunderstanding about the A320 empty weight, which is really 93.900 lbs, not 87,100.
Now, there's an EXTRA Fenix-specific issue that might lead to further confusion. Try the following:
1) Open the Fenix EFB Mass and Balance page, and press "Reset All". On the Fenix EFB, it defaults to 0 passengers, 0 cargo loaded, 6615 lbs of fuel in Tanks. The GW, according to the EFB is now 103700 lbs.
2) Open the MSFS Weight and Balance page, just to confirm the weights, and there's already an issue: the gross weight is about 137.000 lbs, instead of 103700 as the EFB says. While the fuel weight in MSFS matches the EFB ( 6615 lbs ), the Payload on the MSFS page is 68%, instead of 0% as indicated in the Fenix EFB.
3) If you set the Payload to 0% in the MSFS page, the Fenix EFB *reacts* on it, and it will now show about 100.000 lbs of GW, and now the two would be in agreement.
4) If you change the Payload in the EFB, the Payload on MSFS W/B page is not updated, the Fuel is, instead.
So, it seems the Payload synchronization between Fenix and MSFS is going only in one direction: MSFS->Fenix, that is the Fenix reacts to changes in the MSFS Payload, but doesn't change it back to MSFS when you change it from the EFB. The Fuel quantity, instead, seems to work by-directionally as it should.
GSX can only possibly know about the MSFS SDK variables (which is what the default MSFS W/B page shows), if the Fenix has a separate set of internal weights, which for any reason are not kept in sync with its own internal values, you can be easily mislead about the *actual* airplane weight, because what you see on the EFB is not what we get from the MSFS standard SDK variables.
So, to be sure if your rules are working, always check the Total Weight on the MSFS default Weight and Balance page, because that value, read at the time when GSX vehicles are created on a gate, is what drives the vehicle selection constraints.