A non-transitory computer-readable medium storing a simulation program for executing an electromagnetic field circuit coupling analysis on a first target of analysis and a second target of analysis electrically coupled via a circuit element that has a finite delay time, said simulation program causing a computer to execute:
- a first electromagnetic field analysis step of carrying out at time domain electromagnetic field analysis at a first analytical domain including said first target of analysis,
- a first circuit analysis step of carrying out a circuit analysis on said circuit element at said first analytical domain, implemented by coupling with said first electromagnetic field analysis step,
- a second electromagnetic field analysis step of carrying out a time domain electromagnetic field analysis at a second analytical domain including said second target of analysis,
- a second circuit step of carrying out a circuit analysis on said circuit element at said second analytical domain, implemented by coupling with said second electromagnetic field analysis step,
- a third circuit analysis step of carrying out a circuit analysis on said circuit element, employing an electromagnetic field value obtained at said first electromagnetic field analysis step, at one terminal of said circuit element connecting said first target of analysis and said circuit element, and an electromagnetic field value obtained at said second electromagnetic field analysis step at an other terminal of said circuit element connecting said second target of analysis and said circuit element, and
- a coupling step of replacing an internal state of said first circuit analysis step and said second circuit analysis step with the internal state calculated at said third circuit analysis step.