How can i change a value of a resistor during simulation using simpowersystems toolbox ( R L C branch )

조회 수: 4 (최근 30일)
Hello Im working in low voltage electrical network , and i want to simulate the variation of the power of an customer by varying a value of the resistance ( because in 24hours it changes) my question is , how to change this value during simulation , for example from 6h00 to 8h00 i have R1 and from 20h00 to 22h00 i have another value , this is the main problem. if we resume it , we take a voltage source and a (RLC branch ) we define a value of R but it will be constant during the simulation , i want to change it dynamically ( R=F(t)).and the RLC branch in simpowersystem toolbox is an read-only-ifcompiling) please i need an answer , im blocked in this step and i can go on in this project.
Best regards ,
Noureddine

채택된 답변

Torsten Knodt
Torsten Knodt 2016년 8월 19일
편집: Torsten Knodt 2016년 8월 19일
I had the same requirement. I either use a voltage measurement together with a controlled current source or a current measurement together with a controlled voltage source depending on the source I have in the network. Alternatively move to a SimScape model to have the Variable Resistor or use interface elements between SimScape and SimPowerSystems.
  댓글 수: 1
SOUAG Noureddine
SOUAG Noureddine 2016년 8월 19일
Hello , i want to thank you for your answer , but i changed the toolbox , im not using simpowersystem toolbox , im using simscape with simple element where i can fin a variable resistor controlled by a fromworkspace block .
best regards Noureddine

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by