Creating governor and exciter for generator model using simscape electrical.

조회 수: 10 (최근 30일)
Yazeed
Yazeed 2024년 11월 12일
답변: Sreeram 2024년 11월 13일
Hello
I am trying to create a governor and exciter for a model of a diesel generator. I would like to have external Wref and Vref values as inputs to the governor and exciter so that the voltage and frequency are controllable. I already have the control logic just need some help with these two items. I have attcached my model. Thank you.

답변 (1개)

Sreeram
Sreeram 2024년 11월 13일
Hi Yazeed,
I understand that you want to load external input data from a workspace for simulating the model.
You could consider using the ‘Input’ parameter in the ‘Data Import/Export’ pane of ‘Configuration Parameters’. It loads input data from a workspace before the simulation begins and can be used using “Input” ports. You may read more about this in the documentation:
Another method is to use the “From Workspace” block. It reads data from a workspace and provides the data as a signal at the block’s output. The data must be in a timeseries, matrix, or structure format. You may read more about the block in the documentation:
I see from the model that it expects physical signal. To convert a Simulink signal to a physical signal, you may use the “Simulink-PS Converter” block.
I hope this helps!

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by