Creating governor and exciter for generator model using simscape electrical.
8 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Sreeram
on 13 Nov 2024
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!
0 Comments
See Also
Categories
Find more on Variable Initialization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!