sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.29k stars 633 forks source link

Simulating Power Source #599

Open MarinoHappiness opened 3 years ago

MarinoHappiness commented 3 years ago

Hello,

How can I simulate a power source with the following specifications?

I'm trying to simulate a solar panel module.

Thank you, Marino

pfalstad commented 3 years ago

Here is a current-limited DC source with max voltage of 30V and max current of 8 A (which limits power to 240 W). The resistor is just a test load.

https://tinyurl.com/yg5zxyhj

I'm not sure if this is a realistic model of a solar panel.

MarinoHappiness commented 3 years ago

Thank you @pfalstad. The complete model has two control input signals--the irradiance applied to the solar cell (W/m2) and the cell temperature (°C)--as well as many different parameters (cells per module, max voltage, max current, etc.). Check out the PV Array block used in MATLAB.