Pretty tough to advise you when you have provided no useful information in your post. It sounds like you want to use a behavioral resistor, which may be possible depending on which version of LTspice you are using. Alternatively, another simulator may be the ticket to solving your problem. Post the .asc file you are using along with any symbols and subcircuits you are using.Hello I am trying to model a variable ESR for Ceramic Capcitor and trying to match the datasheet frequency vs ESR graph in log scale, can someone please validate I am modelling the right circuit? Please and thank you

Agreed, here is the circuit and the log graph, the second attachment is for the waveform I am trying to match withPretty tough to advise you when you have provided no useful information in your post. It sounds like you want to use a behavioral resistor, which may be possible depending on which version of LTspice you are using. Alternatively, another simulator may be the ticket to solving your problem. Post the .asc file you are using along with any symbols and subcircuits you are using.
I have seen a frequency dependent inductor modeled by using the "table" construct. Seems like it would be possible to do a similar thing with a capacitor.
I have a couple of questions:Agreed, here is the circuit and the log graph, the second attachment is for the waveform I am trying to match with

Realistic capacitor model including ESR and ESLMy question in #4 was to see if you understood that there was an undocumented way to express a resistance that was a complex number. This gives you a resistor that is a function of frequency which is something that I think you are after. To get the characteristic V-shape you need to construct an ESR that gets large at high frequencies. That should be your starting point.
There appear to be two ways to do this. You can arrange for the real part of the impedance to grow with frequency which will dissipate real power and have other potentially undesirable effects, or you can have the imaginary part grow with frequency which means the capacitor will start looking like an inductor.
I don't understand what you mean by "how I would model P and S". I don't think I ever made reference to quantities P and S. Can you help me out here?Realistic capacitor model including ESR and ESL
I found this one, not sure how I would model the P and S you described, but that is exactly what I am trying to do, cause with frequency there will be real ESR and then non idealish ESR...


.subckt B58031I9254M062_0.25uF_LP_TD A1 A2Your .asc file is NFG without the symbol B5803x_500V_TD.asy and the associated subcircuit. Awaiting your reply.
I am not sure why I am not getting the V curve like the datasheet