Open pbadel opened 11 months ago
Hi, to my knowledge, a current-dependent voltage source is a CCVS : 4.2.4 Hxxxx: Linear Current-Controlled Voltage Sources (CCVS)
Though I have never tested it yet, according to PySpice documentation : CurrentControlledVoltageSource you can instantiate with :
circuit.H('Vout', 'node1', 'node2', source='nodetosensecurrent', transresistance=float(coefficient))
I'm trying to define a non linear component using current-dependent voltage source :
i get the following message error : NameError: name 'i' is not defined. Did you mean: 'id'?
If i define a voltage dependant current source (i.e. using the expression i="(v(n2)-v(n1))**2") that works... what's the trick with current dependent voltage source ?