How to use the SimElectronics NTC thermistor with SimPower elements?

3 次查看(过去 30 天)
Hi, I'm need help! I need to simulate the NTC thermistor, which operate as a current limiter. My model is made on SimPowerSystems elements, but the finding model of NTC thermistor is a SimElectronics element. I have read that these elements can be combined using the "Current-Voltage Simscape Interface". How can I to do it? I tried to do like this:
But there is an error "Error compiling Simscape network for model ntc_current_limmiter".
I have never worked with SimElectronics. Please help me. Best regards, Alexander

采纳的回答

Grégory SEABRA
Grégory SEABRA 2016-11-15
Hi,
I think you might want to use the Voltage-Current Simscape Interface instead of the Current-Voltage Simscape interface.
Indeed, your NTC is connected in series with your diode rectifier's output. You thus need to have a current measurement on the SPS side, along with a voltage source driven by the Simscape side.
Regards,
Greg
  2 个评论
taugrin
taugrin 2016-11-16
Hello, Greg!
Thank you for your advice, I tried to use the Voltage-Current Simscape Interface. The error "Error compiling Simscape network for model ntc_current_limmiter" really gone. But now there is "The FixedStepDiscrete solver can not be used to simulate block diagram ntc_current_limmiter because it contains continuous states". Then I replaced configurational parameters to "variable step, ode23". But now there is "Not enough input derivatives were provided for one or more Simulink-PS Converter blocks associated with the highlighted Solver Configuration block, for the solver chosen. Implicit solvers (ode23t, ode15s, and ode14x) typically require fewer input derivatives than explicit solvers, and local solvers never require any. You can provide more input derivatives by selecting different options (including turning input filtering on or increasing the number of user-provided input derivatives) on the Input Handling tab of Simulink-PS Converter blocks linked below ...". Please tell me how to set the Configuration Parameters to run this model?
Best regards,
Alexander
Grégory SEABRA
Grégory SEABRA 2016-11-18
Hi,
Depending on your design, you could maybe discretize the PowerGUI to eliminate the continuous states relating to the simpowersystems elements if it's not done yet. That might allow you to use the fixed step solver. If that does not work, try to use ode23T as they recommend in the error message.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by