Creating governor and exciter for generator model using simscape electrical.

10 次查看(过去 30 天)
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