diff --git a/examples/low_frequency/magnetic/transient_winding.py b/examples/low_frequency/magnetic/transient_winding.py index 767c2f8b..fb5b7c43 100644 --- a/examples/low_frequency/magnetic/transient_winding.py +++ b/examples/low_frequency/magnetic/transient_winding.py @@ -73,7 +73,9 @@ # # Assigns windings to the sheets and a balloon to the air region. -m2d.assign_winding(assignment=[rect1.name, rect2.name], name="PHA") +m2d.assign_winding(assignment=[rect1.name, rect2.name], + current="1*sin(2*pi*50*Time)", + name="PHA") m2d.assign_balloon(assignment=region.edges) # ## Plot model @@ -98,7 +100,7 @@ m2d.post.create_report( expressions="InputCurrent(PHA)", - domain="Time", + domain="Sweep", primary_sweep_variable="Time", plot_name="Winding Plot 1", )