03-22-2024 03:15 PM
Hi all,
I'm working on a simple RC circuit that contains a Voltage, Capacitor, Resistor, and 2 voltage probes before and after the resistor. I want to make a User defined expression for the Resistor value and what I did was go into the transient settings, and in the output section added a couple of constant values (L = 0.125, K =V(PR1)*100, and A = 3.5). Then I made the expression R(1) = L/(K*A). When I double clicked the resistor and changed the value a constant ohm value to the Variable R(1), it told me that R is a unsupported math function. Shown below is what the resistor looks like.
Any ideas or help?
Much Appreciated,
Lumo
03-23-2024 02:49 AM
Hello!
A resistor that changes its value during the simulation can be represented in parametric analysis as linearly increasing, as follows
03-23-2024 03:49 AM
Or by introducing a parameter into the analysis. The parameter can be assigned ANY change function
03-23-2024 05:24 AM
...-and this is an option using a 'parameter'.
In the resistor value we write not a number, but 'R', the program will spit and swallow...
04-02-2024 02:32 PM
Thanks for your feedback fango! The only problem I have now is that I don't understand Russian so I was wondering which tab or window allows me to edit the resistor parameter that was shown in the photo.
04-03-2024 12:19 AM - edited 04-03-2024 12:25 AM
One of the options for changing R1
If it’s still relevant, I’ll switch to English and repeat the simulations
04-04-2024 01:39 AM
04-05-2024 01:46 AM - edited 04-05-2024 02:07 AM
Here is an example of how a time dependent potentiometer works in time analysis
04-05-2024 01:58 AM
Hi, so I was able to get the resistance expressions to work with time and constant voltage, but I can't seem to read voltage drops using probes not sure if this is a bug. Also when I use a sinusoidal voltage component, it doesn't read well. Like if V(V1) was a sin function of voltage and I apply that as the expression for the resistance divided by 2 (V(V1)/2) it becomes a straight line instead of the sin curve. Any ideas on why that is?
04-05-2024 10:56 AM
Hi colleague! So I’m sitting, thinking, why, when we love a woman, everything turns out like this! And when they love us, something doesn’t add up, or it turns out quite the opposite...
LGBT cause! And where have all the NI-! specialists gone?