Text this: A theoretical study of the structure and elemental abundances of HD 20794.