Creating governor and exciter for generator model using simscape electrical.

11 ビュー (過去 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 Center および File ExchangeVariable Initialization についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by