How to use sens.v for switch

Please login with a confirmed email address before reporting spam

Hi,

I am currently using the subcircuit definition in the Electrical Circuit (cir) module and I am confused as to how I am supposed to define the on and off conditions for the "switch" component. To define it, COMSOL says to define the condition as a function of 'sens.v' but when I try to state a condition as the following (without any quotations),

"sens.v"

, it states that there is an "unknown variable sens.v". Can anyone show me an example of how to state the function so that sens.v is the measured node where measure(+) is a and measure(-) is b?

Thanks in advance!



Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.