Does anyone know how to calculate Expected Damage (ED) from the Shotgun in FMP?

From what I can read in-game, it has a 7-bullet shot with 15 damage each. For Aimed Shot it has a 175% accuracy.

In my head that gives [7 shots x 15 damage x MIN(1;1.75 x Soldier Accuracy) = 105], for soldier accuracy of 100%.

Is this correct? Is there a spread-of-bullets part that makes less than seven shots hit? Does the game count every one of the seven as hit or miss, after one calculation? Does the game calculate hit/miss for each of the seven shots, individually?

Please inform me of what is correct... I am about to start a new game with FMP 1.7.3, and would really like to know what kind of damage I can expect from a Shotgun at point-blank range...

Also, does the Melee weapons always hit? I see there is no mention of hit-chance for the Combat Knife in-game. Stun Rod says it always hits, regardless of your soldiers Melee Accuracy (I presume). Is it the same with the other Melee weapons, or are their hit-percentage just hidden?

Thanks in advance. I really like this mod, having seen Meridian's playthrough and now testing it out for myself a little bit. Good Job Solarius!!!