Okay, 230 V (RMS) for the calculations, and 325.27 V (for the simulation, which gives 230 V (RMS). Just to make it clear what I am doing.
Do you how to change the switching frequency to 150 kHz? I think that I should you use this equation:
f_c = 1/(2 pi R C)
in order to calculate the values for C3 or R12 at the DCM.
What I understand from the LT8312 document, f_c needs to be lower than 12 Hz.
However, the time period of the output of one waveform period is always 10ms, so it means that I have 100 Hz as switching freq, even tough I tried to change the C3 and R12.
Could you please try to modify my file to see if you can obtain a higher frequency?
Thank you alec_t.