A sensor system comprising: a three-dimensional electrically resonant transducer configured to determine a composition of an emulsion, wherein the emulsion is an oil-in water emulsion or a water-in-oil emulsion, wherein the resonant transducer is an inductor-capacitor-resistor structure multivariate resonant transducer, wherein the resonant transducer includes an LCR resonant circuit, wherein the resonant transducer comprises: a top winding; a bottom winding, said bottom winding coupled to a capacitor, wherein the resonant transducer is configured to utilize mutual inductance of the top winding to sense the bottom winding; and a sampling cell, wherein the top winding is disposed around an upper portion of the sampling cell and the bottom winding is disposed around a lower portion of the sampling cell; an impedance analyzer; and a processor; wherein the impedance analyzer is configured to measure both amplitude and phase properties and correlate changes in impedance to physical parameters, wherein the impedance analyzer is configured to scan frequencies over a resonant frequency range of the LCR circuit and collect an impedance response from the resonant transducer, wherein impedance spectra of the emulsion are measured, wherein spectra are measured as both a real part of impedance spectra and an imaginary part of impedance spectra; wherein the impedance analyzer is coupled to the processor, wherein data received from the impedance analyzer is processed using multivariate analysis, wherein the sensor system is configured for determining a composition of a mixture of oil and water in a vessel, wherein the resonant transducer is configured for determining values of a complex impedance spectrum of the mixture of oil and water as a function of a height in the vessel, wherein the processor is configured for determining a fluid phase inversion point from the values of the complex impedance spectrum, applying an oil phase model to the values of the complex impedance spectrum and conductivity values above the fluid phase inversion point, and applying a water phase model to the values of the complex impedance spectrum below the fluid phase inversion point. a three-dimensional electrically resonant transducer configured to determine a composition of an emulsion, wherein the emulsion is an oil-in water emulsion or a water-in-oil emulsion, wherein the resonant transducer is an inductor-capacitor-resistor structure multivariate resonant transducer, wherein the resonant transducer includes an LCR resonant circuit, wherein the resonant transducer comprises: a top winding; a bottom winding, said bottom winding coupled to a capacitor, wherein the resonant transducer is configured to utilize mutual inductance of the top winding to sense the bottom winding; and a sampling cell, wherein the top winding is disposed around an upper portion of the sampling cell and the bottom winding is disposed around a lower portion of the sampling cell; a top winding; a bottom winding, said bottom winding coupled to a capacitor, wherein the resonant transducer is configured to utilize mutual inductance of the top winding to sense the bottom winding; and a sampling cell, wherein the top winding is disposed around an upper portion of the sampling cell and the bottom winding is disposed around a lower portion of the sampling cell; an impedance analyzer; and a processor; wherein the impedance analyzer is configured to measure both amplitude and phase properties and correlate changes in impedance to physical parameters, wherein the impedance analyzer is configured to scan frequencies over a resonant frequency range of the LCR circuit and collect an impedance response from the resonant transducer, wherein impedance spectra of the emulsion are measured, wherein spectra are measured as both a real part of impedance spectra and an imaginary part of impedance spectra; wherein the impedance analyzer is coupled to the processor, wherein data received from the impedance analyzer is processed using multivariate analysis, wherein the sensor system is configured for determining a composition of a mixture of oil and water in a vessel, wherein the resonant transducer is configured for determining values of a complex impedance spectrum of the mixture of oil and water as a function of a height in the vessel, wherein the processor is configured for determining a fluid phase inversion point from the values of the complex impedance spectrum, applying an oil phase model to the values of the complex impedance spectrum and conductivity values above the fluid phase inversion point, and applying a water phase model to the values of the complex impedance spectrum below the fluid phase inversion point.