How may i simulate a PMSM machine as a charge, for example a resistance?

1 view (last 30 days)
My simulation is obtain a graph of behaviour in charge and discharge of a pack of supercapacitors for a 186kw of charge (motor).

Answers (1)

Joel Van Sickel
Joel Van Sickel on 28 May 2024
That is highly dependent on your machine. A way to build a very simple model of a motor would be to use a controlled current source to model the motor. You would measure the input voltage and calculate the correct current draw of the motor. You'll need to put a transfer function low pass filter in the loop to prevent an algebraic loop if you don't do any integration or other calculations to figure out the correct current draw. For instance, if its basically just going to draw a constant power, you can do I = P/V for the equation into your controlled current source, but put a saturaiton block on V to prevent divide by zero and put a transfer function with num = [1] and denom = [1/(1000*2*pi) 1] to implement a low pass filter. (this means it won't quite draw constant power, but it'll be close.)

Community Treasure Hunt

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

Start Hunting!