Engineers model and simulate the Royal Navy’s Type 45 destroyer’s physical systems and generate production C code for the training system.