Electrical – What’s the logic behind the load simulation in Simulink’s power_microgrid example

energypowerpower-gridsimulationsimulink

I'm trying to understand the Simulink example "Simplified Model of a Small Scale Micro-Grid" in order to build something similar. If it's included in your Simulink version you can access it by writing power_microgrid in Matlab.

I get how they simulate the behaviour of the solar panels and the battery using a controlled current source, but my problem comes with the simulation of the houses.

enter image description here

The circuit is very similar to the one inside the battery and panels. I understand that this way they can change the power dissipated inside the resistor and simulate the loads of the house, but isn't the current source introducing "free" energy into the system, that can flow into the battery and charge it, or modify the voltage of the system?

Best Answer

Its not free energy to the system.

What the ideal current source does is facilitates forcing current around the loads & from the supply.

If there are loads forcing current to flow, the resultant VA can be measured and the affect on voltage distortion can be seen at the utility

Related Topic