The most famous 'real' gas equation of state is the so-called Van der Waals equation
(P+a*(n/V)^2)(V-nb)=nRT
that can be derived by ideal gas equation substituting
V->V-nb
P->P+a*(n/V)^2
The first substitution compensate for the volume occupied by each molecule (we can think of b as the volume occupied by a mole of gas at 0 Kelvin)
The second substitution compensate for the internal energy density due to intermolecular interaction
a and b are considered constants dependent on the gas only.
You can note that the equation depends on P, T and V/n only, once a and b are fixed.
Try and search on the web for Van der Waals equation...
in fact, the ideal gas law is usually sufficient too - especially at high temps and low pressures (if you can arrange both) - just allow for extra degrees of freedom in the specific heat if its polyatomic.
to add more detail, there are various levels of thermodynamics through to statistical mechanics that you can apply, if needed - you can model for the "exact" interaction your gas has (in prinicple - these things are hard to solve sometimes, and you'll probably have to use perturbation theory)
for "maximum realness", you'll need Quantum Stat-Mech, but that is probably serious overkill.
van der Waals never really wanted a and b to be taken as constants, in fact, if you look at his later work in the area, he sought to see how they varied with changing parameters. However, it tends to be something that is not overly productive and has long since fallen by the wayside.
Back on topic....
A good bit of determining equations of state for real fluids is done computationally/numerically, with the algebraic expression extracted after fitting the data. While you not unexpectedly see this in chemical engineering, you also see this quite a bit in condensed matter/chemical physics where we still can't seem to model water accurately all the time. A good bit of the interest in formulating better quality models of fluids is due to the interest in biological systems, where figuring out solvation can be a non-trivial exercise.
We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling We Value Civility
• Positive and compassionate attitudes
• Patience while debating We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving