The wiring harness just for the top of the engine is insane. I think it weighs about five pounds. And there's some stuff on it I am just not going to use anymore. Certainly the plugs related to the TGV (tumble generator valve) actuators and angle sensors, and possibly other things as well.
But to know what to take off and what to keep, I have to know what everything is, so I spent some quality time on it on the workbench.
But there were three plugs that had gotten unplugged earlier and not labeled. And with the engine accessories not installed at present, it's pretty hard to figure out what plug goes to what device.
The only way I know of to figure all this out is to go to the wiring diagrams, which is a nightmare in itself.
I started by pulling back the loom around the wiring a little bit and looking at the colors of the insulation.
Here's an example. Now, these wires have been in a hot, dirty, oily engine bay for fifteen years, so they are not in the best of condition, but one of the wires is pretty clearly red, and the other is green with a stripe. At first, I thought this was a dirty green/white wire (GW in wiring diagram parlance), so I scoured the wiring diagram for any connector with two conductors, R and GW. No luck.