That's fantastic, LGN1. That saves a ton of work.
Do you mind if I ask a few questions?
Firstly, are you sure that "Efficiency = (M*(1-c_m)+c_m)*(F*(c_f-1)+1)" shouldn't read "Efficiency = ((M*1-c_m)+c_m)*((F*c_f-1)+1)"?
Second, what leads you to the conclusion that SpecificFactor is envoked when crews are moved from compartment to compartment? I've been sitting here moving my crews around, their fatigue doesn't seem to go up. Furthermore, in the default settings, the SpecificFactor for compartments 3 and 4 (diesel and electric engines respectively) are mirrored for the x0 and x1 conditions (ie 30 is 0.4, 31 0.1; 40 is 0.1, 41 0.4). This would seem to fit the model that these factors should reflect the submerged and surfaced postures of the submarine, as the electrics are only used submerged and the diesels surfaced. Thus:
30 - diesel surfaced - in use = 0.4 (high)
31 - diesel submerged - not in use = 0.1 (low)
40 - electric sufaced - not in use = 0.1 (low)
41 - electric submerged - in use = 0.4 (high)
|