This subject has always fascinated me, primarily due to the fact that Starfleet has never clearly/proprly delineated the difference between what it is to be an officer or crewmen (enlisted). Whats the real difference, beyond attending the Academy? I ask because we regularly saw, at least in the TOS-era movies, crewmen manning the same position as officers. For instance, the navigation station on the Enterprise (1701+/-A) has been manned by a cadet (TWOK: Lt Saavik), enlisted (TMP: CPO DiFalco; TSFS: random enlisted male), junior grade (TOS: ENS Chekov; TMP: Lt Ilia), and mid-grade officers (CDR Chekov). In the real military the differences between these ranks is pretty extreme. It seems that the only difference is that offers can rise to a command position (2nd officer, 1st officer, captain and above). Enlisted can be "Chiefs", where they seem to be department heads (maybe?).
I served 22 years in the US Air Force, during that time I was assigned to various organizations with distinct differences in enlisted to officer ratios and even on how their personnel were utilized. This was across the board and among all the service. For example, at the lowest echelon, the enlisted to officer ratio was at times 100:1 (100 enlisted:1 commander), then at the highest it as 20:3 (20 officers: 3 enlisted). The higher I went as an enlisted, the more they senior leaders relied on and trusted us (I guess). For years I sat next to a Lt Col that was doing the exact same job as me. Basically we all came to the "big table" to collaborate on strategic planning... sorry, Starfleet organizational structure was designed by people with little to zero military experience and doesn't make any sense.
Sorry, that probably sounded really negative, I don't mean to be. All the above to explain why I'd recommend making it as real as possible, break it down by department and/or function. First identify the actual Area of Responsibility (AORs) needed to run your ship; propulsion (warp, impulse, and thrusters), sub-system maintenance and sustainment (life support, transporters, shields, grey water, recycling), readiness (supply, shuttle craft maintenance, food preparation, towels, fitness, MWR, training, component repair), operations (personnel assignments, records management, communications, shuttlecraft plans/scheduling, NDI), security (internal security, combat arms, small arms, ordinance management), medical (hospital and dental), and a bunch of other stuff. Then assign 1 "Commander" and 1 Senior Enlisted Crewman/Leader (SEL) over each department/function. Then divide them down to the lowest member. Some departments may only have 5 people and others could have 100, all depending on the needs of your ship.
Sorry for the long rant, I'm tired and got excited about possibly helping. Best of luck and please forgive my spelling/grammar error, I'm too lazy to correct anything tonight.
Cheers! -- James