How do I get the transformer Core Loss?

Thank you for your reply.

What is the principle of drawing the B-H curve in the PLECS program?