private void convertAucIVCache(IndividualSimulation individualSimulation) { var value = individualSimulation.AucIVFor(DUMMY_COMPOUND_NAME); if (!value.HasValue) { return; } //use the real compoud name and set the value loaded previously var compoundName = individualSimulation.CompoundNames.First(); individualSimulation.ClearPKCache(); individualSimulation.AddCompoundPK(new CompoundPK { CompoundName = compoundName, AucIV = value }); }