how to create a custom resistor

4 views (last 30 days)
Christopher Yi
Christopher Yi on 4 May 2020
Answered: Guru Mohanty on 7 May 2020
now i have the current response but how can i create a block that can work with other electrical blocks from "simscape / electrical / specialized power system / fundamental blocks" to build up a circuit?

Answers (1)

Guru Mohanty
Guru Mohanty on 7 May 2020
Hi I understand you want to create custom resistor using simscape. You can do it through following steps.
  1. Simulink To PS Converter To Convert Simulink Signal to Current Signal.
  2. Add a Solver Configuration and design your circuit.
  3. PS To Simulink Converter To Convert Current to Simulink Signal.
Here is a sample design.
I have attached simulink model for your reference.

Community Treasure Hunt

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

Start Hunting!