06-05-2024 04:40 AM
Hello guys, just to check if I were to include linearized feedback specifically the I=V^2/R formula here, I can just use the feedback node right?
-Emma
06-05-2024 04:53 AM
Hi Emma,
@plssendhelp1506 wrote:
if I were to include linearized feedback specifically the I=V^2/R formula here, I can just use the feedback node right?
Just because you want to "include feedback" doesn't mean you need to use a "feedback node"…
Where exactly do you want to place the "I=V²/R" calculation? Why do you think you need a feedback node for this simple calculation (basically only one CompoundArithmetic node)?
06-06-2024 03:57 AM - edited 06-06-2024 04:00 AM
Hello GerdW,
To answer your question, I am planning to put it after the manipulated variable since that is the '' end '' product of sp and pv and probably set the voltage and achieve resistance and just a little update I have implemented a formula node with the formula R=V^2/I since both current and voltage is the input here inside so that it matches my block diagram...please let me know if there is anything i can improve on or decorate this file ? ..Thanks
Best regards,
Emma
06-06-2024 04:04 AM - edited 06-06-2024 04:05 AM
Hi Emma,
@plssendhelp1506 wrote:
please let me know if there is anything i can improve on or decorate this file ?
06-06-2024 04:11 AM - edited 06-06-2024 04:13 AM
Hello GerdW
So sorry, over here is the code.
I was thinking it might be difficult if I were to use Compoundarithmetic node, since it only has ADD and MULTIPLY function...
With regards,
Emma
06-06-2024 04:19 AM - edited 06-06-2024 04:20 AM
Hi Emma,
@plssendhelp1506 wrote:
I was thinking it might be difficult if I were to use Compoundarithmetic node, since it only has ADD and MULTIPLY function...
Wrong, it also knows how to subtract and divide! Read the f***ing help!
No formula node needed:
Out of curiosity: how do you determine resistance by multiplying voltage and current? Mr. Ohm declared something different…
06-06-2024 04:26 AM
Hi GerdW,
Tks !
The second sentence is just a false condition that i made up......coz i mean it will be possible for current and voltage to reach 0...unless you turn the supply off
Regards,
Emma
06-06-2024 04:32 AM - edited 06-06-2024 04:33 AM
Hi Emma,
@plssendhelp1506 wrote:
The second sentence is just a false condition that i made up
coz i mean it will be possible for current and voltage to reach 0...unless you turn the supply off
What is the result of the condition when I=0? What will be the result of the comparison function in this case?
You need to evaluate your code much better:
What do you expect for "x<=0" indicator when running this small code?