Kristian Skorpen

Proposed course · AI for simulation

Automate simulations with AI

Run tests, analyze results, and design and tune controllers.

I'm interested

The approach works with most simulation tools. I've personally tried it with PLECS, MATLAB, PSCAD, PSIM, LTspice and QSPICE, and it worked with all six. We'll use PLECS as the worked example in the course; the scripts and setup will vary between tools.

Three parts of the course

  1. 01 · Automated simulations

    Have AI run your simulations.

    Tell AI what you want to test, in plain language. It writes and runs the scripts that control your simulation tool, then brings back the results. You work with AI, rather than writing the scripts yourself. In our worked example, AI uses Python to control PLECS.

    • Describe a test: ask AI to step the load at 1 second and record the output voltage. It sets up the test for you.
    • Ask for a sweep: tell AI which parameters and ranges to explore. It sets up and runs hundreds or thousands of combinations, then collects the results.
    • Let it run: ask AI to queue a batch that your PC can work through for hours without you watching every simulation.
    • Monitor and recover: have AI set up progress tracking and safe retries, investigate crashes, and resume interrupted batches where possible. It can flag anything that needs your attention.

    Sweep example: switching frequency

    Calculated ideal buck illustration: peak-to-peak inductor current ripple versus switching frequency for input voltages of 24, 36 and 48 volts; not PLECS simulation data Buck converter · input voltage 24 V 36 V 48 V 0 1 2 3 4 2550100150200 Current ripple [A p-p] Switching frequency [kHz]
    Ask AI: “Sweep the switching frequency at several input voltages, then plot the current ripple for each one.” AI sets up the runs and puts the results into one comparison plot.

    Calculated illustration, not a PLECS run: ideal buck, 12 V output, 100 µH inductor and 5 A load.

    Test example: a load step

    Illustrative single-variable test: load steps up at one second; input voltage stays constant during each run and is varied between sweep runs Step the load at 1 second Load 01 s2 s Input voltage fixed within each run
    Ask AI: “Increase the load at 1 second and show me how the output voltage responds.” It implements the test and records the signals. Only the load changes during this test.

    Other tests you could ask AI to run:

    • An input-voltage dip while the load stays fixed.
    • A change in the controller's reference value.
    • Startup under different loads.

    The key idea: you describe the test and review the results; AI handles the scripting. Simulation automation was possible before AI, but you no longer have to write that automation yourself. Python is the tool AI uses behind the scenes in our example.

    Unattended monitoring and crash recovery need to be configured and tested. Run time and coverage depend on your model, PC and test plan.

Illustrations, not measured PLECS results or guaranteed improvements. AI suggestions still need to be checked in simulation.

I'm interested

Planned paid course. Price and timing are not set. Registering interest involves no payment or commitment.

Interested in the course?

Leave your email if you'd like updates about this course. The survey answers are optional, but they help me decide what to build.

Your background (choose any, optional)
Which simulation tools do you use or prefer? (select all that apply, optional)
What would you like AI to help you with? (select all that apply, optional)

A short description is enough. Please don't include confidential project details.

What price range would you consider for this course? (optional)

Enter your own range in whole euros, or leave it blank. This is research, not an announced price or a commitment to buy.

Privacy policy