Replies: 1 comment
-
I think your safest bet is to use the Adding/removing components in the middle of a transient simulation is probably a tough thing to do. You can maybe emulate it by restarting the simulation with the right initial conditions, but I think you'll be up for a lot of work then. The problem is that the solver is already set up and optimized while running the simulation and changing the matrix solver mid-way is currently not possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking to switch the connection during a transient simulation, to make something like a SPDT switch.
I am using a voltage source as the switch body:
voltageSoruce = new VoltageSource(voltageSoruceName, INPUT_NAME, THROW1_NAME, 0);
and then using
voltageSoruce.Connect(INPUT_NAME, THROW2_NAME);
to switch between the 2 terminals and this works great if I run a DC simulation -> switch() -> run a DC simulationIs there a way I can do this inside of a transient simulation while it's running?
Beta Was this translation helpful? Give feedback.
All reactions