compPhys.setTargetAstroSource(comp);
components[compnb] = comp;
// parameters for the stellar system itself
StarSystem starSystem = new StarSystem(primaryID, components, astrom);
// End of copied part
if (starSystem == null)
System.err.println("Source not generated!");