0
\$\begingroup\$

I have a model for a solar array and a battery in MATLAB Simulink (simscape). and I would like to model a load given the power consumption over time. The load is connected to the battery the voltage of which varies due to charge and discharge. How can I do that?

\$\endgroup\$
2
  • \$\begingroup\$ Search for the keyword active load. Basically, use a transistor to draw a desired amount of current from the power supply. It will draw a proportional amount of power from the supply when supply voltage is regulated. \$\endgroup\$
    – AJN
    May 25, 2021 at 6:24
  • \$\begingroup\$ Instead of a circuit, you can also use an ideal current source (in this case, acting as a current sink) of the appropriate polarity instead of a load resistor if simscape has current sources. \$\endgroup\$
    – AJN
    May 25, 2021 at 6:25

1 Answer 1

1
\$\begingroup\$

If the battery voltage is v(t) and the instantaneous power consumption is p(t), then the current drawn must be p/v.

\$\endgroup\$
1
  • \$\begingroup\$ I tried that but it doesn't work for some reason. \$\endgroup\$ May 25, 2021 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.