DIFFICULTY LOCATING SIMSCAPE BLOCK
4 views (last 30 days)
Show older comments
I have barely been using SImscape and Simulink for about 24 hrs (I do not mean for one day, here, I am quantifying my total experience), and I am trying out a self-undertaken/self paced project to master the skill, I am trying to model and improve appliances. I am also studying mechanical engineering and I need help wih the following:
- How do I describe the electric socket at home in simscape. Which block or combination of blocks describes it.
- I have done some reading and found out that the voltage at home is supplied form a voltage source and is an AC current, how do I make it produce a certain specified amount of power. Say I want to prodice 3000W, and the voltage supplied is 240V, then I am simply introducing 12.5A as current, how do I introduce this, please?
- Lastly, how do I make a heating element/plate block. I have checked and it doesn't exist (my matlab version is 2022a)... If a single simspace block does not exist, which electric block is mutlidomain such that I can finally link electricity and thermal. If there is no such multidomain block, then do I have to model it on simulink.
I will be most glad if I am replied, will honestly be grateful. I hope I did not tresspass the Do's boundary, if I did it was very unintentional... pointing it out will also be most welcome. Cheers.
0 Comments
Answers (2)
Walter Roberson
on 28 Aug 2023
Edited: Walter Roberson
on 28 Aug 2023
Are you using pure Simulink, or are you using Simscape Power Systems?
https://www.mathworks.com/help/sps/powersys/ref/acvoltagesource.html has a number of different control parameters.
https://www.mathworks.com/help/simscape/ref/acvoltagesource.html has less control. It is more like a "pure voltage" without current.
I think you might be looking for Conductive Heat Transfer ? https://www.mathworks.com/help/simscape/thermal-elements.html
Nathan Hardenberg
on 28 Aug 2023
Edited: Nathan Hardenberg
on 31 Aug 2023
As a help to find the blocks easier, you can launch the standalone library browser (if you didn't do that already). For that click on the small library browser logo (see image). I think it is easier to find desired blocks in a library.
(1) See Answer by @Walter Roberson. I want to add that you can also use the normal "Voltage Source". In the options you can add DC and AC. But I would recommend explicitly using an "AC Voltage Source". Also note that you set amplitude values in Simulink. The voltages normally mentioned are RMS (Root Mean Square) values and are dependent on country (list of voltages in countries).
(2) You can't really set your power supply (voltage source) to a specified amount of power. You set the voltage and depending on the resistance current flows (very basic explanation). There are "Current Sources", but they change the voltage, to get a desired current.
If you want to model 3000W choose a resistance/resistor according to
(3) I can't help much here. But there are multidomain blocks. The best for a heater would probably be the "Thermal Resistor". But this just changes the resistance according to the given temperature. I̶t̶ ̶d̶o̶e̶s̶ ̶n̶o̶t̶ ̶p̶r̶o̶d̶u̶c̶e̶ ̶h̶e̶a̶t̶ (EDIT: It does produce heat). What you maybe can do is using a "Current Sensor", then doing your own calculations and give your results to a "Controlled Temperature Source". This gives you a feedback-loop. Maybe there is a better way, but I'm not really familiar with the temperature blocks
11 Comments
Nathan Hardenberg
on 31 Aug 2023
No worries, glad I could help :)
The model and graph I posted are also just screenshots (just cropped in to only see the simulink components). On Windows you can do this wih the shortcut Win + Shift + S and then save it as a file. If you then use the Image icon to insert it in the forum (like you did in your second comment) you can scale it down to fit into frame. This is done with the blue border around the image/screenshot
See Also
Categories
Find more on Creating Custom Components and Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!