Modify value of DC voltage source during a simulation

조회 수: 15 (최근 30일)
Daniel Santos
Daniel Santos 2020년 8월 27일
댓글: Daniel Santos 2020년 8월 28일
Hallo guys,
the title basiclly says it. I have an ideal voltage source, where I want to change the value of the amplitude during simulation depending on a look-up table.
First I thought a Goto-tag would work.. Then I tried "To-Workspace" but this block only saves the value during a pause or after terminating the simulation.
Any one got an idea? Thanks in advance.

답변 (1개)

hosein Javan
hosein Javan 2020년 8월 27일
use "controlled voltage source" instead of DC voltage source. connect your look up table to it and it will do it.
  댓글 수: 1
Daniel Santos
Daniel Santos 2020년 8월 28일
Hey Hosein,
thanks for the reply. I already tried a controlled source, which works fine for itself, but not within the remaining model.
The inverter works with ideal dc source.
Well and if I change that ground, how it says in the error log, this happens:

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by