So I was simulating a boost converter on plecs, wanted to calculate Gvd. Firstly I solved the model by hand and drew the bode plot, then I drew the schematic on plecs, made sure of the values and parameters are equal to what I designed by hand. my issue is that my dc gain that I calculated by hand is twice that got drawn by plecs. I made sure of my calculations by referring to this to make sure that I made no mistake. my calculations are equal to the model presented here.

Model
this is the schematic on plecs. D = 0.5

Schematic
This is the average Dc output voltage.

And this is the bode plot of the converter.

Gvd
As you can see, the dc gain is about Vinput/(1-D), instead of Voutput/(1-D).
I really hope that this is not a dumb question and itsnot a silly mistake of mine since I spent too much time working and searching what did I do wrong :S.
Thanks

Model
this is the schematic on plecs. D = 0.5

Schematic
This is the average Dc output voltage.

And this is the bode plot of the converter.

Gvd
As you can see, the dc gain is about Vinput/(1-D), instead of Voutput/(1-D).
I really hope that this is not a dumb question and itsnot a silly mistake of mine since I spent too much time working and searching what did I do wrong :S.
Thanks