how to make AC or DC load vary on simulink?

4 views (last 30 days)
I am making a HESS (hybrid energy system storage) project based on battery supercapacitors on stand alone PV, but I am confused about how to make the load change when the program is running, I am using version 2018b and 2023b, in version 2018b there is no variable load, but in 2023b there is a ‘dynamic load’ variable load that can be used as an AC or DC load, but I cannot connect the port of the block to my DC bus, is there a solution or suggestion?
  2 Comments
Walter Roberson
Walter Roberson on 6 Jul 2025
I suspect that on one side you have Simscape Electric blocks, and on the other side you have Simscape Electric Specialized Power System blocks. Specialized Power Systems is a seperate Simscape domain from regular Simscape Electric, and the two cannot be connected together without using convertor blocks.
Muhammad
Muhammad on 6 Jul 2025
You are right my friend. is there any solution how to make a variable load that can be connected to the PV system?

Sign in to comment.

Answers (1)

Javier Gazzarri
Javier Gazzarri on 8 Jul 2025
Hello Muhammad,
Please let me know if this is an acceptable to you:
1) Connect the load signal to the MULTIPLY port of a Divide block
2) Measure the PV voltage and connect the voltage to the DIVIDE port of the Divide block
3) Connect the output of the divide block to a Controlled Current Source block and connect the latter to the PV
4) Add a 1/z or transfer function to the loop above if it generates an algebraic loop
Hope this helps.
Javier

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!