I have started with the setup xls, as I don´t quite understand the scenario parameters, I started with the setup of the forces, and I wonder
1) The limit of 18 elements per division is a fixed one or can be modified by scenario?
2) How do you set units at lower level of cohesion/strength?

Do not hesitate to ask questions to me. you can also send me partial works on xls and I'll correct /return them with comments

a) the 18 elements is a limit due to interface constraints (i.e. physical): there is no room to display more elements symbols than 18 in the right-handside panel

b) we have a special parameter which is "set cohesion" (you can also alter health). The eaxct syntax can be found in the setup xls files for AACW 1861 April campaign (the early CSA and USA reinforcement armies arrive with lw health and cohesion). It inflicts a percentage reduction to the unit's basic cohesion...for instance, if you set the cohesion at 50, the unit will have 'only' 50% of its standard cohesion...

There is a difference between skirmishers and line infantry, but I have not thought about differences in frontage within line infantry unit types, however I know that is a very much debated question and I am not sure about frontage working in the game. Besides you have to take into account also ranks depth.

The code can't do exactly that right now, but can be adapted relatively easily. The aim would be to have specific models get variations in their cohesion depending of the terrain they are in for example.

Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."