OK, let's try to make it simplier, not more complex.
There are planets that allow (nor produce, more like allow a percentage of population to be recruits) a certain amount of CREW, you also have many SHIPS. Ships require crew to operate. Typically you will have much more ships (most of them old) than available crew, therefore in practice you will have almost unlimited reserve of inferior ships. How to make it work?
For example the player gives an order to keep the ratio of:
5% - recon ships
10% - capital ships
70% - destroyers
15% - support ships
The HeadQuarters AI will assign the ships from the reserve pool to meet the proportions as similar as possible assigning the best ships first (for example there is enough crew to man 100 ships (so 70 destroyers since that's the proportion) and there are 40 Destroyer II and 150 Destroyer I available, the ACTIVE FLEET will have 40 Destroyer II and 30 Destroyer I.
But then there is a battle and 5 Destroyer II are destroyed, so the current composition is 35 Destoyer II and 35 Detroyer I. But that's unrealistic and not very playable since the total military numbers have not changed, the crew that was lost is still there? And should these new ships from reserve be added immediately to the active fleet?
This is giving me a bit of headache :D